Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1321033rwl; Wed, 29 Mar 2023 16:16:12 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcQ/T+CeNW4z8q1d1sNV/CX2e/2K5Vc+oLf8WQnOESoUwDELkLQlg5zG6jcv46Q6zyjYSw X-Received: by 2002:a17:906:14cf:b0:8a6:e075:e364 with SMTP id y15-20020a17090614cf00b008a6e075e364mr22451144ejc.26.1680131771767; Wed, 29 Mar 2023 16:16:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680131771; cv=none; d=google.com; s=arc-20160816; b=CaPrj0baRpqU/0ZvT275ufm0SkPEuplD7JRxuo20I1Gt7l18jJXxNgAB6ItknNWFq8 b1bILMsUdHr3DAWb4Tolq9BqMZNiBEAexUwFiq3uCa6ms88kKvFq3soPhsPbqClVird0 iETGykR2/RSe/zLbwDkrnJI+58Y1rW0g/TKS/aiK1U7EqubfkdmW3la7VJYs2JQtgvlq UH1dVC7CWL2GKoAw83u6Tzq5pxHi/jpgPbgndbo3gMhsoiJGKz4TfkeF0xSqmxbl+Xl0 h+3NOF/RGNIfQPJ3oKUVn9r0abeM2o3ZtLTEV8RJb2Mqz+NiNkM8uuclUzdTo2VbRVac PZUg== 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=9k7TVI/iaA6ovp/yJMFbUHpDlsbbfD1QzCXOYFjU7yk=; b=x90mh5TnAVHq99rnTohmUcfv+KU73VRZtPv/yvmivQpoSNjzh1VLNZwbNVJeEg7pWl AVO7Knj5dMxIoXamZEyvEa8bE6k23zNvvT6TCEjemjw5BQ6pw9DIDjmBmMQuTqWwfOUE /Xzgnt4e6cqeI0Lk/Sxsfr9YbFd3aUkwb29H2VpedsYK4GfKOf8jXI9Z6wHNdIDzaq2n gT1f1MU+vKPF/PpOzZA5M4FEQ38B3+zyhTvLC3mMYzGBqSn14AqayUflkxMR0gwQy+LQ 0fvNqSU8bCj9nf5t0gwmhjurFkSdzuqNvAj5QkLUKjPnKK5iFtKgJF8UWRpG+hzWKcxb qdrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kQXMZGKh; 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 jz4-20020a17090775e400b0092351b1acdcsi25448404ejc.347.2023.03.29.16.15.46; Wed, 29 Mar 2023 16:16:11 -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=@kernel.org header.s=k20201202 header.b=kQXMZGKh; 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 S230330AbjC2XBz (ORCPT + 99 others); Wed, 29 Mar 2023 19:01:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjC2XBy (ORCPT ); Wed, 29 Mar 2023 19:01:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB38546AF; Wed, 29 Mar 2023 16:01:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CFC87B8243B; Wed, 29 Mar 2023 23:01:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71ECFC433D2; Wed, 29 Mar 2023 23:01:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680130909; bh=aUhmYOlJNPE9UBSfWYsXAC0QUzpgCRA5cLcAhflMRgs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kQXMZGKhK3bZUJlUkAI6inUFGy20RLqEOiljUVVekUf6NXW/AdLaRByGMS+3DNJTF tsbwQNiLyqgm3eBNSAJ/XRqeLQNNMNMrjOeegrYcczNGFEhXl42vHKhBVDnywRbK0c HVl3zTHL9q3cS7Ut3ZfN/v3eH9aCNdYVcc1UsHk0QBlHlEh/oDRvjtIgRyimZHfDH5 SFTrDiIq1HmyqH1IkTOjnmIZDa616Jhc1uVy1/fC28A2Wj/06cYQzIDhOJhtYxXPpV y17Z91txj/M2jdt8Ibwhp6Wyztz3JUBtvRWLk/QEdw1kxe61WJL7d9PRoE6iePY5sS NrDinURmVCwsQ== Received: by mercury (Postfix, from userid 1000) id 2E2061062665; Thu, 30 Mar 2023 01:01:46 +0200 (CEST) Date: Thu, 30 Mar 2023 01:01:46 +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 v3 27/38] power: add HAS_IOPORT dependencies Message-ID: <20230329230146.pvkfnsoqr6tuuuxf@mercury.elektranox.org> References: <20230314121216.413434-1-schnelle@linux.ibm.com> <20230314121216.413434-28-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qigw7wbrpbhgomf7" Content-Disposition: inline In-Reply-To: <20230314121216.413434-28-schnelle@linux.ibm.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 --qigw7wbrpbhgomf7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Mar 14, 2023 at 01:12:05PM +0100, 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 > Co-developed-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- Acked-by: Sebastian Reichel -- 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.37.2 >=20 --qigw7wbrpbhgomf7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmQkw1kACgkQ2O7X88g7 +pryjg/9EBDNrxN5toE3uocrn9nnnJfVvqmn4QAIN3XdHQwzlP/07e9nGZd2Vcht KDFycurrvH6p/N/UhvI3PByHJbGjwHGr0Q/dj7nz8UsQMdEsmwlKpF9ocHG1E1tx N0/ezM+YyX+E7lYpe5jgywKS9DMArCbvKa3nTNayJsde4Xb8gklIh6PDDvQZYC/g LYm/qj/B3cRjYHjaVsx1tXd7U0MEwY6F1yET45dyxnaXVyUkUBLh4bcKCh1Ol8oO MCWyDnwu+mLU7E++Gz5/V2d9KZmiCu2E4ra+LZX5m4y9n8TpLkK0pej9CcqkbHud nUbdttl8ceEANfZjbvyCUGyQWcwgYZwlIpluwwj6dIyJx5GkdA89QHS1ArFDYE7y bJZfheHnAyv6hscuMCSfjaJoiSBBZVVIUiMkFuwSEmWLEzjzl28s/MpFacGaN9ls Ujzah53zrAB38Wnq0+ZmlVEPPZYDKh1vob3qAL5F5TuSzR6yFum9Pl/Q4jqeZJkx NeXPUAHhA/SkwCjdJfe2YrR40Tf/QwjJKmwQVnFaiBzu94sMQtfddkfRtkrcdapO bJ3hdNuSkaIHJcHdrrLLTVwua0EgnrY5ov5th2RWHSx8IfZnDmcSYBsV0o3Xd15q 1LovrtDYKTzJKo8UU3/j3DdarmC+HylKhKga+gd9XqauYQuh7dY= =e4RC -----END PGP SIGNATURE----- --qigw7wbrpbhgomf7--