Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread David Miller
From: James Clarke Date: Wed, 26 Oct 2016 09:28:05 +0100 > Any progress on TLB flushing? I was half-way through an implementation when I noticed that hypervisor TLB flush handler relative branch bug I posted the fix for last night. I'll keep plugging away at it today.

Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread James Clarke
> On 26 Oct 2016, at 22:02, David Miller wrote: > > From: James Clarke > Date: Wed, 26 Oct 2016 21:05:36 +0100 > >> Thanks for this, it's now compiling. I'll let you know if it works >> within the next 24 hours. > > Thanks. > >> Before I forget, what

Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread James Clarke
> On 26 Oct 2016, at 16:54, David Miller wrote: > > From: James Clarke > Date: Wed, 26 Oct 2016 09:28:05 +0100 > >> Any progress on TLB flushing? > > I was half-way through an implementation when I noticed that > hypervisor TLB flush handler relative

Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread David Miller
From: James Clarke Date: Wed, 26 Oct 2016 17:58:16 +0100 >> On 26 Oct 2016, at 16:54, David Miller wrote: >> >> From: James Clarke >> Date: Wed, 26 Oct 2016 09:28:05 +0100 >> >>> Any progress on TLB flushing? >> >> I was half-way

Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread James Clarke
On Wed, Oct 26, 2016 at 03:04:59PM -0400, David Miller wrote: > From: James Clarke > Date: Wed, 26 Oct 2016 18:21:06 +0100 > > >> On 26 Oct 2016, at 18:09, David Miller wrote: > >> > >> From: James Clarke > >> Date: Wed, 26 Oct 2016

Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread David Miller
From: James Clarke Date: Wed, 26 Oct 2016 18:21:06 +0100 >> On 26 Oct 2016, at 18:09, David Miller wrote: >> >> From: James Clarke >> Date: Wed, 26 Oct 2016 17:58:16 +0100 >> On 26 Oct 2016, at 16:54, David Miller

Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread James Clarke
> On 26 Oct 2016, at 03:44, David Miller wrote: > > > If the number of pages we are flushing is more than twice the number > of entries in the TSB, just scan the TSB table for matches rather > than probing each and every page in the range. > > Based upon a patch and report

Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread David Miller
From: James Clarke Date: Wed, 26 Oct 2016 21:05:36 +0100 > Thanks for this, it's now compiling. I'll let you know if it works > within the next 24 hours. Thanks. > Before I forget, what do you think about the following patch? I know > Debian used to use the 64-bit kernel for

Re: [PATCH] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-10-26 Thread James Clarke
> On 26 Oct 2016, at 18:09, David Miller wrote: > > From: James Clarke > Date: Wed, 26 Oct 2016 17:58:16 +0100 > >>> On 26 Oct 2016, at 16:54, David Miller wrote: >>> >>> From: James Clarke >>> Date: Wed, 26 Oct