Skip to content

riscv: iommu: Support Svnapot

Xu Lu linux-mm linux-riscv lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/24 patches 1 replyIn review
  2. v2 posting 1/24 patches 2 repliesSuperseded
  3. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

1. Supply more details about huge pte issue in follow_page_pte().
2. Fix some style problems.

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mm/gup: Add huge pte handling logic in follow_page_pte()arch/riscv/include/asm/pgtable.h include/linux/pgtable.h mm/gup.c+25 -60 replies
2/4iommu/riscv: Use pte_t to represent page table entrydrivers/iommu/riscv/iommu.c+39 -400 replies
3/4iommu/riscv: Introduce IOMMU page table lockdrivers/iommu/riscv/iommu.c+107 -161 reply
4/4iommu/riscv: Add support for Svnapotdrivers/iommu/riscv/iommu.c+77 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH RESEND v2 0/4] riscv: iommu: Support Svnapot

According to the RISC-V IOMMU hardware spec, the IOMMU implementation has the same translation process as MMU and supports Svnapot standard extension as well. These patches add support for Svnapot in the IOMMU driver to make 64K also an available page size during DMA mapping.

Changes in V2:
1. Supply more details about huge pte issue in follow_page_pte().
2. Fix some style problems.

Xu Lu (4):
mm/gup: Add huge pte handling logic in follow_page_pte() iommu/riscv: Use pte_t to represent page table entry iommu/riscv: Introduce IOMMU page table lock iommu/riscv: Add support for Svnapot

 arch/riscv/include/asm/pgtable.h |   6 +
 drivers/iommu/riscv/iommu.c      | 258 +++++++++++++++++++++++++------
 include/linux/pgtable.h          |   8 +
 mm/gup.c                         |  17 +-
 4 files changed, 233 insertions(+), 56 deletions(-)
Signature · 1 line
2.20.1