riscv: 32-bit should use phys_addr_t
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 1 replyIn review
- v13 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | riscv: Fix virt_to_phys againlib/ | +2 | 0 replies | |
| 2/7 | riscv: setup: Apply VA_BASE check to rv64lib/ | +1 | 0 replies | |
| 3/7 | riscv: Support up to 34-bit physical addresses on rv32, sort oflib/ lib/ lib/ | +28 | 0 replies | |
| 4/7 | riscv: Track memory above 3Glib/ lib/ | +12 | 0 replies | |
| 5/7 | riscv: mmu: Sanity check input physical addresseslib/ lib/ | +6 | 0 replies | |
| 6/7 | riscv: Define and use PHYS_PAGE_MASKlib/ lib/ lib/ | +5 | 0 replies | |
| 7/7 | riscv: mmu: Ensure order of PTE update and sfencelib/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [kvm-unit-tests PATCH v2 0/7] riscv: 32-bit should use phys_addr_t
For v2 not only do we use phys_addr_t where we should to allow unit tests to pretend like high words matter on rv32, but we actually get it to work by adding a few more patches. Some new DBCN tests will make use of it.
Andrew Jones (7):
riscv: Fix virt_to_phys again
riscv: setup: Apply VA_BASE check to rv64
riscv: Support up to 34-bit physical addresses on rv32, sort of
riscv: Track memory above 3G
riscv: mmu: Sanity check input physical addresses
riscv: Define and use PHYS_PAGE_MASK
riscv: mmu: Ensure order of PTE update and sfence
lib/memregions.h | 1 + lib/riscv/asm/io.h | 4 ++-- lib/riscv/asm/mmu.h | 3 +++ lib/riscv/mmu.c | 45 +++++++++++++++++++++++++++++---------------- lib/riscv/setup.c | 19 +++++++++++++------ lib/riscv/smp.c | 7 ++++++- 6 files changed, 54 insertions(+), 25 deletions(-)
Signature · 1 line
2.45.2