Files
android_kernel_xiaomi_sm8450/arch/arm/kernel
Marc Zyngier 0d0752bca1 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: <stable@vger.kernel.org> # 3.9
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-06-24 15:27:35 +01:00
..
2008-08-12 19:54:09 +01:00
2013-03-03 22:54:18 +00:00
2012-03-28 18:30:01 +01:00
2012-07-01 21:59:19 +08:00
2013-04-03 16:45:51 +01:00
2012-03-24 09:38:56 +00:00
2010-10-29 13:14:40 -05:00
2012-03-28 18:30:01 +01:00
2013-05-05 00:07:22 -04:00