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
    drivers: hv: Decouple Hyper-V clock/timer code from VMbus drivers · 31e5e646
    Michael Kelley authored Jul 13, 2021
    
    
    Hyper-V clock/timer code in hyperv_timer.c is mostly independent from
    other VMbus drivers, but building for ARM64 without hyperv_timer.c
    shows some remaining entanglements.  A default implementation of
    hv_read_reference_counter can just read a Hyper-V synthetic register
    and be independent of hyperv_timer.c, so move this code out and into
    hv_common.c. Then it can be used by the timesync driver even if
    hyperv_timer.c isn't built on a particular architecture.  If
    hyperv_timer.c *is* built, it can override with a faster implementation.
    
    Also provide stubs for stimer functions called by the VMbus driver when
    hyperv_timer.c isn't built.
    
    No functional changes.
    
    Signed-off-by: default avatarMichael Kelley <mikelley@microsoft.com>
    Link: https://lore.kernel.org/r/1626220906-22629-1-git-send-email-mikelley@microsoft.com
    
    
    Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
    31e5e646
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7