Re: [PATCH] parisc: Remove lock code to serialize TLB operations in pacache.S

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 12, 2019 at 07:12:04PM -0400, John David Anglin wrote:
> TLB operations only need to be serialized on machines with the Merced (Stretch) bus.
> The only machines in this category are L and N class, and they require a 64-bit PA 2.0
> kernel.  On these machines, we use local TLB purges in the tmpalias routines.  We don't
> need to serialize TLB purges on all other machines.  Thus, the lock/unlock code can be
> removed when CONFIG_PA20 is not defined.  Further, when CONFIG_PA20 is not defined,
> alternative patching converts the TLB purges to local purges when PA 2.0 hardware has
> been detected.
> 
> Signed-off-by: John David Anglin <dave.anglin@xxxxxxxx>

I had this patch running on my C8000 and J5000 for a few days, and haven't
encountered any issues.

Tested-By: Sven Schnelle <svens@xxxxxxxxxxxxxx>

Regards
Sven



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux