[PATCH v4 2/2] powerpc/pseries: Implement indexed-count hotplug memory remove

2016-08-01 Thread Sahil Mehta
idual calls. Indexed-count remove reduces this series into a single call. Signed-off-by: Sahil Mehta --- v2: -use u32s drc_index and count instead of u32 ic[] in dlpar_memory v3: -add logic to handle invalid drc_index input v4: -none arch/powerpc/platforms/pseries/hotplug-mem

[PATCH v4 1/2] powerpc/pseries: Implement indexed-count hotplug memory add

2016-08-01 Thread Sahil Mehta
calls. Indexed-count add reduces this series into a single call. Signed-off-by: Sahil Mehta --- v2: -remove potential memory leak when parsing command -use u32s drc_index and count instead of u32 ic[] in dlpar_memory v3: -add logic to handle invalid drc_index input -u

[PATCH v4 0/2] powerpc/pseries: Implement indexed-count hotplug memory management

2016-08-01 Thread Sahil Mehta
: -- -[PATCH 1/2]: -add logic to handle kstrdup failure -add logic to handle invalid command format -Sahil Mehta --- include/asm/rtas.h |2 platforms/pseries/dlpar.c | 48 platforms/pseries/hotplug-memory.c | 200

[PATCH v3 2/2] powerpc/pseries: Implement indexed-count hotplug memory remove

2016-07-25 Thread Sahil Mehta
idual calls. Indexed-count remove reduces this series into a single call. Signed-off-by: Sahil Mehta --- v2: -use u32s drc_index and count instead of u32 ic[] in dlpar_memory v3: -add logic to handle invalid drc_index input arch/powerpc/platforms/pseries/hotplug-memory.c |

[PATCH v3 1/2] powerpc/pseries: Implement indexed-count hotplug memory add

2016-07-25 Thread Sahil Mehta
calls. Indexed-count add reduces this series into a single call. Signed-off-by: Sahil Mehta --- v2: -remove potential memory leak when parsing command -use u32s drc_index and count instead of u32 ic[] in dlpar_memory v3: -add logic to handle invalid drc_index input -u

[PATCH v3 0/2] powerpc/pseries: Implement indexed-count hotplug memory management

2016-07-25 Thread Sahil Mehta
: -- -[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 -Sahil Mehta --- include/asm

[PATCH v2 1/2] powerpc/pseries: Implemented indexed-count hotplug memory add

2016-07-18 Thread Sahil Mehta
calls. Indexed-count add reduces this series into a single call. Signed-off-by: Sahil Mehta --- v2: -remove potential memory leak when parsing command -use u32s drc_index and count instead of u32 ic[] in dlpar_memory arch/powerpc/include/asm/rtas.h |2

[PATCH v2 2/2] powerpc/pseries: Implemented indexed-count hotplug memory remove

2016-07-18 Thread Sahil Mehta
idual calls. Indexed-count remove reduces this series into a single call. Signed-off-by: Sahil Mehta --- v2: -use u32s drc_index and count instead of u32 ic[] in dlpar_memory arch/powerpc/platforms/pseries/hotplug-memory.c | 84 +++ 1 file changed, 84 inser

[PATCH v2 0/2] powerpc/pseries: Implemented indexed-count hotplug memory management

2016-07-18 Thread Sahil Mehta
: -- -[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 -Sahil Mehta --- include

[PATCH 2/2] powerpc/pseries: Implemented indexed-count hotplug memory remove

2016-06-30 Thread Sahil Mehta
idual calls. Indexed-count remove reduces this series into a single call. Signed-off-by: Sahil Mehta --- arch/powerpc/platforms/pseries/hotplug-memory.c | 85 +++ 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b

[PATCH 1/2] powerpc/pseries: Implemented indexed-count hotplug memory add

2016-06-30 Thread Sahil Mehta
calls. Indexed-count add reduces this series into a single call. Signed-off-by: Sahil Mehta --- arch/powerpc/include/asm/rtas.h |2 arch/powerpc/platforms/pseries/dlpar.c | 32 ++- arch/powerpc/platforms/pseries/hotplug-memory.c | 109 --- 3

[PATCH 0/2] powerpc/pseries: Implemented indexed-count hotplug memory management

2016-06-30 Thread Sahil Mehta
preventing buffer overflow. -Sahil Mehta --- include/asm/rtas.h |2 platforms/pseries/dlpar.c | 32 +- platforms/pseries/hotplug-memory.c | 194 ++--- 3 files changed, 210 insertions(+), 18 deletions