Re: [PATCH 0/3] PTI for x86-32 Fixes

2018-08-16 Thread David H. Gutteridge
changed, 100 insertions(+), 43 deletions(-) I've tested this in a VM and on an Atom laptop, as usual. No regressions noted. Tested-by: David H. Gutteridge Regards, Dave

Re: [PATCH] x86/mm/pti: Move user W+X check into pti_finalize()

2018-08-16 Thread David H. Gutteridge
i_clone_entry_text(); > pti_clone_kernel_text(); > + > + debug_checkwx_user(); > } I've tested this in a VM and on an Atom laptop, as usual. No regressions noted. (The version I tested was the latter pulled into tip: [ tglx: Folded !NX supported fix ]) Tested-by: David H. Gutteridge Regards, Dave

Re: [PATCH 0/3] PTI x86-32 Updates and Fixes

2018-07-30 Thread David H. Gutteridge
in my testing of this patch set. The only minor thing I noted is that in your previous "v8" patch set ([PATCH 38/39] x86/mm/pti: Add Warning when booting on a PCID capable CPU), it reports the warning on non-PCID capable CPUs: I think you intended a bitwise "&", not a logical "&&" in the if statement? Tested-by: David H. Gutteridge Regards, Dave

Re: [PATCH 0/3] PTI for x86-32 Fixes and Updates

2018-07-25 Thread David H. Gutteridge
On Mon, 2018-07-23 at 09:29 +0200, Joerg Roedel wrote: > Hey David, > > On Sun, Jul 22, 2018 at 11:49:00PM -0400, David H. Gutteridge wrote: > > Unfortunately, I can trigger a bug in KVM+QEMU with the Bochs VGA > > driver. (This is the same VM definition I shared with you in

Re: [PATCH 0/3] PTI for x86-32 Fixes and Updates

2018-07-22 Thread David H. Gutteridge
On Fri, 2018-07-20 at 18:22 +0200, Joerg Roedel wrote: > Hi, > > here are 3 patches which update the PTI-x86-32 patches recently merged > into the tip-tree. The patches are ordered by importance: > > Patch 1: Very important, it fixes a vmalloc-fault in NMI context >when PTI

Re: [PATCH 00/39 v7] PTI support for x86-32

2018-07-16 Thread David H. Gutteridge
On Wed, 2018-07-11 at 13:29 +0200, Joerg Roedel wrote: > Hi, > > here is version 7 of my patches to enable PTI on x86-32. > Changes to the previous version are: > > * Rebased to v4.18-rc4 > > * Introduced pti_finalize() which is called after > mark_readonly() and used to upda

Re: [PATCH 00/31 v2] PTI support for x86_32

2018-02-19 Thread David H. Gutteridge
On 09/02/18 10:25, Joerg Roedel wrote: > Hi, > > here is the second version of my PTI implementation for > x86_32, based on tip/x86-pti-for-linus. It took a lot longer > than I had hoped, but there have been a number of obstacles > on the way. It also isn't the small patch-set anymore that v1 > wa