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

From: David H. Gutteridge
Date: Mon Jul 16 2018 - 22:16:03 EST


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 update the kernel
> mappings in the user page-table after RO/NX
> protections are in place.
>
> The patches need the vmalloc/ioremap fixes in tip/x86/mm to
> work correctly, because this enablement makes the issues
> fixed there more likely to happen.

Hi Joerg & *,

I redid my testing on bare metal and in a VM (as with my previous
testing
efforts: https://lkml.org/lkml/2018/2/19/844, same setups
and coverage,
plus CONFIG_X86_DEBUG_ENTRY_CR3 enabled too) with the
pti-x32-v7 branch,
and I didn't encounter any issues. The two DRM
drivers that were
triggering bugs in some of the prior iterations
are both behaving
properly for me.

Regards,

Dave