Re: [RFC PATCH] hw/arm/musicpal: Map the UART devices unconditionally

2020-05-11 Thread Peter Maydell
On Tue, 5 May 2020 at 10:59, Philippe Mathieu-Daudé wrote: > > I can't find proper documentation or datasheet, but it is likely > a MMIO mapped serial device mapped in the 0x8000..0x8000 > range belongs to the SoC address space, thus is always mapped in > the memory bus. > Map the devices

Re: [RFC PATCH] hw/arm/musicpal: Map the UART devices unconditionally

2020-05-05 Thread Peter Maydell
On Tue, 5 May 2020 at 11:09, Jan Kiszka wrote: > > On 05.05.20 11:59, Philippe Mathieu-Daudé wrote: > I don't recall details anymore either (more than 10 year ago now...), > but this looks reasonable. My guess is that it dates back to when the serial code would crash if passed a NULL pointer for

Re: [RFC PATCH] hw/arm/musicpal: Map the UART devices unconditionally

2020-05-05 Thread Jan Kiszka
On 05.05.20 11:59, Philippe Mathieu-Daudé wrote: I can't find proper documentation or datasheet, but it is likely a MMIO mapped serial device mapped in the 0x8000..0x8000 range belongs to the SoC address space, thus is always mapped in the memory bus. Map the devices on the bus regardless

[RFC PATCH] hw/arm/musicpal: Map the UART devices unconditionally

2020-05-05 Thread Philippe Mathieu-Daudé
I can't find proper documentation or datasheet, but it is likely a MMIO mapped serial device mapped in the 0x8000..0x8000 range belongs to the SoC address space, thus is always mapped in the memory bus. Map the devices on the bus regardless a chardev is attached to it. Signed-off-by: Phili