linux/drivers/gpu/drm/imagination
Alessio Belle 6b991ad8dc
drm/imagination: Disallow exporting of PM/FW protected objects
These objects are meant to be used by the GPU firmware or by the PM unit
within the GPU, in which case they may contain physical addresses.

This adds a layer of protection against exposing potentially exploitable
information outside of the driver.

Fixes: ff5f643de0 ("drm/imagination: Add GEM and VM related code")
Signed-off-by: Alessio Belle <alessio.belle@imgtec.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20251208-no-export-pm-fw-obj-v1-1-83ab12c61693@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
2025-12-18 15:39:27 +00:00
..
Kconfig drm/imagination: Optionally depend on POWER_SEQUENCING 2025-11-03 13:26:44 +00:00
Makefile
pvr_ccb.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
pvr_ccb.h
pvr_cccb.c
pvr_cccb.h
pvr_context.c
pvr_context.h
pvr_debugfs.c
pvr_debugfs.h
pvr_device.c drm/imagination: Fix reference to devm_platform_get_and_ioremap_resource() 2025-10-31 14:34:53 +00:00
pvr_device.h drm/imagination: Document pvr_device.power member 2025-11-21 17:06:11 +00:00
pvr_device_info.c
pvr_device_info.h
pvr_drv.c
pvr_drv.h
pvr_free_list.c
pvr_free_list.h
pvr_fw.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
pvr_fw.h
pvr_fw_info.h
pvr_fw_meta.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
pvr_fw_meta.h
pvr_fw_mips.c
pvr_fw_mips.h
pvr_fw_riscv.c
pvr_fw_startstop.c
pvr_fw_startstop.h
pvr_fw_trace.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
pvr_fw_trace.h
pvr_fw_util.c
pvr_gem.c drm/imagination: Disallow exporting of PM/FW protected objects 2025-12-18 15:39:27 +00:00
pvr_gem.h
pvr_hwrt.c
pvr_hwrt.h
pvr_job.c
pvr_job.h
pvr_mmu.c
pvr_mmu.h
pvr_params.c
pvr_params.h
pvr_power.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
pvr_power.h
pvr_queue.c
pvr_queue.h
pvr_rogue_cr_defs.h
pvr_rogue_cr_defs_client.h
pvr_rogue_defs.h
pvr_rogue_fwif.h
pvr_rogue_fwif_check.h
pvr_rogue_fwif_client.h
pvr_rogue_fwif_client_check.h
pvr_rogue_fwif_common.h
pvr_rogue_fwif_dev_info.h
pvr_rogue_fwif_resetframework.h
pvr_rogue_fwif_sf.h
pvr_rogue_fwif_shared.h
pvr_rogue_fwif_shared_check.h
pvr_rogue_fwif_stream.h
pvr_rogue_heap_config.h
pvr_rogue_meta.h
pvr_rogue_mips.h
pvr_rogue_mips_check.h
pvr_rogue_mmu_defs.h
pvr_rogue_riscv.h
pvr_stream.c
pvr_stream.h
pvr_stream_defs.c
pvr_stream_defs.h
pvr_sync.c
pvr_sync.h
pvr_vm.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
pvr_vm.h
pvr_vm_mips.c
pvr_vm_mips.h