mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-27 06:41:11 +07:00
d3a875444a
All backends are reimplementing a variation of the same CPU reference count handling. They are also responsible for driving the MCPM special low-level locking. This is needless duplication, involving algorithmic requirements that are not necessarily obvious to the uninitiated. And from past code review experience, those were all initially implemented badly. After 3 years, it is time to refactor as much common code to the core MCPM facility to make the backends as simple as possible. To avoid a flag day, the new scheme is introduced in parallel to the existing backend interface. When all backends are converted over, the compatibility interface could be removed. The new MCPM backend interface implements simpler methods addressing very platform specific tasks performed under lock protection while keeping the algorithmic complexity and race avoidance local to the core code. Signed-off-by: Nicolas Pitre <nico@linaro.org> Tested-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net> |
||
---|---|---|
.. | ||
bL_switcher_dummy_if.c | ||
bL_switcher.c | ||
dmabounce.c | ||
edma.c | ||
firmware.c | ||
icst.c | ||
it8152.c | ||
Kconfig | ||
locomo.c | ||
Makefile | ||
mcpm_entry.c | ||
mcpm_head.S | ||
mcpm_platsmp.c | ||
sa1111.c | ||
scoop.c | ||
sharpsl_param.c | ||
timer-sp.c | ||
vlock.h | ||
vlock.S |