1. 02 Sep, 2022 1 commit
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · cf3488fa
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "It's a lot smaller than last week, with the star of the show being a
        couple of fixes to head.S addressing a boot regression introduced by
        the recent overhaul of that code in non-default configurations (i.e.
        KASLR disabled).
      
        The first of those two resolves the issue reported (and bisected) by
        Mikulus in the wait_on_bit() thread.
      
        Summary:
      
         - Fix two boot issues caused by the recent head.S rework when !KASLR
      
         - Fix calculation of crashkernel memory reservation
      
         - Fix bogus error check in PMU IRQ probing code"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: mm: Reserve enough pages for the initial ID map
        perf/arm_pmu_platform: fix tests for platform_get_irq() failure
        arm64: head: Ignore bogus KASLR displacement on non-relocatable kernels
        arm64/kexec: Fix missing extra range for crashkres_low.
      cf3488fa
  2. 01 Sep, 2022 15 commits
  3. 31 Aug, 2022 19 commits
  4. 30 Aug, 2022 2 commits
  5. 29 Aug, 2022 3 commits
    • Bart Van Assche's avatar
      tracing: Define the is_signed_type() macro once · dcf8e563
      Bart Van Assche authored
      There are two definitions of the is_signed_type() macro: one in
      <linux/overflow.h> and a second definition in <linux/trace_events.h>.
      
      As suggested by Linus, move the definition of the is_signed_type() macro
      into the <linux/compiler.h> header file.  Change the definition of the
      is_signed_type() macro to make sure that it does not trigger any sparse
      warnings with future versions of sparse for bitwise types.
      
      Link: https://lore.kernel.org/all/CAHk-=whjH6p+qzwUdx5SOVVHjS3WvzJQr6mDUwhEyTf6pJWzaQ@mail.gmail.com/
      Link: https://lore.kernel.org/all/CAHk-=wjQGnVfb4jehFR0XyZikdQvCZouE96xR_nnf5kqaM5qqQ@mail.gmail.com/
      Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Acked-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      dcf8e563
    • Linus Torvalds's avatar
      Merge tag 'docs-6.0-fixes' of git://git.lwn.net/linux · d68d289f
      Linus Torvalds authored
      Pull documentation fixes from Jonathan Corbet:
       "A handful of fixes for documentation and the docs build system"
      
      * tag 'docs-6.0-fixes' of git://git.lwn.net/linux:
        docs/conf.py: add function attribute '__fix_address' to conf.py
        Docs/admin-guide/mm/damon/usage: fix the example code snip
        docs: Update version number from 5.x to 6.x in README.rst
        docs/ja_JP/SubmittingPatches: Remove reference to submitting-drivers.rst
        docs: kerneldoc-preamble: Test xeCJK.sty before loading
      d68d289f
    • David S. Miller's avatar
      Merge branch 'u64_stats-fixups' · cb10b0f9
      David S. Miller authored
      Sebastian Andrzej Siewior says:
      
      ====================
      net: u64_stats fixups for 32bit.
      
      while looking at the u64-stats patch
      	https://lore.kernel.org/all/20220817162703.728679-10-bigeasy@linutronix.de
      
      I noticed that u64_stats_fetch_begin() is used. That suspicious thing
      about it is that network processing, including stats update, is
      performed in NAPI and so I would expect to see
      u64_stats_fetch_begin_irq() in order to avoid updates from NAPI during
      the read. This is only needed on 32bit-UP where the seqcount is not
      used. This is address in 2/2. The remaining user take some kind of
      precaution and may use u64_stats_fetch_begin().
      
      I updated the previously mentioned patch to get rid of
      u64_stats_fetch_begin_irq(). If this is not considered stable patch
      worthy then it can be ignored and considred fixed by the other series
      which removes the special 32bit cases.
      
      The xrs700x driver reads and writes the counter from preemptible context
      so the only missing piece here is at least disable preemption on the
      writer side to avoid preemption while the writer is in progress. The
      possible reader would spin then until the writer completes its write
      critical section which is considered bad. This is addressed in 1/2 by
      using u64_stats_update_begin_irqsave() and so disable interrupts during
      the write critical section.
      The other closet resemblance I found is mdio_bus.c::mdiobus_stats_acct()
      where preemtion is disabled unconditionally. This is something I want to
      avoid since it also affects 64bit.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cb10b0f9