Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36051rwd; Wed, 7 Jun 2023 18:51:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4G/YX/DFgYw3xQJm/X2o9nl0zT+N6jpmyCTyo6rSgHsEXhgT7SOSGIDIK/KE5hJWm/16Pf X-Received: by 2002:a92:d745:0:b0:33d:72c0:1ad with SMTP id e5-20020a92d745000000b0033d72c001admr9353215ilq.11.1686189113020; Wed, 07 Jun 2023 18:51:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686189112; cv=none; d=google.com; s=arc-20160816; b=NCUj6n0LClMuqpI2asTu5yBWTyaPE88q3BnbZUPiDWbIYBXqTeIQ3OafIZ3NRcZxpR QrDnElOMWEf2ak79a0z5+TOWOmcT6Mcw3Gt8qTm1yfxAfqdwMTYq8QSK4U8OVd2nqCrM NJygIxStjzs3Eg/Q6xWpHG1LfGqWVc/wHQ7bBcBxLoyf6amAbv2wRHnp0n3tikRKp2KI O7w4nFdrE0ZTlmEJHVO9OOKYfSK17SP58JdiIVEf5Qt/RpDYfxjAImmimPKgerEWOL5k C1F0ozYX8IdMp6dw7EGAFZvjX8RjVdiuaoF8OqN9+PdjFfbLqGNCdvu2wiTtYXEpGjUc U8kQ== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=mFKIyYLsNQOscJFsa1wB8vRCWUI5xZUPEr0GCqcpNhE=; b=zI9kCmxFPc2oCdlyKhHMj4T5vARDQcoD1AD17mrqWP4vxgerofpVIxtEdnXv2prKQT o74/PxdmvJ3KZsSwe8e7GdKjMHT+3MEWk5tLMfkmUMdwOh1OAsMktGIriiDm4C31ma64 iiN5eCDSOprfg8e/cN/PkgevNFxEmvHz0tLYTx4wntBrXt70r2UGumpjcUnsZlU1HQ3x /izO4Q33IeKy1IS8B2LrAuxvjx299EtOaK697uW0RqJtq8JaePv52pR5i96P0mgxvolB rSw/ZLTRr5c7jUKZcEVqm5KEh0Tp4JNCcljr+bnAVB8cfPubeUbjfPLNEvJnkpYk6wRy xXHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=oOjz7dXt; 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=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g30-20020aa79dde000000b0066106e1980esi42272pfq.63.2023.06.07.18.51.38; Wed, 07 Jun 2023 18:51:52 -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=@oracle.com header.s=corp-2023-03-30 header.b=oOjz7dXt; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230247AbjFHBoT (ORCPT + 99 others); Wed, 7 Jun 2023 21:44:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231259AbjFHBoE (ORCPT ); Wed, 7 Jun 2023 21:44:04 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9BA826B8; Wed, 7 Jun 2023 18:43:26 -0700 (PDT) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 357N6Wgj007974; Thu, 8 Jun 2023 01:42:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2023-03-30; bh=mFKIyYLsNQOscJFsa1wB8vRCWUI5xZUPEr0GCqcpNhE=; b=oOjz7dXtcBHJjLfKIzY/H+TLb46agXTkuSGNT0+jVN8b/9/qXf+mGErhazy9DufbGqXG bO/Ibm10iohTU1AoIUtt5aLtnN171rleEoZIPnR+EtNqMBNguznKwWRFh2X7+hLPNaxU 7h0zetwKukKoarUNDopn6H9cfxusuqEIGDyTXTyy4A0eKJnzeDYlc5Fr564gklzqwUUl 7y+rEdbUMpSRE0/dMsQ3UHhLBVyNo2g6x8+vYzYKA/c/3s2JCRu4t5ioeomTm+Xa6PWD WRY+RWuh72/tHszEZ8V43TYj+z3UTLML2UlgQnSHbx3raZpj1rJT0X/XsAv8i/wmIOQ2 eA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r2a6rk4we-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 08 Jun 2023 01:42:50 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3580Vp8F037094; Thu, 8 Jun 2023 01:42:49 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3r2a6hytbv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 08 Jun 2023 01:42:49 +0000 Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3581gQVB031871; Thu, 8 Jun 2023 01:42:48 GMT Received: from ca-mkp2.ca.oracle.com.com (mpeterse-ol9.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.251.135]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3r2a6hyt3a-17; Thu, 08 Jun 2023 01:42:48 +0000 From: "Martin K. Petersen" To: Arnd Bergmann , Richard Cochran , Niklas Schnelle Cc: "Martin K . Petersen" , Greg Kroah-Hartman , Bjorn Helgaas , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , 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, netdev@vger.kernel.org Subject: Re: [PATCH v5 00/44] treewide: Remove I/O port accessors for HAS_IOPORT=n Date: Wed, 7 Jun 2023 21:42:21 -0400 Message-Id: <168618844281.2636448.12578848394814985642.b4-ty@oracle.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230522105049.1467313-1-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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-07_13,2023-06-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 mlxscore=0 malwarescore=0 adultscore=0 mlxlogscore=884 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306080011 X-Proofpoint-ORIG-GUID: MzrzAX_nsiU9Fdxy46ABlaqqJPB34hNL X-Proofpoint-GUID: MzrzAX_nsiU9Fdxy46ABlaqqJPB34hNL X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, 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 Mon, 22 May 2023 12:50:05 +0200, Niklas Schnelle wrote: > Some platforms such as s390 do not support PCI I/O spaces. On such platforms > I/O space accessors like inb()/outb() are stubs that can never actually work. > The way these stubs are implemented in asm-generic/io.h leads to compiler > warnings because any use will be a NULL pointer access on these platforms. In > a previous patch we tried handling this with a run-time warning on access. This > approach however was rejected by Linus[0] with the argument that this really > should be a compile-time check and, though a much more invasive change, we > believe that is indeed the right approach. > > [...] Applied to 6.5/scsi-queue, thanks! [21/44] mpt fusion: add HAS_IOPORT dependencies https://git.kernel.org/mkp/scsi/c/c3f903472ffa [31/44] scsi: add HAS_IOPORT dependencies https://git.kernel.org/mkp/scsi/c/b58b2ba351b0 -- Martin K. Petersen Oracle Linux Engineering