All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] xen/arm: Allow QEMU platform to be built with GICv2
@ 2022-01-17  6:40 Dongjiu Geng
  2022-01-17  9:00 ` Bertrand Marquis
  2022-01-17 14:15 ` Julien Grall
  0 siblings, 2 replies; 14+ messages in thread
From: Dongjiu Geng @ 2022-01-17  6:40 UTC (permalink / raw)
  To: sstabellini, julien, Volodymyr_Babchuk, bertrand.marquis, xen-devel
  Cc: gengdongjiu1

It turns out that QEMU has been supporting GICv2 virtualization since
v3.1.0. So remove the dependencies on GICv3. If we want to use GICv3,
we can select the QEMU_LEGACY configuration.

Signed-off-by: Dongjiu Geng <gengdongjiu1@gmail.com>
---
 xen/arch/arm/platforms/Kconfig | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/xen/arch/arm/platforms/Kconfig b/xen/arch/arm/platforms/Kconfig
index c93a6b2756..41e82a42ee 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -13,7 +13,15 @@ config ALL_PLAT
 	automatically select any of the related drivers.
 
 config QEMU
-	bool "QEMU aarch virt machine support"
+	bool "QEMU aarch virt machine support >= v3.1.0"
+	depends on ARM_64
+	select HAS_PL011
+	---help---
+	Enable all the required drivers for QEMU aarch64 virt emulated
+	machine.
+
+config QEMU_LEGACY
+	bool "QEMU aarch virt machine support < v3.1.0"
 	depends on ARM_64
 	select GICV3
 	select HAS_PL011
-- 
2.25.1



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

end of thread, other threads:[~2022-01-23 10:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17  6:40 [PATCH v4] xen/arm: Allow QEMU platform to be built with GICv2 Dongjiu Geng
2022-01-17  9:00 ` Bertrand Marquis
2022-01-17 11:12   ` Dongjiu Geng
2022-01-17 11:38     ` Bertrand Marquis
2022-01-17 11:49       ` Dongjiu Geng
2022-01-17 14:15 ` Julien Grall
2022-01-18  8:32   ` Bertrand Marquis
2022-01-18  8:45   ` Dongjiu Geng
2022-01-18  8:48     ` Bertrand Marquis
2022-01-18  8:58       ` Dongjiu Geng
2022-01-18  9:17         ` Bertrand Marquis
2022-01-19 11:30           ` Dongjiu Geng
2022-01-23 10:31             ` Julien Grall
2022-01-23 10:42         ` Julien Grall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.