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 C1F4CEB64D8 for ; Wed, 14 Jun 2023 15:14:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343632AbjFNPOU (ORCPT ); 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> Precedence: bulk List-ID: X-Mailing-List: linux-arch@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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B72EBEB64DB for ; Wed, 14 Jun 2023 15:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KIqCo2CP/Lc6tvjF3kTbgz6DPkW7ye0BUgWYdRrnYNo=; b=RpdXurTvoHlMiE s6xSUCnJuRjXamaUqNmpKlom33c9mhxeM0Fh67ZoXoDjkq8TNiYNlKXsiPF5iL0yFCqbN91cvveeC IoncDPkao/NqyOapoquAp7jzwF/M38uqjLaDXtfZhaKp84UdIu4hNGu5u0PznLs9cadRQhablcEK7 1FMTweic8kHwqZc/B5dY2vNgUViXNC46VGcT6WFC33+zbNmzHtdUD/FHANIVkwh/5sG9l1URqq4Hz iKe5RmvGnfKPEaGPYx7rdqsXEkYfoiAcP7RDAsOXHHrU9kOCEILOb5Rr7oWDxVBCYmwF8ZTk/iq6q YjSlrGeWJiDwB/tLIW8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9SCR-00C1ro-2e; Wed, 14 Jun 2023 15:14:19 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9SCP-00C1qW-04 for linux-arm-kernel@lists.infradead.org; Wed, 14 Jun 2023 15:14:18 +0000 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 7A61664377; 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-Disposition: inline In-Reply-To: <20230609075528.9390-19-bhe@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230614_081417_100382_60D5A9BB X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel