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
  • include
  • clocksource
  • hyperv_timer.h
Find file BlameHistoryPermalink
  • Michael Kelley's avatar
    clocksource/drivers/hyper-v: Move handling of STIMER0 interrupts · ec866be6
    Michael Kelley authored Mar 02, 2021
    
    
    STIMER0 interrupts are most naturally modeled as per-cpu IRQs. But
    because x86/x64 doesn't have per-cpu IRQs, the core STIMER0 interrupt
    handling machinery is done in code under arch/x86 and Linux IRQs are
    not used. Adding support for ARM64 means adding equivalent code
    using per-cpu IRQs under arch/arm64.
    
    A better model is to treat per-cpu IRQs as the normal path (which it is
    for modern architectures), and the x86/x64 path as the exception. Do this
    by incorporating standard Linux per-cpu IRQ allocation into the main
    SITMER0 driver code, and bypass it in the x86/x64 exception case. For
    x86/x64, special case code is retained under arch/x86, but no STIMER0
    interrupt handling code is needed under arch/arm64.
    
    No functional change.
    
    Signed-off-by: default avatarMichael Kelley <mikelley@microsoft.com>
    Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
    Link: https://lore.kernel.org/r/1614721102-2241-11-git-send-email-mikelley@microsoft.com
    
    
    Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
    ec866be6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7