[1/2] powerpc/mm: Add tracking of the number of coprocessors using a context

Michael Ellerman patch-notifications at ellerman.id.au
Fri Mar 23 22:11:13 AEDT 2018


On Thu, 2018-03-22 at 22:29:05 UTC, Balbir Singh wrote:
> From: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> 
> Currently, when using coprocessors (which use the Nest MMU), we
> simply increment the active_cpu count to force all TLB invalidations
> to be come broadcast.
> 
> Unfortunately, due to an errata in POWER9, we will need to know
> more specifically that coprocessors are in use.
> 
> This maintains a separate copros counter in the MMU context for
> that purpose.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Tested-by: Balbir Singh <bsingharora at gmail.com>

Series applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/aff6f8cb3e2170b9e58b0932bce7bf

cheers


More information about the Linuxppc-dev mailing list