Message ID | 20210124050211.iTnzvLhNR%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=Fv4W=G3=kvack.org=owner-linux-mm@kernel.org> 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED 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 44A4FC433E0 for <linux-mm@archiver.kernel.org>; Sun, 24 Jan 2021 05:02:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F10B122CA1 for <linux-mm@archiver.kernel.org>; Sun, 24 Jan 2021 05:02:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F10B122CA1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 91DA26B000A; Sun, 24 Jan 2021 00:02:15 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8A0056B0027; Sun, 24 Jan 2021 00:02:15 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7B6786B0028; Sun, 24 Jan 2021 00:02:15 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0228.hostedemail.com [216.40.44.228]) by kanga.kvack.org (Postfix) with ESMTP id 6533C6B000A for <linux-mm@kvack.org>; Sun, 24 Jan 2021 00:02:15 -0500 (EST) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 38C243635 for <linux-mm@kvack.org>; Sun, 24 Jan 2021 05:02:15 +0000 (UTC) X-FDA: 77739472230.14.truck79_520c6772757a Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin14.hostedemail.com (Postfix) with ESMTP id 1BE051822987A for <linux-mm@kvack.org>; Sun, 24 Jan 2021 05:02:15 +0000 (UTC) X-HE-Tag: truck79_520c6772757a X-Filterd-Recvd-Size: 2705 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf42.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Sun, 24 Jan 2021 05:02:14 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id A825322581; Sun, 24 Jan 2021 05:02:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1611464533; bh=T4q9YEL/6jZaAbHkuu1euTC6Q7+X18nkKwi303F/SeE=; h=Date:From:To:Subject:In-Reply-To:From; b=Z681rynWkaf3DG+vP8Q2SJOjnDHKbPlFaioJao7gHTZTk4+XHYgBYsU0bRoesvRCf 7ROu1upSz2C911AWmTGa/VngQ22gco0YbfoGd19AqpEwB1+WWU4+V2dpLp7sGNX49g 5xTwKOkQpiNEejDR8z08i+oA26Qng9sDF3K2wxu0= Date: Sat, 23 Jan 2021 21:02:11 -0800 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, andreas@gaisler.com, davem@davemloft.net, linux-mm@kvack.org, mm-commits@vger.kernel.org, mpe@ellerman.id.au, paul@crapouillou.net, peterz@infradead.org, tglx@linutronix.de, torvalds@linux-foundation.org, tsbogend@alpha.franken.de Subject: [patch 17/19] powerpc/mm/highmem: use __set_pte_at() for kmap_local() Message-ID: <20210124050211.iTnzvLhNR%akpm@linux-foundation.org> In-Reply-To: <20210123210029.a7c704d0cab204683e41ad10@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
[01/19] x86/setup: don't remove E820_TYPE_RAM for pfn 0
|
expand
|
--- a/arch/powerpc/include/asm/highmem.h~powerpc-mm-highmem-use-__set_pte_at-for-kmap_local +++ a/arch/powerpc/include/asm/highmem.h @@ -58,6 +58,8 @@ extern pte_t *pkmap_page_table; #define flush_cache_kmaps() flush_cache_all() +#define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) \ + __set_pte_at(mm, vaddr, ptep, ptev, 1) #define arch_kmap_local_post_map(vaddr, pteval) \ local_flush_tlb_page(NULL, vaddr) #define arch_kmap_local_post_unmap(vaddr) \