Re: [PATCH v4 18/29] arm64: add POE signal support

2024-06-03 Thread Amit Daniel Kachhap
On 5/31/24 22:09, Mark Brown wrote: On Tue, May 28, 2024 at 12:26:54PM +0530, Amit Daniel Kachhap wrote: On 5/3/24 18:31, Joey Gouly wrote: +#define POE_MAGIC 0x504f4530 +struct poe_context { + struct _aarch64_ctx head; + __u64 por_el0; +}; There is a comment

Re: [PATCH v4 18/29] arm64: add POE signal support

2024-05-31 Thread Mark Brown
On Tue, May 28, 2024 at 12:26:54PM +0530, Amit Daniel Kachhap wrote: > On 5/3/24 18:31, Joey Gouly wrote: > > +#define POE_MAGIC 0x504f4530 > > +struct poe_context { > > + struct _aarch64_ctx head; > > + __u64 por_el0; > > +}; > There is a comment section in the beginning which mentions

Re: [PATCH v4 18/29] arm64: add POE signal support

2024-05-30 Thread Amit Daniel Kachhap
On 5/3/24 18:31, Joey Gouly wrote: Add PKEY support to signals, by saving and restoring POR_EL0 from the stackframe. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon Reviewed-by: Mark Brown Acked-by: Szabolcs Nagy --- arch/arm64/include/uapi/asm/sigcontext.h | 7

[PATCH v4 18/29] arm64: add POE signal support

2024-05-03 Thread Joey Gouly
Add PKEY support to signals, by saving and restoring POR_EL0 from the stackframe. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon Reviewed-by: Mark Brown Acked-by: Szabolcs Nagy --- arch/arm64/include/uapi/asm/sigcontext.h | 7 arch/arm64/kernel/signal.c |