Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b261b756 authored by Sudeep Holla's avatar Sudeep Holla Committed by Srinivas Ramana
Browse files

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.

Change-Id: I68d278da658e50faa820c95ccff91c12ec3734ac
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Git-commit: e44ef891e9e68b6ce7d3fd3bac73b7d5433050ae
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


[sramana@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: default avatarSrinivas Ramana <sramana@codeaurora.org>
parent e34a5ced
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment