• Linus Torvalds's avatar
    Merge tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 22b8cc3e
    Linus Torvalds authored
    Pull x86 LAM (Linear Address Masking) support from Dave Hansen:
     "Add support for the new Linear Address Masking CPU feature.
    
      This is similar to ARM's Top Byte Ignore and allows userspace to store
      metadata in some bits of pointers without masking it out before use"
    
    * tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/mm/iommu/sva: Do not allow to set FORCE_TAGGED_SVA bit from outside
      x86/mm/iommu/sva: Fix error code for LAM enabling failure due to SVA
      selftests/x86/lam: Add test cases for LAM vs thread creation
      selftests/x86/lam: Add ARCH_FORCE_TAGGED_SVA test cases for linear-address masking
      selftests/x86/lam: Add inherit test cases for linear-address masking
      selftests/x86/lam: Add io_uring test cases for linear-address masking
      selftests/x86/lam: Add mmap and SYSCALL test cases for linear-address masking
      selftests/x86/lam: Add malloc and tag-bits test cases for linear-...
    22b8cc3e
madvise.c 38.5 KB