Re: [PATCH v1 15/20] arm64: add POE signal support

2023-10-10 Thread Mark Brown
On Tue, Oct 10, 2023 at 10:57:02AM +0100, Joey Gouly wrote: > On Thu, Oct 05, 2023 at 03:34:29PM +0100, Mark Brown wrote: > > On Wed, Sep 27, 2023 at 03:01:18PM +0100, Joey Gouly wrote: > > > Add PKEY support to signals, by saving and restoring POR_EL0 from the > > > stackframe. > > It'd be nice

Re: [PATCH v1 15/20] arm64: add POE signal support

2023-10-10 Thread Mark Brown
On Tue, Oct 10, 2023 at 10:58:02AM +0100, Joey Gouly wrote: > On Mon, Oct 09, 2023 at 03:49:29PM +0100, Mark Brown wrote: > > Actually, now I think about it we at least need an update to the frame > > parser in userspace so it knows about the new frame. Without that it'll > > warn whenver it pars

Re: [PATCH v1 15/20] arm64: add POE signal support

2023-10-10 Thread Joey Gouly
Hi Mark, On Mon, Oct 09, 2023 at 03:49:29PM +0100, Mark Brown wrote: > On Thu, Oct 05, 2023 at 03:34:29PM +0100, Mark Brown wrote: > > On Wed, Sep 27, 2023 at 03:01:18PM +0100, Joey Gouly wrote: > > > Add PKEY support to signals, by saving and restoring POR_EL0 from the > > > stackframe. > > > I

Re: [PATCH v1 15/20] arm64: add POE signal support

2023-10-10 Thread Joey Gouly
Hi Mark, On Thu, Oct 05, 2023 at 03:34:29PM +0100, Mark Brown wrote: > On Wed, Sep 27, 2023 at 03:01:18PM +0100, Joey Gouly wrote: > > Add PKEY support to signals, by saving and restoring POR_EL0 from the > > stackframe. > > It'd be nice to have at least a basic test that validates that we > gen

Re: [PATCH v1 15/20] arm64: add POE signal support

2023-10-09 Thread Mark Brown
On Thu, Oct 05, 2023 at 03:34:29PM +0100, Mark Brown wrote: > On Wed, Sep 27, 2023 at 03:01:18PM +0100, Joey Gouly wrote: > > Add PKEY support to signals, by saving and restoring POR_EL0 from the > > stackframe. > It'd be nice to have at least a basic test that validates that we > generate a POE

Re: [PATCH v1 15/20] arm64: add POE signal support

2023-10-05 Thread Mark Brown
On Wed, Sep 27, 2023 at 03:01:18PM +0100, Joey Gouly wrote: > Add PKEY support to signals, by saving and restoring POR_EL0 from the > stackframe. It'd be nice to have at least a basic test that validates that we generate a POE signal frame when expected, though that should be a very minor thing w

[PATCH v1 15/20] arm64: add POE signal support

2023-09-27 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 --- arch/arm64/include/uapi/asm/sigcontext.h | 7 arch/arm64/kernel/signal.c | 51 2 files changed, 58 i