Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp130424imu; Wed, 12 Dec 2018 13:33:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/VZbWmhmrIvwyIWKtXVrD/P670bh1FCyHZxzGaahBRZ5r0CnmE/2/NENEGtnUlnamo9dDFA X-Received: by 2002:a62:5182:: with SMTP id f124mr21904255pfb.238.1544650420319; Wed, 12 Dec 2018 13:33:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544650420; cv=none; d=google.com; s=arc-20160816; b=NrIkN7ixADgGWDW27GpkR97xk63VywfjpPeGFH6YDpQVWgy718Rc6WwDCECwZx8Bl+ bHHGE0zugyYb6X84hGYtkDr5087XboqTWaNq2ooFboYHin8W3mPSbH47jqGdhF0Pkx2T Hi63LI+RrwtSWczMJwEw3ExuWkS6UTIh7fHJ6f+hsWR7+0yOkBxAFBd3YHwc8vY25OkL /dE6obHA/TsCes4OA9e5oA/y62aPyOhLcmWM8ndEwP6zIOOVfBasUgqn/U12UPbPoU33 piEHM/ldW69xunPamtybgs7OLDcPtf/79KDff/XkvJuf3daHZCCugwrh6Vo6GKJAE0vl tO+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=WkEiV4V7JdSYoDulRwmBVbAbHghrM2Zpcx5rSnFNAW0=; b=PhoykjHtQr/kNMNWQufln9adkrUjY09zRvHpRf+aOwLynNayuwhOo3NT16nD4PJ8o0 Cfj58E1KCvBpQ9zAS+UXdC/mW+WXBJqA+orzWMKwCQ7st4fATtbvlU71GkKCEKzdfTlr amnwr/LW/HEACuBojEnM4oVR6aHf8B4XXvQz+uduPQ3wCRGZtI9l8ObqKjqaAMXsmPLK 3BMFOHRVchNwRra1VfgyoEH5QVY6grueQs43OJwj88yhXc3FtcWqXih2crFzZJ5QVzz9 Ohhsj/pXolL/2pWGcbIx+asXuJ21m/6CePN9UmNj+FTEzKYJY0dgekbfdAuAqzxGAwC/ eG0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JqDN1+/K"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si14839608pgz.180.2018.12.12.13.33.24; Wed, 12 Dec 2018 13:33:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JqDN1+/K"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728127AbeLLVbG (ORCPT + 99 others); Wed, 12 Dec 2018 16:31:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:57742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbeLLVbF (ORCPT ); Wed, 12 Dec 2018 16:31:05 -0500 Received: from [10.80.45.159] (unknown [71.69.156.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 128A12084E; Wed, 12 Dec 2018 21:31:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544650265; bh=IzU4C7hwtpB79X018bRlj3tYM3RkoY8fk0y73qP7/yY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=JqDN1+/K0mkV2TGYjs/y1DiEJS6hj+E5hmR8gjCOVT5i2aJf70msmwOK/GzuxGAhW z3RfVLoAHi8/8BHpGCDOoEPMs8ZI5vP2YwXiq8mhtuEq1iGlWaKJv3rM37rJxyfeIL F6FmyJXSbBoIf7Cy/qg0g0HrVT15v//02Jbdbg8s= Subject: Re: [PATCH v6 5/5] ACPICA: Remove PCI bits from ACPICA when CONFIG_PCI is unset To: "Schmauss, Erik" , "Rafael J. Wysocki" Cc: ACPI Devel Maling List , "Moore, Robert" , "Wysocki, Rafael J" , Len Brown , "devel@acpica.org" , Linux Kernel Mailing List References: <20181212171941.7437-1-okaya@kernel.org> <20181212171941.7437-6-okaya@kernel.org> <39dc076f-1b3d-ad0c-c4bb-056ac589f361@kernel.org> From: Sinan Kaya Message-ID: <1cf7a2ce-0e1b-c329-a891-0cc9ae030f1b@kernel.org> Date: Wed, 12 Dec 2018 16:31:01 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/12/2018 4:16 PM, Schmauss, Erik wrote: > > >> -----Original Message----- >> From: Rafael J. Wysocki [mailto:rafael@kernel.org] >> Sent: Wednesday, December 12, 2018 1:07 PM >> To: okaya@kernel.org; Schmauss, Erik >> Cc: ACPI Devel Maling List ; Moore, Robert >> ; Wysocki, Rafael J ; >> Len Brown ; devel@acpica.org; Linux Kernel Mailing List >> >> Subject: Re: [PATCH v6 5/5] ACPICA: Remove PCI bits from ACPICA when >> CONFIG_PCI is unset >> >> On Wed, Dec 12, 2018 at 8:34 PM Sinan Kaya wrote: >>> >>> On 12/12/2018 2:02 PM, Schmauss, Erik wrote: >>>>> ++ b/drivers/acpi/acpica/achware.h >>>>> @@ -109,8 +109,17 @@ acpi_hw_enable_runtime_gpe_block(struct >>>>> acpi_gpe_xrupt_info *gpe_xrupt_info, >>>> CONFIG_PCI is a Linux-ism. We should stay with the OS-independent >>>> nature of ACPICA. Please use ACPI_PCI_CONFIGURED and put it above >> the comment like so: >>>> >>>> #ifdef ACPI_PCI_CONFIGURED >>> >>> Thanks for the feedback. My search for ACPI_PCI_CONFIGURED returned >> nothing. >>> >>> git grep ACPI_PCI_CONFIGURED >>> >>> @Rafael, >>> >>> How do you want to handle this? >> >> I think what Eric suggested is effectively to introduce a new ACPICA symbol. >> Erik? > > Yes, that's correct and you can add something like > > #ifdef CONFIG_PCI > #define ACPI_PCI_CONFIGURED > #endif > > in include/linux/platform/aclinux.h to enable it. > OK. Let me rework this and test.