Re: [PATCH v3 02/18] cacheinfo: Introduce cache id

2016-10-08 Thread Nilay Vaish
On 7 October 2016 at 21:45, Fenghua Yu wrote: > From: Fenghua Yu > > diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c > index e9fd32e..2a21c15 100644 > --- a/drivers/base/cacheinfo.c > +++ b/drivers/base/cacheinfo.c > @@ -233,6 +233,7 @@ static ssize_t file_name##_show(struct devi

[PATCH v3 02/18] cacheinfo: Introduce cache id

2016-10-07 Thread Fenghua Yu
From: Fenghua Yu Cache management software needs a name for each instance of a cache of a particular type. The current cacheinfo structure does not provide any information about the underlying hardware so there is no way to expose it. Hardware with cache management features provides means (cpui