Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • clocksource
  • timer-imx-sysctr.c
Find file BlameHistoryPermalink
  • Peng Fan's avatar
    clocksource/drivers/timer-imx-sysctr: Set cpumask to cpu_possible_mask · 0ed9e4eb
    Peng Fan authored Dec 01, 2021
    
    
    The syctr interrupt could set the affinity to any cores in the
    SoC. However, the default affinity is set to cpu 0.
    
    This timer will be used as broadcast timer on all the i.MX
    SoCs. Because DYNIRQ flag is set, the core time framework will runtime
    set the interrupt affinity to the cores that needs to wake up and the
    cpumask will runtime set to the core that will be wake up. So even the
    sysctr initialization use cpumask 0, there is no issue, the current
    patch is just use cpu_possible_mask to show the fact that the timer
    supports routed to all the cpu cores and nothing else.
    
    Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
    Link: https://lore.kernel.org/r/20211201125030.2307746-2-peng.fan@oss.nxp.com
    
    
    Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
    0ed9e4eb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7