From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754382Ab3A1V3X (ORCPT ); Mon, 28 Jan 2013 16:29:23 -0500 Received: from mail-ia0-f178.google.com ([209.85.210.178]:56842 "EHLO mail-ia0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753953Ab3A1V3V (ORCPT ); Mon, 28 Jan 2013 16:29:21 -0500 MIME-Version: 1.0 In-Reply-To: References: <1358525267-14268-1-git-send-email-jiang.liu@huawei.com> <1358525267-14268-5-git-send-email-jiang.liu@huawei.com> <3500982.MUDp6kKU3R@vostro.rjw.lan> Date: Mon, 28 Jan 2013 13:29:20 -0800 X-Google-Sender-Auth: Xy3mlEMsri8svGsxGgtAelK0QY4 Message-ID: Subject: Re: [RFC PATCH v5 4/8] ACPI, PCI: avoid building pci_slot as module From: Yinghai Lu To: Bjorn Helgaas Cc: "Rafael J. Wysocki" , Jiang Liu , Jiang Liu , Kenji Kaneshige , Yijing Wang , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Greg Kroah-Hartman , ACPI Devel Maling List , Toshi Kani , Myron Stowe Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 28, 2013 at 1:09 PM, Bjorn Helgaas wrote: > On Sun, Jan 20, 2013 at 5:01 PM, Rafael J. Wysocki wrote: >> On Saturday, January 19, 2013 12:07:42 AM Jiang Liu wrote: >>> As discussed in thread at https://patchwork.kernel.org/patch/1946851/, >>> there's no value in supporting CONFIG_ACPI_PCI_SLOT=m any more. >>> So change Kconfig and code to only support building pci_slot as >>> built-in driver. >>> >>> Signed-off-by: Jiang Liu >> >> Acked-by: Rafael J. Wysocki > > Acked-by: Bjorn Helgaas > > I think we should eventually get rid of acpi_pci_register_driver() and > do this initialization directly from acpi_pci_root_add(). But > removing the module option here is a good first step. > > Rafael, do you want to apply this (and [6/8]) via your tree? If not, > I can take it. If bios have messed up slot name or idx, we will get strange 1-1.... other crazy name. if you really need to put it as built-in, may need to some command line that user could switch it off. Yinghai