]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86: more ibrs/pti fixes
authorPavel Tatashin <pasha.tatashin@oracle.com>
Sun, 7 Jan 2018 18:39:15 +0000 (10:39 -0800)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:20:13 +0000 (10:20 -0800)
commit15214960c7de9d8d8a3ee54e9bd90425c6e5a7e4
treec7e8c274b4d71ad21ec9d21b16b05b161703a54c
parentb66aff637834a1bb791d42ec97c7cb027570eb5c
x86: more ibrs/pti fixes

Restore IBRS before cr3 is restored, and save IBRS3 after
switching to kernel cr3.

Orabug: 27333760
CVE: CVE-2017-5754

Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/kernel/entry_64.S