mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM64: qemu-virt: enable PCI support
@ 2021-11-17 13:00 Ahmad Fatoum
  2021-11-17 13:00 ` [PATCH 2/2] ARM64: qemu-virt64: extend config for PCI, Virt I/O and more Ahmad Fatoum
  2021-11-22  8:54 ` [PATCH 1/2] ARM64: qemu-virt: enable PCI support Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2021-11-17 13:00 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

We now have a driver for the PCI controller on QEMU, so define
HW_HAS_PCI. The barebox PCI implementation doesn't yet deal with 64-bit
addresses, so use -M virt,highmem=off by default.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/arm/Kconfig                    | 1 +
 test/arm/qemu_virt64_defconfig.yaml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index a8b7bdeaa6ee..14aa7e26af29 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -276,6 +276,7 @@ config ARCH_ARM64_VIRT
 	select SYS_SUPPORTS_64BIT_KERNEL
 	select ARM_AMBA
 	select BOARD_ARM_VIRT
+	select HW_HAS_PCI
 
 endchoice
 
diff --git a/test/arm/qemu_virt64_defconfig.yaml b/test/arm/qemu_virt64_defconfig.yaml
index ed308591da53..5da5dfeb7e27 100644
--- a/test/arm/qemu_virt64_defconfig.yaml
+++ b/test/arm/qemu_virt64_defconfig.yaml
@@ -3,7 +3,7 @@ targets:
     drivers:
       QEMUDriver:
         qemu_bin: qemu
-        machine: virt
+        machine: virt,highmem=off
         cpu: cortex-a57
         memory: 1024M
         kernel: barebox-dt-2nd.img
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

end of thread, other threads:[~2021-11-22  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 13:00 [PATCH 1/2] ARM64: qemu-virt: enable PCI support Ahmad Fatoum
2021-11-17 13:00 ` [PATCH 2/2] ARM64: qemu-virt64: extend config for PCI, Virt I/O and more Ahmad Fatoum
2021-11-22  8:54 ` [PATCH 1/2] ARM64: qemu-virt: enable PCI support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox