Re: [Xen-devel] [PATCH v3] ns16550: Add ACPI support for ARM only

2020-02-20 Thread Wei Xu
Hi Jan, On 2020/2/20 16:33, Jan Beulich wrote: > On 20.02.2020 08:44, Wei Xu wrote: >> On 2020/2/17 21:53, Jan Beulich wrote: >>> On 03.02.2020 12:21, Wei Xu wrote: +static int __init ns16550_acpi_uart_init(const void *data) +{ +struct acpi_table_header *table; +struct

Re: [Xen-devel] [PATCH v3] ns16550: Add ACPI support for ARM only

2020-02-20 Thread Jan Beulich
On 20.02.2020 08:44, Wei Xu wrote: > On 2020/2/17 21:53, Jan Beulich wrote: >> On 03.02.2020 12:21, Wei Xu wrote: >>> +static int __init ns16550_acpi_uart_init(const void *data) >>> +{ >>> +struct acpi_table_header *table; >>> +struct acpi_table_spcr *spcr; >>> +acpi_status status; >>>

Re: [Xen-devel] [PATCH v3] ns16550: Add ACPI support for ARM only

2020-02-19 Thread Wei Xu
Hi Jan, On 2020/2/17 21:53, Jan Beulich wrote: > On 03.02.2020 12:21, Wei Xu wrote: >> Parse the ACPI SPCR table and initialize the 16550 compatible serial port >> for ARM only. Currently we only support one UART on ARM. Some fields >> which we do not care yet on ARM are ignored. >> >>

Re: [Xen-devel] [PATCH v3] ns16550: Add ACPI support for ARM only

2020-02-17 Thread Jan Beulich
On 03.02.2020 12:21, Wei Xu wrote: > Parse the ACPI SPCR table and initialize the 16550 compatible serial port > for ARM only. Currently we only support one UART on ARM. Some fields > which we do not care yet on ARM are ignored. > > Signed-off-by: Wei Xu > > --- > Changes in v3: > - address the

[Xen-devel] [PATCH v3] ns16550: Add ACPI support for ARM only

2020-02-03 Thread Wei Xu
Parse the ACPI SPCR table and initialize the 16550 compatible serial port for ARM only. Currently we only support one UART on ARM. Some fields which we do not care yet on ARM are ignored. Signed-off-by: Wei Xu --- Changes in v3: - address the code style comments from Jan - use container_of to