1. 23 Apr, 2022 1 commit
  2. 22 Apr, 2022 1 commit
  3. 21 Apr, 2022 17 commits
  4. 20 Apr, 2022 2 commits
    • Bruno Thomsen's avatar
      USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader · 35a923a0
      Bruno Thomsen authored
      Wireless reading of water and heat meters using 868 MHz wM-Bus mode C1.
      
      The two different product IDs allow detection of dongle antenna
      solution:
      - Internal antenna
      - External antenna using SMA connector
      
      https://www.kamstrup.com/en-en/water-solutions/water-meter-reading/usb-meter-readerSigned-off-by: default avatarBruno Thomsen <bruno.thomsen@gmail.com>
      Link: https://lore.kernel.org/r/20220414081202.5591-1-bruno.thomsen@gmail.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      35a923a0
    • Slark Xiao's avatar
      USB: serial: option: add support for Cinterion MV32-WA/MV32-WB · b4a64ed6
      Slark Xiao authored
      Add support for Cinterion device MV32-WA/MV32-WB. MV32-WA PID is
      0x00F1, and MV32-WB PID is 0x00F2.
      
      Test evidence as below:
      T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=5000 MxCh= 0
      D:  Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
      P:  Vendor=1e2d ProdID=00f1 Rev=05.04
      S:  Manufacturer=Cinterion
      S:  Product=Cinterion PID 0x00F1 USB Mobile Broadband
      S:  SerialNumber=78ada8c4
      C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=896mA
      I:  If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
      I:  If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
      I:  If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
      I:  If#=0x3 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
      I:  If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=60 Driver=option
      I:  If#=0x5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
      
      T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
      D:  Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
      P:  Vendor=1e2d ProdID=00f2 Rev=05.04
      S:  Manufacturer=Cinterion
      S:  Product=Cinterion PID 0x00F2 USB Mobile Broadband
      S:  SerialNumber=cdd06a78
      C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=896mA
      I:  If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
      I:  If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
      I:  If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
      I:  If#=0x3 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
      I:  If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=60 Driver=option
      I:  If#=0x5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
      
      Interface 0&1: MBIM, 2:Modem, 3: GNSS, 4: NMEA, 5: Diag
      GNSS port don't use serial driver.
      Signed-off-by: default avatarSlark Xiao <slark_xiao@163.com>
      Link: https://lore.kernel.org/r/20220414074434.5699-1-slark_xiao@163.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      b4a64ed6
  5. 19 Apr, 2022 1 commit
    • Dan Vacura's avatar
      usb: gadget: uvc: Fix crash when encoding data for usb request · 71d471e3
      Dan Vacura authored
      During the uvcg_video_pump() process, if an error occurs and
      uvcg_queue_cancel() is called, the buffer queue will be cleared out, but
      the current marker (queue->buf_used) of the active buffer (no longer
      active) is not reset. On the next iteration of uvcg_video_pump() the
      stale buf_used count will be used and the logic of min((unsigned
      int)len, buf->bytesused - queue->buf_used) may incorrectly calculate a
      nbytes size, causing an invalid memory access.
      
      [80802.185460][  T315] configfs-gadget gadget: uvc: VS request completed
      with status -18.
      [80802.185519][  T315] configfs-gadget gadget: uvc: VS request completed
      with status -18.
      ...
      uvcg_queue_cancel() is called and the queue is cleared out, but the
      marker queue->buf_used is not reset.
      ...
      [80802.262328][ T8682] Unable to handle kernel paging request at virtual
      address ffffffc03af9f000
      ...
      ...
      [80802.263138][ T8682] Call trace:
      [80802.263146][ T8682]  __memcpy+0x12c/0x180
      [80802.263155][ T8682]  uvcg_video_pump+0xcc/0x1e0
      [80802.263165][ T8682]  process_one_work+0x2cc/0x568
      [80802.263173][ T8682]  worker_thread+0x28c/0x518
      [80802.263181][ T8682]  kthread+0x160/0x170
      [80802.263188][ T8682]  ret_from_fork+0x10/0x18
      [80802.263198][ T8682] Code: a8c12829 a88130cb a8c130
      
      Fixes: d6925225 ("usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarDan Vacura <w36195@motorola.com>
      Link: https://lore.kernel.org/r/20220331184024.23918-1-w36195@motorola.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      71d471e3
  6. 14 Apr, 2022 2 commits
  7. 11 Apr, 2022 1 commit
  8. 09 Apr, 2022 4 commits
  9. 03 Apr, 2022 8 commits
  10. 02 Apr, 2022 3 commits
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-for-v5.18-2022-04-02' of... · be2d3ece
      Linus Torvalds authored
      Merge tag 'perf-tools-for-v5.18-2022-04-02' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull more perf tools updates from Arnaldo Carvalho de Melo:
      
       - Avoid SEGV if core.cpus isn't set in 'perf stat'.
      
       - Stop depending on .git files for building PERF-VERSION-FILE, used in
         'perf --version', fixing some perf tools build scenarios.
      
       - Convert tracepoint.py example to python3.
      
       - Update UAPI header copies from the kernel sources: socket,
         mman-common, msr-index, KVM, i915 and cpufeatures.
      
       - Update copy of libbpf's hashmap.c.
      
       - Directly return instead of using local ret variable in
         evlist__create_syswide_maps(), found by coccinelle.
      
      * tag 'perf-tools-for-v5.18-2022-04-02' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf python: Convert tracepoint.py example to python3
        perf evlist: Directly return instead of using local ret variable
        perf cpumap: More cpu map reuse by merge.
        perf cpumap: Add is_subset function
        perf evlist: Rename cpus to user_requested_cpus
        perf tools: Stop depending on .git files for building PERF-VERSION-FILE
        tools headers cpufeatures: Sync with the kernel sources
        tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
        tools headers UAPI: Sync linux/kvm.h with the kernel sources
        tools kvm headers arm64: Update KVM headers from the kernel sources
        tools arch x86: Sync the msr-index.h copy with the kernel sources
        tools headers UAPI: Sync asm-generic/mman-common.h with the kernel
        perf beauty: Update copy of linux/socket.h with the kernel sources
        perf tools: Update copy of libbpf's hashmap.c
        perf stat: Avoid SEGV if core.cpus isn't set
      be2d3ece
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v5.18' of... · d897b680
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Fix empty $(PYTHON) expansion.
      
       - Fix UML, which got broken by the attempt to suppress Clang warnings.
      
       - Fix warning message in modpost.
      
      * tag 'kbuild-fixes-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        modpost: restore the warning message for missing symbol versions
        Revert "um: clang: Strip out -mno-global-merge from USER_CFLAGS"
        kbuild: Remove '-mno-global-merge'
        kbuild: fix empty ${PYTHON} in scripts/link-vmlinux.sh
        kconfig: remove stale comment about removed kconfig_print_symbol()
      d897b680
    • Linus Torvalds's avatar
      Merge tag 'mips_5.18_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 0b0fa57a
      Linus Torvalds authored
      Pull MIPS fixes from Thomas Bogendoerfer:
      
       - build fix for gpio
      
       - fix crc32 build problems
      
       - check for failed memory allocations
      
      * tag 'mips_5.18_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
        MIPS: crypto: Fix CRC32 code
        MIPS: rb532: move GPIOD definition into C-files
        MIPS: lantiq: check the return value of kzalloc()
        mips: sgi-ip22: add a check for the return of kzalloc()
      0b0fa57a