Re: [RFC PATCH 0/8] ACPI: change the way of enumerating PNPACPI/Platform devices

Zhang Rui
2014-03-03T13:50:22Z

On Wed, 2014-02-26 at 16:47 +0000, Matthew Garrett wrote:
> On Wed, 2014-02-26 at 17:11 +0800, Zhang Rui wrote:
>
> > 1. without the patch, the acpi_platform scan handler white list is
> > continuously growing.
> > 2. with the patch set, the PNPACPI scan handler white list will become
> > smaller and smaller by
> > a) remove the ids from the PNPACPI white list, for the devices
> > that are never enumerated via ACPI
> > b) remove the ids from the PNPACPI whilte list and convert the drivers to
> > platform bus drivers, for the devices that are not PNP devices in nature.
> > which will be done later.
>
> I agree that this is the right direction to go in. The number of acpipnp
> devices that are also pnpbios or (even worse) isapnp is (a) unlikely to
> increase, and (b) *very* small, and pretty much limited to superio and a
> small number of sound cards on old laptops. We may come up with a better
> solution for them later, but right now shifting away from requiring that
> every new ACPI device driver also bump a whitelist is an improvement.
>
thanks for your comments, Matthew.

thanks,
rui