This is v6 for a previous patch series being discussed at: https://lore.kernel.org/dri-devel/20220718172418.584231-1-adrian.larumbe@xxxxxxxxxxxxx/j Mesa MR under review can be found at: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14034 Changes with respect to v5 of the same patch: - Expressed MMU_AS_STRIDE as a bitshift to avoid yet another magic number and removed misleading comment on the same line. Adrián Larumbe (2): drm/panfrost: Add specific register offset macros for JS and MMU AS drm/panfrost: Add support for devcoredump drivers/gpu/drm/panfrost/Kconfig | 1 + drivers/gpu/drm/panfrost/Makefile | 3 +- drivers/gpu/drm/panfrost/panfrost_dump.c | 249 +++++++++++++++++++++++ drivers/gpu/drm/panfrost/panfrost_dump.h | 12 ++ drivers/gpu/drm/panfrost/panfrost_job.c | 3 + drivers/gpu/drm/panfrost/panfrost_regs.h | 42 ++-- include/uapi/drm/panfrost_drm.h | 47 +++++ 7 files changed, 338 insertions(+), 19 deletions(-) create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.c create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.h -- 2.37.0