RE: [PATCH 1/1] arm64/entry.S: check for stack overflow in el1 case only

2021-01-20 Thread Maninder Singh
Hi Mark, Will On Thu, Jan 07, 2021 at 11:29:03AM +, Mark Rutland wrote: >> On Fri, Dec 11, 2020 at 02:45:31PM +0530, Maninder Singh wrote: >> > current code checks for sp bit flip in all exceptions, >> > but only el1 exceptions requires this. el0 can not enter >> > into stack overflow case dir

Re: [PATCH 1/1] arm64/entry.S: check for stack overflow in el1 case only

2021-01-20 Thread Will Deacon
On Thu, Jan 07, 2021 at 11:29:03AM +, Mark Rutland wrote: > On Fri, Dec 11, 2020 at 02:45:31PM +0530, Maninder Singh wrote: > > current code checks for sp bit flip in all exceptions, > > but only el1 exceptions requires this. el0 can not enter > > into stack overflow case directly. > > > > it

Re: [PATCH 1/1] arm64/entry.S: check for stack overflow in el1 case only

2021-01-07 Thread Mark Rutland
On Fri, Dec 11, 2020 at 02:45:31PM +0530, Maninder Singh wrote: > current code checks for sp bit flip in all exceptions, > but only el1 exceptions requires this. el0 can not enter > into stack overflow case directly. > > it will improve performance for el0 exceptions and interrupts. > > Signed-of

[PATCH 1/1] arm64/entry.S: check for stack overflow in el1 case only

2020-12-11 Thread Maninder Singh
current code checks for sp bit flip in all exceptions, but only el1 exceptions requires this. el0 can not enter into stack overflow case directly. it will improve performance for el0 exceptions and interrupts. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang --- arch/arm64/kernel/ent