1. 24 Oct, 2021 1 commit
  2. 21 Oct, 2021 2 commits
  3. 19 Oct, 2021 1 commit
    • Daniel Lezcano's avatar
      Merge branch 'timers/drivers/armv8.6_arch_timer' into timers/drivers/next · 32cf6d0a
      Daniel Lezcano authored
      The branch is a stable branch shared with ARM maintainers for the
      first 13th patches of the series:
      
      It is based on v5.14-rc3.
      
      As stated by the changelog:
      
      " [... ] enabling ARMv8.6 support for timer subsystem, and was prompted by a
      discussion with Oliver around the fact that an ARMv8.6 implementation
      must have a 1GHz counter, which leads to a number of things to break
      in the timer code:
      
      - the counter rollover can come pretty quickly as we only advertise a
        56bit counter,
      - the maximum timer delta can be remarkably small, as we use the
        countdown interface which is limited to 32bit...
      
      Thankfully, there is a way out: we can compute the minimal width of
      the counter based on the guarantees that the architecture gives us,
      and we can use the 64bit comparator interface instead of the countdown
      to program the timer.
      
      Finally, we start making use of the ARMv8.6 ECV features by switching
      accesses to the counters to a self-synchronising register, removing
      the need for an ISB. Hopefully, implementations will *not* just stick
      an invisible ISB there...
      
      A side effect of the switch to CVAL is that XGene-1 breaks. I have
      added a workaround to keep it alive.
      
      I have added Oliver's original patch[0] to the series and tweaked a
      couple of things. Blame me if I broke anything.
      
      The whole things has been tested on Juno (sysreg + MMIO timers),
      XGene-1 (broken sysreg timers), FVP (FEAT_ECV, CNT*CTSS_EL0).
      "
      
      Link: https://lore.kernel.org/r/20211017124225.3018098-1-maz@kernel.orgSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      32cf6d0a
  4. 18 Oct, 2021 2 commits
  5. 17 Oct, 2021 11 commits
  6. 16 Oct, 2021 1 commit
    • Randy Dunlap's avatar
      clocksource/drivers/arc_timer: Eliminate redefined macro error · 58100c34
      Randy Dunlap authored
      In drivers/clocksource/, 3 drivers use "TIMER_CTRL_IE" with 3 different
      values.  Two of them (mps2-timer.c and timer-sp804.c/timer-sp.h) are
      localized and left unmodifed.
      
      One of them uses a shared header file (<soc/arc/timers.h>), which is
      what is causing the "redefined" warnings, so change the macro name in
      that driver only. Also change the TIMER_CTRL_NH macro name.
      Both macro names are prefixed with "ARC_" to reduce the likelihood
      of future name collisions.
      
      In file included from ../drivers/clocksource/timer-sp804.c:24:
      ../drivers/clocksource/timer-sp.h:25: error: "TIMER_CTRL_IE" redefined [-Werror]
         25 | #define TIMER_CTRL_IE           (1 << 5)        /*   VR */
      ../include/soc/arc/timers.h:20: note: this is the location of the previous definition
         20 | #define TIMER_CTRL_IE           (1 << 0) /* Interrupt when Count reaches limit */
      
      Fixes: b26c2e38 ("ARC: breakout timer include code into separate header")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Vineet Gupta <vgupta@kernel.org>
      Cc: linux-snps-arc@lists.infradead.org
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Shahab Vahedi <Shahab.Vahedi@synopsys.com>
      Acked-by: default avatarVineet Gupta <vgupta@kernel.org>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/20210924020825.20317-1-rdunlap@infradead.org
      58100c34
  7. 28 Aug, 2021 1 commit
  8. 26 Aug, 2021 1 commit
  9. 21 Aug, 2021 1 commit
  10. 14 Aug, 2021 3 commits
  11. 13 Aug, 2021 4 commits
  12. 12 Aug, 2021 2 commits
  13. 10 Aug, 2021 10 commits