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