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

From: Matthew Garrett
Date: Wed Feb 26 2014 - 11:48:01 EST


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.

--
Matthew Garrett <matthew.garrett@xxxxxxxxxx>
N‹§²æ¸›yú²X¬¶ÇvØ–)Þ{.nlj·¥Š{±‘êX§¶›¡Ü}©ž²ÆzÚj:+v‰¨¾«‘êZ+€Êzf£¢·hšˆ§~†­†Ûÿû®w¥¢¸?™¨è&¢)ßf”ùy§m…á«a¶Úÿ 0¶ìå