linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: support big-endian for the virt architecture
@ 2018-09-26 13:51 Jason A. Donenfeld
  2018-09-28  8:41 ` Ard Biesheuvel
  2018-09-28 15:52 ` Arnd Bergmann
  0 siblings, 2 replies; 6+ messages in thread
From: Jason A. Donenfeld @ 2018-09-26 13:51 UTC (permalink / raw)
  To: linux, linux-arm-kernel, linux-kernel; +Cc: Jason A. Donenfeld

This architecture, used for running in QEMU, runs just fine when
compiled in big-endian mode. So enable it. This is enabled in exactly
the same way that it is for other platforms (such as vexpress) that also
support big-endian mode in QEMU successfully.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
---
Personally, I'm using this as part of WireGuard's CI, and patching
kernels to include this is a bit annoying. Any chance this can get into
4.19?

 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e8cd55a5b04c..b8c6062ca0c1 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -701,6 +701,7 @@ config ARCH_VIRT
 	select ARM_GIC_V3_ITS if PCI
 	select ARM_PSCI
 	select HAVE_ARM_ARCH_TIMER
+	select ARCH_SUPPORTS_BIG_ENDIAN
 
 #
 # This is sorted alphabetically by mach-* pathname.  However, plat-*
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-29  2:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-26 13:51 [PATCH] arm: support big-endian for the virt architecture Jason A. Donenfeld
2018-09-28  8:41 ` Ard Biesheuvel
2018-09-28 15:52 ` Arnd Bergmann
2018-09-28 16:04   ` Jason A. Donenfeld
2018-09-28 19:19     ` Arnd Bergmann
2018-09-29  2:52       ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).