Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-25 Thread Shijith Thotton
On 01/24/2019 10:07 PM, Catalin Marinas wrote: > Hi Shijith, > > On Thu, Jan 24, 2019 at 07:00:42AM +, Shijith Thotton wrote: >> On 01/23/2019 11:45 PM, Catalin Marinas wrote: >>> diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c >>> index 30695a868107..5c9073bace83 100644 >>> ---

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-24 Thread Catalin Marinas
Hi Shijith, On Thu, Jan 24, 2019 at 07:00:42AM +, Shijith Thotton wrote: > On 01/23/2019 11:45 PM, Catalin Marinas wrote: > > diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c > > index 30695a868107..5c9073bace83 100644 > > --- a/arch/arm64/mm/flush.c > > +++ b/arch/arm64/mm/flush.c

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-23 Thread Shijith Thotton
Hi Catalin, On 01/23/2019 11:45 PM, Catalin Marinas wrote: > On Tue, Jan 22, 2019 at 05:44:02AM +, Will Deacon wrote: >> On Mon, Jan 21, 2019 at 02:21:28PM +, Catalin Marinas wrote: >>> arm64: Do not issue IPIs for user executable ptes >>> >>> From: Catalin Marinas >>> >>> Commit

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-23 Thread Catalin Marinas
On Tue, Jan 22, 2019 at 05:44:02AM +, Will Deacon wrote: > On Mon, Jan 21, 2019 at 02:21:28PM +, Catalin Marinas wrote: > > arm64: Do not issue IPIs for user executable ptes > > > > From: Catalin Marinas > > > > Commit 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating the I-cache >

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-23 Thread Will Deacon
On Tue, Jan 22, 2019 at 02:55:22PM +, Mark Rutland wrote: > On Tue, Jan 22, 2019 at 05:44:02AM +, Will Deacon wrote: > > On Mon, Jan 21, 2019 at 02:21:28PM +, Catalin Marinas wrote: > > > On Sat, Jan 19, 2019 at 11:58:27PM +, Will Deacon wrote: > > > > On Thu, Jan 17, 2019 at

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-22 Thread Mark Rutland
Hi Will, On Tue, Jan 22, 2019 at 05:44:02AM +, Will Deacon wrote: > On Mon, Jan 21, 2019 at 02:21:28PM +, Catalin Marinas wrote: > > On Sat, Jan 19, 2019 at 11:58:27PM +, Will Deacon wrote: > > > On Thu, Jan 17, 2019 at 07:42:44AM +, chenwandun wrote: > > > > Recently, I do some

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-21 Thread Will Deacon
Hi Catalin, On Mon, Jan 21, 2019 at 02:21:28PM +, Catalin Marinas wrote: > On Sat, Jan 19, 2019 at 11:58:27PM +, Will Deacon wrote: > > On Thu, Jan 17, 2019 at 07:42:44AM +, chenwandun wrote: > > > Recently, I do some tests on linux-4.19 and hit a softlockup issue. > > > > > > I find

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-21 Thread Catalin Marinas
On Sat, Jan 19, 2019 at 11:58:27PM +, Will Deacon wrote: > On Thu, Jan 17, 2019 at 07:42:44AM +, chenwandun wrote: > > Recently, I do some tests on linux-4.19 and hit a softlockup issue. > > > > I find some CPUs get the spinlock in the __split_huge_pmd function and > > then send IPI to