[kvm-unit-tests PATCH] configure: arm: Update kvmtool UART address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kvmtool commit 45b4968e0de1 ("hw/serial: ARM/arm64: Use MMIO at higher
addresses") changed the UART address from 0x3f8 to 0x1000000. Update the
UART early address accordingly when kvm-unit-tests is configured with
--target=kvmtool.

Users of older kvmtool versions can still enjoy having a working early UART
by configuring kvm-unit-tests with --earlycon=uart,mmio,0x3f8. Note that in
this case --target=kvmtool is still recommended because it enables all
erratas.

Signed-off-by: Alexandru Elisei <alexandru.elisei@xxxxxxx>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 4ad5a4bcd782..bd0c14edb777 100755
--- a/configure
+++ b/configure
@@ -189,7 +189,7 @@ elif [ "$arch" = "arm" ] || [ "$arch" = "arm64" ]; then
     if [ "$target" = "qemu" ]; then
         arm_uart_early_addr=0x09000000
     elif [ "$target" = "kvmtool" ]; then
-        arm_uart_early_addr=0x3f8
+        arm_uart_early_addr=0x1000000
         errata_force=1
     else
         echo "--target must be one of 'qemu' or 'kvmtool'!"
-- 
2.32.0




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux