From: Zhang Rui Subject: Re: [RFC PATCH 0/8] ACPI: change the way of enumerating PNPACPI/Platform devices Date: Mon, 03 Mar 2014 21:50:14 +0800 Message-ID: <1393854614.2193.4.camel@rzhang1-mobl4> References: <1393405874-3266-1-git-send-email-rui.zhang@intel.com> <1393433267.14900.3.camel@x230> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com ([134.134.136.20]:43043 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753881AbaCCNuW (ORCPT ); Mon, 3 Mar 2014 08:50:22 -0500 In-Reply-To: <1393433267.14900.3.camel@x230> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Matthew Garrett Cc: "dmitry.torokhov@gmail.com" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "linux-acpi@vger.kernel.org" , "rafael.j.wysocki@intel.com" 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