On Fri, Apr 19, 2024 at 03:53:25PM +0200, Andrew Jones wrote: > +config RISCV_ISA_ZAWRS > + bool "Zawrs extension support for more efficient busy waiting" > + depends on RISCV_ALTERNATIVE > + default y > + help > + The Zawrs extension defines instructions to be used in polling loops > + which allow a hart to enter a low-power state or to trap to the > + hypervisor while waiting on a store to a memory location. Enable the > + use of these instructions in the kernel when the Zawrs extension is > + detected at boot. Ignoring the rest of the patch, and focusing on the bit relevant to our other conversation, I think this description satisfies what I was trying to do with the other options in terms of being clear about what exactly it does.
Attachment:
signature.asc
Description: PGP signature