From: Eliot Courtney Date: Tue, 7 Apr 2026 03:59:50 +0000 (+0900) Subject: gpu: nova: require little endian X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d39e22cf87b664d2398523294055e1d6b96dde1f;p=thirdparty%2Fkernel%2Flinux.git gpu: nova: require little endian The driver already assumes little endian in a lot of locations. For example, all the code that reads RPCs out of the command queue just directly interprets the bytes. Make this explicit in Kconfig. Signed-off-by: Eliot Courtney Reviewed-by: Alexandre Courbot Reviewed-by: Joel Fernandes Reviewed-by: Gary Guo Reviewed-by: John Hubbard Link: https://patch.msgid.link/20260407-fix-kconfig-v2-1-6b4fb06c690c@nvidia.com Signed-off-by: Danilo Krummrich --- diff --git a/drivers/gpu/drm/nova/Kconfig b/drivers/gpu/drm/nova/Kconfig index 3e637ad7b5bad..a2028b8539d73 100644 --- a/drivers/gpu/drm/nova/Kconfig +++ b/drivers/gpu/drm/nova/Kconfig @@ -4,6 +4,7 @@ config DRM_NOVA depends on DRM=y depends on PCI depends on RUST + depends on !CPU_BIG_ENDIAN select AUXILIARY_BUS select NOVA_CORE default n diff --git a/drivers/gpu/nova-core/Kconfig b/drivers/gpu/nova-core/Kconfig index a4f2380654e2d..d8456f8eaa057 100644 --- a/drivers/gpu/nova-core/Kconfig +++ b/drivers/gpu/nova-core/Kconfig @@ -3,6 +3,7 @@ config NOVA_CORE depends on 64BIT depends on PCI depends on RUST + depends on !CPU_BIG_ENDIAN select AUXILIARY_BUS select RUST_FW_LOADER_ABSTRACTIONS default n