Re: [RFC] openrisc: Add cacheinfo support

2025-03-15 Thread Sahil Siddiq
Hi, On 3/15/25 2:26 AM, Stafford Horne wrote: On Sat, Mar 15, 2025 at 01:34:03AM +0530, Sahil Siddiq wrote: On 3/14/25 2:54 AM, Stafford Horne wrote: On Tue, Mar 11, 2025 at 12:43:57AM +0530, Sahil Siddiq wrote: Add cacheinfo support for OpenRISC. [...] None of the functions in drivers/base/

[RFC] openrisc: Add cacheinfo support

2025-03-15 Thread Sahil Siddiq
Add cacheinfo support for OpenRISC. Currently, a few CPU cache attributes pertaining to OpenRISC processors are exposed along with other unrelated CPU attributes in the procfs file system (/proc/cpuinfo). However, a few cache attributes remain unexposed. An attempt is also made to pull these CPU c

Re: [RFC] openrisc: Add cacheinfo support

2025-03-14 Thread Stafford Horne
On Sat, Mar 15, 2025 at 01:34:03AM +0530, Sahil Siddiq wrote: > Hi, > > On 3/14/25 2:54 AM, Stafford Horne wrote: > > On Tue, Mar 11, 2025 at 12:43:57AM +0530, Sahil Siddiq wrote: > > > Add cacheinfo support for OpenRISC. > > > > > > [...] > > > None of the functions in drivers/base/cacheinfo.c t

Re: [RFC] openrisc: Add cacheinfo support

2025-03-14 Thread Sahil Siddiq
Hi, On 3/14/25 2:54 AM, Stafford Horne wrote: On Tue, Mar 11, 2025 at 12:43:57AM +0530, Sahil Siddiq wrote: Add cacheinfo support for OpenRISC. [...] None of the functions in drivers/base/cacheinfo.c that are capable of pulling these details (e.g.: cache_size) have been used. This is because t

Re: [RFC] openrisc: Add cacheinfo support

2025-03-13 Thread Stafford Horne
On Tue, Mar 11, 2025 at 12:43:57AM +0530, Sahil Siddiq wrote: > Add cacheinfo support for OpenRISC. > > Currently, a few CPU cache attributes pertaining to OpenRISC processors > are exposed along with other unrelated CPU attributes in the procfs file > system (/proc/cpuinfo). However, a few cache