Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm64
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-arm64
  • Repository

Switch branch/tag
  • ipipe-arm64
  • drivers
  • clocksource
  • arm_arch_timer.c
Find file BlameHistoryPermalink
  • Sudeep Holla's avatar
    clocksource/arm_arch_timer: Fix arch_timer_mem_find_best_frame() · f63d947c
    Sudeep Holla authored May 08, 2017
    arch_timer_mem_find_best_frame() looks through ARCH_TIMER_MEM_MAX_FRAMES
    frames even after finding matches to ensure the best frame is chosen,
    which means the variable frame will point to the last valid frame but
    not necessarily the best frame.
    
    On Juno, we get the following error as the wrong frame is returned as the
    best frame from arch_timer_mem_find_best_frame():
    
      arch_timer: Unable to map frame @ 0x0000000000000000
      arch_timer: Frame missing phys irq.
      Failed to initialize '/timer@2a810000': -22
    
    Fix the issue by correctly returning the best frame from
    arch_timer_mem_find_best_frame().
    
    Fixes: c389d701
    
     ("clocksource: arm_arch_timer: split MMIO timer probing.")
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
    Cc: Marc Zyngier <marc.zyngier@arm.com>
    Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
    Cc: linux-arm-kernel@lists.infradead.org
    Link: http://lkml.kernel.org/r/1494246747-17267-1-git-send-email-sudeep.holla@arm.com
    
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    f63d947c

Replace arm_arch_timer.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy