1. 24 Nov, 2021 4 commits
    • Linus Torvalds's avatar
      Merge tag 'for-5.16/parisc-5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 5f53fa50
      Linus Torvalds authored
      Pull parisc fixes from Helge Deller:
       "Increase the FRAME_WARN value to avoid some new warnings which showed
        up in the Linux kernel test project, revert a patch which moved the
        _stext symbol and thus tiggered errors in the hardened usercopy
        checks, and introduce an extru_safe() assembler macro to overcome
        possible unsafe usage of the extru asm statement on 64-bit PA2.0
        machines"
      
      * tag 'for-5.16/parisc-5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        Revert "parisc: Fix backtrace to always include init funtion names"
        parisc: Convert PTE lookup to use extru_safe() macro
        parisc: Fix extraction of hash lock bits in syscall.S
        parisc: Provide an extru_safe() macro to extract unsigned bits
        parisc: Increase FRAME_WARN to 2048 bytes on parisc
      5f53fa50
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 29889216
      Linus Torvalds authored
      Pull tracing fix from Steven Rostedt:
       "Fix wrong uprobe variable in iterator
      
        uprobe_perf_open() processes a list of probes, but due to a missing
        setting of the uprobe to be processed, the loop processes the head
        probe instead of the added probes"
      
      * tag 'trace-v5.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing/uprobe: Fix uprobe_perf_open probes iteration
      29889216
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · 740bebf4
      Linus Torvalds authored
      Pull HID fixes from Jiri Kosina:
      
       - fix for Intel-ISH driver to make sure it gets aoutoloaded only on
         matching devices and not universally (Thomas Weißschuh)
      
       - fix for Wacom driver reporting invalid contact under certain
         circumstances (Jason Gerecke)
      
       - probing fix for ft260 dirver (Michael Zaidman)
      
       - fix for generic keycode remapping (Thomas Weißschuh)
      
       - fix for division by zero in hid-magicmouse (Claudia Pellegrino)
      
       - other tiny assorted fixes and new device IDs
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
        HID: multitouch: Fix Iiyama ProLite T1931SAW (0eef:0001 again!)
        HID: nintendo: eliminate dead datastructures in !CONFIG_NINTENDO_FF case
        HID: magicmouse: prevent division by 0 on scroll
        HID: thrustmaster: fix sparse warnings
        HID: Ignore battery for Elan touchscreen on HP Envy X360 15-eu0xxx
        HID: input: set usage type to key on keycode remap
        HID: input: Fix parsing of HID_CP_CONSUMER_CONTROL fields
        HID: ft260: fix i2c probing for hwmon devices
        Revert "HID: hid-asus.c: Maps key 0x35 (display off) to KEY_SCREENLOCK"
        HID: intel-ish-hid: fix module device-id handling
        mod_devicetable: fix kdocs for ishtp_device_id
        HID: wacom: Use "Confidence" flag to prevent reporting invalid contacts
        HID: nintendo: unlock on error in joycon_leds_create()
        platform/x86: isthp_eclite: only load for matching devices
        platform/chrome: chros_ec_ishtp: only load for matching devices
        HID: intel-ish-hid: hid-client: only load for matching devices
        HID: intel-ish-hid: fw-loader: only load for matching devices
        HID: intel-ish-hid: use constants for modaliases
        HID: intel-ish-hid: add support for MODULE_DEVICE_TABLE()
      740bebf4
    • Jiri Olsa's avatar
      tracing/uprobe: Fix uprobe_perf_open probes iteration · 1880ed71
      Jiri Olsa authored
      Add missing 'tu' variable initialization in the probes loop,
      otherwise the head 'tu' is used instead of added probes.
      
      Link: https://lkml.kernel.org/r/20211123142801.182530-1-jolsa@kernel.org
      
      Cc: stable@vger.kernel.org
      Fixes: 99c9a923 ("tracing/uprobe: Fix double perf_event linking on multiprobe uprobe")
      Acked-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
      Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      1880ed71
  2. 23 Nov, 2021 2 commits
    • Linus Torvalds's avatar
      Merge tag 'selinux-pr-20211123' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux · 5d9f4cf3
      Linus Torvalds authored
      Pull SELinux fix from Paul Moore:
       "A fix to make sure things are handled correctly when an allocation
        fails"
      
      * tag 'selinux-pr-20211123' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
        selinux: fix NULL-pointer dereference when hashtab allocation fails
      5d9f4cf3
    • Linus Torvalds's avatar
      Merge tag 'sound-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · b7359362
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A lot of small changes at this time.
      
        There are many ASoC fixes, and the majority of them are new machine
        quirks for Intel platforms, as well as the device-specific fixes for
        Mediatek and Qualcomm.
      
        In addition, a regression fix for USB-audio and a few more HD- and
        USB-audio quirks are found here"
      
      * tag 'sound-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (41 commits)
        ALSA: intel-dsp-config: add quirk for JSL devices based on ES8336 codec
        ALSA: usb-audio: Don't start stream for capture at prepare
        ALSA: usb-audio: Switch back to non-latency mode at a later point
        ALSA: ctxfi: Fix out-of-range access
        ALSA: hda/realtek: Fix LED on HP ProBook 435 G7
        ASoC: stm32: i2s: fix 32 bits channel length without mclk
        ASoC: codecs: lpass-rx-macro: fix HPHR setting CLSH mask
        ASoC: codecs: wcd934x: return error code correctly from hw_params
        ASoC: codecs: wcd938x: fix volatile register range
        ASoC: topology: Add missing rwsem around snd_ctl_remove() calls
        ASoC: qdsp6: q6routing: validate port id before setting up route
        ASoC: qdsp6: q6adm: improve error reporting
        ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling
        ASoC: qdsp6: q6routing: Conditionally reset FrontEnd Mixer
        ASoC: qdsp6: qdsp6: q6prm: handle clk disable correctly
        ASoC: wm_adsp: wm_adsp_control_add() error: uninitialized symbol 'ret'
        ALSA: cmipci: Drop stale variable assignment
        ALSA: hda/realtek: Add quirk for ASRock NUC Box 1100
        ASoC: rsnd: fixup DMAEngine API
        ASoC: SOF: build compression interface into snd_sof.ko
        ...
      b7359362
  3. 22 Nov, 2021 8 commits
  4. 21 Nov, 2021 5 commits
    • Linus Torvalds's avatar
      Linux 5.16-rc2 · 13605725
      Linus Torvalds authored
      13605725
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2021-11-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 40c93d7f
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
      
       - Move the command line preparation and the early command line parsing
         earlier so that the command line parameters which affect
         early_reserve_memory(), e.g. efi=nosftreserve, are taken into
         account. This was broken when the invocation of
         early_reserve_memory() was moved recently.
      
       - Use an atomic type for the SGX page accounting, which is read and
         written locklessly, to plug various race conditions related to it.
      
      * tag 'x86-urgent-2021-11-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/sgx: Fix free page accounting
        x86/boot: Pull up cmdline preparation and early param parsing
      40c93d7f
    • Linus Torvalds's avatar
      Merge tag 'perf-urgent-2021-11-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · af16bdea
      Linus Torvalds authored
      Pull x86 perf fixes from Thomas Gleixner:
      
       - Remove unneded PEBS disabling when taking LBR snapshots to prevent an
         unchecked MSR access error.
      
       - Fix IIO event constraints for Snowridge and Skylake server chips.
      
      * tag 'perf-urgent-2021-11-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/perf: Fix snapshot_branch_stack warning in VM
        perf/x86/intel/uncore: Fix IIO event constraints for Snowridge
        perf/x86/intel/uncore: Fix IIO event constraints for Skylake Server
        perf/x86/intel/uncore: Fix filter_tid mask for CHA events on Skylake Server
      af16bdea
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 75603b14
      Linus Torvalds authored
      Pull more powerpc fixes from Michael Ellerman:
      
       - Fix a bug in copying of sigset_t for 32-bit systems, which caused X
         to not start.
      
       - Fix handling of shared LSIs (rare) with the xive interrupt controller
         (Power9/10).
      
       - Fix missing TOC setup in some KVM code, which could result in oopses
         depending on kernel data layout.
      
       - Fix DMA mapping when we have persistent memory and only one DMA
         window available.
      
       - Fix further problems with STRICT_KERNEL_RWX on 8xx, exposed by a
         recent fix.
      
       - A couple of other minor fixes.
      
      Thanks to Alexey Kardashevskiy, Aneesh Kumar K.V, Cédric Le Goater,
      Christian Zigotzky, Christophe Leroy, Daniel Axtens, Finn Thain, Greg
      Kurz, Masahiro Yamada, Nicholas Piggin, and Uwe Kleine-König.
      
      * tag 'powerpc-5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/xive: Change IRQ domain to a tree domain
        powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWX
        powerpc/signal32: Fix sigset_t copy
        powerpc/book3e: Fix TLBCAM preset at boot
        powerpc/pseries/ddw: Do not try direct mapping with persistent memory and one window
        powerpc/pseries/ddw: simplify enable_ddw()
        powerpc/pseries/ddw: Revert "Extend upper limit for huge DMA window for persistent memory"
        powerpc/pseries: Fix numa FORM2 parsing fallback code
        powerpc/pseries: rename numa_dist_table to form2_distances
        powerpc: clean vdso32 and vdso64 directories
        powerpc/83xx/mpc8349emitx: Drop unused variable
        KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()
      75603b14
    • Geert Uytterhoeven's avatar
      pstore/blk: Use "%lu" to format unsigned long · 61eb495c
      Geert Uytterhoeven authored
      On 32-bit:
      
          fs/pstore/blk.c: In function ‘__best_effort_init’:
          include/linux/kern_levels.h:5:18: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
      	5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
      	  |                  ^~~~~~
          include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
             14 | #define KERN_INFO KERN_SOH "6" /* informational */
      	  |                   ^~~~~~~~
          include/linux/printk.h:373:9: note: in expansion of macro ‘KERN_INFO’
            373 |  printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
      	  |         ^~~~~~~~~
          fs/pstore/blk.c:314:3: note: in expansion of macro ‘pr_info’
            314 |   pr_info("attached %s (%zu) (no dedicated panic_write!)\n",
      	  |   ^~~~~~~
      
      Cc: stable@vger.kernel.org
      Fixes: 7bb9557b ("pstore/blk: Use the normal block device I/O path")
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Link: https://lore.kernel.org/r/20210629103700.1935012-1-geert@linux-m68k.org
      Cc: Jens Axboe <axboe@kernel.dk>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      61eb495c
  5. 20 Nov, 2021 21 commits