diff options
author | Andy Lutomirski <luto@kernel.org> | 2020-06-26 10:24:30 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-07-01 15:27:20 +0200 |
commit | d029bff60aa6c7eab281d52602b6a7a971615324 (patch) | |
tree | bc6aadea2b2a234361696aff4a6a9d2ac1564d36 /arch/x86/entry | |
parent | 40c45904f818c1f6555294ca27afc5fda4f09e68 (diff) | |
download | linux-d029bff60aa6c7eab281d52602b6a7a971615324.tar.gz linux-d029bff60aa6c7eab281d52602b6a7a971615324.tar.bz2 linux-d029bff60aa6c7eab281d52602b6a7a971615324.zip |
x86/fsgsbase: Fix Xen PV support
On Xen PV, SWAPGS doesn't work. Teach __rdfsbase_inactive() and
__wrgsbase_inactive() to use rdmsrl()/wrmsrl() on Xen PV. The Xen
pvop code will understand this and issue the correct hypercalls.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/f07c08f178fe9711915862b656722a207cd52c28.1593192140.git.luto@kernel.org
Diffstat (limited to 'arch/x86/entry')
0 files changed, 0 insertions, 0 deletions