Star64_linux/arch
Sudeep Holla fac5148257 drivers: base: cacheinfo: fix x86 with CONFIG_OF enabled
With CONFIG_OF enabled on x86, we get the following error on boot:
"
	Failed to find cpu0 device node
 	Unable to detect cache hierarchy from DT for CPU 0
"
and the cacheinfo fails to get populated in the corresponding sysfs
entries. This is because cache_setup_of_node looks for of_node for
setting up the shared cpu_map without checking that it's already
populated in the architecture specific callback.

In order to indicate that the shared cpu_map is already populated, this
patch introduces a boolean `cpu_map_populated` in struct cpu_cacheinfo
that can be used by the generic code to skip cache_shared_cpu_map_setup.

This patch also sets that boolean for x86.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-10 17:30:53 +01:00
..
alpha
arc ARC: module: print pretty section names 2016-10-28 10:10:29 -07:00
arm ARM: SoC fixes 2016-10-29 12:07:29 -07:00
arm64 ARM: SoC fixes 2016-10-29 12:07:29 -07:00
avr32
blackfin
c6x
cris cris/arch-v32: cryptocop: print a hex number after a 0x prefix 2016-10-27 18:43:43 -07:00
frv
h8300 h8300: fix syscall restarting 2016-10-27 18:43:42 -07:00
hexagon
ia64
m32r
m68k
metag
microblaze
mips KVM fixes for v4.9-rc2 2016-10-21 19:09:29 -07:00
mn10300
nios2
openrisc
parisc
powerpc powerpc fixes for 4.9 #4 2016-10-28 16:52:28 -07:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2016-10-27 14:16:30 -07:00
score
sh
sparc
tile
um
unicore32
x86 drivers: base: cacheinfo: fix x86 with CONFIG_OF enabled 2016-11-10 17:30:53 +01:00
xtensa
.gitignore
Kconfig