[PATCH 1/2] xen: Add dependency on armv8
    Michal Simek 
    michal.simek at amd.com
       
    Wed Apr 12 09:10:46 CEST 2023
    
    
  
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
    
    
More information about the U-Boot
mailing list