[PATCH RFC/RFT v2 5/8] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-08 Thread Sudeep Holla
From: Sudeep Holla This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure. Signed-off-by: Sudeep Holla Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/cacheinfo.c | 8

Re: [PATCH v2] powerpc/powernv: Platform dump interface

2014-02-08 Thread Anton Blanchard
Hi Vasant, > +static void free_dump_sg_list(struct opal_sg_list *list) > +{ > + struct opal_sg_list *sg1; > + while (list) { > + sg1 = list->next; > + kfree(list); > + list = sg1; > + } > + list = NULL; > +} > + > +/* > + * Build dump buffer sca