|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [UNIKRAFT PATCH 2/2] arch/arm: Provide ukarch_spinwait noop for ARM
On 14.08.20 22:14, Julien Grall wrote: Hi, On 23/07/2020 09:15, Alexander Jung wrote:ARM does not support a pause-type instruction for busy spin wait operations. This commit provides the same alias to be used in instances where it is required but defaults to a blank operation.On Arm, the closest instruction would be "yield".Signed-off-by: Alexander Jung <alexander.jung@xxxxxxxxx> --- arch/arm/arm/include/uk/asm/lcpu.h | 5 +++++ arch/arm/arm64/include/uk/asm/lcpu.h | 5 +++++ 2 files changed, 10 insertions(+)diff --git a/arch/arm/arm/include/uk/asm/lcpu.h b/arch/arm/arm/include/uk/asm/lcpu.h Hey Alex, Costin,can one of you provide a follow-up patch that includes a barrier as Julien suggested? I saw that this patch made it upstream already. Thanks, Simon +}diff --git a/arch/arm/arm64/include/uk/asm/lcpu.h b/arch/arm/arm64/include/uk/asm/lcpu.h
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |