Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1185779rwd; Tue, 16 May 2023 13:08:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4iFekUOh64B6P6KWwlRXXoVDjPFUZYfd/5+EnIDilHfIPUeagAMXYo8QypLkFd1yXN+jRL X-Received: by 2002:a17:903:110c:b0:1ab:1241:f671 with SMTP id n12-20020a170903110c00b001ab1241f671mr42163107plh.29.1684267684312; Tue, 16 May 2023 13:08:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684267684; cv=none; d=google.com; s=arc-20160816; b=aTHNzHT0W49e4J8gXGWDzJqQmj0bl1v5osyqt3U3weJIqcbhUBnlQxFF3VLigdBmCl oqE7sw0EBBJdjkLLihKB+o/M6gYUncCaqhjunchBP60Dup3agynFXG93Pc46Opvgf55T JhK4J05qgwUCt3VsRr9ijJsXSerG9Gp6SAzBPGGPkqxR7FzX7cvE63p5WNepSpSZdd+B +nkZ1e2cjDRKLGiWDELr/LxSLo3GQrLMP7k63altH8n3OHSnzt83IHruu2id9o8l4hPv HtV7zGjl/NuOJkdTl57cEj5ZOAaBTf+W79ocmPflcy/zqmL018iuL1am8HpaTLITEdny dX6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=E6eTcNwsfg4P4To/GSTwdKb1U6s18Rukt4fWS8o1B/M=; b=l7EHcT4RUGpv0XWyXMztlGNFjcx4+7tIy+6zbWEJVz+1HDgZYHMH/JYqn1MuQ31IG1 y/QIBk/oSpjqSVwouNkOnFBO9U0FUcQYLgoTlhDaEPLqpkzxiQR6LGv9XldJE+NaV7Ot bjrH5Gh6Uv/Lww4ST9S4uqYMTznC3OxhP5N5anla5XGzAwNsyJQmoDzdli25dElrIv31 tzKAfY2LymSZx1DyJbXhkyEEif7gRUrvGCowRZJ8jt9MF17clJxQ6s8OQWa9pKw3vYtr ymBqIH5h5HaYG9eABoWPjBPAz6eBy1jVBa8xrPqruw1zW47ecdHNU+ajEr6jRoFn50Oz rYXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=oG++9agV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l8-20020a170903244800b001ac82e8491dsi20433314pls.345.2023.05.16.13.07.48; Tue, 16 May 2023 13:08:04 -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; dkim=pass header.i=@collabora.com header.s=mail header.b=oG++9agV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbjEPUDm (ORCPT + 99 others); Tue, 16 May 2023 16:03:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbjEPUDk (ORCPT ); Tue, 16 May 2023 16:03:40 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66C6D619B; Tue, 16 May 2023 13:03:34 -0700 (PDT) Received: from mercury (unknown [185.254.75.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 7511C6605902; Tue, 16 May 2023 21:03:32 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1684267412; bh=neBnBIFI0CIVAk8FH71HI3up4NB8vfsI9KknH645BgE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oG++9agVNx+YfmqZ/xi5WTDJ6ENKtWAUyL1dKl4dT+/eF5WRm94oh4tNc8WdcjB5x jIVuyFhwKKj9JGBMUXT+QhG8rGAzo81f2oCPcr7Wcf69X7TxhKoH0RgLKJA0ZPXevm ZFA/OE7j6ErLBYk7mj83e76PWftkj5R1PDDHPwfHzrXCtNuvwAhsBIeI/s9O8YbNdT WabTM8JZt3L+ZYDoIXmGaZc/XfOCZfvbI+QIbQsywJQeeUylcWoqx8t8Rq4wQ0TfQR M7hMOhCZ/WkujL6APddqvUT4bBVoVdmeq00+FKazdS567hyr0qsE3cupOcX8QIQ4KD 2/p6vS5DD/9LQ== Received: by mercury (Postfix, from userid 1000) id 8121C10623DF; Tue, 16 May 2023 22:03:29 +0200 (CEST) Date: Tue, 16 May 2023 22:03:29 +0200 From: Sebastian Reichel To: Niklas Schnelle Cc: Arnd Bergmann , Greg Kroah-Hartman , Bjorn Helgaas , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-pm@vger.kernel.org Subject: Re: [PATCH v4 27/41] power: add HAS_IOPORT dependencies Message-ID: <20230516200329.oxxgvnm5ivj46mph@mercury.elektranox.org> References: <20230516110038.2413224-1-schnelle@linux.ibm.com> <20230516110038.2413224-28-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jp3qgbjcymzuog6w" Content-Disposition: inline In-Reply-To: <20230516110038.2413224-28-schnelle@linux.ibm.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 --jp3qgbjcymzuog6w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, May 16, 2023 at 01:00:23PM +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=3Dn will result in inb()/outb() and friends > not being declared. We thus need to add HAS_IOPORT as dependency for > those drivers using them. >=20 > Acked-by: Sebastian Reichel > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- > Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so > per-subsystem patches may be applied independently Thanks, queued to power-supply's for-next branch. -- Sebastian > drivers/power/reset/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig > index 8c87eeda0fec..fff07b2bd77b 100644 > --- a/drivers/power/reset/Kconfig > +++ b/drivers/power/reset/Kconfig > @@ -158,6 +158,7 @@ config POWER_RESET_OXNAS > config POWER_RESET_PIIX4_POWEROFF > tristate "Intel PIIX4 power-off driver" > depends on PCI > + depends on HAS_IOPORT > depends on MIPS || COMPILE_TEST > help > This driver supports powering off a system using the Intel PIIX4 > --=20 > 2.39.2 >=20 --jp3qgbjcymzuog6w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmRj4Y0ACgkQ2O7X88g7 +prvBQ//S5/2ZNXe0IRtGqYh6TrppJf6jIzcQKzwlDdsYrpaxPmNCo0K7y2IiVip uLF/HNmX2TzwGzwhiCn0qyEqfCpflQIzoVmRYI+QINGKDKki/x3diinsRQyovHat CtgvLc+n48bvV2a/4uiIaQKRFl5ALOWgf4d3xLy9xzSxHnJ2o/IHE9j+ggFqfaS0 mfq0h0/iEldRbcYxn5Nc5M7JwkXurWI5eeLM7sFfzMl6Lt8WJtTIiEjmOsoDksR1 rkqmYFZaj9N4w+0tfSXj58oPc4o0y2tBLP/6xYFKfHsix0s4yS69nGlPkJgvCdun diZdzVGavGLjmyndKIYTJOtP3xnl8/N9JdAMDprfJ+0Tp/Vrp+wUZWA/RPQyUMGV jddpFKhV3fs1FfVypVBQPJyi/NOl06hCmBrE6YwEgCWd9kA391qA9Zm38hDMHSqR b52OhqF9+yV2KHFx3KikzxDFZOHbqMuJV4VPHepmABk+TTys1FPsqsnSJOmenSmv dytYPdxhUOZBGv7zbjoA6/5zM70oNJqhqznYyUrAH+XC39Q5ss8VHeQ38BTEqI9M VBSSezMw2Avjp2I6SXvbb5t61Se4/V+sEVcsYlcJ3SsPbsx7b6jCxIe7CXRal+OU eemXHq+QLUY+a/y9XuVN9fn5nf1kKgou97yBWlxBp+GOj47L2So= =TeOZ -----END PGP SIGNATURE----- --jp3qgbjcymzuog6w--