]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/ibrs: Remove 'ibrs_dump' and remove the pr_debug
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 5 Jan 2018 04:29:31 +0000 (20:29 -0800)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:20:02 +0000 (10:20 -0800)
commite6055559cef12d3f2a7608f518301eb0bb51f756
tree62e05a6aba13cec41959f479b326e96b02152c3f
parent045d97076ca6faed60b49b509caa3c8839c1ca78
x86/ibrs: Remove 'ibrs_dump' and remove the pr_debug

Orabug: 27351274

There is no business in having ibrs_dump exposed to user-space
and it allowing to write to it. Reading that entry ends up
doing an IPI across all CPUs reading an MSR and that (on large
machines) is not something user-space should be able to do.

And also remove the pr_debug statements.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
kernel/sysctl.c