aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorPekka Enberg <[email protected]>2020-09-05 06:07:26 +0000
committerPalmer Dabbelt <[email protected]>2020-09-16 01:46:11 +0000
commita960c1323749383e62b67f5d49cdfbdcccde0ef6 (patch)
treee5a22bc2e128c39fa297d6052b42494c7672c9c8 /drivers/gpu/drm/omapdrm/omap_gem.c
parentriscv/mm/fault: Fix inline placement in vmalloc_fault() declaration (diff)
downloadkernel-a960c1323749383e62b67f5d49cdfbdcccde0ef6.tar.gz
kernel-a960c1323749383e62b67f5d49cdfbdcccde0ef6.zip
riscv/mm/fault: Set FAULT_FLAG_INSTRUCTION flag in do_page_fault()
If the page fault "cause" is EXC_INST_PAGE_FAULT, set the FAULT_FLAG_INSTRUCTION flag to let handle_mm_fault() and friends know about it. This has no functional changes because RISC-V uses the default arch_vma_access_permitted() implementation, which always returns true. However, dax_pmd_fault(), for example, has a tracepoint that uses FAULT_FLAG_INSTRUCTION, so we might as well set it. Signed-off-by: Pekka Enberg <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions