* [PATCH 0/1] Mark xe driver as BROKEN until fixed
@ 2025-07-27 4:27 Simon Richter
2025-07-27 4:27 ` [PATCH 1/1] Mark xe driver as BROKEN if kernel page size is not 4kB Simon Richter
0 siblings, 1 reply; 3+ messages in thread
From: Simon Richter @ 2025-07-27 4:27 UTC (permalink / raw)
To: intel-xe, dri-devel, linux-kernel, stable, 1109776; +Cc: jeffbai, Simon Richter
Hi,
until either of
- https://patchwork.freedesktop.org/series/150230/
or the (same but rebased)
- https://patchwork.freedesktop.org/series/151983/
goes in, the xe module will Oops on insmod when kernel page size is not 4kB.
This disables the module for the time being, and should be reverted for fixed
versions.
This should probably also be added to the stable kernel series which will
likely not receive the fix.
Simon Richter (1):
Mark xe driver as BROKEN if kernel page size is not 4kB
drivers/gpu/drm/xe/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.47.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] Mark xe driver as BROKEN if kernel page size is not 4kB
2025-07-27 4:27 [PATCH 0/1] Mark xe driver as BROKEN until fixed Simon Richter
@ 2025-07-27 4:27 ` Simon Richter
2025-07-27 5:28 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Simon Richter @ 2025-07-27 4:27 UTC (permalink / raw)
To: intel-xe, dri-devel, linux-kernel, stable, 1109776; +Cc: jeffbai, Simon Richter
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.
---
drivers/gpu/drm/xe/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
index 2bb2bc052120..7c9f1de7b35f 100644
--- a/drivers/gpu/drm/xe/Kconfig
+++ b/drivers/gpu/drm/xe/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config DRM_XE
tristate "Intel Xe2 Graphics"
- depends on DRM && PCI
+ depends on DRM && PCI && (PAGE_SIZE_4KB || BROKEN)
depends on KUNIT || !KUNIT
depends on INTEL_VSEC || !INTEL_VSEC
depends on X86_PLATFORM_DEVICES || !(X86 && ACPI)
--
2.47.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] Mark xe driver as BROKEN if kernel page size is not 4kB
2025-07-27 4:27 ` [PATCH 1/1] Mark xe driver as BROKEN if kernel page size is not 4kB Simon Richter
@ 2025-07-27 5:28 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2025-07-27 5:28 UTC (permalink / raw)
To: Simon Richter; +Cc: intel-xe, dri-devel, linux-kernel, stable, 1109776, jeffbai
On Sun, Jul 27, 2025 at 01:27:36PM +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.
> ---
> drivers/gpu/drm/xe/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
> index 2bb2bc052120..7c9f1de7b35f 100644
> --- a/drivers/gpu/drm/xe/Kconfig
> +++ b/drivers/gpu/drm/xe/Kconfig
> @@ -1,7 +1,7 @@
> # SPDX-License-Identifier: GPL-2.0-only
> config DRM_XE
> tristate "Intel Xe2 Graphics"
> - depends on DRM && PCI
> + depends on DRM && PCI && (PAGE_SIZE_4KB || BROKEN)
> depends on KUNIT || !KUNIT
> depends on INTEL_VSEC || !INTEL_VSEC
> depends on X86_PLATFORM_DEVICES || !(X86 && ACPI)
> --
> 2.47.2
>
>
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-27 5:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-27 4:27 [PATCH 0/1] Mark xe driver as BROKEN until fixed Simon Richter
2025-07-27 4:27 ` [PATCH 1/1] Mark xe driver as BROKEN if kernel page size is not 4kB Simon Richter
2025-07-27 5:28 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox