Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1084017rwa; Sun, 21 Aug 2022 00:08:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR4MY8pKk4B0a94+ZBk5HExvoh9l4RFwRSDkpUvWb+zvhyA79QfDy71R//FwFxIo+08769/A X-Received: by 2002:a05:6402:4241:b0:446:a039:1e78 with SMTP id g1-20020a056402424100b00446a0391e78mr1682208edb.306.1661065693821; Sun, 21 Aug 2022 00:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661065693; cv=none; d=google.com; s=arc-20160816; b=r/SkQ7jOJpND8cQFjh7cOdXMfb8LhUduU6aDOdAmKG24kanVcqlmZA3/CKvAtaiAi+ 35xk34QTKDIv8smnl2n10Kv1y5EUMErIzsDl9c/u1ZXZdW2v8DwT5mL1aAadeFuWXkvb +zqUlP1kvdsNf3tnG1H7EyZ6D35fVe4BrtZAkhq4kv2XWv8O7HPzhsHAEfMs/3jAu/r5 Sf1Ps+K7p7jDQ6I0NHTlTpRh0ZO1lD1R7D00eHM91ufRSTKFwMRLusbZteVF40YsGTyD GQslEmi6K+Hdf4oVZqtjU4BSMiV0Q3OAAtlvVil0Ti+aeFkYg8rTrr590VFkSL8gaF8e DAJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=c/jrfAPZ5uKkxcDwWOy7Ka9+HHLqiSxehrttZm3hA/Y=; b=G/QwVIP0T3Rfox8DfoUL/7i7sqrDnShmdspb7isybFXIZUv7+JHnK5c9xGNiRLI0Kh 5uLpm5eC+z/aunrfbArbFSPpxnCjfK9J4gUISq0LT71lAt4WtGnbiPY/0w//zcqANqIu AGMuhz+szTSIzCsZdFV2AlwGgtct+t+ZPDklCLaF2bRAiYlp0jUIpZRbzoh3Hx/NVp3M TnJ6qxTvz+fS1a+IopoAyq77trtaUJVeje9ynV/PgEdNVmkKZADW0FFUleteecdcMgQf QxFcAzD3ZVLHxYKa4Rn4/xRqpPBjRJVOY2yGi/1H0TACSbsZs3r0PXbISZGGV2SEhSIT Ja/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ybuNNkfl; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d23-20020a056402145700b00445fba6b2d3si6050734edx.177.2022.08.21.00.07.48; Sun, 21 Aug 2022 00:08:13 -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=@infradead.org header.s=bombadil.20210309 header.b=ybuNNkfl; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiHUHFq (ORCPT + 99 others); Sun, 21 Aug 2022 03:05:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiHUHFo (ORCPT ); Sun, 21 Aug 2022 03:05:44 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B73B9F32; Sun, 21 Aug 2022 00:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=c/jrfAPZ5uKkxcDwWOy7Ka9+HHLqiSxehrttZm3hA/Y=; b=ybuNNkflPH7tbvDDltPJb+xko4 r5yfhRLO4SQw6ISzt0vZrQllqdGDNelLKvMenkvn28QaUnx9crNeUYM88rQHXtmQp0sBe15pfCLT6 R8a9y6Cnx0V8nDPSQP57/kSiQZpuOCdvFUTkrMQHqTUvcM0quxPaYKl5+zWfob7Rdv7nWvKm8TKAz nEabX3Khe4YjLusuoJjlT/0R3w2Q62E91ONDG+6BB53sTiUObyE40GdVIb6AJvjAPjVjQX3Yr+7fR dXGaZLjnYmUUPHS+65FUfdQz5FQQKcD0C5+ZTG4a+IoG+DCpDqa8OMHBVfnxkLWS9jpcYtijUepdx ZR3t3Tzw==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPf1i-0077qS-9B; Sun, 21 Aug 2022 07:05:42 +0000 Date: Sun, 21 Aug 2022 00:05:42 -0700 From: Christoph Hellwig To: Baoquan He Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, hch@infradead.org, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, linux-arm-kernel@lists.infradead.org, Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , linux-s390@vger.kernel.org Subject: Re: [PATCH v2 09/11] s390: mm: Convert to GENERIC_IOREMAP Message-ID: References: <20220820003125.353570-1-bhe@redhat.com> <20220820003125.353570-10-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220820003125.353570-10-bhe@redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 > +void __iomem * > +arch_ioremap(phys_addr_t *paddr, size_t size, unsigned long *prot_val) > { > if (!static_branch_unlikely(&have_mio)) > + return (void __iomem *) *paddr; > + return NULL; This logic isn't new in the patch, but it could really use a comment as it is rather non-obvious.