[Intel-xe] ✓ CI.checkpatch: success for drm/xe: Extend scratch page support to fault mode

Patchwork patchwork at emeril.freedesktop.org
Wed Nov 15 01:36:53 UTC 2023


== Series Details ==

Series: drm/xe: Extend scratch page support to fault mode
URL   : https://patchwork.freedesktop.org/series/126435/
State : success

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 13b46fae87a22e29fcc47ccecbe86fa522a3c8c5
Author: Brian Welty <brian.welty at intel.com>
Date:   Tue Nov 14 16:56:11 2023 -0800

    drm/xe: Extend scratch page support to fault mode
    
    The PVC HW has a limitation that the page fault due to invalid access
    will halt the corresponding EUs. So, in order to activate the debugger,
    kmd needs to setup the scratch pages to unhalt the EUs.
    
    This feature can only be enabled if scratch flag is set per VM during
    VM_CREATE. For use with EU debugger, the debugger umd will set the flag.
    
    The idea is to bind a scratch vma if the page fault is from an invalid
    access. This patch is taking advantage of null pte. After the bind, the
    user application can continue to run without causing a GPU hang or reset.
    
    In case the app will bind this scratch vma to a valid address, GPUVA
    handles all of this (e.g. it will create ops to unbind the old VMA and
    bind the new one).
    Future optimization: as we use null pte, it may not require to invalidate
    TLBs when doing unbind if all upper layer page tables are unmodified.
    
    v2: per Matt's suggestion, remove the scratch page unbind.
    v3: correct error handlings.
    v4: add test for XE_VM_FLAG_64K, and ALIGN_DOWN the address
    
    Signed-off-by: Bruce Chang <yu.bruce.chang at intel.com>
    Reviewed-by: Brian Welty <brian.welty at intel.com>
    Acked-by: Stuart Summers <stuart.summers at intel.com>
    Signed-off-by: Brian Welty <brian.welty at intel.com>
+ /mt/dim checkpatch 2fe82053d916d09ffcc92bc27294c9eed4e4804b drm-intel
13b46fae8 drm/xe: Extend scratch page support to fault mode




More information about the Intel-xe mailing list