Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-09-02 Thread Greg Kroah-Hartman
On Tue, Sep 02, 2014 at 06:40:21PM +0100, Sudeep Holla wrote: > Hi Greg, > > On 02/09/14 18:26, Greg Kroah-Hartman wrote: > >On Tue, Sep 02, 2014 at 06:22:07PM +0100, Sudeep Holla wrote: > >>Hi Greg, > >> > >>On 22/08/14 12:29, Sudeep Holla wrote: > >>>From: Sudeep Holla > >>> > >>>This patch add

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-09-02 Thread Sudeep Holla
Hi Greg, On 02/09/14 18:26, Greg Kroah-Hartman wrote: On Tue, Sep 02, 2014 at 06:22:07PM +0100, Sudeep Holla wrote: Hi Greg, On 22/08/14 12:29, Sudeep Holla wrote: From: Sudeep Holla This patch adds a new function to create per-cpu devices. This helps in: 1. reusing the device infrastructur

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-09-02 Thread Greg Kroah-Hartman
On Tue, Sep 02, 2014 at 06:22:07PM +0100, Sudeep Holla wrote: > Hi Greg, > > On 22/08/14 12:29, Sudeep Holla wrote: > >From: Sudeep Holla > > > >This patch adds a new function to create per-cpu devices. > >This helps in: > >1. reusing the device infrastructure to create any cpu related > >att

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-09-02 Thread Sudeep Holla
Hi Greg, On 22/08/14 12:29, Sudeep Holla wrote: From: Sudeep Holla This patch adds a new function to create per-cpu devices. This helps in: 1. reusing the device infrastructure to create any cpu related attributes and corresponding sysfs instead of creating and dealing with raw kobject

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-08-26 Thread David Herrmann
Hi On Tue, Aug 26, 2014 at 6:54 PM, Sudeep Holla wrote: >> Yes, it's not done on purpose as mentioned in the commit log. >> E.g.: cacheinfo topology will be as below >> >> /sys/devices/system/cpu/cpuX/cache/index0/ >> /sys/devices/system/cpu/cpuX/cache/index1/ >> .. >> /sys/devices/system/cpu/cpu

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-08-26 Thread Sudeep Holla
Hi David, On 22/08/14 13:33, Sudeep Holla wrote: On 22/08/14 12:41, David Herrmann wrote: Hi On Fri, Aug 22, 2014 at 1:37 PM, David Herrmann wrote: Hi On Fri, Aug 22, 2014 at 1:29 PM, Sudeep Holla wrote: From: Sudeep Holla This patch adds a new function to create per-cpu devices. This

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-08-22 Thread Sudeep Holla
On 22/08/14 12:41, David Herrmann wrote: Hi On Fri, Aug 22, 2014 at 1:37 PM, David Herrmann wrote: Hi On Fri, Aug 22, 2014 at 1:29 PM, Sudeep Holla wrote: From: Sudeep Holla This patch adds a new function to create per-cpu devices. This helps in: 1. reusing the device infrastructure to

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-08-22 Thread Sudeep Holla
On 22/08/14 12:37, David Herrmann wrote: Hi On Fri, Aug 22, 2014 at 1:29 PM, Sudeep Holla wrote: From: Sudeep Holla This patch adds a new function to create per-cpu devices. This helps in: 1. reusing the device infrastructure to create any cpu related attributes and corresponding sysfs

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-08-22 Thread David Herrmann
Hi On Fri, Aug 22, 2014 at 1:37 PM, David Herrmann wrote: > Hi > > On Fri, Aug 22, 2014 at 1:29 PM, Sudeep Holla wrote: >> From: Sudeep Holla >> >> This patch adds a new function to create per-cpu devices. >> This helps in: >> 1. reusing the device infrastructure to create any cpu related >>

Re: [PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-08-22 Thread David Herrmann
Hi On Fri, Aug 22, 2014 at 1:29 PM, Sudeep Holla wrote: > From: Sudeep Holla > > This patch adds a new function to create per-cpu devices. > This helps in: > 1. reusing the device infrastructure to create any cpu related >attributes and corresponding sysfs instead of creating and >dealin

[PATCH] drivers: base: add cpu_device_create to support per-cpu devices

2014-08-22 Thread Sudeep Holla
From: Sudeep Holla This patch adds a new function to create per-cpu devices. This helps in: 1. reusing the device infrastructure to create any cpu related attributes and corresponding sysfs instead of creating and dealing with raw kobjects directly 2. retaining the legacy path(/sys/devices/