[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v1 0/2] Move alloc_domain_struct() to common code
x86 has specific requirements about the allocation of the domain structure, but that's not the case for ARM or likely other architectures. Introduce a generic weak function that can be overwritten with an architecture specific implementation if required. RISC-V has a compilation issue [1] after an introduction of [2] becuase of different way inclusion of asm/page.h and asm/mm.h (for more details please check the patch [3]). So rework asm/mm.h and asm/page.h includes to match other architectures. [1] https://gitlab.com/xen-project/people/royger/xen/-/jobs/10328429719#L553 [2] xen/domain: introduce generic weak function for domain struct allocation [3] xen/riscv: rework asm/mm.h and asm/page.h includes to match other architectures CI tests: https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/1868877289 Oleksii Kurochko (1): xen/riscv: rework asm/mm.h and asm/page.h includes to match other architectures Roger Pau Monne (1): xen/domain: introduce generic weak function for domain struct allocation xen/arch/arm/domain.c | 12 ----------- xen/arch/ppc/stubs.c | 5 ----- xen/arch/riscv/include/asm/mm.h | 24 ++++++++++++++++++--- xen/arch/riscv/include/asm/page.h | 35 +------------------------------ xen/arch/riscv/mm.c | 14 +++++++++++++ xen/arch/riscv/stubs.c | 5 ----- xen/common/domain.c | 14 +++++++++++++ 7 files changed, 50 insertions(+), 59 deletions(-) -- 2.49.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |