[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170314131119.GA10854@chokladfabriken.org>
Date: Tue, 14 Mar 2017 15:11:23 +0200
From: Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>
To: Sudeep Holla <sudeep.holla@....com>
Cc: Stafford Horne <shorne@...il.com>, Jonas Bonn <jonas@...thpole.se>,
linux@...ck-us.net, openrisc@...ts.librecores.org,
open list <linux-kernel@...r.kernel.org>,
Olof Kindgren <olof.kindgren@...il.com>,
Rob Herring <robh@...nel.org>
Subject: Re: [PATCH v3 02/25] openrisc: add cache way information to cpuinfo
On Tue, Mar 14, 2017 at 12:08:33PM +0000, Sudeep Holla wrote:
> On Tue, Feb 21, 2017 at 7:11 PM, Stafford Horne <shorne@...il.com> wrote:
> > From: Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>
> >
> > Motivation for this is to be able to print the way information
> > properly in print_cpuinfo(), instead of hardcoding it to one.
> >
>
> Any particular reason not to use generic cacheinfo sysfs infrastructure ?
>
No reason as far as I can see, the creation of this patch predates the
generic cacheinfo sysfs infrastructure.
The patch itself doesn't add cache information to cpuinfo though,
only corrects a bug in the information that is already there.
We should look into exposing the info in the generic cache info sysfs
and potentially removing the information from cpuinfo.
Stefan
Powered by blists - more mailing lists