Re: [PATCH v6 22/23] xen/riscv: add initial dom0less infrastructure support
Jan Beulich <[email protected]>
| Newsgroups | org.xenproject.lists.xen-devel |
|---|---|
| Message-ID | <[email protected]> |
On 20.07.2026 18:00, Oleksii Kurochko wrote: > Enable dom0less support for RISC-V by selecting HAS_DOM0LESS and > providing the minimal architecture hooks required by the common > dom0less infrastructure. > > Add stub implementations for architecture-specific helpers used when > building domains from the device tree. These allow the generic > dom0less code to build and let a basic DomU be constructed on RISC-V. > construct_hwdom() and make_hypervisor_node() are still stubs returning > an error: Dom0/hwdom construction isn't supported yet, and the > hypervisor node generation (needed by domains with > DOM0LESS_ENHANCED_NO_XS set) is not implemented. Both are marked with > a TODO and are not reached by the currently supported configurations. > > Provide missing helpers and definitions required by the domain > construction code, including domain bitness helpers and the > p2m_set_allocation() prototype. > > Additionally define the guest magic memory region (GUEST_MAGIC_BASE / > GUEST_MAGIC_SIZE) in asm/guest-layout.h. The base is arbitrary; the > only constraint is that the region must not overlap guest RAM or the > emulated device regions. It is placed in the unused gap below > GUEST_RAM0_BASE (0x80000000); the constraints are documented next to > the #define-s. > > A separate region for grant tables will be introduced at the same time as > the introduction of the grant table for RISC-V. > > Signed-off-by: Oleksii Kurochko <[email protected]> > --- > Changes in v6: > - Acked-by: Jan Beulich <[email protected]>. Except that once you again you didn't really add the tag. Jan