[PATCH v4] Mark xe driver as BROKEN if kernel page size is not 4kB
Thomas Hellström
thomas.hellstrom at linux.intel.com
Mon Aug 4 09:40:15 UTC 2025
On Sat, 2025-08-02 at 11:40 +0900, Simon Richter wrote:
> 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 at hogyros.de>
> Cc: stable at vger.kernel.org
> ---
> drivers/gpu/drm/xe/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
> index 2bb2bc052120..714d5702dfd7 100644
> --- a/drivers/gpu/drm/xe/Kconfig
> +++ b/drivers/gpu/drm/xe/Kconfig
> @@ -5,6 +5,7 @@ config DRM_XE
> depends on KUNIT || !KUNIT
> depends on INTEL_VSEC || !INTEL_VSEC
> depends on X86_PLATFORM_DEVICES || !(X86 && ACPI)
> + 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
R-B still stands.
I've pushed this to drm-xe-next with a Fixes: tag which means it will
likely end up in Linus' tree the upcoming weekend.
Thanks,
Thomas
More information about the dri-devel
mailing list