Re: [PATCH] hw/riscv/virt: Add a second UART for secure world

2023-04-24 Thread Philippe Mathieu-Daudé
On 24/4/23 03:01, Yong Li wrote: The virt machine can have two UARTs and the second UART can be used when host secure-mode support is enabled. Signed-off-by: Yong Li Cc: "Zhiwei Liu" --- hw/riscv/virt.c | 4 include/hw/riscv/virt.h | 2 ++ 2 files changed, 6 insertions(+) Re

[PATCH] hw/riscv/virt: Add a second UART for secure world

2023-04-24 Thread Yong Li
The virt machine can have two UARTs and the second UART can be used when host secure-mode support is enabled. Signed-off-by: Yong Li --- hw/riscv/virt.c | 4 include/hw/riscv/virt.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index b38b41

Re: [PATCH] hw/riscv/virt: Add a second UART for secure world

2023-04-24 Thread Li, Yong
On 2023/4/24 16:59, Peter Maydell wrote: On Mon, 24 Apr 2023 at 07:24, Yong Li wrote: The virt machine can have two UARTs and the second UART can be used when host secure-mode support is enabled. Do you mean "host" here, or "guest" ? Currently, it is an UEFI secure firmware residing in a se

Re: [PATCH] hw/riscv/virt: Add a second UART for secure world

2023-04-24 Thread Peter Maydell
On Mon, 24 Apr 2023 at 07:24, Yong Li wrote: > > The virt machine can have two UARTs and the second UART > can be used when host secure-mode support is enabled. Do you mean "host" here, or "guest" ? > Signed-off-by: Yong Li > --- > hw/riscv/virt.c | 4 > include/hw/riscv/virt.h |

[PATCH] hw/riscv/virt: Add a second UART for secure world

2023-04-23 Thread Yong Li
The virt machine can have two UARTs and the second UART can be used when host secure-mode support is enabled. Signed-off-by: Yong Li --- hw/riscv/virt.c | 4 include/hw/riscv/virt.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index b38b41

Re: [PATCH] hw/riscv/virt: Add a second UART for secure world

2023-04-23 Thread Li, Yong
On 2023/4/24 10:42, LIU Zhiwei wrote: On 2023/4/24 9:01, Yong Li wrote: The virt machine can have two UARTs and the second UART can be used when host secure-mode support is enabled. Signed-off-by: Yong Li Cc: "Zhiwei Liu" Should  cc other Maintainers and Reviewers. Get the list by running

Re: [PATCH] hw/riscv/virt: Add a second UART for secure world

2023-04-23 Thread LIU Zhiwei
On 2023/4/24 9:01, Yong Li wrote: The virt machine can have two UARTs and the second UART can be used when host secure-mode support is enabled. Signed-off-by: Yong Li Cc: "Zhiwei Liu" Should  cc other Maintainers and Reviewers. Get the list by running the script ./scripts/get_maintainer.pl

[PATCH] hw/riscv/virt: Add a second UART for secure world

2023-04-23 Thread Yong Li
The virt machine can have two UARTs and the second UART can be used when host secure-mode support is enabled. Signed-off-by: Yong Li Cc: "Zhiwei Liu" --- hw/riscv/virt.c | 4 include/hw/riscv/virt.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/hw/riscv/virt.c b/hw/riscv/v