mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 05:26:42 +07:00
b60b61d412
When adding CPU to the SMP group and enabling the coherency on this CPU we must protect the register access. The previous implementation claims to be atomic but doesn't provide any protection against parallel access to the coherency fabric control and configuration registers. This patch fixes this by using the ldrex and strex mechanism. This method should be used in all accesses to those registers. [gregory.clement@free-electrons.com: fixed the commit's topic] Signed-off-by: Nadav Haklai <nadavh@marvell.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net> |
||
---|---|---|
.. | ||
include/mach | ||
armada-370-xp.c | ||
armada-370-xp.h | ||
coherency_ll.S | ||
coherency.c | ||
coherency.h | ||
common.h | ||
headsmp.S | ||
hotplug.c | ||
Kconfig | ||
Makefile | ||
platsmp.c | ||
pmsu.c | ||
pmsu.h | ||
system-controller.c |