Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2905771rwd; Wed, 14 Jun 2023 08:44:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7D2Ot0uZV9auPZkscsi1jZQay4AJzM5MmfhOQ2X72XUszSusawEBfU1TvZOP3GpyHC2nfg X-Received: by 2002:a17:906:fe46:b0:974:1838:88d8 with SMTP id wz6-20020a170906fe4600b00974183888d8mr14288507ejb.57.1686757444018; Wed, 14 Jun 2023 08:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686757443; cv=none; d=google.com; s=arc-20160816; b=hbaWbSNqvPnjlYal2wC5ERnS8FCEjOp98/nsrJXKiKkoljbrhM2Sj4cgCIuy3MJEoF XkWpxBmqTLO50cxC9FVqAPdcf9+qL2u4BG4JNZ3HhgPAu8Xm1q2+3d95uCqKbzI8cOAU kXvw9LizY8W1S9Z8arvt4jlLRbKsyJ5T2KEV5pm/X1o+033TPXx1/ejO6aADRRPQ2yZb KA3Tag7qHw6k+B2j6UnsulhOY8Ux8ir8vOpx/nu23vAZDLlnRYzlgBAJDLwSqP+5T6df P03v7U55s4Ekzk0dN5227oE2kP0Tl5Oc2z8VKKGzLl2hjYpL6Cou79vu8P9R0/k1U8tb 4ybA== 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; bh=IThNpCpKEbc70gUh5cizJw4PzblqzuQs0x6hUVSvZNA=; b=YyT/tkMDvu7XKuoZgfKBFtOfu3u3AnTKCfxpH13Nvw0HMuL+iUmZo3p28v/tCyEWB7 1E929JcQ8GhR2pid4clNyGRi/IGNJxk9YyMzA/mwkwExEiZFY3+CsBo0/KckNOoUZnFa Pl05EU5PLTjBSiKW7LnflDyFkDABwxlZvIz8gUZPpbztIBo2pKs34Cnr8eTpU6o7YRYJ t2UHlURpaSILMbeyurbZg25vMY1JjVcvd066D3t/Q/cLr4o8m18syL8+/kewn/z5hwF6 JDdewFdVHrByeW8hSfa2rtOhuUh4tf2xd1lfDbcz1icPCGeNuznwXZCo0awcoAooHoyc UEWA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t12-20020a170906948c00b00982917ead9asi94526ejx.745.2023.06.14.08.43.39; Wed, 14 Jun 2023 08:44:03 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343652AbjFNPOU (ORCPT + 99 others); Wed, 14 Jun 2023 11:14:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343630AbjFNPOR (ORCPT ); Wed, 14 Jun 2023 11:14:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0AB42101; Wed, 14 Jun 2023 08:14:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 79FA064340; Wed, 14 Jun 2023 15:14:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31B16C433C0; Wed, 14 Jun 2023 15:14:13 +0000 (UTC) Date: Wed, 14 Jun 2023 16:14:10 +0100 From: Catalin Marinas To: Baoquan He Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, arnd@arndb.de, christophe.leroy@csgroup.eu, hch@lst.de, rppt@kernel.org, willy@infradead.org, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, schnelle@linux.ibm.com, David.Laight@aculab.com, shorne@gmail.com, deller@gmx.de, Will Deacon , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 18/19] arm64 : mm: add wrapper function ioremap_prot() Message-ID: References: <20230609075528.9390-1-bhe@redhat.com> <20230609075528.9390-19-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230609075528.9390-19-bhe@redhat.com> X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,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 Fri, Jun 09, 2023 at 03:55:27PM +0800, Baoquan He wrote: > Since hook functions ioremap_allowed() and iounmap_allowed() will be > obsoleted, add wrapper function ioremap_prot() to contain the > specific handling in addition to generic_ioremap_prot() invocation. > > Signed-off-by: Baoquan He > Reviewed-by: Christoph Hellwig > Reviewed-by: Kefeng Wang > Reviewed-by: Mike Rapoport (IBM) > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-kernel@lists.infradead.org Acked-by: Catalin Marinas