On 10.03.2026 18:08, Oleksii Kurochko wrote:
> No RISC-V-specific nodes need to be created at the moment,
> so make_arch_nodes() is implemented to simply return 0.
>
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Same question as on the previous patch, albeit to a lesser degree: An
arch hook may plausibly exist (and be called) uniformly, even if on
some arch-es it doesn't do anything.
> ---
> xen/arch/riscv/Makefile | 1 +
> xen/arch/riscv/dom0less-build.c | 11 +++++++++++
> 2 files changed, 12 insertions(+)
> create mode 100644 xen/arch/riscv/dom0less-build.c
Further, on what basis is this function put in this new file, when the
earlier ones live in domain-build.c?
> --- a/xen/arch/riscv/Makefile
> +++ b/xen/arch/riscv/Makefile
> @@ -1,5 +1,6 @@
> obj-y += aplic.o
> obj-y += cpufeature.o
> +obj-y += dom0less-build.o
obj-$(CONFIG_DOM0LESS_BOOT) += dom0less-build.init.o
just like Arm has it?
Jan