|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 01/11] xen/arm: vpl011: Add pl011 uart emulation in Xen
Hi Bhupinder, On 26/02/17 21:37, Julien Grall wrote: On 02/21/2017 11:25 AM, Bhupinder Thakur wrote: [...]
Answering to myself here. Looking at the SBSA UART spec, register could be accessed with different size. SO please handle that in the next version. [...] + case VPL011_UARTDMACR_OFFSET: + *r = 0; /* uart DMA is not supported. Here it always returns 0 */My understanding of the spec is DMA is not optional. So what would happen if the guest tries to enable it? Answering to myself here. As discussed on Wednesday, we will emulate a subset of PL011 registers to be compliant with SBSA UART as exposed in the guest DT (see patch #6). This would avoid for us to handle unnecessary register (such as DMA, line control register...). But I would keep the file name vpl011.c so someone can extend to support a full PL011 if necessary. You would also need to explain in the commit message what we are emulating and give a link to the SBSA UART spec. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |