Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2239132rwd; Fri, 9 Jun 2023 08:27:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4GhtmQVED6AIPwIze1ytbWXZgiLiBW4SCV5Wl/Mf2QUlTHcME3M/zFsM4WU+fmeoQyg+nm X-Received: by 2002:a05:6808:1a1b:b0:38e:8e21:d044 with SMTP id bk27-20020a0568081a1b00b0038e8e21d044mr2139755oib.6.1686324436657; Fri, 09 Jun 2023 08:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686324436; cv=none; d=google.com; s=arc-20160816; b=sGNijKSPrrjTchwsTSW4X7YHal/ABX7tyvTrsb6x2Jg2G607ALa54Q109iMvSBP5OE kr6/RLrzKuR2udD1GbtWUyaI8osXzUBYIL3bM0XPyASRSTIcL+afB00k0Zy798wSEAQp g1tq2lyK0GKOY7r9geWKcFFkqsDM7YL4hoAbo5Hf9bToyhcfjE4Qn9Bw/THzncAzVzP8 DZhrBNCTC4sE4nTukt4BD4ji8bAtAydBbMIMxdSxQNYURYbXelXqwBIsAMT0l9VVJ1Yb mPFEsytUdUXD0iryxXnatsswOrHE1oCidaIBrUfWjmd36ey+13eSzV1nuycjkEmxaN9+ 7Aaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=mQ32Hj2rOLiDXWb7kXaNohNFO/t643oP8mOO5J5x8IE=; b=RDHH8//NQfsoGy5DZRu+2X9a+jHaBzUrykNFVerMAQCplgA4+xuULryYs3p0h2JNL0 YLCHWj94ng1tmFphkDjOIAxBwa5d5y7gwK06Caxzm4iU1MEOqT3ziXBIUXhiJQ5GDV/c MoWaXBFH1Mfg5GROnt+oHS/J3EUQJ9H3iUythC1xtOue2fYlNPK9N4EZNqSuJaJ201aC kWSMq3FeUuTROidRWR10ogdueVFfcEY4EKF1l3Jvy1XqzNNOY9Hr+p4ZKXK0aTCzh/Tw oovWwqk2JPhANc81GAHz7vW/v2Qrqkw/bc3AAGuuiq9IhBhvKne6VeLaYEj7dlyzmmE9 bCwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=qILm1AxE; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t5-20020a170902e1c500b001b231cb6f2dsi2829049pla.138.2023.06.09.08.27.04; Fri, 09 Jun 2023 08:27:16 -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=@ibm.com header.s=pp1 header.b=qILm1AxE; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231244AbjFIO6V (ORCPT + 99 others); Fri, 9 Jun 2023 10:58:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231944AbjFIO6T (ORCPT ); Fri, 9 Jun 2023 10:58:19 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C87AA3A82; Fri, 9 Jun 2023 07:57:55 -0700 (PDT) Received: from pps.filterd (m0353728.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 359EqpFj032000; Fri, 9 Jun 2023 14:57:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=pp1; bh=mQ32Hj2rOLiDXWb7kXaNohNFO/t643oP8mOO5J5x8IE=; b=qILm1AxEoZ/W+uLtIkUyETlZgGLsCl1tID6wa63/lfI4+67XBpli63h/xulpOXZ+emSt +EFzDAGSwCqs8rvLR4go6ZEKBY9NxZyul3wmcFicxwsI1D5aCg0v1Gv4KGrWPjipjSva XFCTBWKOMoHiz8k3vfGrSWbAWylesmzFOhtfMXn7tXM/BWjaVta99nhkEmXkb7HnXypL 4B57Kae4jyT25SrSEKD025zsgfr8Iv5E1tP7zL9JJwvRfUdEqfTcgW/NRVDUa8zgbuzS 3wqoTI3evnlpP8ZJ7kshaPstAzRDOHjSoRQ+ad5YE6hlswK0rDZXxh28fWdG4IDPv2Fq kg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3r467yr398-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Jun 2023 14:57:35 +0000 Received: from m0353728.ppops.net (m0353728.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 359ErMmh002656; Fri, 9 Jun 2023 14:57:35 GMT Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3r467yr37v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Jun 2023 14:57:34 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3593e50V009566; Fri, 9 Jun 2023 14:57:30 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma04fra.de.ibm.com (PPS) with ESMTPS id 3r2a7a9eds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Jun 2023 14:57:30 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 359EvSFp44433852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 9 Jun 2023 14:57:28 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6474920040; Fri, 9 Jun 2023 14:57:28 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 578A020043; Fri, 9 Jun 2023 14:57:27 +0000 (GMT) Received: from [9.171.40.189] (unknown [9.171.40.189]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 9 Jun 2023 14:57:27 +0000 (GMT) Message-ID: Subject: Re: [PATCH v5 07/44] counter: add HAS_IOPORT_MAP dependency From: Niklas Schnelle To: William Breathitt Gray 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 Date: Fri, 09 Jun 2023 16:57:27 +0200 In-Reply-To: References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-8-schnelle@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.48.2 (3.48.2-1.fc38) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: KHm5w9z_zuFS2xI7NoUPzgiEzAz0qS0i X-Proofpoint-ORIG-GUID: UtlFUumJPzZISw0sVTmb6j2eGl6-g7UC Content-Transfer-Encoding: quoted-printable X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-09_10,2023-06-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=833 bulkscore=0 spamscore=0 suspectscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 adultscore=0 clxscore=1011 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306090122 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 On Thu, 2023-06-08 at 10:59 -0400, William Breathitt Gray wrote: > 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 >=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? >=20 > Thanks, >=20 > William Breathitt Gray Sure can do. That said, using a three way merge as below doe handle the conflict correctly: % git checkout counter/counter-next % b4 am -P _ 'https://lore.kernel.org/all/20230522105049.1467313-8-schnelle= @linux.ibm.com/' % git am -3 v5_20230522_schnelle_counter_add_has_ioport_map_dependency.mbx