[boot-wrapper 7/7] aarch64: Start Xen on Armv8-R at EL2

Luca Fancellu Luca.Fancellu at arm.com
Mon Jul 15 00:16:34 PDT 2024


Hi Andre,

> 
>> 
>>> * Check MSA_frac, bits [55:52]:
>>> @@ -107,6 +108,12 @@ reset_at_el2:
>>> mov w0, #SPSR_KERNEL_EL1
>>> ldr x1, =spsr_to_elx
>>> str w0, [x1]
>>> +#else
>>> + /* Start XEN on Armv8-R at EL2 */
>>> + mov w0, #1
>>> + ldr x1, =flag_keep_el
>>> + str w0, [x1]
>>> +#endif
>>> 
>>> cpuid x0, x1
>>> bl find_logical_id
>>> diff --git a/configure.ac b/configure.ac
>>> index 44459a4c849e..a5175db4148a 100644
>>> --- a/configure.ac
>>> +++ b/configure.ac
>>> @@ -95,6 +95,9 @@ AM_CONDITIONAL([PSCI_HVC], [test "x$USE_PSCI" = "xhvc"])
>>> AS_IF([test "x$USE_PSCI" = "xno" -a "x$KERNEL_ES" = "x32"],
>>> [AC_MSG_ERROR([With an AArch32 kernel, boot method must be PSCI.])]
>>> )
>>> +AS_IF([test "x$USE_PSCI" = "xhvc" -a "x$X_IMAGE" != "x"],
>>> + [AC_MSG_ERROR([With Xen kernel, PSCI conduit must be smc.])]
>>> +)
>> 
>> As mentioned above, I am not sure this is too helpful.
> 
> Ok, so your proposal is to remove this check, am I right?

Gentle ping on this.

Cheers,
Luca





More information about the linux-arm-kernel mailing list