[PATCH v3 1/3] arm64: ptrauth: add pointer authentication Armv8.6 enhanced feature
Mark Brown
broonie at kernel.org
Tue Jun 23 09:56:02 EDT 2020
On Tue, Jun 23, 2020 at 06:46:28PM +0530, Amit Daniel Kachhap wrote:
> On 6/22/20 7:52 PM, Dave Martin wrote:
> > > @@ -335,6 +356,9 @@ asmlinkage void notrace el0_sync_compat_handler(struct pt_regs *regs)
> > > case ESR_ELx_EC_BKPT32:
> > > el0_dbg(regs, esr);
> > > break;
> > > + case ESR_ELx_EC_FPAC:
> > > + el0_fpac(regs, esr);
> > > + break;
> > Can this exception ever happen? I thought ptrauth doesn't exist for
> > AArch32.
> This path will be taken during FPAC fault from userspace(EL0). Am I missing
> something here?
This one is in the compat handler so should only be generated from
AArch32 context.
-------------- 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/20200623/e0afb14c/attachment.sig>
More information about the linux-arm-kernel
mailing list