Re: [PATCH v4 28/29] kselftest/arm64: Add test case for POR_EL0 signal frame records

2024-07-09 Thread Kevin Brodsky
On 03/05/2024 15:01, Joey Gouly wrote: > +static uint64_t get_por_el0(void) > +{ > + uint64_t val; > + > + asm volatile ( > + "mrs%0, " SYS_POR_EL0 "\n" > + : "=r"(val) > + : > + : "cc"); Not sure why we would need "cc" for an MRS? __read

Re: [PATCH v4 28/29] kselftest/arm64: Add test case for POR_EL0 signal frame records

2024-07-05 Thread Shuah Khan
On 5/29/24 09:51, Mark Brown wrote: On Fri, May 03, 2024 at 02:01:46PM +0100, Joey Gouly wrote: Ensure that we get signal context for POR_EL0 if and only if POE is present on the system. Reviewed-by: Mark Brown For kselftest: Acked-by: Shuah Khan thanks, -- Shuah

Re: [PATCH v4 28/29] kselftest/arm64: Add test case for POR_EL0 signal frame records

2024-05-29 Thread Mark Brown
On Fri, May 03, 2024 at 02:01:46PM +0100, Joey Gouly wrote: > Ensure that we get signal context for POR_EL0 if and only if POE is present > on the system. Reviewed-by: Mark Brown signature.asc Description: PGP signature

[PATCH v4 28/29] kselftest/arm64: Add test case for POR_EL0 signal frame records

2024-05-03 Thread Joey Gouly
Ensure that we get signal context for POR_EL0 if and only if POE is present on the system. Copied from the TPIDR2 test. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Brown Cc: Shuah Khan --- .../testing/selftests/arm64/signal/.gitignore | 1 + .../arm64/signal/test