Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1246182 > unrolled thread
| Started by | Mark Salyzyn <salyzyn@android.com> |
|---|---|
| First post | 2015-10-13 23:40 +0200 |
| Last post | 2015-10-16 16:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
Aarch32 user space PC alignment exception Mark Salyzyn <salyzyn@android.com> - 2015-10-13 23:40 +0200
Re: Aarch32 user space PC alignment exception Catalin Marinas <catalin.marinas@arm.com> - 2015-10-16 16:40 +0200
| From | Mark Salyzyn <salyzyn@android.com> |
|---|---|
| Date | 2015-10-13 23:40 +0200 |
| Subject | Aarch32 user space PC alignment exception |
| Message-ID | <qjfsC-28J-31@gated-at.bofh.it> |
armv7 does not have a PC alignment exception. armv8 Aarch32 user space however can produce a PC alignment exception. Add handler so the we do not dump an unexpected stack trace in the logs. Signed-off-by: Mark Salyzyn <salyzyn@android.com> --- arch/arm64/kernel/entry.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S index 4306c93..7ed3d75 100644 --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S @@ -430,6 +430,8 @@ el0_sync_compat: b.eq el0_fpsimd_acc cmp x24, #ESR_ELx_EC_FP_EXC32 // FP/ASIMD exception b.eq el0_fpsimd_exc + cmp x24, #ESR_ELx_EC_PC_ALIGN // pc alignment exception + b.eq el0_sp_pc cmp x24, #ESR_ELx_EC_UNKNOWN // unknown exception in EL0 b.eq el0_undef cmp x24, #ESR_ELx_EC_CP15_32 // CP15 MRC/MCR trap -- 2.6.0.rc2.230.g3dd15c0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Catalin Marinas <catalin.marinas@arm.com> |
|---|---|
| Date | 2015-10-16 16:40 +0200 |
| Message-ID | <qkekN-GU-1@gated-at.bofh.it> |
| In reply to | #1246182 |
On Tue, Oct 13, 2015 at 02:30:51PM -0700, Mark Salyzyn wrote: > armv7 does not have a PC alignment exception. armv8 Aarch32 > user space however can produce a PC alignment exception. Add > handler so the we do not dump an unexpected stack trace in > the logs. > > Signed-off-by: Mark Salyzyn <salyzyn@android.com> Queued for 4.4. Thanks. -- Catalin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web