Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp713740iob; Wed, 4 May 2022 06:37:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlA/+UKi56pc3paAmsz9hXvy8W+4dYiLu4DTevCsmtJ/xnXAYiob1K4Zo08kpN4cQGSz9k X-Received: by 2002:aa7:938c:0:b0:50d:418a:cdfb with SMTP id t12-20020aa7938c000000b0050d418acdfbmr21084059pfe.72.1651671447294; Wed, 04 May 2022 06:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651671447; cv=none; d=google.com; s=arc-20160816; b=NbE38SLrYIvSUOYHKTYxCsbYNUjelZji/LTmbuC8gtoG+U9zP6qqUmESslG/y5XhaM bRmLvAZtogC5lbYos3XW6MmFpcLRH66MKCR25ssdGr0QCCU99P13gLks1yTcPqQkGqJi QEFDFlvugy82tE0uOGWi4KQ9dfEQwrWS7H1CK6fLdV5d0JF7WThlOl2koASrRPkcLfoS WylpjDSQ4lW5vvBNRDZQJtyfZJqiUno52YVODzWnP1DT/7aHNY6X4qjBl0yeaUQd0I9R XFSj3X/j353VQpiVcPq3kXTap8FFuXH26jtOsC67j4P5vToAMSfDMj2+06ES/h/rAgNW KHbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=vvTTUaLWJsjzPOFhmxoasD7sFbTs6/YjaMVSqjmO3ts=; b=Jc5hMZrp2HzB4XUs6E0Fs8znE+sbvg3XiOk4ztktDLgRPMH13bOCHftiFIRrYaIaoY T5NUsTSxg3cwXp+CTL4xGptkxw//VLhHaVRMuiPlTZHUNtlnXRtdP6IyxHOTTnFbL8q5 s2fEDWTUpwNMLqO7rjPXDYpp8WGtSY86d0tzBNgWgTzr3YI6K1BKmIqmS7yaGXJsIlfW 9FEbcD6iZCRXprtVVdZ6NQml+/XvbPRHV5XVTdlpkyz+NtDi5OsjopzzQF/VKb4bV3+f GFP8Xp8hEZOfGIx/b/Xk4nxksOgFE3NXoAQ771+Khb2nL/zFPZOQX6AU2tx7/hISMrE3 K0mA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a17090a94c800b001dbc8281abesi4505352pjw.178.2022.05.04.06.37.04; Wed, 04 May 2022 06:37:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1350493AbiEDN1p (ORCPT + 99 others); Wed, 4 May 2022 09:27:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347065AbiEDN1l (ORCPT ); Wed, 4 May 2022 09:27:41 -0400 Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75C7DD88; Wed, 4 May 2022 06:24:04 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id f38so2355465ybi.3; Wed, 04 May 2022 06:24:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vvTTUaLWJsjzPOFhmxoasD7sFbTs6/YjaMVSqjmO3ts=; b=VFHLhVpkw7v/V1fI3l0jrlIOpZ9OmvzXuxPnzWbk4k+w2wAo+9U5CPXaYrz/790OOU ZPmO5+ikLZ49TvOFhvUkN8wPfMutOMFasYevjcrvIxZQTAsjUc/CUdr6yVKL+GsRbcDm D18bEHEo1rMvPlmDW7rbYUbrLt5VPLZx9ZeaUTKECQVDRh5cp0mqyxPWVhsylszWrafZ A23j4vnkhwcwyBlVreuaWh5eUTDMzKxMKK0vWv6X3oL8zDm3PJoMUViIY/U2WH1+YPLG QqFL8ZadM0bnJQhFA9fucDzSZXk3h0k6mN5zX4p74oliju/d6BJMwHjfCYRcpxOcOQJ9 bYfA== X-Gm-Message-State: AOAM530UIK9XXExKRGpN6rMukDlf74Q8C/cxIMiP/b4PzJVKvN8mAVtr xWJlph4CQ0FRplqwo6eIJldHJe1N0/VlwQJHZdg= X-Received: by 2002:a25:3795:0:b0:648:fa25:5268 with SMTP id e143-20020a253795000000b00648fa255268mr18583257yba.153.1651670643716; Wed, 04 May 2022 06:24:03 -0700 (PDT) MIME-Version: 1.0 References: <20220429135108.2781579-1-schnelle@linux.ibm.com> <20220429135108.2781579-3-schnelle@linux.ibm.com> In-Reply-To: <20220429135108.2781579-3-schnelle@linux.ibm.com> From: "Rafael J. Wysocki" Date: Wed, 4 May 2022 15:23:52 +0200 Message-ID: Subject: Re: [RFC v2 02/39] ACPI: add dependency on HAS_IOPORT To: Niklas Schnelle Cc: Arnd Bergmann , Greg Kroah-Hartman , Linux Kernel Mailing List , linux-arch , Linux PCI , Arnd Bergmann , "Rafael J. Wysocki" , "open list:ACPI" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 29, 2022 at 3:51 PM Niklas Schnelle wrote: > > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. As ACPI always uses I/O port access we simply depend > on HAS_IOPORT. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- > drivers/acpi/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > index 1e34f846508f..8ad0d168004c 100644 > --- a/drivers/acpi/Kconfig > +++ b/drivers/acpi/Kconfig > @@ -5,6 +5,7 @@ > > config ARCH_SUPPORTS_ACPI > bool > + depends on HAS_IOPORT This and the analogous PNP change are both fine with me. Thanks! > > menuconfig ACPI > bool "ACPI (Advanced Configuration and Power Interface) Support" > -- > 2.32.0 >