diff options
author | Andy Lutomirski <luto@kernel.org> | 2020-07-03 10:02:57 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-07-04 19:47:26 +0200 |
commit | cc801833a171163edb6385425349ba8903bd1b20 (patch) | |
tree | e0d7c7abe9d36450abcb020858d7e25636718faf /drivers/i2c/i2c-smbus.c | |
parent | 13cbc0cd4a30c815984ad88e3a2e5976493516a3 (diff) |
x86/ldt: Disable 16-bit segments on Xen PV
Xen PV doesn't implement ESPFIX64, so they don't work right. Disable
them. Also print a warning the first time anyone tries to use a
16-bit segment on a Xen PV guest that would otherwise allow it
to help people diagnose this change in behavior.
This gets us closer to having all x86 selftests pass on Xen PV.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/92b2975459dfe5929ecf34c3896ad920bd9e3f2d.1593795633.git.luto@kernel.org
Diffstat (limited to 'drivers/i2c/i2c-smbus.c')
0 files changed, 0 insertions, 0 deletions