[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221008140506.1066805-1-liushixin2@huawei.com>
Date: Sat, 8 Oct 2022 22:05:04 +0800
From: Liu Shixin <liushixin2@...wei.com>
To: Conor Dooley <conor@...nel.org>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Jonathan Corbet <corbet@....net>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>
CC: <linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-riscv@...ts.infradead.org>,
Liu Shixin <liushixin2@...wei.com>
Subject: [PATCH v2 0/2] riscv: Support HAVE_ARCH_HUGE_VMAP and HAVE_ARCH_HUGE_VMALLOC
Since riscv64 has already support SATP_MODE_57 by default, it is time to
support more hugepage-related features. These two patches will enable
HAVE_ARCH_HUGE_VMAP and HAVE_ARCH_HUGE_VMALLOC.
v1->v2: Fix the build error reported by kernel-test.
Liu Shixin (2):
riscv: Enable HAVE_ARCH_HUGE_VMAP for 64BIT
riscv: Enable HAVE_ARCH_HUGE_VMALLOC for 64BIT
.../features/vm/huge-vmap/arch-support.txt | 2 +-
arch/riscv/Kconfig | 2 +
arch/riscv/include/asm/vmalloc.h | 18 ++++
arch/riscv/mm/Makefile | 1 +
arch/riscv/mm/pgtable.c | 83 +++++++++++++++++++
5 files changed, 105 insertions(+), 1 deletion(-)
create mode 100644 arch/riscv/mm/pgtable.c
--
2.25.1
Powered by blists - more mailing lists