linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/3] powerpc/pseries: Implement indexed-count memory hotplug
@ 2016-10-18 17:20 Nathan Fontenot
  2016-10-18 17:20 ` [PATCH v6 1/3] powerpc/pseries: Correct possible read beyond dlpar sysfs buffer Nathan Fontenot
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Nathan Fontenot @ 2016-10-18 17:20 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: sahilmehta17

Indexed-count memory management allows addition and removal of contiguous
lmb blocks with a single command. When compared to the series of calls
previously required to manage contiguous blocks, indexed-count decreases
command frequency and reduces risk of buffer overflow.

-Nathan
---

Changes in v2:
--------------
-[PATCH 1/2]:	-remove potential memory leak when parsing command
		-use u32s drc_index and count instead of u32 ic[]
		 in dlpar_memory
-[PATCH 2/2]:	-use u32s drc_index and count instead of u32 ic[]
		 in dlpar_memory

Changes in v3:
--------------
-[PATCH 1/2]:	-add logic to handle invalid drc_index input
		-update indexed-count trigger to follow naming convention
		-update dlpar_memory to follow kernel if-else style
-[PATCH 2/2]:	-add logic to handle invalid drc_index input

Changes in v4:
--------------
-[PATCH 1/2]:	-add logic to handle kstrdup failure
		-add logic to handle invalid command format

Changes in v5:
--------------
-[PATCH 2/2]:   -update for() loop to use start_index

Changes in v6:
-------------
-[PATCH 1/3]:	-Added new patch 1 that corrects reading past the end of
		 the sysfs buffer when parsing sysfs input.
-[PATCH 2/3]:	-Updated sysfs buffer parsing

Nathan Fontenot (1):
      powerpc/pseries: Correct possible read beyond dlpar sysfs buffer

Sahil Mehta (2):
      powerpc/pseries: Implement indexed-count hotplug memory add
      powerpc/pseries: Implement indexed-count hotplug memory remove


 arch/powerpc/include/asm/rtas.h                 |    2 
 arch/powerpc/platforms/pseries/dlpar.c          |  177 +++++++++++++++-----
 arch/powerpc/platforms/pseries/hotplug-memory.c |  200 ++++++++++++++++++++++-
 3 files changed, 323 insertions(+), 56 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-15 20:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18 17:20 [PATCH v6 0/3] powerpc/pseries: Implement indexed-count memory hotplug Nathan Fontenot
2016-10-18 17:20 ` [PATCH v6 1/3] powerpc/pseries: Correct possible read beyond dlpar sysfs buffer Nathan Fontenot
2016-10-27 14:20   ` John Allen
2016-10-18 17:20 ` [PATCH v6 2/3] powerpc/pseries: Implement indexed-count hotplug memory add Nathan Fontenot
2016-10-27 14:21   ` John Allen
2016-10-18 17:21 ` [PATCH v6 3/3] powerpc/pseries: Implement indexed-count hotplug memory remove Nathan Fontenot
2016-10-27 14:22   ` John Allen
2016-11-15  0:58   ` Michael Roth
2016-11-15 20:09     ` Nathan Fontenot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).