From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87629C433FE for ; Fri, 29 Apr 2022 14:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377899AbiD2OwJ (ORCPT ); Fri, 29 Apr 2022 10:52:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351488AbiD2OwH (ORCPT ); Fri, 29 Apr 2022 10:52:07 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A061941B5; Fri, 29 Apr 2022 07:48:49 -0700 (PDT) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TE2hk1028439; Fri, 29 Apr 2022 14:48:45 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 : mime-version : content-transfer-encoding; s=pp1; bh=dBlenUXutDHRtQ5B82u7eRLoPyVnnjZesx4yZFshl44=; b=cvWq+nzrW26+/Wvx7FboR/r+6gIvkHjuVCB9udasspgr0tY6+mhw9YqK7wZvaGGs3iss aiECDVjbUFhu3DFaTnW5+xFFscElqWqYgXD4srNgRzfsn5k00Qd/Rvejl5UNqeJvgKND s5kKXPjSs0m26g9e6n5vugEvF9GAzvJyyrBNGIRNICcsgajojd+/HfvkkeNnFl9PeYZY 8dSzpI8hzsQOz0oRsF2livwPUD3C0MDS9PMUTJmNhWC2Rm4mT7PSH4LWBJuU1gEyVhzn H8aXbboM9P4y8xy4lZGeRaV8/ZK5TQN5qq6LuJGgTtL+LcLeoplnPs7wbjIRFGJWyfsg mg== Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqv5rkvhp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 14:48:44 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TEgltn020590; Fri, 29 Apr 2022 14:48:42 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma04ams.nl.ibm.com with ESMTP id 3fm939194k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 14:48:42 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TEmeGn39780728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 14:48:40 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C927AE045; Fri, 29 Apr 2022 14:48:40 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AF961AE051; Fri, 29 Apr 2022 14:48:39 +0000 (GMT) Received: from sig-9-145-61-57.uk.ibm.com (unknown [9.145.61.57]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Apr 2022 14:48:39 +0000 (GMT) Message-ID: <4194c0bc2ba7566330d09d327d945e46153feb7e.camel@linux.ibm.com> Subject: Re: [PATCH 34/37] firmware: dmi-sysfs: handle HAS_IOPORT=n From: Niklas Schnelle To: Arnd Bergmann Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann Date: Fri, 29 Apr 2022 16:48:39 +0200 In-Reply-To: <20220429135108.2781579-62-schnelle@linux.ibm.com> References: <20220429135108.2781579-1-schnelle@linux.ibm.com> <20220429135108.2781579-62-schnelle@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: IL5kG7fwts5KPhnlCMsGK4bLmsECJx_- X-Proofpoint-ORIG-GUID: IL5kG7fwts5KPhnlCMsGK4bLmsECJx_- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-29_07,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 clxscore=1015 malwarescore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 adultscore=0 spamscore=0 mlxlogscore=515 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290080 Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Fri, 2022-04-29 at 15:50 +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to guard sections of code calling them > as alternative access methods. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- Sorry everyone. I sent this as PATCH in error while preparing to sent the same series as RFC. Since e-mail has no remote delete and I lack a time machine let's just all pretend you only got the RFC.