Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp107020imu; Wed, 12 Dec 2018 13:10:27 -0800 (PST) X-Google-Smtp-Source: AFSGD/UOaqumfOoX8llL/bJ1SgLcO9rpSLzpkG8s5hE6aZfmHlUoP0a9HU1JxXIr3ofDN7M46qaA X-Received: by 2002:a63:b218:: with SMTP id x24mr19071750pge.223.1544649027065; Wed, 12 Dec 2018 13:10:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544649027; cv=none; d=google.com; s=arc-20160816; b=aVYmMAhKHxHSugB9Dka0d8MBqnwCPTDLOn9wEtJSfZBOGsDnjARaOp9H991t59s15r SS3q3qNjtO4U4N1ZFQGe/WF4a7262ENU5nkjUc6LHfls6FA6Cg5dwtFYnMxrw3/ZhQwD F4TSvwd3Y9UwxIgd0Er5qPr6pRHt/OEv+Mw9/RWIMz6Hl3rQXQ9mqAQl8Qzq0Z6DRIyz i8OalSqYun0BkQlS1h2Gik9Sy4JffFK0Yv4fBFX03RwkrDGi0tRfq0IBHVYglxbHD151 oPoegtqA6rztZDoQNroRkZh7Bexb0v2pnIQe4Ex0JpRoJS6ppKCN3tCkogztWdy51Bq4 nkqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=PIBF0E3FLHFvGHXC432wzO9boZ5X9jAQg8VhfrHE0JI=; b=wymK/vERslNsx7K6gyJVzuRXJrCfz51hZh+qZ5MiCjmnYjOQSpgVFzcX4u6Ya+KHNV KBUtlemfo53qS+YOCt47oVakRiLjA8TwXiaKt/AU0DZ5LbxRFIMzmePeMP1gVnSA+uiK hK9G1OFNEMLm0thH3nE7aQX6Vd4fkRDL4xvOigzeYeXT223AU/wJQZXz5J4M2v7pgxCs gkT0hfkCadQDGoLWLscX/zkQL1QAeVWUpu5IUFZTuxMzhsdIYybwM+qq4nEjA32AVdkb IFlSloajPMW6jzMBR2owTLRYubbAZJi69wRnM7B4hUZPN4h/A/Nz4mALClZbStEk55EP TroA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 o1si15749570pgq.13.2018.12.12.13.10.12; Wed, 12 Dec 2018 13:10:27 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728121AbeLLVHM (ORCPT + 99 others); Wed, 12 Dec 2018 16:07:12 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:39603 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbeLLVHM (ORCPT ); Wed, 12 Dec 2018 16:07:12 -0500 Received: by mail-oi1-f194.google.com with SMTP id i6so16252308oia.6; Wed, 12 Dec 2018 13:07:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PIBF0E3FLHFvGHXC432wzO9boZ5X9jAQg8VhfrHE0JI=; b=s1Qjo6KqSe+MuORHFFAPM9rx/fiCn9cp/8OSrWspVK3l5UNKMivhD896paoEvbZrV9 dh12Yzn2+2XZmp19GuXZcXWUXQMPtTuVcPRnpiRir/+j8+lnIb4C6ka02qswp2b/GCE/ wHkFttz/9qm+VkqdhEljca5dQrgK4L8Zr2X4XkX6X7z8m4utTsut8F6qvmFaKRWyjhBb nRFJuLEFV75TGOvEEsKSJP2/LULrNQLdilQy1tyN5bP8/x7IQHgq0lcuENNEI2n9OooW kipivuJOEKqanpNAok4jv+oiZlxXmv1ZFDU657AkiwRrri99uUaTcXYFtDeAiSfPgkBu KNXQ== X-Gm-Message-State: AA+aEWa+KnTnDQ82JUnjRSrZvBA+Om0lZMQarjhiRZWqfbjoRPXvPywR hwSIpGBlDmbhPS25msSmUYb9WrRc9PNcwLc7Zok= X-Received: by 2002:aca:a698:: with SMTP id t24mr333067oij.76.1544648830940; Wed, 12 Dec 2018 13:07:10 -0800 (PST) MIME-Version: 1.0 References: <20181212171941.7437-1-okaya@kernel.org> <20181212171941.7437-6-okaya@kernel.org> <39dc076f-1b3d-ad0c-c4bb-056ac589f361@kernel.org> In-Reply-To: <39dc076f-1b3d-ad0c-c4bb-056ac589f361@kernel.org> From: "Rafael J. Wysocki" Date: Wed, 12 Dec 2018 22:06:58 +0100 Message-ID: Subject: Re: [PATCH v6 5/5] ACPICA: Remove PCI bits from ACPICA when CONFIG_PCI is unset To: okaya@kernel.org, "Schmauss, Erik" Cc: ACPI Devel Maling List , Robert Moore , Rafael Wysocki , Len Brown , devel@acpica.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?