1. 10 Jan, 2022 1 commit
    • Jiri Kosina's avatar
      Merge branch 'for-5.17/core' into for-linus · 8a2094d6
      Jiri Kosina authored
      - support for USI style pens (Tero Kristo, Mika Westerberg)
      - quirk for devices that need inverted X/Y axes (Alistair Francis)
      - small core code cleanups and deduplication (Benjamin Tissoires)
      8a2094d6
  2. 06 Jan, 2022 7 commits
  3. 20 Dec, 2021 2 commits
  4. 14 Dec, 2021 7 commits
  5. 08 Dec, 2021 1 commit
  6. 03 Dec, 2021 4 commits
  7. 02 Dec, 2021 8 commits
  8. 29 Nov, 2021 1 commit
  9. 24 Nov, 2021 1 commit
    • 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
  10. 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
  11. 22 Nov, 2021 3 commits
    • Linus Torvalds's avatar
      Merge tag 'media/v5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · c7756f3a
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
      
       - fix VIDIOC_DQEVENT ioctl handling for 32-bit userspace with a 64-bit
         kernel
      
       - regression fix for videobuf2 core
      
       - fix for CEC core when handling non-block transmit
      
       - hi846: fix a clang warning
      
      * tag 'media/v5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        media: hi846: remove the of_match_ptr macro
        media: hi846: include property.h instead of of_graph.h
        media: cec: copy sequence field for the reply
        media: videobuf2-dma-sg: Fix buf->vb NULL pointer dereference
        media: v4l2-core: fix VIDIOC_DQEVENT handling on non-x86
      c7756f3a
    • Nadav Amit's avatar
      hugetlbfs: flush before unlock on move_hugetlb_page_tables() · 13e4ad2c
      Nadav Amit authored
      We must flush the TLB before releasing i_mmap_rwsem to avoid the
      potential reuse of an unshared PMDs page.  This is not true in the case
      of move_hugetlb_page_tables().  The last reference on the page table can
      therefore be dropped before the TLB flush took place.
      
      Prevent it by reordering the operations and flushing the TLB before
      releasing i_mmap_rwsem.
      
      Fixes: 550a7d60 ("mm, hugepages: add mremap() support for hugepage backed vma")
      Signed-off-by: default avatarNadav Amit <namit@vmware.com>
      Reviewed-by: default avatarMike Kravetz <mike.kravetz@oracle.com>
      Cc: Mina Almasry <almasrymina@google.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      13e4ad2c
    • Nadav Amit's avatar
      hugetlbfs: flush TLBs correctly after huge_pmd_unshare · a4a118f2
      Nadav Amit authored
      When __unmap_hugepage_range() calls to huge_pmd_unshare() succeed, a TLB
      flush is missing.  This TLB flush must be performed before releasing the
      i_mmap_rwsem, in order to prevent an unshared PMDs page from being
      released and reused before the TLB flush took place.
      
      Arguably, a comprehensive solution would use mmu_gather interface to
      batch the TLB flushes and the PMDs page release, however it is not an
      easy solution: (1) try_to_unmap_one() and try_to_migrate_one() also call
      huge_pmd_unshare() and they cannot use the mmu_gather interface; and (2)
      deferring the release of the page reference for the PMDs page until
      after i_mmap_rwsem is dropeed can confuse huge_pmd_unshare() into
      thinking PMDs are shared when they are not.
      
      Fix __unmap_hugepage_range() by adding the missing TLB flush, and
      forcing a flush when unshare is successful.
      
      Fixes: 24669e58 ("hugetlb: use mmu_gather instead of a temporary linked list for accumulating pages)" # 3.6
      Signed-off-by: default avatarNadav Amit <namit@vmware.com>
      Reviewed-by: default avatarMike Kravetz <mike.kravetz@oracle.com>
      Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a4a118f2
  12. 21 Nov, 2021 3 commits