[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1621945447-38820-1-git-send-email-guoren@kernel.org>
Date: Tue, 25 May 2021 12:24:05 +0000
From: guoren@...nel.org
To: guoren@...nel.org, anup.patel@....com, palmerdabbelt@...gle.com,
arnd@...db.de, hch@....de
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org, linux-sunxi@...ts.linux.dev,
Guo Ren <guoren@...ux.alibaba.com>
Subject: [PATCH V3 0/2] riscv: Fixup asid_allocator remaining issues
From: Guo Ren <guoren@...ux.alibaba.com>
The patchset fixes the remaining problems of asid_allocator.
- Fixup _PAGE_GLOBAL for kernel virtual address mapping
- Optimize tlb_flush with asid & range
Changes since v2:
- Remove PAGE_UP/DOWN usage in tlbflush.h
- Optimize variable name
Changes since v1:
- Drop PAGE_UP wrong fixup
- Rebase on clean linux-5.13-rc2
- Add Reviewed-by
Guo Ren (2):
riscv: Fixup _PAGE_GLOBAL in _PAGE_KERNEL
riscv: Use use_asid_allocator flush TLB
arch/riscv/include/asm/mmu_context.h | 2 ++
arch/riscv/include/asm/pgtable.h | 3 ++-
arch/riscv/include/asm/tlbflush.h | 21 +++++++++++++++++++
arch/riscv/mm/context.c | 2 +-
arch/riscv/mm/tlbflush.c | 40 +++++++++++++++++++++++++++++++++---
5 files changed, 63 insertions(+), 5 deletions(-)
--
2.7.4
Powered by blists - more mailing lists