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
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
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
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