Revision f9058929f2acbb273ec83104ebeeab0593595e15 authored by Hanjun Guo on 03 July 2015, 07:29:06 UTC, committed by Catalin Marinas on 03 July 2015, 10:48:57 UTC
It is normal that firmware presents GICC entry or entries (processors) with disabled flag in ACPI MADT, taking a system of 16 cpus for example, ACPI firmware may present 8 ebabled first with another 8 cpus disabled in MADT, the disabled cpus can be hot-added later. Firmware may also present more cpus than the hardware actually has, but disabled the unused ones, and easily enable it when the hardware has such cpus to make the firmware code scalable. So that's not an error for disabled cpus in MADT, we can switch pr_err() to pr_debug() to make the boot a little quieter by default. Since hwid for disabled cpus often are invalid, and we check invalid hwid first in the code, for use case that hot add cpus later will be filtered out and will not be counted in possible cups, so move this check before the hwid one to prepare the code to count for disabeld cpus when cpu hot-plug is introduced. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Reviewed-by: Al Stone <ahs3@redhat.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent ea389da
File | Mode | Size |
---|---|---|
crush | ||
Kconfig | -rw-r--r-- | 1.1 KB |
Makefile | -rw-r--r-- | 357 bytes |
armor.c | -rw-r--r-- | 1.9 KB |
auth.c | -rw-r--r-- | 7.6 KB |
auth_none.c | -rw-r--r-- | 3.0 KB |
auth_none.h | -rw-r--r-- | 529 bytes |
auth_x.c | -rw-r--r-- | 18.6 KB |
auth_x.h | -rw-r--r-- | 905 bytes |
auth_x_protocol.h | -rw-r--r-- | 1.7 KB |
buffer.c | -rw-r--r-- | 1.2 KB |
ceph_common.c | -rw-r--r-- | 16.7 KB |
ceph_fs.c | -rw-r--r-- | 1.7 KB |
ceph_hash.c | -rw-r--r-- | 2.8 KB |
ceph_strings.c | -rw-r--r-- | 866 bytes |
crypto.c | -rw-r--r-- | 13.8 KB |
crypto.h | -rw-r--r-- | 1.4 KB |
debugfs.c | -rw-r--r-- | 7.6 KB |
messenger.c | -rw-r--r-- | 83.5 KB |
mon_client.c | -rw-r--r-- | 26.8 KB |
msgpool.c | -rw-r--r-- | 2.0 KB |
osd_client.c | -rw-r--r-- | 78.3 KB |
osdmap.c | -rw-r--r-- | 39.1 KB |
pagelist.c | -rw-r--r-- | 3.6 KB |
pagevec.c | -rw-r--r-- | 4.1 KB |
snapshot.c | -rw-r--r-- | 2.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...