On 16/01/18 18:59, Linus Torvalds wrote: > On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel <joro@xxxxxxxxxx> wrote: >> One of the things that are surely broken is XEN_PV support. >> I'd appreciate any help with testing and bugfixing on that >> front. > Xen PV and PTI don't work together even on x86-64 afaik, the Xen > people apparently felt it wasn't worth it. See the > > if (hypervisor_is_type(X86_HYPER_XEN_PV)) { > pti_print_if_insecure("disabled on XEN PV."); > return; > } 64bit PV guests under Xen already have split pagetables. It is a base and necessary part of the ABI, because segment limits stopped working in 64bit. 32bit PV guests aren't split, but by far the most efficient way of doing this is to introduce a new enlightenment and have Xen switch all this stuff (and IBRS, for that matter) on behalf of the guest kernel on context switch. ~Andrew -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>