Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • arch
  • arm
  • kernel
  • devtree.c
Find file BlameHistoryPermalink
  • Sudeep Holla's avatar
    ARM: 7934/1: DT/kernel: fix arch_match_cpu_phys_id to avoid erroneous match · e44ef891
    Sudeep Holla authored Jan 08, 2014
    
    
    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: 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>
    e44ef891