[PATCH v5 19/30] arm64: add POE signal support
Mark Brown
broonie at kernel.org
Tue Oct 15 04:37:24 PDT 2024
On Tue, Oct 15, 2024 at 10:59:11AM +0100, Joey Gouly wrote:
> On Mon, Oct 14, 2024 at 06:10:23PM +0100, Will Deacon wrote:
> > Looking a little more at this, I think we have quite a weird behaviour
> > on arm64 as it stands. It looks like we rely on the signal frame to hold
> > the original POR_EL0 so, if for some reason we fail to allocate space
> > for the POR context, I think we'll return back from the signal with
> > POR_EL0_INIT. That seems bad?
> If we don't allocate space for POR_EL0, I think the program recieves SIGSGEV?
...
> So I think it's "fine"?
Yeah, there's a bunch of other stuff would go badly if we tried to carry
on after failing to allocate a signal frame.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20241015/355cbf3c/attachment.sig>
More information about the linux-arm-kernel
mailing list