1. 01 Feb, 2023 3 commits
  2. 25 Jan, 2023 4 commits
  3. 20 Jan, 2023 1 commit
  4. 18 Jan, 2023 5 commits
  5. 29 Dec, 2022 13 commits
  6. 28 Dec, 2022 1 commit
    • Palmer Dabbelt's avatar
      Merge tag 'soc2arch-immutable' of... · 4e1ce304
      Palmer Dabbelt authored
      Merge tag 'soc2arch-immutable' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux into for-next
      
      SOC_FOO to ARCH_FOO conversion for RISC-V
      
      RISC-V is an outlier in using SOC_FOO rather than ARCH_FOO for
      vendors/micro-archs. SOC_FOO may make more sense (I personally prefer
      it), but the rest of the "world" uses ARCH_FOO. That'd be fine, with
      with an increasing number of existing SoC vendors moving to RISC-V,
      unifying our symbol names with the expectations of the rest of the world
      makes sense.
      Folks did not seem keen on changing the world (and they can't really be
      blamed for that) so convert RISC-V over to match.
      
      Add some ARCH_FOO stubs alongside the existing SOC_FOO ones, which will
      be removed once all users of SOC_FOO have been converted*, and convert
      the DT bits of RISC-V kbuild over to the new symbols.
      
      * It may be best to wait until after the next LTS to remove the SOC_FOO
        ones, for the sake of external users.
      
      * tag 'soc2arch-immutable' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux:
        RISC-V: stop directly selecting drivers for SOC_CANAAN
        RISC-V: stop selecting SiFive clock and serial drivers directly
        RISC-V: stop selecting the PolarFire SoC clock driver
        RISC-V: kbuild: convert all use of SOC_FOO to ARCH_FOO
        RISC-V: kconfig.socs: convert usage of SOC_CANAAN to ARCH_CANAAN
        RISC-V: introduce ARCH_FOO kconfig aliases for SOC_FOO symbols
      Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      4e1ce304
  7. 27 Dec, 2022 6 commits
  8. 25 Dec, 2022 2 commits
    • Linus Torvalds's avatar
      Linux 6.2-rc1 · 1b929c02
      Linus Torvalds authored
      1b929c02
    • Steven Rostedt (Google)'s avatar
      treewide: Convert del_timer*() to timer_shutdown*() · 292a089d
      Steven Rostedt (Google) authored
      Due to several bugs caused by timers being re-armed after they are
      shutdown and just before they are freed, a new state of timers was added
      called "shutdown".  After a timer is set to this state, then it can no
      longer be re-armed.
      
      The following script was run to find all the trivial locations where
      del_timer() or del_timer_sync() is called in the same function that the
      object holding the timer is freed.  It also ignores any locations where
      the timer->function is modified between the del_timer*() and the free(),
      as that is not considered a "trivial" case.
      
      This was created by using a coccinelle script and the following
      commands:
      
          $ cat timer.cocci
          @@
          expression ptr, slab;
          identifier timer, rfield;
          @@
          (
          -       del_timer(&ptr->timer);
          +       timer_shutdown(&ptr->timer);
          |
          -       del_timer_sync(&ptr->timer);
          +       timer_shutdown_sync(&ptr->timer);
          )
            ... when strict
                when != ptr->timer
          (
                  kfree_rcu(ptr, rfield);
          |
                  kmem_cache_free(slab, ptr);
          |
                  kfree(ptr);
          )
      
          $ spatch timer.cocci . > /tmp/t.patch
          $ patch -p1 < /tmp/t.patch
      
      Link: https://lore.kernel.org/lkml/20221123201306.823305113@linutronix.de/Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      Acked-by: Pavel Machek <pavel@ucw.cz> [ LED ]
      Acked-by: Kalle Valo <kvalo@kernel.org> [ wireless ]
      Acked-by: Paolo Abeni <pabeni@redhat.com> [ networking ]
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      292a089d
  9. 23 Dec, 2022 5 commits