Re: [PATCHv6 00/11] Linear Address Masking enabling
From: Alexander Potapenko
Date: Tue Aug 23 2022 - 06:27:55 EST
On Mon, Aug 15, 2022 at 3:43 PM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> On Mon, Aug 15, 2022 at 07:17:52AM +0300, Kirill A. Shutemov wrote:
>
> > Kirill A. Shutemov (7):
> > x86/mm: Fix CR3_ADDR_MASK
> > x86: CPUID and CR3/CR4 flags for Linear Address Masking
> > mm: Pass down mm_struct to untagged_addr()
> > x86/mm: Handle LAM on context switch
> > x86/uaccess: Provide untagged_addr() and remove tags before address
> > check
> > x86/mm: Provide arch_prctl() interface for LAM
> > x86: Expose untagging mask in /proc/$PID/arch_status
>
> Over-all these are not terrible.. I've replied with a few nits; with
> those fixed:
>
> Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
The patchset is green on the LLVM buildbot:
https://lab.llvm.org/buildbot/#/builders/169, so my Tested-by: tags
persist.
I'm going to make minor changes to HWASan runtime to accommodate for
the new arch_prctl().
--
Alexander Potapenko
Software Engineer
Google Germany GmbH
Erika-Mann-Straße, 33
80636 München
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg