All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH] configure: arm: Update kvmtool UART address
@ 2021-06-11 15:26 ` Alexandru Elisei
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandru Elisei @ 2021-06-11 15:26 UTC (permalink / raw)
  To: drjones, kvm, kvmarm

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@arm.com>
---
 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


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

* [kvm-unit-tests PATCH] configure: arm: Update kvmtool UART address
@ 2021-06-11 15:26 ` Alexandru Elisei
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandru Elisei @ 2021-06-11 15:26 UTC (permalink / raw)
  To: drjones, kvm, kvmarm

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@arm.com>
---
 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

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

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

* Re: [kvm-unit-tests PATCH] configure: arm: Update kvmtool UART address
  2021-06-11 15:26 ` Alexandru Elisei
@ 2021-06-14  8:16   ` Andrew Jones
  -1 siblings, 0 replies; 4+ messages in thread
From: Andrew Jones @ 2021-06-14  8:16 UTC (permalink / raw)
  To: Alexandru Elisei; +Cc: kvm, kvmarm

On Fri, Jun 11, 2021 at 04:26:21PM +0100, Alexandru Elisei wrote:
> 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@arm.com>
> ---
>  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
>

Applied to arm/queue

https://gitlab.com/rhdrjones/kvm-unit-tests/-/commits/arm/queue

Thanks,
drew 


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

* Re: [kvm-unit-tests PATCH] configure: arm: Update kvmtool UART address
@ 2021-06-14  8:16   ` Andrew Jones
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Jones @ 2021-06-14  8:16 UTC (permalink / raw)
  To: Alexandru Elisei; +Cc: kvmarm, kvm

On Fri, Jun 11, 2021 at 04:26:21PM +0100, Alexandru Elisei wrote:
> 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@arm.com>
> ---
>  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
>

Applied to arm/queue

https://gitlab.com/rhdrjones/kvm-unit-tests/-/commits/arm/queue

Thanks,
drew 

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

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

end of thread, other threads:[~2021-06-14  8:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11 15:26 [kvm-unit-tests PATCH] configure: arm: Update kvmtool UART address Alexandru Elisei
2021-06-11 15:26 ` Alexandru Elisei
2021-06-14  8:16 ` Andrew Jones
2021-06-14  8:16   ` Andrew Jones

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.