diff options
author | Will Deacon <will.deacon@arm.com> | 2013-04-22 18:28:55 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-04-25 17:45:43 +0100 |
commit | 72aea393a2e7c53a951bc581f18a79315f47036b (patch) | |
tree | 107895e00c88eaa6a9468156185987c2e11cf52a /arch/arm64/kernel/process.c | |
parent | arm64: Define cmpxchg64 and cmpxchg64_local for outside use (diff) | |
download | linux-dev-72aea393a2e7c53a951bc581f18a79315f47036b.tar.xz linux-dev-72aea393a2e7c53a951bc581f18a79315f47036b.zip |
arm64: smp: honour #address-size when parsing CPU reg property
For systems where the top 32-bits of the MPIDR are all zero, we should
allow the device-tree to specify an #address-size of 0x1 for the CPU reg
property and then zero extend the value there.
Without this patch, kvmtool breaks with the recent mpidr parsing code
introduced in 4c7aa0021356 ("arm64: kernel: initialise cpu_logical_map
from the DT").
Acked-by: Javi Merino <javi.merino@arm.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions