summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorDave Olson <olson@cumulusnetworks.com>2015-04-02 21:28:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-06 22:03:55 +0200
commit7ef1951eca49005fdbb4768574b7076cae1eeb4c (patch)
treed66508b68341b1ca397a02d54a46fc9260b441ce /arch/s390
parentaa54f8fb00ef9c739f564672048ec0fcc08a61dc (diff)
powerpc: Fix missing L2 cache size in /sys/devices/system/cpu
commit f7e9e358362557c3aa2c1ec47490f29fe880a09e upstream. This problem appears to have been introduced in 2.6.29 by commit 93197a36a9c1 "Rewrite sysfs processor cache info code". This caused lscpu to error out on at least e500v2 devices, eg: error: cannot open /sys/devices/system/cpu/cpu0/cache/index2/size: No such file or directory Some embedded powerpc systems use cache-size in DTS for the unified L2 cache size, not d-cache-size, so we need to allow for both DTS names. Added a new CACHE_TYPE_UNIFIED_D cache_type_info structure to handle this. Fixes: 93197a36a9c1 ("powerpc: Rewrite sysfs processor cache info code") Signed-off-by: Dave Olson <olson@cumulusnetworks.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions