[PATCH v9 0/2] device tree mapping

Oleksii Kurochko posted 2 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1727781468.git.oleksii.kurochko@gmail.com
xen/arch/riscv/Makefile                     |   1 +
xen/arch/riscv/include/asm/flushtlb.h       |   9 +
xen/arch/riscv/include/asm/mm.h             |   4 +
xen/arch/riscv/include/asm/page.h           |  80 ++++
xen/arch/riscv/include/asm/riscv_encoding.h |   2 +
xen/arch/riscv/mm.c                         |  58 ++-
xen/arch/riscv/pt.c                         | 421 ++++++++++++++++++++
xen/arch/riscv/setup.c                      |   7 +
8 files changed, 576 insertions(+), 6 deletions(-)
create mode 100644 xen/arch/riscv/pt.c
[PATCH v9 0/2] device tree mapping
Posted by Oleksii Kurochko 1 week ago
Current patch series introduces device tree mapping for RISC-V
and necessary things for that such as:
- Fixmap mapping
- pmap
- Xen page table processing

---
Changes in v9:
 - The following patch was merged to staging:
   - [PATCH v6 2/8] xen/riscv: allow write_atomic() to work with non-scalar type
   - [PATCH v2 4/8] xen/riscv: setup fixmap mapping
   - [PATCH v2 5/8] xen/riscv: introduce asm/pmap.h header
   - [PATCH v3 6/9] xen/riscv: introduce functionality to work with cpu info
   - [PATCH v3 7/9] xen/riscv: introduce and init SBI RFENCE extension
 - All other changes are patch specific so please look at the patch.
---
Changes in v8:
 - The following patch was merged to staging:
     [PATCH v5 1/7] xen/riscv: use {read,write}{b,w,l,q}_cpu() to define {read,write}_atomic()
 - All other changes are patch specific so please look at the patch.
---
Changes in v7:
 - Drop the patch "xen/riscv: prevent recursion when ASSERT(), BUG*(), or panic() are called"
 - All other changes are patch specific so please look at the patch.
---
Changes in v6:
 - Add patch to fix recursion when ASSERT(), BUG*(), panic() are called.
 - Add patch to allow write_atomic() to work with  non-scalar types for consistence
   with read_atomic().
 - All other changes are patch specific so please look at the patch. 
---
Changes in v5:
 - The following patch was merged to staging:
     [PATCH v3 3/9] xen/riscv: enable CONFIG_HAS_DEVICE_TREE
 - Drop depedency from "RISCV basic exception handling implementation" as
   it was meged to staging branch.
 - All other changes are patch specific so please look at the patch.
---
Changes in v4:
 - Drop depedency from common devicre tree patch series as it was merged to
   staging.
 - Update the cover letter message.
 - All other changes are patch specific so please look at the patch.
---
Changes in v3:
 - Introduce SBI RFENCE extension support.
 - Introduce and initialize pcpu_info[] and __cpuid_to_hartid_map[] and functionality
   to work with this arrays.
 - Make page table handling arch specific instead of trying to make it generic.
 - All other changes are patch specific so please look at the patch.
---
Changes in v2:
 - Update the cover letter message
 - introduce fixmap mapping
 - introduce pmap
 - introduce CONFIG_GENREIC_PT
 - update use early_fdt_map() after MMU is enabled.
---

Oleksii Kurochko (2):
  xen/riscv: page table handling
  xen/riscv: introduce early_fdt_map()

 xen/arch/riscv/Makefile                     |   1 +
 xen/arch/riscv/include/asm/flushtlb.h       |   9 +
 xen/arch/riscv/include/asm/mm.h             |   4 +
 xen/arch/riscv/include/asm/page.h           |  80 ++++
 xen/arch/riscv/include/asm/riscv_encoding.h |   2 +
 xen/arch/riscv/mm.c                         |  58 ++-
 xen/arch/riscv/pt.c                         | 421 ++++++++++++++++++++
 xen/arch/riscv/setup.c                      |   7 +
 8 files changed, 576 insertions(+), 6 deletions(-)
 create mode 100644 xen/arch/riscv/pt.c

-- 
2.46.1