Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2474189rwd; Fri, 19 May 2023 06:20:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ592a8zzSpXBRywtZZ/cuMCx1TAAmywVJq0TBA61929TaBkWE2OW69FRXGqPbHCt1zu14Hv X-Received: by 2002:a05:6a20:12c1:b0:100:8592:9a7f with SMTP id v1-20020a056a2012c100b0010085929a7fmr2318097pzg.45.1684502438283; Fri, 19 May 2023 06:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684502438; cv=none; d=google.com; s=arc-20160816; b=vkO+excNRsB1o08ukPSzmRUS5MZBy4xgOwJfdX2L62FEbo2igQnICO07LeFGW06/bn p2DhpcQGQyWEsA5w8hkQ0wNAAONEcwT6oszxNRHTUeDDrE7BIhWf5i9MG+2Gw3D7Pt0h CaRrpq7zNS62YhlPQjxURCLV4C9/U+tGKTxrqktDBLjIf0KyP66ETz5ZsjERSekofVkO f19c2pRR1k/SjsY1HWpIpoiFL/w0zYW77gxvp+aEUNdPjbCjwtc9pwP2wDG4HGv/nIW9 I6zJ0GCiDtfjMDqYCtQZodYyk+V69/sihIhFIkvxSnNjOAq3VW9eb1QuxGb7I+jJAdX+ Yy1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=ijXvu111ai67ohCScJNa9NqtoJ30FOCHXdeN2lPmtM0=; b=vLtY9AFsOEfpY36oHP7kx+eReIMqRKykm3GsZYsMWEMQosSrSA2PXNE4MEXdoZSRo7 xKbDM1/GwvrOBl2nEAkxK4Vt5dUHXLDfb2mJGWY66ciEMgybpAV/d08b4gOKQW4uW6Tk enykg6VD47YEK8BMkHJ28EjKjIMaXMIHN9buwc/+H+cF6aRTnRjqNN3ZwEgCuOmdAFbD +omlArsoy74fUkyI9BYNEDawoLWnqdpDSiGrcdbJqQZ2UhIesJviMjWR3QIp+2kYOkw6 2FQ02k2sLOonSBzEyHUufajCv6gbY7lVUXtofBsBobTPdGJtsDN2+X+/fENy3pBiwmI4 EK2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="GJ/2Q8ZQ"; 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 a14-20020aa794ae000000b0063b7c4435c2si4068564pfl.52.2023.05.19.06.20.25; Fri, 19 May 2023 06:20:38 -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="GJ/2Q8ZQ"; 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 S231790AbjESNSF (ORCPT + 99 others); Fri, 19 May 2023 09:18:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231536AbjESNRx (ORCPT ); Fri, 19 May 2023 09:17:53 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE3B318F; Fri, 19 May 2023 06:17:50 -0700 (PDT) Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34JDEUAY006321; Fri, 19 May 2023 13:17:35 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=ijXvu111ai67ohCScJNa9NqtoJ30FOCHXdeN2lPmtM0=; b=GJ/2Q8ZQHCLzjnHwuNkxkxawD1abD4JUEx683+5UHiWKe99kZeohMWrToOxv01g+zlE/ +MmQ/v+tAGQ5ZWm0Sa6i9FSpSB7GV9MERmXzOyxkTnWDuE2G3hZIypMIDNxrOB0Dpd5U kFgqfOHWD61Gg7HViJ+wwYWshdq66uMsAUVvNS8rsnoiwdFMzyEIl+ikvmax/6P1t5+y nIH1uLm/oTPsqIcqcL77XA+mMxQfWzz8rT0EplCzAh5Dipg2Y6C+mYMFUHExPVypzsJv iHmRoSbSY1g47yv2m7uy5X7zEFPtUeZ9GSxWaiAKiDcIcZl8cPjyqbzSAkNnkujoKSw8 HA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qp9tm83ve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 13:17:35 +0000 Received: from m0353724.ppops.net (m0353724.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34JDEWH6006350; Fri, 19 May 2023 13:17:34 GMT Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qp9tm83u6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 13:17:34 +0000 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34J9cqFS025053; Fri, 19 May 2023 13:17:32 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma01fra.de.ibm.com (PPS) with ESMTPS id 3qj264tmtb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 13:17:32 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34JDHUde53870888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 May 2023 13:17:30 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 25CA72004E; Fri, 19 May 2023 13:17:30 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 40EFA20040; Fri, 19 May 2023 13:17:29 +0000 (GMT) Received: from [9.171.0.172] (unknown [9.171.0.172]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 19 May 2023 13:17:29 +0000 (GMT) Message-ID: <6f4d672ba7136f2b01ea9ee69687b16168eddb8d.camel@linux.ibm.com> Subject: Re: [PATCH v4 05/41] counter: add HAS_IOPORT dependencies From: Niklas Schnelle To: William Breathitt Gray Cc: Arnd Bergmann , 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, 19 May 2023 15:17:28 +0200 In-Reply-To: References: <20230516110038.2413224-1-schnelle@linux.ibm.com> <20230516110038.2413224-6-schnelle@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.1 (3.48.1-1.fc38) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Zof9Fp_j2zXxj6sECntRpw2dnvs6ntSY X-Proofpoint-GUID: DKFPxVQmw6qbh6pizGvz84p3u-eyrFmc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-19_08,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 phishscore=0 adultscore=0 malwarescore=0 spamscore=0 clxscore=1015 bulkscore=0 mlxscore=0 mlxlogscore=720 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305190110 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,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-05-18 at 21:26 -0400, William Breathitt Gray wrote: > On Tue, May 16, 2023 at 01:00:01PM +0200, Niklas Schnelle wrote: > > In a future patch HAS_IOPORT=3Dn will result in inb()/outb() and friend= s > > 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: Arnd Bergmann > > Signed-off-by: Niklas Schnelle >=20 > Hi Niklas, >=20 > The change itself is fine, but please update the description to reflect > that this is adding a depends on HAS_IOPORT_MAP rather than HAS_IOPORT, > along with the reason why it's needed (i.e. devm_ioport_map() is used). >=20 > Thanks, >=20 > William Breathitt Gray >=20 >=20 Right, this clearly needs adjustment. I went with the following commit message for v5: "counter: add HAS_IOPORT_MAP dependency The 104_QUAD_8 counter driver uses devm_ioport_map() without depending on HAS_IOPORT_MAP. This causes compilation to fail on platforms such as s390 which do not support I/O port mapping. Add the missing HAS_IOPORT_MAP dependency to fix this." Thanks, Niklas