]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Mark xe driver as BROKEN if kernel page size is not 4kB
authorSimon Richter <Simon.Richter@hogyros.de>
Fri, 22 Aug 2025 20:30:36 +0000 (16:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:31:07 +0000 (16:31 +0200)
[ Upstream commit 022906afdf90327bce33d52fb4fb41b6c7d618fb ]

This driver, for the time being, assumes that the kernel page size is 4kB,
so it fails on loong64 and aarch64 with 16kB pages, and ppc64el with 64kB
pages.

Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: stable@vger.kernel.org # v6.8+
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://lore.kernel.org/r/20250802024152.3021-1-Simon.Richter@hogyros.de
(cherry picked from commit 0521a868222ffe636bf202b6e9d29292c1e19c62)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
[ Adjust context ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/xe/Kconfig

index 93e742c1f21e743f53be21af2e513dc005fc2b2a..f15c27070ff4e45021953f61629e62bb972ad939 100644 (file)
@@ -3,6 +3,7 @@ config DRM_XE
        tristate "Intel Xe Graphics"
        depends on DRM && PCI && MMU
        depends on KUNIT || !KUNIT
+       depends on PAGE_SIZE_4KB || COMPILE_TEST || BROKEN
        select INTERVAL_TREE
        # we need shmfs for the swappable backing store, and in particular
        # the shmem_readpage() which depends upon tmpfs