From: Marc Zyngier Date: Fri, 21 Jun 2013 11:07:27 +0000 (+0100) Subject: ARM: 7769/1: Cortex-A15: fix erratum 798181 implementation X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2~1^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d0752bca1f9a91fb646647aa4abbb21156f316c;p=pandora-kernel.git ARM: 7769/1: Cortex-A15: fix erratum 798181 implementation Looking into the active_asids array is not enough, as we also need to look into the reserved_asids array (they both represent processes that are currently running). Also, not holding the ASID allocator lock is racy, as another CPU could schedule that process and trigger a rollover, making the erratum workaround miss an IPI. Exposing this outside of context.c is a little ugly on the side, so let's define a new entry point that the erratum workaround can call to obtain the cpumask. Cc: # 3.9 Acked-by: Will Deacon Acked-by: Catalin Marinas Signed-off-by: Marc Zyngier Signed-off-by: Russell King --- Reading git-diff-tree failed