Re: [RFC PATCH 0/2] serial: 8250_dw: IO space + polling mode support

From: John Garry
Date: Mon Feb 26 2018 - 08:15:32 EST


On 26/02/2018 12:27, Andy Shevchenko wrote:
On Mon, 2018-02-26 at 14:21 +0200, Andy Shevchenko wrote:
On Mon, 2018-02-26 at 11:56 +0000, John Garry wrote:


Device (LPC0.CON0) {
Name (_HID, "HISI1031")

// Name (_CID, "PNP0501") // cannot support PNP


One more question. What is the problem with this CID? Do you have a race
condition in enumeration?


Hi Andy,

Not sure if race condition exactly. I tried enabling this CID and a pnp device is created in pnpacpi_add_device_handler(), while we have already marked the corresponding acpi_device to skip enumeration in ACPI scan handler (by flagging it as a serial bus slave).

Thanks,
John