Re: [PATCH] hw/arm/virt: Second uart for normal-world

2019-12-10 Thread Daniel Thompson
On Mon, Dec 09, 2019 at 05:10:30PM +, Peter Maydell wrote: > On Mon, 9 Dec 2019 at 17:08, Daniel Thompson > wrote: > > I don't object to making it command line dependant (it is certainly > > lower risk) but, out of interest, has using /aliases to force the > > kernel to enumerate the serial n

Re: [PATCH] hw/arm/virt: Second uart for normal-world

2019-12-09 Thread Peter Maydell
On Mon, 9 Dec 2019 at 17:08, Daniel Thompson wrote: > I don't object to making it command line dependant (it is certainly > lower risk) but, out of interest, has using /aliases to force the > kernel to enumerate the serial nodes in the existing order been ruled > out for any reason. No, I don't t

Re: [PATCH] hw/arm/virt: Second uart for normal-world

2019-12-09 Thread Daniel Thompson
On Mon, Dec 09, 2019 at 03:36:17PM +, Peter Maydell wrote: > On Mon, 9 Dec 2019 at 15:25, Daniel Thompson > wrote: > > > > The virt machine can have two UARTs but the second UART is only > > registered when secure-mode support is enabled. Change the machine so > > this UART is always register

Re: [PATCH] hw/arm/virt: Second uart for normal-world

2019-12-09 Thread Peter Maydell
On Mon, 9 Dec 2019 at 15:25, Daniel Thompson wrote: > > The virt machine can have two UARTs but the second UART is only > registered when secure-mode support is enabled. Change the machine so > this UART is always registered bringing the behaviour of the virt > machine closer to x86 land, where VM

[PATCH] hw/arm/virt: Second uart for normal-world

2019-12-09 Thread Daniel Thompson
The virt machine can have two UARTs but the second UART is only registered when secure-mode support is enabled. Change the machine so this UART is always registered bringing the behaviour of the virt machine closer to x86 land, where VMs can be expected to support two UARTs. This approach is also s