Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2983015iob; Sun, 1 May 2022 03:36:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVfC0NVJQ0EU3xImDdmSavogecT8JUyyKKNi13mJ1XUIKFrdDRfUW/9ijB+sQMQZcaZ9Ia X-Received: by 2002:aa7:8b0e:0:b0:50d:4310:c11f with SMTP id f14-20020aa78b0e000000b0050d4310c11fmr6915992pfd.49.1651401362477; Sun, 01 May 2022 03:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651401362; cv=none; d=google.com; s=arc-20160816; b=WG41gsivc3SFJWKoVCTMG9U6FSLtsJVdIvGGUCHet2cDYBhvhoOvfoH7elCvx+b84V OlLLIp+UxwVeQyrPZhfk9yA700UF0URJvZYBxcTdDlh/wRllC5s83AKK8/On5iEzOnb7 bRS4MvAxsyZc8w4ZcnQoroNgzEjefvi3J57s+IKtCTe1YUwohcKE9JoUCLqna4STUed6 cBt8G2ttwIuTGd3PiH1A/JGBPgr8DvA/Z63E0tREhxZhF+l/B/bW0Hlq1GgxIUJgSdNm Dx6y1eVe8jKu9WJnnrPjbb5ahDA6/BV0KFrdJDhrUb4hjBKyf+hS3pIiWGkq50R2lsxC SDLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=dBlenUXutDHRtQ5B82u7eRLoPyVnnjZesx4yZFshl44=; b=psArTGxTwE2/XHIoQR/1cNkSoZ+ob7SrqYbsDFRfck1ysUbgRZF7GeWQagIkr34bkJ 33vmP70/7XWePhLSFxHoKw/uSHK2+GEKDYJC5vpuKkiT6g8zAXWX3qEOQpIyokWQVJrT 4fZgW4tyG+rVs3ljMHvB/kqvSGjdeNKFymcxhTzHdo1zgBAZ8BNv5yBuS45EoXwLvsj0 whcTHpKwLkWy2vVYYVDNqD1/uTpdQqnKVuAAidiN5FyoT57GNxQBDc72ScaiAeKp5knk FpjjQLBGLrgxXgHEXT6B7PtFc4GZDZl8zWcCQuN4EUb9zb+OdydCYGY5SR5Hqffe81mL zBRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=cvWq+nzr; 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=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a6547c7000000b003aba3e87b30si11930215pgs.155.2022.05.01.03.35.49; Sun, 01 May 2022 03:36:02 -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=cvWq+nzr; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377914AbiD2OwK (ORCPT + 99 others); Fri, 29 Apr 2022 10:52:10 -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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 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.