
12 Apr
2023
12 Apr
'23
9:10 a.m.
On 4/12/23 06:57, Marek Vasut wrote:
On 4/11/23 13:23, Michal Simek wrote:
Xen core calls HYPERVISOR_memory_op() in map_shared_info() which is just in xen_init() called from init_sequence_r[].
Xen can run only on armv8 where HVC calls are implemented that's why enable it only for arm64.
Doesn't ARMv7a also support HYP mode ?
Xen code in U-Boot is wired via HYPERVISOR_* functions which are wired only for armv8.
arch/arm/cpu/armv8/xen/hypercall.S:56:.globl HYPERVISOR_##hypercall; \ arch/arm/cpu/armv8/xen/hypercall.S:58:HYPERVISOR_##hypercall: \ arch/arm/cpu/armv8/xen/hypercall.S:59: mov x16, #__HYPERVISOR_##hypercall; \
M