diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2014-01-08 18:24:21 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-01-11 12:06:57 +0000 |
commit | e44ef891e9e68b6ce7d3fd3bac73b7d5433050ae (patch) | |
tree | d2e402f9a80bdf8f6739c6853b32d59b79713fb9 /arch/arm/mach-omap2/vc.h | |
parent | 6bcac805bacb3b637911244d95368512ae389abc (diff) | |
download | blackbird-op-linux-e44ef891e9e68b6ce7d3fd3bac73b7d5433050ae.tar.gz blackbird-op-linux-e44ef891e9e68b6ce7d3fd3bac73b7d5433050ae.zip |
ARM: 7934/1: DT/kernel: fix arch_match_cpu_phys_id to avoid erroneous match
The MPIDR contains specific bitfields(MPIDR.Aff{2..0}) which uniquely
identify a CPU, in addition to some non-identifying information and
reserved bits. The ARM cpu binding defines the 'reg' property to only
contain the affinity bits, and any cpu nodes with other bits set in
their 'reg' entry are skipped.
As such it is not necessary to mask the phys_id with MPIDR_HWID_BITMASK,
and doing so could lead to matching erroneous CPU nodes in the device
tree. This patch removes the masking of the physical identifier.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/vc.h')
0 files changed, 0 insertions, 0 deletions