Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-26 Thread Stafford Horne
On Sat, Mar 22, 2025 at 07:21:18PM +0530, Sahil Siddiq wrote: > Hi Stafford, > > On 3/18/25 1:13 PM, Stafford Horne wrote: > > On Tue, Mar 18, 2025 at 12:06:30AM +0530, Sahil Siddiq wrote: > > > On 3/17/25 1:55 PM, Geert Uytterhoeven wrote: > > > > On Sun, 16 Mar 2025 at 07:59, Stafford Horne wro

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-22 Thread Sahil Siddiq
Hi, On 3/22/25 9:59 PM, Stafford Horne wrote: On Sat, Mar 22, 2025 at 07:21:18PM +0530, Sahil Siddiq wrote: On 3/18/25 1:13 PM, Stafford Horne wrote: On Tue, Mar 18, 2025 at 12:06:30AM +0530, Sahil Siddiq wrote: On 3/17/25 1:55 PM, Geert Uytterhoeven wrote: On Sun, 16 Mar 2025 at 07:59, Staf

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-22 Thread Sahil Siddiq
Hi, On 3/22/25 9:10 PM, Markus Elfring wrote: … This patch provides a mechanism … The patch also moves … See also: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.14-rc7#n94 Thank you. I'll change the wording

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-22 Thread Markus Elfring
… > This patch provides a mechanism … > The patch also moves … See also: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.14-rc7#n94 Regards, Markus

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-22 Thread Sahil Siddiq
Hi Stafford, On 3/18/25 1:13 PM, Stafford Horne wrote: On Tue, Mar 18, 2025 at 12:06:30AM +0530, Sahil Siddiq wrote: On 3/17/25 1:55 PM, Geert Uytterhoeven wrote: On Sun, 16 Mar 2025 at 07:59, Stafford Horne wrote: [...] @@ -176,8 +177,11 @@ void __init paging_init(void) barrier();

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-18 Thread Stafford Horne
Hi Sahil, On Tue, Mar 18, 2025 at 12:06:30AM +0530, Sahil Siddiq wrote: > Hello Stafford and Geert, > > Thank you for the reviews. > > On 3/17/25 1:55 PM, Geert Uytterhoeven wrote: > > On Sun, 16 Mar 2025 at 07:59, Stafford Horne wrote: > > > [...] > > > > +struct cache_desc { > > > > + u32

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-17 Thread Sahil Siddiq
Hello Stafford and Geert, Thank you for the reviews. On 3/17/25 1:55 PM, Geert Uytterhoeven wrote: On Sun, 16 Mar 2025 at 07:59, Stafford Horne wrote: [...] +struct cache_desc { + u32 size; + u32 sets; + u32 block_size; + u32 ways; Considering the changes below to add cache

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-17 Thread Stafford Horne
Hi Geert, On Mon, Mar 17, 2025 at 09:25:26AM +0100, Geert Uytterhoeven wrote: > Hi Stafford, > > On Sun, 16 Mar 2025 at 07:59, Stafford Horne wrote: > > On Sun, Mar 16, 2025 at 02:09:37AM +0530, Sahil Siddiq wrote: > > > Add cacheinfo support for OpenRISC. > > > > > > Currently, a few CPU cache

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-17 Thread Geert Uytterhoeven
Hi Stafford, On Sun, 16 Mar 2025 at 07:59, Stafford Horne wrote: > On Sun, Mar 16, 2025 at 02:09:37AM +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 a

Re: [PATCH v2] openrisc: Add cacheinfo support

2025-03-15 Thread Stafford Horne
On Sun, Mar 16, 2025 at 02:09:37AM +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

[PATCH v2] 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