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
..
2016-10-12 11:01:37 -07:00
2016-10-11 15:06:33 -07:00
2016-10-17 16:26:29 +01:00
2016-10-07 08:35:35 -07:00
2016-10-09 17:04:33 -07:00
2016-10-13 10:13:24 -04:00
2016-10-08 20:56:54 -07:00
2016-10-11 13:22:22 -07:00
2016-10-07 09:45:43 -07:00
2016-10-13 21:28:20 -07:00
2016-10-24 14:18:14 +02:00
2016-10-11 15:06:31 -07:00
2016-10-11 15:06:31 -07:00
2016-10-07 18:46:26 -07:00
2016-10-14 12:18:50 -07:00
2016-10-09 17:32:20 -07:00
2016-10-07 18:46:28 -07:00
2016-11-10 17:30:53 +01:00
2016-10-14 12:18:50 -07:00
2016-10-17 15:27:27 -07:00
2016-10-07 18:46:29 -07:00
2016-10-10 14:51:45 -07:00
2016-10-15 10:03:15 -07:00
2016-10-07 18:46:30 -07:00
2016-10-07 18:46:30 -07:00
2016-10-20 16:35:50 +02:00
2016-10-20 20:10:17 +02:00
2016-10-07 18:46:30 -07:00
2016-10-11 15:06:30 -07:00
2016-10-28 02:42:19 -04:00
2016-10-31 11:42:51 -06:00
2016-10-11 15:06:32 -07:00
2016-10-14 14:26:58 -07:00
2016-10-06 09:07:44 -04:00
2016-10-15 10:03:15 -07:00
2016-10-14 17:23:33 -07:00
2016-10-07 15:15:33 -07:00
2016-10-07 18:46:26 -07:00
2016-10-06 11:48:41 -07:00
2016-10-10 14:51:45 -07:00
2016-10-07 18:46:28 -07:00
2016-10-07 18:46:29 -07:00
2016-10-07 23:50:39 -04:00
2016-10-15 10:03:15 -07:00
2016-10-26 15:45:38 +10:00
2016-10-20 15:51:28 +11:00
2016-10-07 18:46:26 -07:00
2016-10-16 11:02:31 +02:00
2016-10-27 18:43:43 -07:00
2016-10-09 12:23:38 -07:00
2016-10-07 18:46:30 -07:00
2016-10-11 15:06:33 -07:00
2016-10-11 15:06:33 -07:00
2016-10-11 15:06:33 -07:00
2016-10-07 18:46:28 -07:00
2016-10-07 18:46:29 -07:00
2016-10-07 18:46:27 -07:00
2016-10-24 19:13:20 -07:00
2016-10-27 09:27:57 -07:00
2016-10-07 09:20:53 -07:00
2016-10-07 18:46:30 -07:00
2016-10-19 11:36:22 -06:00
2016-10-07 18:46:28 -07:00
2016-10-07 18:46:27 -07:00
2016-10-07 18:46:27 -07:00
2016-10-11 15:06:34 -07:00
2016-10-07 11:46:37 -07:00
2016-10-28 11:06:25 +02:00
2016-10-05 18:24:00 -04:00
2016-10-14 11:36:59 -07:00
2016-10-31 11:42:51 -06:00
2016-10-31 11:42:51 -06:00
2016-10-08 11:06:08 -04:00
2016-10-09 12:23:38 -07:00
2016-10-11 15:06:30 -07:00
2016-10-15 10:03:15 -07:00
2016-10-11 15:06:32 -07:00
2016-10-07 18:46:28 -07:00
2016-10-11 15:06:33 -07:00
2016-10-07 18:46:30 -07:00
2016-10-07 15:36:58 -07:00
2016-10-05 18:23:36 -04:00
2016-10-07 18:46:27 -07:00
2016-10-17 09:50:56 -07:00
2016-10-06 09:52:23 -07:00
2016-10-20 13:27:47 +02:00
2016-10-10 13:38:49 -07:00
2016-10-08 10:27:10 +02:00
2016-10-07 18:46:27 -07:00
2016-10-07 21:48:36 -04:00