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 X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4CE4EC63697 for ; Fri, 13 Nov 2020 12:27:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E3382224B for ; Fri, 13 Nov 2020 12:27:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbgKMM1I (ORCPT ); Fri, 13 Nov 2020 07:27:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:50766 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbgKMM1I (ORCPT ); Fri, 13 Nov 2020 07:27:08 -0500 Received: from gaia (unknown [2.26.170.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B6BD20797; Fri, 13 Nov 2020 12:27:02 +0000 (UTC) Date: Fri, 13 Nov 2020 12:26:59 +0000 From: Catalin Marinas To: Mike Rapoport Cc: Andrew Morton , Alexander Viro , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Christopher Lameter , Dan Williams , Dave Hansen , David Hildenbrand , Elena Reshetova , "H. Peter Anvin" , Ingo Molnar , James Bottomley , "Kirill A. Shutemov" , Matthew Wilcox , Mark Rutland , Mike Rapoport , Michael Kerrisk , Palmer Dabbelt , Paul Walmsley , Peter Zijlstra , Rick Edgecombe , Shuah Khan , Thomas Gleixner , Tycho Andersen , Will Deacon , linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org Subject: Re: [PATCH v8 3/9] set_memory: allow set_direct_map_*_noflush() for multiple pages Message-ID: <20201113122659.GD3212@gaia> References: <20201110151444.20662-1-rppt@kernel.org> <20201110151444.20662-4-rppt@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201110151444.20662-4-rppt@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Tue, Nov 10, 2020 at 05:14:38PM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > The underlying implementations of set_direct_map_invalid_noflush() and > set_direct_map_default_noflush() allow updating multiple contiguous pages > at once. > > Add numpages parameter to set_direct_map_*_noflush() to expose this ability > with these APIs. > > Signed-off-by: Mike Rapoport > --- > arch/arm64/include/asm/cacheflush.h | 4 ++-- > arch/arm64/mm/pageattr.c | 10 ++++++---- For arm64: 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 X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1202CC63697 for ; Fri, 13 Nov 2020 12:27:10 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D0F522252 for ; Fri, 13 Nov 2020 12:27:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D0F522252 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 32C71100EBB95; Fri, 13 Nov 2020 04:27:09 -0800 (PST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=cmarinas@kernel.org; receiver= Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DE275100EBB93 for ; Fri, 13 Nov 2020 04:27:07 -0800 (PST) Received: from gaia (unknown [2.26.170.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B6BD20797; Fri, 13 Nov 2020 12:27:02 +0000 (UTC) Date: Fri, 13 Nov 2020 12:26:59 +0000 From: Catalin Marinas To: Mike Rapoport Subject: Re: [PATCH v8 3/9] set_memory: allow set_direct_map_*_noflush() for multiple pages Message-ID: <20201113122659.GD3212@gaia> References: <20201110151444.20662-1-rppt@kernel.org> <20201110151444.20662-4-rppt@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201110151444.20662-4-rppt@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Message-ID-Hash: D6I3NE224ADYHZUUZZIE2A3PU6JQA4HT X-Message-ID-Hash: D6I3NE224ADYHZUUZZIE2A3PU6JQA4HT X-MailFrom: cmarinas@kernel.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation CC: Andrew Morton , Alexander Viro , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Christopher Lameter , Dave Hansen , David Hildenbrand , Elena Reshetova , "H. Peter Anvin" , Ingo Molnar , James Bottomley , "Kirill A. Shutemov" , Matthew Wilcox , Mark Rutland , Mike Rapoport , Michael Kerrisk , Palmer Dabbelt , Paul Walmsley , Peter Zijlstra , Rick Edgecombe , Shuah Khan , Thomas Gleixner , Tycho Andersen , Will Deacon , linux-api@vger.kernel.org, linux-arch@vger.kernel.o rg, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, Nov 10, 2020 at 05:14:38PM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > The underlying implementations of set_direct_map_invalid_noflush() and > set_direct_map_default_noflush() allow updating multiple contiguous pages > at once. > > Add numpages parameter to set_direct_map_*_noflush() to expose this ability > with these APIs. > > Signed-off-by: Mike Rapoport > --- > arch/arm64/include/asm/cacheflush.h | 4 ++-- > arch/arm64/mm/pageattr.c | 10 ++++++---- For arm64: Acked-by: Catalin Marinas _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org 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 X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6EDEC388F7 for ; Fri, 13 Nov 2020 12:27:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D1CE20797 for ; Fri, 13 Nov 2020 12:27:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Xf2qTQOv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D1CE20797 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=00z0ATwoWcrzEi9+ukG08XFlu/B8viLvJPEnk0IuRA0=; b=Xf2qTQOvSoUUH4CE8m167HHwj 3obQrIhJheEIcHQg0HRVYzcdFpGy8xHf3kHBjTqeMLm8rWTdk4XhjB2BfBu8cHf1P27ANFnYHLeRo 7lUlaglTFO4g2u0TtZX5L6Q2Xao0MGNBxSXtOfRalXclLlxrm84phJsYqogdO2A9ZhLp/zZ8THlcO Vf3Kx6ta6n82tZpwfpnQe6NyGt7Yizg+t9NGqvIVpH4tZN3pL/u81XIXdxB+fleGDY9wAH8tLaBSz zdv/urkbAiHelKx43yDgGsN9R1DjsW03ozekdaKh1+eLvBQOhjvdeGasHckz3IiKtJMRxM/QmtVOA 2tkJcQTSw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdYAh-0006V4-Ki; Fri, 13 Nov 2020 12:27:20 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdYAY-0006Rb-3d; Fri, 13 Nov 2020 12:27:12 +0000 Received: from gaia (unknown [2.26.170.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B6BD20797; Fri, 13 Nov 2020 12:27:02 +0000 (UTC) Date: Fri, 13 Nov 2020 12:26:59 +0000 From: Catalin Marinas To: Mike Rapoport Subject: Re: [PATCH v8 3/9] set_memory: allow set_direct_map_*_noflush() for multiple pages Message-ID: <20201113122659.GD3212@gaia> References: <20201110151444.20662-1-rppt@kernel.org> <20201110151444.20662-4-rppt@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201110151444.20662-4-rppt@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_072710_471718_C09669A1 X-CRM114-Status: GOOD ( 15.18 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , David Hildenbrand , Peter Zijlstra , Dave Hansen , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, "H. Peter Anvin" , Christopher Lameter , Shuah Khan , Thomas Gleixner , Elena Reshetova , linux-arch@vger.kernel.org, Tycho Andersen , linux-nvdimm@lists.01.org, Will Deacon , x86@kernel.org, Matthew Wilcox , Mike Rapoport , Ingo Molnar , Michael Kerrisk , Arnd Bergmann , James Bottomley , Borislav Petkov , Alexander Viro , Andy Lutomirski , Paul Walmsley , "Kirill A. Shutemov" , Dan Williams , linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Palmer Dabbelt , linux-fsdevel@vger.kernel.org, Andrew Morton , Rick Edgecombe Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, Nov 10, 2020 at 05:14:38PM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > The underlying implementations of set_direct_map_invalid_noflush() and > set_direct_map_default_noflush() allow updating multiple contiguous pages > at once. > > Add numpages parameter to set_direct_map_*_noflush() to expose this ability > with these APIs. > > Signed-off-by: Mike Rapoport > --- > arch/arm64/include/asm/cacheflush.h | 4 ++-- > arch/arm64/mm/pageattr.c | 10 ++++++---- For arm64: Acked-by: Catalin Marinas _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5C99C388F7 for ; Fri, 13 Nov 2020 12:28:21 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7A6A020797 for ; Fri, 13 Nov 2020 12:28:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rMc+LRx9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A6A020797 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=hubcCKlRugkTxZ9uA1qugBrd0rvCLrLGrY/yyN19q/k=; b=rMc+LRx9jakaDMmwcS+/r/nMo wkPUTKXk7SCPV4YYgAHzjgOrGKuNNqe3ECvBOV8EDO4fM2zg9+H7g/R0P71pMFYJf7UJxSD07sHoE Xl+g/dgxctMWmhSx6LuUoe7FlFFyZCvcgF1k4KWa+6vlc2Q1/GUFHyKoeqhcymwJNLJI6PiYEODPM gCUpbeTcXcZCoE82lWbPD975S1iMHb1+eE5JklzxYjLDLqiNczj6i4maHZV5ARhNc7CTlnZsAEs/G Tsy/IsMBilG9vyH5UlO5qJPwjKKSwq0tvIqsu1BICN5uQDSW1LlLxjqQwmKHLuBq04nE3qcGNVxsh OFJa1yD/g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdYAc-0006Tz-Iq; Fri, 13 Nov 2020 12:27:14 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdYAY-0006Rb-3d; Fri, 13 Nov 2020 12:27:12 +0000 Received: from gaia (unknown [2.26.170.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B6BD20797; Fri, 13 Nov 2020 12:27:02 +0000 (UTC) Date: Fri, 13 Nov 2020 12:26:59 +0000 From: Catalin Marinas To: Mike Rapoport Subject: Re: [PATCH v8 3/9] set_memory: allow set_direct_map_*_noflush() for multiple pages Message-ID: <20201113122659.GD3212@gaia> References: <20201110151444.20662-1-rppt@kernel.org> <20201110151444.20662-4-rppt@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201110151444.20662-4-rppt@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_072710_471718_C09669A1 X-CRM114-Status: GOOD ( 15.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , David Hildenbrand , Peter Zijlstra , Dave Hansen , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, "H. Peter Anvin" , Christopher Lameter , Shuah Khan , Thomas Gleixner , Elena Reshetova , linux-arch@vger.kernel.org, Tycho Andersen , linux-nvdimm@lists.01.org, Will Deacon , x86@kernel.org, Matthew Wilcox , Mike Rapoport , Ingo Molnar , Michael Kerrisk , Arnd Bergmann , James Bottomley , Borislav Petkov , Alexander Viro , Andy Lutomirski , Paul Walmsley , "Kirill A. Shutemov" , Dan Williams , linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Palmer Dabbelt , linux-fsdevel@vger.kernel.org, Andrew Morton , Rick Edgecombe 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 Tue, Nov 10, 2020 at 05:14:38PM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > The underlying implementations of set_direct_map_invalid_noflush() and > set_direct_map_default_noflush() allow updating multiple contiguous pages > at once. > > Add numpages parameter to set_direct_map_*_noflush() to expose this ability > with these APIs. > > Signed-off-by: Mike Rapoport > --- > arch/arm64/include/asm/cacheflush.h | 4 ++-- > arch/arm64/mm/pageattr.c | 10 ++++++---- For arm64: Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel