Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-18 Thread Heiko Carstens
Hi Sudeep, > > Please have a look at these two commits which should describe why things > > are as they are on s390: > > > > 881730ad365130f64b5c70c40904b04eb3b79de3 > > "s390/cache: expose cpu cache topology via sysfs" > > 6668022c7bde3fdc96d3d257294a7216c7a46829 > > "s390/cache: add cpu

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-18 Thread Heiko Carstens
Hi Sudeep, Please have a look at these two commits which should describe why things are as they are on s390: 881730ad365130f64b5c70c40904b04eb3b79de3 s390/cache: expose cpu cache topology via sysfs 6668022c7bde3fdc96d3d257294a7216c7a46829 s390/cache: add cpu cache information to

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-17 Thread Sudeep Holla
Hi Heiko, On 10/02/14 11:30, Heiko Carstens wrote: > On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: >> From: Sudeep Holla >> >> This patch removes the redundant sysfs cacheinfo code by making use of >> the newly introduced generic cacheinfo infrastructure. >> >> Signed-off-by:

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-17 Thread Sudeep Holla
Hi Heiko, On 10/02/14 11:30, Heiko Carstens wrote: On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure.

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Heiko Carstens
On Mon, Feb 10, 2014 at 11:34:55AM +, Sudeep Holla wrote: > On 10/02/14 09:50, Heiko Carstens wrote: > > On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: > >> - show_cacheinfo(m); > >>} > >>get_online_cpus(); > >>if (cpu_online(n)) { > > > > You can't remove

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Sudeep Holla
On 10/02/14 11:30, Heiko Carstens wrote: > On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: >> 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

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Sudeep Holla
On 10/02/14 09:50, Heiko Carstens wrote: > On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: >> 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

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Heiko Carstens
On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: > 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 [...] > -static ssize_t

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Heiko Carstens
On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: > 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: Martin Schwidefsky > Cc: Heiko Carstens

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Heiko Carstens
On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure. Signed-off-by: Sudeep Holla sudeep.ho...@arm.com Cc: Martin

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Heiko Carstens
On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure. Signed-off-by: Sudeep Holla sudeep.ho...@arm.com [...]

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Sudeep Holla
On 10/02/14 09:50, Heiko Carstens wrote: On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure. Signed-off-by: Sudeep

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Sudeep Holla
On 10/02/14 11:30, Heiko Carstens wrote: On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure. Signed-off-by: Sudeep

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Heiko Carstens
On Mon, Feb 10, 2014 at 11:34:55AM +, Sudeep Holla wrote: On 10/02/14 09:50, Heiko Carstens wrote: On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: - show_cacheinfo(m); } get_online_cpus(); if (cpu_online(n)) { You can't remove that. It's a user

[PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-07 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: Martin Schwidefsky Cc: Heiko Carstens Cc: linux...@de.ibm.com Cc: linux-s...@vger.kernel.org ---

[PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-07 Thread Sudeep Holla
From: Sudeep Holla sudeep.ho...@arm.com This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure. Signed-off-by: Sudeep Holla sudeep.ho...@arm.com Cc: Martin Schwidefsky schwidef...@de.ibm.com Cc: Heiko Carstens