Skip to content

Unisolate LMBs DRC on removal error + cleanups

Daniel Henrique Barboza linuxppc-dev 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesApplied
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- patch 1: added David's r-b
- patch 2:
* removed the DRCONF_MEM_RESERVED assumption for dlpar_memory_remove_by_ic()
* reworded the commit msg
- patch 3: dropped. the differences between dlpar_memory_remove_by_ic() and dlpar_memory_remove_by_count() makes a helper function too complex to handle both cases
- (new) patch 3 and 4: minor enhancements

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4powerpc/pseries: Set UNISOLATE on dlpar_memory_remove_by_ic() errorarch/powerpc/platforms/pseries/hotplug-memory.c+7 -00 replies
2/4powerpc/pseries: check DRCONF_MEM_RESERVED in lmb_is_removable()arch/powerpc/platforms/pseries/hotplug-memory.c+2 -11 reply
3/4powerpc/pseries: break early in dlpar_memory_remove_by_count() loopsarch/powerpc/platforms/pseries/hotplug-memory.c+12 -41 reply
4/4powerpc/pseries: minor enhancements in dlpar_memory_remove_by_ic()arch/powerpc/platforms/pseries/hotplug-memory.c+19 -91 reply

Reviews trailers per patch

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

PatchDavid Gibson
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Unisolate LMBs DRC on removal error + cleanups

changes from v1:
- patch 1: added David's r-b
- patch 2:
* removed the DRCONF_MEM_RESERVED assumption for dlpar_memory_remove_by_ic()
* reworded the commit msg
- patch 3: dropped. the differences between dlpar_memory_remove_by_ic() and dlpar_memory_remove_by_count() makes a helper function too complex to handle both cases
- (new) patch 3 and 4: minor enhancements

v1 link: https://lore.kernel.org/linuxppc-dev/[email protected]/

Daniel Henrique Barboza (4):
powerpc/pseries: Set UNISOLATE on dlpar_memory_remove_by_ic() error powerpc/pseries: check DRCONF_MEM_RESERVED in lmb_is_removable() powerpc/pseries: break early in dlpar_memory_remove_by_count() loops powerpc/pseries: minor enhancements in dlpar_memory_remove_by_ic()

 .../platforms/pseries/hotplug-memory.c        | 54 ++++++++++++++-----
 1 file changed, 40 insertions(+), 14 deletions(-)
Signature · 1 line
2.31.1