OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8147e
)
drivers/perf: Prevent forced unbinding of ARM_DMC620_PMU drivers
author
Qi Liu
<liuqi115@huawei.com>
Tue, 2 Feb 2021 07:58:06 +0000
(15:58 +0800)
committer
Will Deacon
<will@kernel.org>
Tue, 2 Feb 2021 18:40:30 +0000
(18:40 +0000)
Set "suppress_bind_attrs" to true, so that bind/unbind can be
disabled via sysfs and prevent unbinding ARM_DMC620_PMU drivers
during perf sampling.
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Link:
https://lore.kernel.org/r/1612252686-50329-1-git-send-email-liuqi115@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_dmc620_pmu.c
patch
|
blob
|
history
diff --git
a/drivers/perf/arm_dmc620_pmu.c
b/drivers/perf/arm_dmc620_pmu.c
index
27f54c0
..
66ad5b3
100644
(file)
--- a/
drivers/perf/arm_dmc620_pmu.c
+++ b/
drivers/perf/arm_dmc620_pmu.c
@@
-717,6
+717,7
@@
static struct platform_driver dmc620_pmu_driver = {
.driver = {
.name = DMC620_DRVNAME,
.acpi_match_table = dmc620_acpi_match,
+ .suppress_bind_attrs = true,
},
.probe = dmc620_pmu_device_probe,
.remove = dmc620_pmu_device_remove,