Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-10 Thread Dave Olson
Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Tue, 2015-02-10 at 00:00 -0800, Dave Olson wrote: OK, now that I understand that's the case, I'll have to go back and re-do the patch to handle both cache-size and d-cache-size for the L2 cache (using whichever is present). I

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-10 Thread Benjamin Herrenschmidt
On Tue, 2015-02-10 at 00:00 -0800, Dave Olson wrote: OK, now that I understand that's the case, I'll have to go back and re-do the patch to handle both cache-size and d-cache-size for the L2 cache (using whichever is present). I notice that you also didn't modify all the other properties, I

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-10 Thread Dave Olson
Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Mon, 2015-02-09 at 15:43 -0800, Dave Olson wrote: Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-10 Thread Benjamin Herrenschmidt
On Tue, 2015-02-10 at 08:55 -0800, Dave Olson wrote: Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Tue, 2015-02-10 at 00:00 -0800, Dave Olson wrote: OK, now that I understand that's the case, I'll have to go back and re-do the patch to handle both cache-size and

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Michael Ellerman
On Tue, 2015-02-10 at 11:12 +1100, Benjamin Herrenschmidt wrote: On Mon, 2015-02-09 at 15:43 -0800, Dave Olson wrote: Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2

[PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Dave Olson
From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in /sys/devices/system/cpu/cpu0/cache/index2/size This bug appears to be introduced in 2.6.29 by 93197a36a9c16a85fb24cf5a8639f7bf9af838a3. The missing entry caused lscpu to error out on e500v2 devices, and probably others

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Dave Olson
Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in /sys/devices/system/cpu/cpu0/cache/index2/size This bug appears to be introduced in 2.6.29 by

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Benjamin Herrenschmidt
On Mon, 2015-02-09 at 15:43 -0800, Dave Olson wrote: Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in /sys/devices/system/cpu/cpu0/cache/index2/size This

Re: [PATCH 1/1] powerpc: fix missing L2 cache size in /sys/devices/system/cpu

2015-02-09 Thread Michael Ellerman
On Mon, 2015-02-09 at 14:14 -0800, Dave Olson wrote: From: Dave Olson ol...@cumulusnetworks.com Fix missing L2 cache size in /sys/devices/system/cpu/cpu0/cache/index2/size This bug appears to be introduced in 2.6.29 by 93197a36a9c16a85fb24cf5a8639f7bf9af838a3. The missing entry caused