Skip to content

live partition migration vs cacheinfo

Nathan Lynch linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/cacheinfo: add cacheinfo_teardown, cacheinfo_rebuildarch/powerpc/kernel/cacheinfo.c arch/powerpc/kernel/cacheinfo.h+25 -02 replies
2/3powerpc/pseries/mobility: prevent cpu hotplug during DT updatearch/powerpc/platforms/pseries/mobility.c+9 -01 reply
3/3powerpc/pseries/mobility: rebuild cacheinfo hierarchy post-migrationarch/powerpc/platforms/pseries/mobility.c+10 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchGautham R. Shenoy
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] live partition migration vs cacheinfo

Partition migration often results in the platform telling the OS to replace all the cache nodes in the device tree. The cacheinfo code has no knowledge of this, and continues to maintain references to the deleted/detached nodes, causing subsequent CPU online/offline operations to get warnings and oopses. This series addresses this longstanding issue by providing an interface to the cacheinfo layer that the migration code uses to rebuild the cacheinfo data structures at a safe time after migration, with appropriate serialization vs CPU hotplug.

Nathan Lynch (3):
powerpc/cacheinfo: add cacheinfo_teardown, cacheinfo_rebuild powerpc/pseries/mobility: prevent cpu hotplug during DT update powerpc/pseries/mobility: rebuild cacheinfo hierarchy post-migration

 arch/powerpc/kernel/cacheinfo.c           | 21 +++++++++++++++++++++
 arch/powerpc/kernel/cacheinfo.h           |  4 ++++
 arch/powerpc/platforms/pseries/mobility.c | 19 +++++++++++++++++++
 3 files changed, 44 insertions(+)
Signature · 1 line
2.20.1