Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp824660rwd; Thu, 8 Jun 2023 08:13:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4WiCTUU+mT76lxgyyuC/KflPaYCTJDu3OHRGEFvyOzzxT4jajC4s3dmUPLBkObUSRnd5Qt X-Received: by 2002:a05:6a00:2d8d:b0:663:716e:e752 with SMTP id fb13-20020a056a002d8d00b00663716ee752mr384897pfb.26.1686237184302; Thu, 08 Jun 2023 08:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686237184; cv=none; d=google.com; s=arc-20160816; b=p+wEzqstz+Rx12fGD3U4EYMwJy/IlrnurKGGxMjHr7QojG32I6aP7puipFalv2HoUc 9AiGFZs6vCD7kgwFK6mqIdbfGKh7g7sBbIc1kROmfWVVDy2epF6+mUO+8bG33lVDKAOE QC9dAmERFN1Oaaekz2QOoxjbORp2Ks7RCq1mktMlftSXCBra8jKoty6UtWreEFBZ0Zjh B9GJiItlewi/dFXCGeEktGEZIO6sM3kSYgblQ6eiDiSJhGb6LLjzcsubclkyEYjl2vAA JWqZYKHHRjSAiAL0GPd1xNg8I6cHt4ywqYaWe0qUNn6dfgd8Vy/UsMpJJrsk5OJvGOQr FAiA== 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=5lnt/9si9D5YOy373HUEHBO3n2k78BpW/Lm1LzlNnmQ=; b=hG4ClMwNxAwhGjbF+88P8DLHVM3heV4iiWO1CBWIZ/lIwd2nX31osMr1yUx6D+Vbcl iFT7FGjUSqPW85i9o4w0mG/Psd/qwG5lY97hEYNKH3Y8j+ug892uZ6A7becOS6Da7Yll x5IW3aIXbvfyhPzThILVd9pRHW1UvayljKvcfCESfftF+fIPtiFQGVPG+rplgZctAIDO Zstr3SnTnkwGQhCtrbuKECsNM5Qi1oDqvWYSe7dE7D7zQXtblwY1Mhvf+J4rs3FkjDsX 6JlgOu/Y/hUEaKKP71ROY4NuiaGJGL+KVw2J6reiyp4wu+FyUZO1ag+fkpxZlwN64NnP VZQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PnSovXLH; 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 b130-20020a633488000000b005428e3980ddsi1133873pga.413.2023.06.08.08.12.49; Thu, 08 Jun 2023 08:13: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=@kernel.org header.s=k20201202 header.b=PnSovXLH; 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 S236242AbjFHPAA (ORCPT + 99 others); Thu, 8 Jun 2023 11:00:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230033AbjFHO76 (ORCPT ); Thu, 8 Jun 2023 10:59:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8066B1FFE; Thu, 8 Jun 2023 07:59:57 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 0FCC364E55; Thu, 8 Jun 2023 14:59:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20991C433D2; Thu, 8 Jun 2023 14:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686236396; bh=npXZHP2sYrfKUUSmgdBI17W6Y8KMUW+iXQJzYemr/sM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PnSovXLHnq0FQZ0+f2s7UCMm8F60Q/tznF5Y6vEOBDjzBsZBhOrWQyJ7W8VELPr4u tcIH99ooOs1sBuGJ8vo+FFR4WyBC4N8hT4VNlTFBZ825ZISKI0h0v2zhFW2XNXwotM NFewS9BeNpBhgBRf/0jPNyyLTthBwI0Lrcqxrjeof2TEXq9j0dFrl3BUun+xtIbaik APQ5c/05/J42g2lijgo4yPk3RpKNxCs+CdOXsrHxFmUW+HZd3TPsUlJfG6qrnGKRT3 3sMFR0cxVEp0xMzoaysczZeh+QHECxcSrK1RAYVmRQ2PFpliY7eP45QYlr6wvVaBxW cT0OddUIJ4xng== Date: Thu, 8 Jun 2023 10:59:51 -0400 From: William Breathitt Gray To: Niklas Schnelle Cc: Arnd Bergmann , William Breathitt Gray , Greg Kroah-Hartman , Bjorn Helgaas , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , 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-iio@vger.kernel.org Subject: Re: [PATCH v5 07/44] counter: add HAS_IOPORT_MAP dependency Message-ID: References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-8-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cGR4pLWjypQyqqUs" Content-Disposition: inline In-Reply-To: <20230522105049.1467313-8-schnelle@linux.ibm.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --cGR4pLWjypQyqqUs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 22, 2023 at 12:50:12PM +0200, Niklas Schnelle wrote: > The 104_QUAD_8 counter driver uses devm_ioport_map() without depending > on HAS_IOPORT_MAP. This means the driver is not usable on platforms such > as s390 which do not support I/O port mapping. Add the missing > HAS_IOPORT_MAP dependency to make this explicit. >=20 > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- > drivers/counter/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig > index 4228be917038..e65a2bf178b8 100644 > --- a/drivers/counter/Kconfig > +++ b/drivers/counter/Kconfig > @@ -15,6 +15,7 @@ if COUNTER > config 104_QUAD_8 > tristate "ACCES 104-QUAD-8 driver" > depends on (PC104 && X86) || COMPILE_TEST > + depends on HAS_IOPORT_MAP > select ISA_BUS_API > help > Say yes here to build support for the ACCES 104-QUAD-8 quadrature > --=20 > 2.39.2 >=20 This has a minor merge conflict with the current Kconfig in the Counter tree. Would you rebase on the counter-next branch and resubmit? Thanks, William Breathitt Gray --cGR4pLWjypQyqqUs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZIHs5wAKCRC1SFbKvhIj K5nRAQDVMtos7KxK5Q5YSC9rIAeFyGlHLWt+AnEzFe3Bnz9F1gEAnEIsBxKC5rYh bixQtUpYrwia7GtvW7KAuXAxyfv57Q8= =pUOf -----END PGP SIGNATURE----- --cGR4pLWjypQyqqUs--