kaiser: disabled on Xen PV
authorJiri Kosina <jkosina@suse.cz>
Tue, 2 Jan 2018 13:19:49 +0000 (14:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2018 14:46:35 +0000 (15:46 +0100)
commit402e63de94afdf7cd64e4eb209a8a77310e02d2c
tree08fe698473faf93b3cd8d32821fe64886383d312
parent2c2721754a7f193c98188d07ee335b124ae2df77
kaiser: disabled on Xen PV

Kaiser cannot be used on paravirtualized MMUs (namely reading and writing CR3).
This does not work with KAISER as the CR3 switch from and to user space PGD
would require to map the whole XEN_PV machinery into both.

More importantly, enabling KAISER on Xen PV doesn't make too much sense, as PV
guests use distinct %cr3 values for kernel and user already.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/mm/kaiser.c