[kvm-unit-tests PATCH v9 17/31] powerpc: Add cpu_relax

Thomas Huth thuth at redhat.com
Tue May 7 23:44:54 AEST 2024


On 04/05/2024 14.28, Nicholas Piggin wrote:
> Add a cpu_relax variant that uses SMT priority nop instructions like
> Linux. This was split out of the SMP patch because it affects the sprs
> test case.
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>   lib/ppc64/asm/barrier.h | 1 +
>   powerpc/sprs.c          | 4 ++--
>   2 files changed, 3 insertions(+), 2 deletions(-)


Reviewed-by: Thomas Huth <thuth at redhat.com>



More information about the Linuxppc-dev mailing list