1. 20 Sep, 2022 9 commits
  2. 07 Sep, 2022 1 commit
  3. 19 Aug, 2022 2 commits
  4. 28 Jul, 2022 2 commits
    • Juri Lelli's avatar
      wait: Fix __wait_event_hrtimeout for RT/DL tasks · cceeeb6a
      Juri Lelli authored
      Changes to hrtimer mode (potentially made by __hrtimer_init_sleeper on
      PREEMPT_RT) are not visible to hrtimer_start_range_ns, thus not
      accounted for by hrtimer_start_expires call paths. In particular,
      __wait_event_hrtimeout suffers from this problem as we have, for
      example:
      
      fs/aio.c::read_events
        wait_event_interruptible_hrtimeout
          __wait_event_hrtimeout
            hrtimer_init_sleeper_on_stack <- this might "mode |= HRTIMER_MODE_HARD"
                                             on RT if task runs at RT/DL priority
              hrtimer_start_range_ns
                WARN_ON_ONCE(!(mode & HRTIMER_MODE_HARD) ^ !timer->is_hard)
                fires since the latter doesn't see the change of mode done by
                init_sleeper
      
      Fix it by making __wait_event_hrtimeout call hrtimer_sleeper_start_expires,
      which is aware of the special RT/DL case, instead of hrtimer_start_range_ns.
      Reported-by: default avatarBruno Goncalves <bgoncalv@redhat.com>
      Signed-off-by: default avatarJuri Lelli <juri.lelli@redhat.com>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
      Reviewed-by: default avatarValentin Schneider <vschneid@redhat.com>
      Link: https://lore.kernel.org/r/20220627095051.42470-1-juri.lelli@redhat.com
      cceeeb6a
    • Thomas Gleixner's avatar
      Merge tag 'timers-v5.20-rc1' of https://git.linaro.org/people/daniel.lezcano/linux into timers/core · 75fed76e
      Thomas Gleixner authored
      Pull clockevent/source updates from Daniel Lezcano:
      
        - Add the missing DT bindings for the MTU nomadik timer (Linus
          Walleij)
      
        - Fix grammar typo in the ARM global timer Kconfig option (Randy
          Dunlap)
      
        - Add the tegra186 timer and use it on the tegra234 board (Thierry
          Reding)
      
        - Add the 'CPUXGPT' CPU timer for Mediatek MT6795 and implement a
          workaround to overcome an ATF bug where the timer is not correctly
          initialized (AngeloGioacchino Del Regno)
      
        - Rework the suspend/resume approach to enable the feature on the
          timer even it is not an active clock and fix a compilation warning
          (Claudiu Beznea)
      
        - Add the Add R-Car Gen4 timer support along with the DT bindings
          (Wolfram Sang)
      
        - Add compatible for ti,am654-timer to support AM6 SoC (Tony Lindgren)
      
        - Fix Kconfig option to put it back to 'bool' instead of 'tristate'
          for the tegra186 (Daniel Lezcano)
      
        - Sort 'family,type' DT bindings for the Renesas timers (Geert
          Uytterhoeven)
      
        - Add compatible 'allwinner,sun20i-d1-timer' for Allwinner D1 (Samuel
          Holland)
      
        - Remove unnecessary (void*) conversions for sun4i (XU pengfei)
      
        - Remove unnecessary (void*) conversions for sun5i (Li zeming)
      
      Link: https://lore.kernel.org/all/7472984e-f502-5f27-82bf-070127dd85a5@linaro.org
      75fed76e
  5. 27 Jul, 2022 10 commits
  6. 24 Jul, 2022 6 commits
  7. 23 Jul, 2022 2 commits
  8. 22 Jul, 2022 8 commits