[PATCH 2/2] selftests/powerpc: Add prefixed loads/stores to alignment_handler test

Alistair Popple alistair at popple.id.au
Mon Jun 22 11:31:03 AEST 2020


On Wednesday, 20 May 2020 12:11:03 PM AEST Jordan Niethe wrote:
> +/* POWER10 feature */
> +#ifndef PPC_FEATURE2_ARCH_3_10
> +#define PPC_FEATURE2_ARCH_3_10 0x00040000
> +#endif

One minor nit pick, this needs to be updated to PPC_FEATURE2_ARCH_3_1 to 
reflect the changes made in response to feedback on the patch series that 
introduced this feature.

- Alistair

>  #if defined(__powerpc64__)
>  #define UCONTEXT_NIA(UC)	(UC)->uc_mcontext.gp_regs[PT_NIP]
>  #define UCONTEXT_MSR(UC)	(UC)->uc_mcontext.gp_regs[PT_MSR]
> 






More information about the Linuxppc-dev mailing list