Skip to content

riscv: Fixup asid_allocator remaining issues

[email protected] linux-arch linux-riscv lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 2 repliesIn review
  2. v42 patches 7 repliesSuperseded
  3. v32 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches0 repliesSuperseded
v13 patches8 repliesSuperseded

Changes in v5 from the cover letter

- Fixup double PAGE_SIZE add in local_flush_tlb_range_asid
- Add tlbflush: Optimize coding convention
- Optimize comment

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv: Use global mappings for kernel pagesarch/riscv/include/asm/pgtable.h+2 -10 replies
2/3riscv: Add ASID-based tlbflushing methodsarch/riscv/include/asm/mmu_context.h arch/riscv/include/asm/tlbflush.h arch/riscv/mm/context.c +1 more+68 -42 replies
3/3riscv: tlbflush: Optimize coding conventionarch/riscv/mm/tlbflush.c+41 -500 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAnup PatelChristoph Hellwig
1/3R-b R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH V5 0/3] riscv: Fixup asid_allocator remaining issues

From: Guo Ren <[email protected]>

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 v4:
- Fixup double PAGE_SIZE add in local_flush_tlb_range_asid
- Add tlbflush: Optimize coding convention
- Optimize comment

Changes since v3:
- Optimize coding convention for
"riscv: Use use_asid_allocator flush TLB"

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 (3):
riscv: Use global mappings for kernel pages
riscv: Add ASID-based tlbflushing methods
riscv: tlbflush: Optimize coding convention

 arch/riscv/include/asm/mmu_context.h |  2 ++
 arch/riscv/include/asm/pgtable.h     |  3 +-
 arch/riscv/include/asm/tlbflush.h    | 22 ++++++++++++++
 arch/riscv/mm/context.c              |  2 +-
 arch/riscv/mm/tlbflush.c             | 57 ++++++++++++++++++++++++++++--------
 5 files changed, 71 insertions(+), 15 deletions(-)
Signature · 1 line
2.7.4