Re: [PATCH v8 00/11] Enable haltpoll on arm64
From: Haris Okanovic
Date: Tue Nov 05 2024 - 13:31:28 EST
Hi Ankur, Catalin,
How about the following series based on a refactor of arm64's delay()?
Does it address your earlier concerns?
delay() already implements wfet() and falls back to wfe() w/ evstream
or a cpu_relax loop. I refactored it to poll an address, and wrapped in
a new platform-agnostic smp_vcond_load_relaxed() macro. More details in
the following commit log.
Regards,
Haris Okanovic
AWS Graviton Software