lkml.org 
[lkml]   [2022]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/2] Use the correct page tables for SVA under PTI
    Date
    Shared virtual addressing allows DMA to user virtual address, But the
    x86 IOMMU drivers are using the kernel copy of the process page tables
    when PTI is enabled. This patchset tightens the security intended by
    PTI by performing SVA binding with the appropriate process PGDs.

    I have tested on Intel platform only, would appreciate itif someone
    could help with testing SVA-KPTI on an AMD system.

    Jacob Pan (2):
    x86: mm: Allow PTI helpers to be used outside x86/mm
    iommu: Use the user PGD for SVA if PTI is enabled

    arch/x86/include/asm/pgtable.h | 5 +++++
    drivers/iommu/amd/iommu_v2.c | 4 +++-
    drivers/iommu/intel/svm.c | 5 ++++-
    3 files changed, 12 insertions(+), 2 deletions(-)

    --
    2.25.1

    \
     
     \ /
      Last update: 2022-08-22 22:10    [W:3.281 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site