Re: [PATCH] drivers/base: cacheinfo: validate device node for all the caches

2015-02-23 Thread Sudeep Holla
On 23/02/15 15:14, Mark Rutland wrote: On Mon, Feb 16, 2015 at 02:10:16PM +, Sudeep Holla wrote: On architectures that depend on DT for obtaining cache hierarcy, we need to validate the device node for all the cache indices, failing to do so might result in wrong information being exposed

Re: [PATCH] drivers/base: cacheinfo: validate device node for all the caches

2015-02-23 Thread Mark Rutland
On Mon, Feb 16, 2015 at 02:10:16PM +, Sudeep Holla wrote: > On architectures that depend on DT for obtaining cache hierarcy, we need > to validate the device node for all the cache indices, failing to do so > might result in wrong information being exposed to the userspace. > > This is quite

Re: [PATCH] drivers/base: cacheinfo: validate device node for all the caches

2015-02-23 Thread Mark Rutland
On Mon, Feb 16, 2015 at 02:10:16PM +, Sudeep Holla wrote: On architectures that depend on DT for obtaining cache hierarcy, we need to validate the device node for all the cache indices, failing to do so might result in wrong information being exposed to the userspace. This is quite

Re: [PATCH] drivers/base: cacheinfo: validate device node for all the caches

2015-02-23 Thread Sudeep Holla
On 23/02/15 15:14, Mark Rutland wrote: On Mon, Feb 16, 2015 at 02:10:16PM +, Sudeep Holla wrote: On architectures that depend on DT for obtaining cache hierarcy, we need to validate the device node for all the cache indices, failing to do so might result in wrong information being exposed

[PATCH] drivers/base: cacheinfo: validate device node for all the caches

2015-02-16 Thread Sudeep Holla
On architectures that depend on DT for obtaining cache hierarcy, we need to validate the device node for all the cache indices, failing to do so might result in wrong information being exposed to the userspace. This is quite possible on initial/incomplete versions of the device trees. In such

[PATCH] drivers/base: cacheinfo: validate device node for all the caches

2015-02-16 Thread Sudeep Holla
On architectures that depend on DT for obtaining cache hierarcy, we need to validate the device node for all the cache indices, failing to do so might result in wrong information being exposed to the userspace. This is quite possible on initial/incomplete versions of the device trees. In such