]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: remove ibrs_dump sysctl interface
authorKamal Mostafa <kamal@canonical.com>
Wed, 4 Apr 2018 16:32:58 +0000 (09:32 -0700)
committerKamal Mostafa <kamal@canonical.com>
Thu, 12 Apr 2018 16:34:41 +0000 (09:34 -0700)
commit962d61d5df5904fffb53da03b9a9aef1f45a990f
tree3b51b58e51033dd6186ffdeda477c63854fcefdc
parent74634e76b67fc358916812a52b150852201fd4e8
UBUNTU: SAUCE: remove ibrs_dump sysctl interface

BugLink: http://bugs.launchpad.net/bugs/1755627
The ibrs_dump sysctl interface landed in the Ubuntu backport
df043b74ba71 ("x86/spec_ctrl: Add sysctl knobs to enable/disable
SPEC_CTRL feature") but nothing like it reached mainline.

This debug interface spams dmesg with many lines of output each time
/proc/sys/kernel/ibrs_dump is accessed (notably, every run of 'sysctl -a')
The interface returns only a dummy sysctl value; it has no other purpose
aside from generating dmesg output.

Remove the interface to squelch the excessive dmesg logging by 'sysctl -a'.

Fixes: df043b74ba71 ("x86/spec_ctrl: Add sysctl knobs to enable/disable SPEC_CTRL feature")
Acked-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
kernel/sysctl.c