diff options
| author | Ilia Levi <ilia.levi@intel.com> | 2026-09-08 17:50:49 +0100 |
|---|---|---|
| committer | Matthew Auld <matthew.auld@intel.com> | 2026-09-09 10:57:10 +0100 |
| commit | 1e8e28e35df0e77ae1b22fc091c1f422f62fa5e9 (patch) | |
| tree | 5a13a7c4bab06980708b88a3a38a92459ccc583f /tools/perf/scripts/python | |
| parent | f3391a0b12d7bf826a0b21600d2f294f3dce4c14 (diff) | |
| download | linux-1e8e28e35df0e77ae1b22fc091c1f422f62fa5e9.tar.gz linux-1e8e28e35df0e77ae1b22fc091c1f422f62fa5e9.zip | |
drm/xe/mmio_gem: use write-back mapping for dummy page
Currently vmf_insert_pfn() maps the dummy page as UC, inheriting the
VMA's page protection which was set for the real MMIO region. This
conflicts with the direct map's WB mapping of the same page, creating a
cache type alias which is architecturally undefined on some platforms.
Use vmf_insert_pfn_prot() with a WB pgprot instead. Also simplify to
fault in the requested page instead of the whole VMA.
Fixes: 1ffcf8b8ae8a ("drm/xe: Support for mmap-ing mmio regions")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://sashiko.dev/#/patchset/20260525125801.975038-6-ilia.levi%40intel.com
Assisted-by: GitHub-Copilot:claude-opus-4.6
Signed-off-by: Ilia Levi <ilia.levi@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patch.msgid.link/20260908165046.1393557-12-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
