1. 01 Feb, 2024 12 commits
    • Linus Torvalds's avatar
      Merge tag 'parisc-for-6.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 91481c90
      Linus Torvalds authored
      Pull parisc architecture fixes from Helge Deller:
       "The current exception handler, which helps on kernel accesses to
        userspace, may exhibit data corruption. The problem is that it is not
        guaranteed that the compiler will use the processor register we
        specified in the source code, but may choose another register which
        then will lead to silent register- and data corruption. To fix this
        issue we now use another strategy to help the exception handler to
        always find and set the error code into the correct CPU register.
      
        The other fixes are small: fixing CPU hotplug bringup, fix the page
        alignment of the RO_DATA section, added a check for the calculated
        cache stride and fix possible hangups when printing longer output at
        bootup when running on serial console.
      
        Most of the patches are tagged for stable series.
      
         - Fix random data corruption triggered by exception handler
      
         - Fix crash when setting up BTLB at CPU bringup
      
         - Prevent hung tasks when printing inventory on serial console
      
         - Make RO_DATA page aligned in vmlinux.lds.S
      
         - Add check for valid cache stride size"
      
      * tag 'parisc-for-6.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: BTLB: Fix crash when setting up BTLB at CPU bringup
        parisc: Fix random data corruption from exception handler
        parisc: Drop unneeded semicolon in parse_tree_node()
        parisc: Prevent hung tasks when printing inventory on serial console
        parisc: Check for valid stride size for cache flushes
        parisc: Make RO_DATA page aligned in vmlinux.lds.S
      91481c90
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v6.8' of... · a4126826
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Fix UML build with clang-18 and newer
      
       - Avoid using the alias attribute in host programs
      
       - Replace tabs with spaces when followed by conditionals for future GNU
         Make versions
      
       - Fix rpm-pkg for the systemd-provided kernel-install tool
      
       - Fix the undefined behavior in Kconfig for a 'int' symbol used in a
         conditional
      
      * tag 'kbuild-fixes-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kconfig: initialize sym->curr.tri to 'no' for all symbol types again
        kbuild: rpm-pkg: simplify installkernel %post
        kbuild: Replace tabs with spaces when followed by conditionals
        modpost: avoid using the alias attribute
        kbuild: fix W= flags in the help message
        modpost: Add '.ltext' and '.ltext.*' to TEXT_SECTIONS
        um: Fix adding '-no-pie' for clang
        kbuild: defconf: use SRCARCH to find merged configs
      a4126826
    • Linus Torvalds's avatar
      Merge tag 'nfsd-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux · cfdf0c09
      Linus Torvalds authored
      Pull nfsd fix from Chuck Lever:
      
       - Fix a recent backchannel timeout fix
      
      * tag 'nfsd-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux:
        NFSv4.1: Assign the right value for initval and retries for rpc timeout
      cfdf0c09
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-6.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · 49a4be2c
      Linus Torvalds authored
      Pull exfat fix from Namjae Jeon:
      
       - Fix BUG in iov_iter_revert reported from syzbot
      
      * tag 'exfat-for-6.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: fix zero the unwritten part for dio read
      49a4be2c
    • Linus Torvalds's avatar
      Merge tag 'hid-for-linus-2024020101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · 5c24e4e9
      Linus Torvalds authored
      Pull HID fixes from Benjamin Tissoires:
      
       - cleanups in the error path in hid-steam (Dan Carpenter)
      
       - fixes for Wacom tablets selftests that sneaked in while the CI was
         taking a break during the year end holidays (Benjamin Tissoires)
      
       - null pointer check in nvidia-shield (Kunwu Chan)
      
       - memory leak fix in hidraw (Su Hui)
      
       - another null pointer fix in i2c-hid-of (Johan Hovold)
      
       - another memory leak fix in HID-BPF this time, as well as a double
         fdget() fix reported by Dan Carpenter (Benjamin Tissoires)
      
       - fix for Cirque touchpad when they go on suspend (Kai-Heng Feng)
      
       - new device ID in hid-logitech-hidpp: "Logitech G Pro X SuperLight 2"
         (Jiri Kosina)
      
      * tag 'hid-for-linus-2024020101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
        HID: bpf: use __bpf_kfunc instead of noinline
        HID: bpf: actually free hdev memory after attaching a HID-BPF program
        HID: bpf: remove double fdget()
        HID: i2c-hid-of: fix NULL-deref on failed power up
        HID: hidraw: fix a problem of memory leak in hidraw_release()
        HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend
        HID: nvidia-shield: Add missing null pointer checks to LED initialization
        HID: logitech-hidpp: add support for Logitech G Pro X Superlight 2
        selftests/hid: wacom: fix confidence tests
        HID: hid-steam: Fix cleanup in probe()
        HID: hid-steam: remove pointless error message
      5c24e4e9
    • Linus Torvalds's avatar
      Merge tag 'firewire-fixes-6.8-rc3' of... · f6cdd897
      Linus Torvalds authored
      Merge tag 'firewire-fixes-6.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
      
      Pull firewire fixes from Takashi Sakamoto:
       "FireWire subsystem now supports the legacy layout of configuration
        ROM, while it appears that some of DV devices in the early 2000's have
        the legacy layout with a quirk. This includes some changes to handle
        the quirk"
      
      * tag 'firewire-fixes-6.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        firewire: core: search descriptor leaf just after vendor directory entry in root directory
        firewire: core: correct documentation of fw_csr_string() kernel API
      f6cdd897
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 6a864c09
      Linus Torvalds authored
      Pull spi fix from Mark Brown:
       "One simple fix for a minor but valid issue with constants overflowing
        identified via cppcheck"
      
      * tag 'spi-fix-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: sh-msiof: avoid integer overflow in constants
      6a864c09
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v6.8-rc2' of... · 4b561d10
      Linus Torvalds authored
      Merge tag 'regulator-fix-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fixes from Mark Brown:
       "The main set of fixes here are for the PWM regulator, fixing
        bootstrapping issues on some platforms where the hardware setup looked
        like it was out of spec for the constraints we have for the regulator
        causing us to make spurious and unhelpful changes to try to bring
        things in line with the constraints.
      
        There's also a couple of other driver specific fixes"
      
      * tag 'regulator-fix-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator (max5970): Fix IRQ handler
        regulator: ti-abb: don't use devm_platform_ioremap_resource_byname for shared interrupt register
        regulator: pwm-regulator: Manage boot-on with disabled PWM channels
        regulator: pwm-regulator: Calculate the output voltage for disabled PWMs
        regulator: pwm-regulator: Add validity checks in continuous .get_voltage
      4b561d10
    • Linus Torvalds's avatar
      Merge tag 'v6.8-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 8a2514c0
      Linus Torvalds authored
      Pull crypto fixes from Herbert Xu:
       "Fix regressions in caam and qat"
      
      * tag 'v6.8-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: caam - fix asynchronous hash
        crypto: qat - fix arbiter mapping generation algorithm for QAT 402xx
      8a2514c0
    • Linus Torvalds's avatar
      Merge tag 'lsm-pr-20240131' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm · 6d805afa
      Linus Torvalds authored
      Pull lsm fixes from Paul Moore:
       "Two small patches to fix some problems relating to LSM hook return
        values and how the individual LSMs interact"
      
      * tag 'lsm-pr-20240131' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm:
        lsm: fix default return value of the socket_getpeersec_*() hooks
        lsm: fix the logic in security_inode_getsecctx()
      6d805afa
    • Takashi Sakamoto's avatar
      firewire: core: search descriptor leaf just after vendor directory entry in root directory · 47dc5518
      Takashi Sakamoto authored
      It appears that Sony DVMC-DA1 has a quirk that the descriptor leaf entry
      locates just after the vendor directory entry in root directory. This is
      not conformant to the legacy layout of configuration ROM described in
      Configuration ROM for AV/C Devices 1.0 (1394 Trading Association, Dec 2000,
      TA Document 1999027).
      
      This commit changes current implementation to parse configuration ROM for
      device attributes so that the descriptor leaf entry can be detected for
      the vendor name.
      
      $ config-rom-pretty-printer < Sony-DVMC-DA1.img
                     ROM header and bus information block
                     -----------------------------------------------------------------
      1024  041ee7fb  bus_info_length 4, crc_length 30, crc 59387
      1028  31333934  bus_name "1394"
      1032  e0644000  irmc 1, cmc 1, isc 1, bmc 0, cyc_clk_acc 100, max_rec 4 (32)
      1036  08004603  company_id 080046     |
      1040  0014193c  device_id 12886219068  | EUI-64 576537731003586876
      
                     root directory
                     -----------------------------------------------------------------
      1044  0006b681  directory_length 6, crc 46721
      1048  03080046  vendor
      1052  0c0083c0  node capabilities: per IEEE 1394
      1056  8d00000a  --> eui-64 leaf at 1096
      1060  d1000003  --> unit directory at 1072
      1064  c3000005  --> vendor directory at 1084
      1068  8100000a  --> descriptor leaf at 1108
      
                     unit directory at 1072
                     -----------------------------------------------------------------
      1072  0002cdbf  directory_length 2, crc 52671
      1076  1200a02d  specifier id
      1080  13010000  version
      
                     vendor directory at 1084
                     -----------------------------------------------------------------
      1084  00020cfe  directory_length 2, crc 3326
      1088  17fa0000  model
      1092  81000008  --> descriptor leaf at 1124
      
                     eui-64 leaf at 1096
                     -----------------------------------------------------------------
      1096  0002c66e  leaf_length 2, crc 50798
      1100  08004603  company_id 080046     |
      1104  0014193c  device_id 12886219068  | EUI-64 576537731003586876
      
                     descriptor leaf at 1108
                     -----------------------------------------------------------------
      1108  00039e26  leaf_length 3, crc 40486
      1112  00000000  textual descriptor
      1116  00000000  minimal ASCII
      1120  536f6e79  "Sony"
      
                     descriptor leaf at 1124
                     -----------------------------------------------------------------
      1124  0005001d  leaf_length 5, crc 29
      1128  00000000  textual descriptor
      1132  00000000  minimal ASCII
      1136  44564d43  "DVMC"
      1140  2d444131  "-DA1"
      1144  00000000
      Suggested-by: default avatarAdam Goldman <adamg@pobox.com>
      Tested-by: default avatarAdam Goldman <adamg@pobox.com>
      Link: https://lore.kernel.org/r/20240130100409.30128-3-o-takashi@sakamocchi.jpSigned-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      47dc5518
    • Takashi Sakamoto's avatar
      firewire: core: correct documentation of fw_csr_string() kernel API · 5f9ab173
      Takashi Sakamoto authored
      Against its current description, the kernel API can accepts all types of
      directory entries.
      
      This commit corrects the documentation.
      
      Cc: stable@vger.kernel.org
      Fixes: 3c2c58cb ("firewire: core: fw_csr_string addendum")
      Link: https://lore.kernel.org/r/20240130100409.30128-2-o-takashi@sakamocchi.jpSigned-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      5f9ab173
  2. 31 Jan, 2024 11 commits
  3. 30 Jan, 2024 13 commits
  4. 29 Jan, 2024 3 commits
  5. 28 Jan, 2024 1 commit
    • Linus Torvalds's avatar
      Merge tag 'cxl-fixes-6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl · 3eb5ca85
      Linus Torvalds authored
      Pull cxl fixes from Dan Williams:
       "A build regression fix, a device compatibility fix, and an original
        bug preventing creation of large (16 device) interleave sets:
      
         - Fix unit test build regression fallout from global
           "missing-prototypes" change
      
         - Fix compatibility with devices that do not support interrupts
      
         - Fix overflow when calculating the capacity of large interleave sets"
      
      * tag 'cxl-fixes-6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl:
        cxl/region:Fix overflow issue in alloc_hpa()
        cxl/pci: Skip irq features if MSI/MSI-X are not supported
        tools/testing/nvdimm: Disable "missing prototypes / declarations" warnings
        tools/testing/cxl: Disable "missing prototypes / declarations" warnings
      3eb5ca85