Skip to content
  1. Jul 09, 2020
    • Linus Torvalds's avatar
      Raise gcc version requirement to 4.9 · 6ec4476a
      Linus Torvalds authored
      I realize that we fairly recently raised it to 4.8, but the fact is, 4.9
      is a much better minimum version to target.
      
      We have a number of workarounds for actual bugs in pre-4.9 gcc versions
      (including things like internal compiler errors on ARM), but we also
      have some syntactic workarounds for lacking features.
      
      In particular, raising the minimum to 4.9 means that we can now just
      assume _Generic() exists, which is likely the much better replacement
      for a lot of very convoluted built-time magic with conditionals on
      sizeof and/or __builtin_choose_expr() with same_type() etc.
      
      Using _Generic also means that you will need to have a very recent
      version of 'sparse', but thats easy to build yourself, and much less of
      a hassle than some old gcc version can be.
      
      The latest (in a long string) of reasons for minimum compiler version
      upgrades was commit 5435f73d
      
       ("efi/x86: Fix build with gcc 4").
      
      Ard points out that RHEL 7 uses gcc-4.8, but the people who stay back on
      old RHEL versions persumably also don't build their own kernels anyway.
      And maybe they should cross-built or just have a little side affair with
      a newer compiler?
      
      Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6ec4476a
  2. Jul 08, 2020
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-fixes-2020-07-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux · dcde237b
      Linus Torvalds authored
      Pull perf tooling fixes from Arnaldo Carvalho de Melo:
      
       - Intel PT fixes for PEBS-via-PT with registers
      
       - Fixes for Intel PT python based GUI
      
       - Avoid duplicated sideband events with Intel PT in system wide tracing
      
       - Remove needless 'dummy' event from TUI menu, used when synthesizing
         meta data events for pre-existing processes
      
       - Fix corner case segfault when pressing enter in a screen without
         entries in the TUI for report/top
      
       - Fixes for time stamp handling in libtraceevent
      
       - Explicitly set utf-8 encoding in perf flamegraph
      
       - Update arch/x86/lib/memcpy_64.S copy used in 'perf bench mem memcpy',
         silencing perf build warning
      
      * tag 'perf-tools-fixes-2020-07-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf report TUI: Remove needless 'dummy' event from menu
        perf intel-pt: Fix PEBS sample for XMM registers
        perf intel-pt: Fix displaying PEBS-via-PT with registers
        perf intel-pt: Fix recording PEBS-via-PT with registers
        perf report TUI: Fix segmentation fault in perf_evsel__hists_browse()
        tools lib traceevent: Add proper KBUFFER_TYPE_TIME_STAMP handling
        tools lib traceevent: Add API to read time information from kbuffer
        perf scripts python: exported-sql-viewer.py: Fix time chart call tree
        perf scripts python: exported-sql-viewer.py: Fix zero id in call tree 'Find' result
        perf scripts python: exported-sql-viewer.py: Fix zero id in call graph 'Find' result
        perf scripts python: exported-sql-viewer.py: Fix unexpanded 'Find' result
        perf record: Fix duplicated sideband events with Intel PT system wide tracing
        perf scripts python: export-to-postgresql.py: Fix struct.pack() int argument
        tools arch: Update arch/x86/lib/memcpy_64.S copy used in 'perf bench mem memcpy'
        perf flamegraph: Explicitly set utf-8 encoding
      dcde237b
    • Linus Torvalds's avatar
      Merge tag 'mtd/fixes-for-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 6d12075d
      Linus Torvalds authored
      Pull MTD fixes from Miquel Raynal:
       "MTD:
         - Set a missing master partition panic write flag
      
        Raw NAND:
         - Fix build issue in the xway driver
         - Fix a wrong return code"
      
      * tag 'mtd/fixes-for-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
        mtd: rawnand: xway: Fix build issue
        mtd: set master partition panic write flag
        nandsim: Fix return code testing of ns_find_operation()
      6d12075d
    • Linus Torvalds's avatar
      Merge tag 'for-5.8-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · aa27b32b
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
      
       - regression fix of a leak in global block reserve accounting
      
       - fix a (hard to hit) race of readahead vs releasepage that could lead
         to crash
      
       - convert all remaining uses of comment fall through annotations to the
         pseudo keyword
      
       - fix crash when mounting a fuzzed image with -o recovery
      
      * tag 'for-5.8-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: reset tree root pointer after error in init_tree_roots
        btrfs: fix reclaim_size counter leak after stealing from global reserve
        btrfs: fix fatal extent_buffer readahead vs releasepage race
        btrfs: convert comments to fallthrough annotations
      aa27b32b
    • Linus Torvalds's avatar
      Merge tag 'arc-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc · 9e4d7696
      Linus Torvalds authored
      Pull ARC fixes from Vineet Gupta:
      
       - User build systems to pass -mcpu
      
       - Fix potential EFA clobber in syscall handler
      
       - Fix ARCompact 2 levels of interrupts build
      
       - Detect newer HS CPU releases
      
       - misc other fixes
      
      * tag 'arc-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
        ARCv2: support loop buffer (LPB) disabling
        ARC: build: remove deprecated toggle for arc700 builds
        ARC: build: allow users to specify -mcpu
        ARCv2: boot log: detect newer/upconing HS3x/HS4x releases
        ARC: elf: use right ELF_ARCH
        ARC: [arcompact] fix bitrot with 2 levels of interrupt
        ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE
      9e4d7696
    • Linus Torvalds's avatar
      Merge tag 'tpmdd-next-v5.8-rc5' of git://git.infradead.org/users/jjs/linux-tpmdd · a6bc851f
      Linus Torvalds authored
      Pull tpm fix from Jarkko Sakkinen:
       "Revert commit e918e570 ("tpm_tis: Remove the HID IFX0102").
      
        Removing IFX0102 from tpm_tis was not a right move because both
        tpm_tis and tpm_infineon use the same device ID.
      
        A real fix requires quirks added to both drivers. It can probably wait
        until v5.9 as the bug has existed since 2006"
      
      * tag 'tpmdd-next-v5.8-rc5' of git://git.infradead.org/users/jjs/linux-tpmdd:
        Revert commit e918e570 ("tpm_tis: Remove the HID IFX0102")
      a6bc851f
    • Miquel Raynal's avatar
      mtd: rawnand: xway: Fix build issue · 880bc529
      Miquel Raynal authored
      This MIPS driver does not support COMPILE_TEST yet and failed to build
      under my radar.
      
      Replace 'mtd' chich is not defined in the scope of xway_nand_remove()
      by nand_to_mtd(chip). The mistake has been added in the long series
      dropping nand_release().
      
      Tested with a 7.3.0 MIPS GCC toolchain built with Buildroot.
      
      Fixes: 9fdd78f7
      
       ("mtd: rawnand: xway: Stop using nand_release()")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
      Link: https://lore.kernel.org/linux-mtd/20200626065511.16424-1-miquel.raynal@bootlin.com
      880bc529
  3. Jul 07, 2020
  4. Jul 06, 2020
  5. Jul 05, 2020