]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/speculation/mds: Add debugfs for controlling MDS
authorKanth Ghatraju <kanth.ghatraju@oracle.com>
Thu, 28 Mar 2019 17:57:23 +0000 (13:57 -0400)
committerMihai Carabas <mihai.carabas@oracle.com>
Mon, 22 Apr 2019 18:16:18 +0000 (21:16 +0300)
commit9948f836572f9273013e5e62e2dfabdbd26145b7
tree5e40e20d1b05fe210ce970f780724a901302a22d
parent808717b3ff88c248d0e4852dc8c360c16931a352
x86/speculation/mds: Add debugfs for controlling MDS

Add debugfs entries for controlling mds_user_clear and mds_idle_clear static
keys which would enable the mitigation in the respective paths.

Orabug: 29526900
CVE: CVE-2018-12126
CVE: CVE-2018-12130
CVE: CVE-2018-12127

Signed-off-by: Kanth Ghatraju <kanth.ghatraju@oracle.com>
Reviewed-by: Mihai Carabas <mihai.carabas@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/bugs_64.c
arch/x86/kernel/cpu/mds_ctrl.c [new file with mode: 0644]