1. 12 Dec, 2023 1 commit
  2. 04 Dec, 2023 3 commits
  3. 22 Nov, 2023 3 commits
  4. 21 Nov, 2023 7 commits
    • Jiri Kosina's avatar
      Revert "HID: logitech-dj: Add support for a new lightspeed receiver iteration" · 5b4ffb17
      Jiri Kosina authored
      This reverts commit 9d1bd934.
      
      Multiple people reported misbehaving devices and reverting this commit fixes
      the problem for them. As soon as the original commit author starts reacting
      again, we can try to figure out why he hasn't seen the issues (mismatching
      report descriptors?), but for the time being, fix for 6.7 by reverting.
      
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=218172
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=218094
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      5b4ffb17
    • Oliver Neukum's avatar
      HID: add ALWAYS_POLL quirk for Apple kb · c5509218
      Oliver Neukum authored
      These devices disconnect if suspended without remote wakeup. They can operate
      with the standard driver.
      Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      c5509218
    • Brett Raye's avatar
      HID: glorious: fix Glorious Model I HID report · a5e913c2
      Brett Raye authored
      The Glorious Model I mouse has a buggy HID report descriptor for its
      keyboard endpoint (used for programmable buttons). For report ID 2, there
      is a mismatch between Logical Minimum and Usage Minimum in the array that
      reports keycodes.
      
      The offending portion of the descriptor: (from hid-decode)
      
      0x95, 0x05,                    //  Report Count (5)                   30
      0x75, 0x08,                    //  Report Size (8)                    32
      0x15, 0x00,                    //  Logical Minimum (0)                34
      0x25, 0x65,                    //  Logical Maximum (101)              36
      0x05, 0x07,                    //  Usage Page (Keyboard)              38
      0x19, 0x01,                    //  Usage Minimum (1)                  40
      0x29, 0x65,                    //  Usage Maximum (101)                42
      0x81, 0x00,                    //  Input (Data,Arr,Abs)               44
      
      This bug shifts all programmed keycodes up by 1. Importantly, this causes
      "empty" array indexes of 0x00 to be interpreted as 0x01, ErrorRollOver.
      The presence of ErrorRollOver causes the system to ignore all keypresses
      from the endpoint and breaks the ability to use the programmable buttons.
      
      Setting byte 41 to 0x00 fixes this, and causes keycodes to be interpreted
      correctly.
      
      Also, USB_VENDOR_ID_GLORIOUS is changed to USB_VENDOR_ID_SINOWEALTH,
      and a new ID for Laview Technology is added. Glorious seems to be
      white-labeling controller boards or mice from these vendors. There isn't a
      single canonical vendor ID for Glorious products.
      Signed-off-by: default avatarBrett Raye <braye@fastmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      a5e913c2
    • Charles Yi's avatar
      HID: fix HID device resource race between HID core and debugging support · fc43e9c8
      Charles Yi authored
      hid_debug_events_release releases resources bound to the HID device instance.
      hid_device_release releases the underlying HID device instance potentially
      before hid_debug_events_release has completed releasing debug resources bound
      to the same HID device instance.
      
      Reference count to prevent the HID device instance from being torn down
      preemptively when HID debugging support is used. When count reaches zero,
      release core resources of HID device instance using hiddev_free.
      
      The crash:
      
      [  120.728477][ T4396] kernel BUG at lib/list_debug.c:53!
      [  120.728505][ T4396] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
      [  120.739806][ T4396] Modules linked in: bcmdhd dhd_static_buf 8822cu pcie_mhi r8168
      [  120.747386][ T4396] CPU: 1 PID: 4396 Comm: hidt_bridge Not tainted 5.10.110 #257
      [  120.754771][ T4396] Hardware name: Rockchip RK3588 EVB4 LP4 V10 Board (DT)
      [  120.761643][ T4396] pstate: 60400089 (nZCv daIf +PAN -UAO -TCO BTYPE=--)
      [  120.768338][ T4396] pc : __list_del_entry_valid+0x98/0xac
      [  120.773730][ T4396] lr : __list_del_entry_valid+0x98/0xac
      [  120.779120][ T4396] sp : ffffffc01e62bb60
      [  120.783126][ T4396] x29: ffffffc01e62bb60 x28: ffffff818ce3a200
      [  120.789126][ T4396] x27: 0000000000000009 x26: 0000000000980000
      [  120.795126][ T4396] x25: ffffffc012431000 x24: ffffff802c6d4e00
      [  120.801125][ T4396] x23: ffffff8005c66f00 x22: ffffffc01183b5b8
      [  120.807125][ T4396] x21: ffffff819df2f100 x20: 0000000000000000
      [  120.813124][ T4396] x19: ffffff802c3f0700 x18: ffffffc01d2cd058
      [  120.819124][ T4396] x17: 0000000000000000 x16: 0000000000000000
      [  120.825124][ T4396] x15: 0000000000000004 x14: 0000000000003fff
      [  120.831123][ T4396] x13: ffffffc012085588 x12: 0000000000000003
      [  120.837123][ T4396] x11: 00000000ffffbfff x10: 0000000000000003
      [  120.843123][ T4396] x9 : 455103d46b329300 x8 : 455103d46b329300
      [  120.849124][ T4396] x7 : 74707572726f6320 x6 : ffffffc0124b8cb5
      [  120.855124][ T4396] x5 : ffffffffffffffff x4 : 0000000000000000
      [  120.861123][ T4396] x3 : ffffffc011cf4f90 x2 : ffffff81fee7b948
      [  120.867122][ T4396] x1 : ffffffc011cf4f90 x0 : 0000000000000054
      [  120.873122][ T4396] Call trace:
      [  120.876259][ T4396]  __list_del_entry_valid+0x98/0xac
      [  120.881304][ T4396]  hid_debug_events_release+0x48/0x12c
      [  120.886617][ T4396]  full_proxy_release+0x50/0xbc
      [  120.891323][ T4396]  __fput+0xdc/0x238
      [  120.895075][ T4396]  ____fput+0x14/0x24
      [  120.898911][ T4396]  task_work_run+0x90/0x148
      [  120.903268][ T4396]  do_exit+0x1bc/0x8a4
      [  120.907193][ T4396]  do_group_exit+0x8c/0xa4
      [  120.911458][ T4396]  get_signal+0x468/0x744
      [  120.915643][ T4396]  do_signal+0x84/0x280
      [  120.919650][ T4396]  do_notify_resume+0xd0/0x218
      [  120.924262][ T4396]  work_pending+0xc/0x3f0
      
      [ Rahul Rameshbabu <sergeantsagara@protonmail.com>: rework changelog ]
      Fixes: cd667ce2 ("HID: use debugfs for events/reports dumping")
      Signed-off-by: default avatarCharles Yi <be286@163.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      fc43e9c8
    • Yihong Cao's avatar
      HID: apple: add Jamesdonkey and A3R to non-apple keyboards list · 113f7366
      Yihong Cao authored
      Jamesdonkey A3R keyboard is identified as "Jamesdonkey A3R" in wired
      mode, "A3R-U" in wireless mode and "A3R" in bluetooth mode. Adding them
      to non-apple keyboards fixes function key.
      Signed-off-by: default avatarYihong Cao <caoyihong4@outlook.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      113f7366
    • Hamish Martin's avatar
      HID: mcp2221: Allow IO to start during probe · 73ce9f1f
      Hamish Martin authored
      During the probe we add an I2C adapter and as soon as we add that adapter
      it may be used for a transfer (e.g via the code in i2cdetect()).
      Those transfers are not able to complete and time out. This is because the
      HID raw_event callback (mcp2221_raw_event) will not be invoked until the
      HID device's 'driver_input_lock' is marked up at the completion of the
      probe in hid_device_probe(). This starves the driver of the responses it
      is waiting for.
      In order to allow the I2C transfers to complete while we are still in the
      probe, start the IO once we have completed init of the HID device.
      
      This issue seems to have been seen before and a patch was submitted but
      it seems it was never accepted. See:
      https://lore.kernel.org/all/20221103222714.21566-3-Enrik.Berkhan@inka.de/Signed-off-by: default avatarHamish Martin <hamish.martin@alliedtelesis.co.nz>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      73ce9f1f
    • Hamish Martin's avatar
      HID: mcp2221: Set driver data before I2C adapter add · f2d4a583
      Hamish Martin authored
      The process of adding an I2C adapter can invoke I2C accesses on that new
      adapter (see i2c_detect()).
      
      Ensure we have set the adapter's driver data to avoid null pointer
      dereferences in the xfer functions during the adapter add.
      
      This has been noted in the past and the same fix proposed but not
      completed. See:
      https://lore.kernel.org/lkml/ef597e73-ed71-168e-52af-0d19b03734ac@vigem.de/Signed-off-by: default avatarHamish Martin <hamish.martin@alliedtelesis.co.nz>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      f2d4a583
  5. 03 Nov, 2023 2 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-2023110101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · 4ea4ed22
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
      
       - fixes for crashes detected by CONFIG_KUNIT_ALL_TESTS in hid-uclogic
         driver (Jinjie Ruan)
      
       - HID selftests fixes and improvements (Benjamin Tissoires)
      
       - probe error handling path fixes in hid-nvidia-shield driver
         (Christophe JAILLET)
      
       - cleanup of LED handling in hid-nintendo (Martino Fontana)
      
       - big cleanup of logitech-hidpp probe code (Hans de Goede)
      
       - Suspend/Resume fix for USB Thinkpad Compact Keyboard (Jamie Lentin)
      
       - firmware detection improvement for Lenovo cptkbd (Mikhail
         Khvainitski)
      
       - IRQ shutdown and workqueue initialization fixes for hid-cp2112 driver
         (Danny Kaehn)
      
       - #ifdef CONFIG_PM removal from HID code (Thomas Weißschuh)
      
       - other assorted device-ID additions and quirks
      
      * tag 'for-linus-2023110101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (31 commits)
        HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
        HID: logitech-hidpp: Stop IO before calling hid_connect()
        HID: logitech-hidpp: Drop HIDPP_QUIRK_UNIFYING
        HID: logitech-hidpp: Drop delayed_work_cb()
        HID: logitech-hidpp: Fix connect event race
        HID: logitech-hidpp: Remove unused connected param from *_connect()
        HID: logitech-hidpp: Remove connected check for non-unifying devices
        HID: logitech-hidpp: Add hidpp_non_unifying_init() helper
        HID: logitech-hidpp: Move hidpp_overwrite_name() to before connect check
        HID: logitech-hidpp: Move g920_get_config() to just before hidpp_ff_init()
        HID: logitech-hidpp: Remove wtp_get_config() call from probe()
        HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
        HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
        HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
        HID: rmi: remove #ifdef CONFIG_PM
        HID: multitouch: remove #ifdef CONFIG_PM
        HID: usbhid: remove #ifdef CONFIG_PM
        HID: core: remove #ifdef CONFIG_PM from hid_driver
        hid: lenovo: Resend all settings on reset_resume for compact keyboards
        HID: uclogic: Fix a work->entry not empty bug in __queue_work()
        ...
      4ea4ed22
    • Linus Torvalds's avatar
      Merge tag 'pci-v6.7-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci · 27beb3ca
      Linus Torvalds authored
      Pull pci updates from Bjorn Helgaas:
       "Enumeration:
      
         - Use acpi_evaluate_dsm_typed() instead of open-coding _DSM
           evaluation to learn device characteristics (Andy Shevchenko)
      
         - Tidy multi-function header checks using new PCI_HEADER_TYPE_MASK
           definition (Ilpo Järvinen)
      
         - Simplify config access error checking in various drivers (Ilpo
           Järvinen)
      
         - Use pcie_capability_clear_word() (not
           pcie_capability_clear_and_set_word()) when only clearing (Ilpo
           Järvinen)
      
         - Add pci_get_base_class() to simplify finding devices using base
           class only (ignoring subclass and programming interface) (Sui
           Jingfeng)
      
         - Add pci_is_vga(), which includes ancient PCI_CLASS_NOT_DEFINED_VGA
           devices from before the Class Code was added to PCI (Sui Jingfeng)
      
         - Use pci_is_vga() for vgaarb, sysfs "boot_vga", virtio, qxl to
           include ancient VGA devices (Sui Jingfeng)
      
        Resource management:
      
         - Make pci_assign_unassigned_resources() non-init because sparc uses
           it after init (Randy Dunlap)
      
        Driver binding:
      
         - Retain .remove() and .probe() callbacks (previously __init) because
           sysfs may cause them to be called later (Uwe Kleine-König)
      
         - Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device, so
           it can be claimed by dwc3 instead (Vicki Pfau)
      
        PCI device hotplug:
      
         - Add Ampere Altra Attention Indicator extension driver for acpiphp
           (D Scott Phillips)
      
        Power management:
      
         - Quirk VideoPropulsion Torrent QN16e with longer delay after reset
           (Lukas Wunner)
      
         - Prevent users from overriding drivers that say we shouldn't use
           D3cold (Lukas Wunner)
      
         - Avoid PME from D3hot/D3cold for AMD Rembrandt and Phoenix USB4
           because wakeup interrupts from those states don't work if amd-pmc
           has put the platform in a hardware sleep state (Mario Limonciello)
      
        IOMMU:
      
         - Disable ATS for Intel IPU E2000 devices with invalidation message
           endianness erratum (Bartosz Pawlowski)
      
        Error handling:
      
         - Factor out interrupt enable/disable into helpers (Kai-Heng Feng)
      
        Peer-to-peer DMA:
      
         - Fix flexible-array usage in struct pci_p2pdma_pagemap in case we
           ever use pagemaps with multiple entries (Gustavo A. R. Silva)
      
        ASPM:
      
         - Revert a change that broke when drivers disabled L1 and users later
           enabled an L1.x substate via sysfs, and fix a similar issue when
           users disabled L1 via sysfs (Heiner Kallweit)
      
        Endpoint framework:
      
         - Fix double free in __pci_epc_create() (Dan Carpenter)
      
         - Use IS_ERR_OR_NULL() to simplify endpoint core (Ruan Jinjie)
      
        Cadence PCIe controller driver:
      
         - Drop unused "is_rc" member (Li Chen)
      
        Freescale Layerscape PCIe controller driver:
      
         - Enable 64-bit addressing in endpoint mode (Guanhua Gao)
      
        Intel VMD host bridge driver:
      
         - Fix multi-function header check (Ilpo Järvinen)
      
        Microsoft Hyper-V host bridge driver:
      
         - Annotate struct hv_dr_state with __counted_by (Kees Cook)
      
        NVIDIA Tegra194 PCIe controller driver:
      
         - Drop setting of LNKCAP_MLW (max link width) since dw_pcie_setup()
           already does this via dw_pcie_link_set_max_link_width() (Yoshihiro
           Shimoda)
      
        Qualcomm PCIe controller driver:
      
         - Use PCIE_SPEED2MBS_ENC() to simplify encoding of link speed
           (Manivannan Sadhasivam)
      
         - Add a .write_dbi2() callback so DBI2 register writes, e.g., for
           setting the BAR size, work correctly (Manivannan Sadhasivam)
      
         - Enable ASPM for platforms that use 1.9.0 ops, because the PCI core
           doesn't enable ASPM states that haven't been enabled by the
           firmware (Manivannan Sadhasivam)
      
        Renesas R-Car Gen4 PCIe controller driver:
      
         - Add DesignWare core support (set max link width, EDMA_UNROLL flag,
           .pre_init(), .deinit(), etc) for use by R-Car Gen4 driver
           (Yoshihiro Shimoda)
      
         - Add driver and DT schema for DesignWare-based Renesas R-Car Gen4
           controller in both host and endpoint mode (Yoshihiro Shimoda)
      
        Xilinx NWL PCIe controller driver:
      
         - Update ECAM size to support 256 buses (Thippeswamy Havalige)
      
         - Stop setting bridge primary/secondary/subordinate bus numbers,
           since PCI core does this (Thippeswamy Havalige)
      
        Xilinx XDMA controller driver:
      
         - Add driver and DT schema for Zynq UltraScale+ MPSoCs devices with
           Xilinx XDMA Soft IP (Thippeswamy Havalige)
      
        Miscellaneous:
      
         - Use FIELD_GET()/FIELD_PREP() to simplify and reduce use of _SHIFT
           macros (Ilpo Järvinen, Bjorn Helgaas)
      
         - Remove logic_outb(), _outw(), outl() duplicate declarations (John
           Sanpe)
      
         - Replace unnecessary UTF-8 in Kconfig help text because menuconfig
           doesn't render it correctly (Liu Song)"
      
      * tag 'pci-v6.7-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci: (102 commits)
        PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
        PCI: Simplify pcie_capability_clear_and_set_word() to ..._clear_word()
        PCI: endpoint: Fix double free in __pci_epc_create()
        PCI: xilinx-xdma: Add Xilinx XDMA Root Port driver
        dt-bindings: PCI: xilinx-xdma: Add schemas for Xilinx XDMA PCIe Root Port Bridge
        PCI: xilinx-cpm: Move IRQ definitions to a common header
        PCI: xilinx-nwl: Modify ECAM size to enable support for 256 buses
        PCI: xilinx-nwl: Rename the NWL_ECAM_VALUE_DEFAULT macro
        dt-bindings: PCI: xilinx-nwl: Modify ECAM size in the DT example
        PCI: xilinx-nwl: Remove redundant code that sets Type 1 header fields
        PCI: hotplug: Add Ampere Altra Attention Indicator extension driver
        PCI/AER: Factor out interrupt toggling into helpers
        PCI: acpiphp: Allow built-in drivers for Attention Indicators
        PCI/portdrv: Use FIELD_GET()
        PCI/VC: Use FIELD_GET()
        PCI/PTM: Use FIELD_GET()
        PCI/PME: Use FIELD_GET()
        PCI/ATS: Use FIELD_GET()
        PCI/ATS: Show PASID Capability register width in bitmasks
        PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
        ...
      27beb3ca
  6. 02 Nov, 2023 24 commits
    • Linus Torvalds's avatar
      Merge tag '6.7-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbd · 4652b8e4
      Linus Torvalds authored
      Pull smb server updates from Steve French:
       "Seven ksmbd server fixes:
      
         - logoff improvement for multichannel bound connections
      
         - unicode fix for surrogate pairs
      
         - RDMA (smbdirect) fix for IB devices
      
         - fix locking deadlock in kern_path_create during rename
      
         - iov memory allocation fix
      
         - two minor cleanup patches (doc cleanup, and unused variable)"
      
      * tag '6.7-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbd:
        ksmbd: no need to wait for binded connection termination at logoff
        ksmbd: add support for surrogate pair conversion
        ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
        ksmbd: fix recursive locking in vfs helpers
        ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
        ksmbd: reorganize ksmbd_iov_pin_rsp()
        ksmbd: Remove unused field in ksmbd_user struct
      4652b8e4
    • Linus Torvalds's avatar
      Merge tag 'fsnotify_for_v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 71fb7b32
      Linus Torvalds authored
      Pull fsnotify update from Jan Kara:
       "This time just one tiny cleanup for fsnotify"
      
      * tag 'fsnotify_for_v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        fanotify: delete useless parenthesis in FANOTIFY_INLINE_FH macro
      71fb7b32
    • Linus Torvalds's avatar
      Merge tag 'fs_for_v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 5efad0a7
      Linus Torvalds authored
      Pull ext2, udf, and quota updates from Jan Kara:
      
       - conversion of ext2 directory code to use folios
      
       - cleanups in UDF declarations
      
       - bugfix for quota interaction with file encryption
      
      * tag 'fs_for_v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        ext2: Convert ext2_prepare_chunk and ext2_commit_chunk to folios
        ext2: Convert ext2_make_empty() to use a folio
        ext2: Convert ext2_unlink() and ext2_rename() to use folios
        ext2: Convert ext2_delete_entry() to use folios
        ext2: Convert ext2_empty_dir() to use a folio
        ext2: Convert ext2_add_link() to use a folio
        ext2: Convert ext2_readdir to use a folio
        ext2: Add ext2_get_folio()
        ext2: Convert ext2_check_page to ext2_check_folio
        highmem: Add folio_release_kmap()
        udf: Avoid unneeded variable length array in struct fileIdentDesc
        udf: Annotate struct udf_bitmap with __counted_by
        quota: explicitly forbid quota files from being encrypted
      5efad0a7
    • Linus Torvalds's avatar
      Merge tag 'jfs-6.7' of https://github.com/kleikamp/linux-shaggy · e9806ff8
      Linus Torvalds authored
      Pull jfs updates from Dave Kleikamp:
       "Minor stability improvements"
      
      * tag 'jfs-6.7' of https://github.com/kleikamp/linux-shaggy:
        jfs: define xtree root and page independently
        jfs: fix array-index-out-of-bounds in diAlloc
        jfs: fix array-index-out-of-bounds in dbFindLeaf
        fs/jfs: Add validity check for db_maxag and db_agpref
        fs/jfs: Add check for negative db_l2nbperpage
      e9806ff8
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · dc737f11
      Linus Torvalds authored
      Pull exfat updates from Namjae Jeon:
      
       - Add ioctls to get and set file attribute that is used in
         the fatattr util
      
       - Add zero_size_dir mount option to avoid allocating a cluster
         when creating a directory
      
      * tag 'exfat-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: support create zero-size directory
        exfat: support handle zero-size directory
        exfat: add ioctls for accessing attributes
      dc737f11
    • Linus Torvalds's avatar
      Merge tag 'erofs-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs · 87a201b4
      Linus Torvalds authored
      Pull erofs updates from Gao Xiang:
       "Nothing exciting lands for this cycle, since we're still busying in
        developing support for sub-page blocks and large-folios of compressed
        data for new scenarios on Android.
      
        In this cycle, MicroLZMA format is marked as stable, and there are
        minor cleanups around documentation and codebase. In addition, it also
        fixes incorrect lockref usage in erofs_insert_workgroup().
      
        Summary:
      
         - Fix inode metadata space layout documentation
      
         - Avoid warning for MicroLZMA format anymore
      
         - Fix erofs_insert_workgroup() lockref usage
      
         - Some cleanups"
      
      * tag 'erofs-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
        erofs: fix erofs_insert_workgroup() lockref usage
        erofs: tidy up redundant includes
        erofs: get rid of ROOT_NID()
        erofs: simplify compression configuration parser
        erofs: don't warn MicroLZMA format anymore
        erofs: fix inode metadata space layout description in documentation
      87a201b4
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 57aff997
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "Cleanup ext4's multi-block allocator, including adding some unit
        tests, as well as cleaning how we update the backup superblock after
        online resizes or updating the label or uuid.
      
        Optimize handling of released data blocks in ext4's commit machinery
        to avoid a potential lock contention on s_md_lock spinlock.
      
        Fix a number of ext4 bugs:
      
         - fix race between writepages and remount
      
         - fix racy may inline data check in dio write
      
         - add missed brelse in an error path in update_backups
      
         - fix umask handling when ACL support is disabled
      
         - fix lost EIO error when a journal commit races with a fsync of the
           blockdev
      
         - fix potential improper i_size when there is a crash right after an
           O_SYNC direct write.
      
         - check extent node for validity before potentially using what might
           be an invalid pointer
      
         - fix potential stale data exposure when writing to an unwritten
           extent and the file system is nearly out of space
      
         - fix potential accounting error around block reservations when
           writing partial delayed allocation writes to a bigalloc cluster
      
         - avoid memory allocation failure when tracking partial delayed
           allocation writes to a bigalloc cluster
      
         - fix various debugging print messages"
      
      * tag 'ext4_for_linus-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (41 commits)
        ext4: properly sync file size update after O_SYNC direct IO
        ext4: fix racy may inline data check in dio write
        ext4: run mballoc test with different layouts setting
        ext4: add first unit test for ext4_mb_new_blocks_simple in mballoc
        ext4: add some kunit stub for mballoc kunit test
        ext4: call ext4_mb_mark_context in ext4_group_add_blocks()
        ext4: Separate block bitmap and buddy bitmap freeing in ext4_group_add_blocks()
        ext4: call ext4_mb_mark_context in ext4_mb_clear_bb
        ext4: Separate block bitmap and buddy bitmap freeing in ext4_mb_clear_bb()
        ext4: call ext4_mb_mark_context in ext4_mb_mark_diskspace_used
        ext4: extend ext4_mb_mark_context to support allocation under journal
        ext4: call ext4_mb_mark_context in ext4_free_blocks_simple
        ext4: factor out codes to update block bitmap and group descriptor on disk from ext4_mb_mark_bb
        ext4: make state in ext4_mb_mark_bb to be bool
        jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
        ext4: apply umask if ACL support is disabled
        ext4: mark buffer new if it is unwritten to avoid stale data exposure
        ext4: move 'ix' sanity check to corrent position
        jbd2: fix printk format type for 'io_block' in do_one_pass()
        jbd2: print io_block if check data block checksum failed when do recovery
        ...
      57aff997
    • Linus Torvalds's avatar
      Merge tag 'dlm-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm · 91a683cd
      Linus Torvalds authored
      Pull dlm updates from David Teigland:
       "This set of patches has some minor fixes for message handling, some
        misc cleanups, and updates the maintainers entry"
      
      * tag 'dlm-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
        MAINTAINERS: Update dlm maintainer and web page
        dlm: slow down filling up processing queue
        dlm: fix no ack after final message
        dlm: be sure we reset all nodes at forced shutdown
        dlm: fix remove member after close call
        dlm: fix creating multiple node structures
        fs: dlm: Remove some useless memset()
        fs: dlm: Fix the size of a buffer in dlm_create_debug_file()
        fs: dlm: Simplify buffer size computation in dlm_create_debug_file()
      91a683cd
    • Andrea Righi's avatar
      module/decompress: use kvmalloc() consistently · 17fc8084
      Andrea Righi authored
      We consistently switched from kmalloc() to vmalloc() in module
      decompression to prevent potential memory allocation failures with large
      modules, however vmalloc() is not as memory-efficient and fast as
      kmalloc().
      
      Since we don't know in general the size of the workspace required by the
      decompression algorithm, it is more reasonable to use kvmalloc()
      consistently, also considering that we don't have special memory
      requirements here.
      Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Tested-by: default avatarAndrea Righi <andrea.righi@canonical.com>
      Signed-off-by: default avatarAndrea Righi <andrea.righi@canonical.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      17fc8084
    • Linus Torvalds's avatar
      Merge tag 'integrity-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity · ca219be0
      Linus Torvalds authored
      Pull integrity updates from Mimi Zohar:
       "Four integrity changes: two IMA-overlay updates, an integrity Kconfig
        cleanup, and a secondary keyring update"
      
      * tag 'integrity-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
        ima: detect changes to the backing overlay file
        certs: Only allow certs signed by keys on the builtin keyring
        integrity: fix indentation of config attributes
        ima: annotate iint mutex to avoid lockdep false positive warnings
      ca219be0
    • Linus Torvalds's avatar
      Merge tag 'modules-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux · 21e80f38
      Linus Torvalds authored
      Pull modules updates from Luis Chamberlain:
       "The only thing worth highligthing is that gzip moves to use vmalloc()
        instead of kmalloc just as we had a fix for this for zstd on v6.6-rc1.
      
        The rest is regular house keeping, keeping things neat, tidy, and
        boring"
      
      [ The kmalloc -> vmalloc conversion is not the right approach.
      
        Unless you know you need huge areas or know you need to use virtual
        mappings for some reason (playing with protection bits or whatever),
        you should use kvmalloc()/kvfree, which automatically picks the right
        allocation model    - Linus ]
      
      * tag 'modules-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
        module: Annotate struct module_notes_attrs with __counted_by
        module: Fix comment typo
        module: Make is_valid_name() return bool
        module: Make is_mapping_symbol() return bool
        module/decompress: use vmalloc() for gzip decompression workspace
        MAINTAINERS: add include/linux/module*.h to modules
        module: Clarify documentation of module_param_call()
      21e80f38
    • Linus Torvalds's avatar
      Merge tag 'sysctl-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux · 426ee519
      Linus Torvalds authored
      Pull sysctl updates from Luis Chamberlain:
       "To help make the move of sysctls out of kernel/sysctl.c not incur a
        size penalty sysctl has been changed to allow us to not require the
        sentinel, the final empty element on the sysctl array. Joel Granados
        has been doing all this work. On the v6.6 kernel we got the major
        infrastructure changes required to support this. For v6.7-rc1 we have
        all arch/ and drivers/ modified to remove the sentinel. Both arch and
        driver changes have been on linux-next for a bit less than a month. It
        is worth re-iterating the value:
      
         - this helps reduce the overall build time size of the kernel and run
           time memory consumed by the kernel by about ~64 bytes per array
      
         - the extra 64-byte penalty is no longer inncurred now when we move
           sysctls out from kernel/sysctl.c to their own files
      
        For v6.8-rc1 expect removal of all the sentinels and also then the
        unneeded check for procname == NULL.
      
        The last two patches are fixes recently merged by Krister Johansen
        which allow us again to use softlockup_panic early on boot. This used
        to work but the alias work broke it. This is useful for folks who want
        to detect softlockups super early rather than wait and spend money on
        cloud solutions with nothing but an eventual hung kernel. Although
        this hadn't gone through linux-next it's also a stable fix, so we
        might as well roll through the fixes now"
      
      * tag 'sysctl-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux: (23 commits)
        watchdog: move softlockup_panic back to early_param
        proc: sysctl: prevent aliased sysctls from getting passed to init
        intel drm: Remove now superfluous sentinel element from ctl_table array
        Drivers: hv: Remove now superfluous sentinel element from ctl_table array
        raid: Remove now superfluous sentinel element from ctl_table array
        fw loader: Remove the now superfluous sentinel element from ctl_table array
        sgi-xp: Remove the now superfluous sentinel element from ctl_table array
        vrf: Remove the now superfluous sentinel element from ctl_table array
        char-misc: Remove the now superfluous sentinel element from ctl_table array
        infiniband: Remove the now superfluous sentinel element from ctl_table array
        macintosh: Remove the now superfluous sentinel element from ctl_table array
        parport: Remove the now superfluous sentinel element from ctl_table array
        scsi: Remove now superfluous sentinel element from ctl_table array
        tty: Remove now superfluous sentinel element from ctl_table array
        xen: Remove now superfluous sentinel element from ctl_table array
        hpet: Remove now superfluous sentinel element from ctl_table array
        c-sky: Remove now superfluous sentinel element from ctl_talbe array
        powerpc: Remove now superfluous sentinel element from ctl_table arrays
        riscv: Remove now superfluous sentinel element from ctl_table array
        x86/vdso: Remove now superfluous sentinel element from ctl_table array
        ...
      426ee519
    • Linus Torvalds's avatar
      Merge tag 'docs-6.7' of git://git.lwn.net/linux · babe3939
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "The number of commits for documentation is not huge this time around,
        but there are some significant changes nonetheless:
      
         - Some more Spanish-language and Chinese translations
      
         - The much-discussed documentation of the confidential-computing
           threat model
      
         - Powerpc and RISCV documentation move under Documentation/arch -
           these complete this particular bit of documentation churn
      
         - A large traditional-Chinese documentation update
      
         - A new document on backporting and conflict resolution
      
         - Some kernel-doc and Sphinx fixes
      
        Plus the usual smattering of smaller updates and typo fixes"
      
      * tag 'docs-6.7' of git://git.lwn.net/linux: (40 commits)
        scripts/kernel-doc: Fix the regex for matching -Werror flag
        docs: backporting: address feedback
        Documentation: driver-api: pps: Update PPS generator documentation
        speakup: Document USB support
        doc: blk-ioprio: Bring the doc in line with the implementation
        docs: usb: fix reference to nonexistent file in UVC Gadget
        docs: doc-guide: mention 'make refcheckdocs'
        Documentation: fix typo in dynamic-debug howto
        scripts/kernel-doc: match -Werror flag strictly
        Documentation/sphinx: Remove the repeated word "the" in comments.
        docs: sparse: add SPDX-License-Identifier
        docs/zh_CN: Add subsystem-apis Chinese translation
        docs/zh_TW: update contents for zh_TW
        docs: submitting-patches: encourage direct notifications to commenters
        docs: add backporting and conflict resolution document
        docs: move riscv under arch
        docs: update link to powerpc/vmemmap_dedup.rst
        mm/memory-hotplug: fix typo in documentation
        docs: move powerpc under arch
        PCI: Update the devres documentation regarding to pcim_*()
        ...
      babe3939
    • Linus Torvalds's avatar
      Merge tag 'linux_kselftest-next-6.7-rc1' of... · 7dc0e9c7
      Linus Torvalds authored
      Merge tag 'linux_kselftest-next-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kselftest updates from Shuah Khan:
      
       - kbuild kselftest-merge target fixes
      
       - fixes to several tests
      
       - resctrl test fixes and enhancements
      
       - ksft_perror() helper and reporting improvements
      
       - printf attribute to kselftest prints to improve reporting
      
       - documentation and clang build warning fixes
      
      The bulk of the patches are for resctrl fixes and enhancements.
      
      * tag 'linux_kselftest-next-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (51 commits)
        selftests/resctrl: Fix MBM test failure when MBA unavailable
        selftests/clone3: Report descriptive test names
        selftests:modify the incorrect print format
        selftests/efivarfs: create-read: fix a resource leak
        selftests/ftrace: Add riscv support for kprobe arg tests
        selftests/ftrace: add loongarch support for kprobe args char tests
        selftests/amd-pstate: Added option to provide perf binary path
        selftests/amd-pstate: Fix broken paths to run workloads in amd-pstate-ut
        selftests/resctrl: Move run_benchmark() to a more fitting file
        selftests/resctrl: Fix schemata write error check
        selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
        selftests/resctrl: Fix feature checks
        selftests/resctrl: Refactor feature check to use resource and feature name
        selftests/resctrl: Move _GNU_SOURCE define into Makefile
        selftests/resctrl: Remove duplicate feature check from CMT test
        selftests/resctrl: Extend signal handler coverage to unmount on receiving signal
        selftests/resctrl: Fix uninitialized .sa_flags
        selftests/resctrl: Cleanup benchmark argument parsing
        selftests/resctrl: Remove ben_count variable
        selftests/resctrl: Make benchmark command const and build it with pointers
        ...
      7dc0e9c7
    • Linus Torvalds's avatar
      Merge tag 'linux_kselftest-kunit-6.7-rc1' of... · 5eda8f25
      Linus Torvalds authored
      Merge tag 'linux_kselftest-kunit-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kunit updates from Shuah Khan:
      
       - string-stream testing enhancements
      
       - several fixes memory leaks
      
       - fix to reset status during parameter handling
      
      * tag 'linux_kselftest-kunit-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        kunit: test: Fix the possible memory leak in executor_test
        kunit: Fix possible memory leak in kunit_filter_suites()
        kunit: Fix the wrong kfree of copy for kunit_filter_suites()
        kunit: Fix missed memory release in kunit_free_suite_set()
        kunit: Reset test status on each param iteration
        kunit: string-stream: Test performance of string_stream
        kunit: Use string_stream for test log
        kunit: string-stream: Add tests for freeing resource-managed string_stream
        kunit: string-stream: Decouple string_stream from kunit
        kunit: string-stream: Add kunit_alloc_string_stream()
        kunit: Don't use a managed alloc in is_literal()
        kunit: string-stream-test: Add cases for string_stream newline appending
        kunit: string-stream: Add option to make all lines end with newline
        kunit: string-stream: Improve testing of string_stream
        kunit: string-stream: Don't create a fragment for empty strings
      5eda8f25
    • Linus Torvalds's avatar
      Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd · 463f46e1
      Linus Torvalds authored
      Pull iommufd updates from Jason Gunthorpe:
       "This brings three new iommufd capabilities:
      
         - Dirty tracking for DMA.
      
           AMD/ARM/Intel CPUs can now record if a DMA writes to a page in the
           IOPTEs within the IO page table. This can be used to generate a
           record of what memory is being dirtied by DMA activities during a
           VM migration process. A VMM like qemu will combine the IOMMU dirty
           bits with the CPU's dirty log to determine what memory to transfer.
      
           VFIO already has a DMA dirty tracking framework that requires PCI
           devices to implement tracking HW internally. The iommufd version
           provides an alternative that the VMM can select, if available. The
           two are designed to have very similar APIs.
      
         - Userspace controlled attributes for hardware page tables
           (HWPT/iommu_domain). There are currently a few generic attributes
           for HWPTs (support dirty tracking, and parent of a nest). This is
           an entry point for the userspace iommu driver to control the HW in
           detail.
      
         - Nested translation support for HWPTs. This is a 2D translation
           scheme similar to the CPU where a DMA goes through a first stage to
           determine an intermediate address which is then translated trough a
           second stage to a physical address.
      
           Like for CPU translation the first stage table would exist in VM
           controlled memory and the second stage is in the kernel and matches
           the VM's guest to physical map.
      
           As every IOMMU has a unique set of parameter to describe the S1 IO
           page table and its associated parameters the userspace IOMMU driver
           has to marshal the information into the correct format.
      
           This is 1/3 of the feature, it allows creating the nested
           translation and binding it to VFIO devices, however the API to
           support IOTLB and ATC invalidation of the stage 1 io page table,
           and forwarding of IO faults are still in progress.
      
        The series includes AMD and Intel support for dirty tracking. Intel
        support for nested translation.
      
        Along the way are a number of internal items:
      
         - New iommu core items: ops->domain_alloc_user(),
           ops->set_dirty_tracking, ops->read_and_clear_dirty(),
           IOMMU_DOMAIN_NESTED, and iommu_copy_struct_from_user
      
         - UAF fix in iopt_area_split()
      
         - Spelling fixes and some test suite improvement"
      
      * tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd: (52 commits)
        iommufd: Organize the mock domain alloc functions closer to Joerg's tree
        iommufd/selftest: Fix page-size check in iommufd_test_dirty()
        iommufd: Add iopt_area_alloc()
        iommufd: Fix missing update of domains_itree after splitting iopt_area
        iommu/vt-d: Disallow read-only mappings to nest parent domain
        iommu/vt-d: Add nested domain allocation
        iommu/vt-d: Set the nested domain to a device
        iommu/vt-d: Make domain attach helpers to be extern
        iommu/vt-d: Add helper to setup pasid nested translation
        iommu/vt-d: Add helper for nested domain allocation
        iommu/vt-d: Extend dmar_domain to support nested domain
        iommufd: Add data structure for Intel VT-d stage-1 domain allocation
        iommu/vt-d: Enhance capability check for nested parent domain allocation
        iommufd/selftest: Add coverage for IOMMU_HWPT_ALLOC with nested HWPTs
        iommufd/selftest: Add nested domain allocation for mock domain
        iommu: Add iommu_copy_struct_from_user helper
        iommufd: Add a nested HW pagetable object
        iommu: Pass in parent domain with user_data to domain_alloc_user op
        iommufd: Share iommufd_hwpt_alloc with IOMMUFD_OBJ_HWPT_NESTED
        iommufd: Derive iommufd_hwpt_paging from iommufd_hw_pagetable
        ...
      463f46e1
    • Linus Torvalds's avatar
      Merge tag 'net-next-6.7-followup' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next · ff269e2c
      Linus Torvalds authored
      Pull more networking updates from Jakub Kicinski:
      
       - Support GRO decapsulation for IPsec ESP in UDP
      
       - Add a handful of MODULE_DESCRIPTION()s
      
       - Drop questionable alignment check in TCP AO to avoid
         build issue after changes in the crypto tree
      
      * tag 'net-next-6.7-followup' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next:
        net: tcp: remove call to obsolete crypto_ahash_alignmask()
        net: fill in MODULE_DESCRIPTION()s under drivers/net/
        net: fill in MODULE_DESCRIPTION()s under net/802*
        net: fill in MODULE_DESCRIPTION()s under net/core
        net: fill in MODULE_DESCRIPTION()s in kuba@'s modules
        xfrm: policy: fix layer 4 flowi decoding
        xfrm Fix use after free in __xfrm6_udp_encap_rcv.
        xfrm: policy: replace session decode with flow dissector
        xfrm: move mark and oif flowi decode into common code
        xfrm: pass struct net to xfrm_decode_session wrappers
        xfrm: Support GRO for IPv6 ESP in UDP encapsulation
        xfrm: Support GRO for IPv4 ESP in UDP encapsulation
        xfrm: Use the XFRM_GRO to indicate a GRO call on input
        xfrm: Annotate struct xfrm_sec_ctx with __counted_by
        xfrm: Remove unused function declarations
      ff269e2c
    • Linus Torvalds's avatar
      Merge tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 05bf73aa
      Linus Torvalds authored
      Pull probes updates from Masami Hiramatsu:
       "Cleanups:
      
         - kprobes: Fixes typo in kprobes samples
      
         - tracing/eprobes: Remove 'break' after return
      
        kretprobe/fprobe performance improvements:
      
         - lib: Introduce new `objpool`, which is a high performance lockless
           object queue. This uses per-cpu ring array to allocate/release
           objects from the pre-allocated object pool.
      
           Since the index of ring array is a 32bit sequential counter, we can
           retry to push/pop the object pointer from the ring without lock (as
           seq-lock does)
      
         - lib: Add an objpool test module to test the functionality and
           evaluate the performance under some circumstances
      
         - kprobes/fprobe: Improve kretprobe and rethook scalability
           performance with objpool.
      
           This improves both legacy kretprobe and fprobe exit handler (which
           is based on rethook) to be scalable on SMP systems. Even with
           8-threads parallel test, it shows a great scalability improvement
      
         - Remove unneeded freelist.h which is replaced by objpool
      
         - objpool: Add maintainers entry for the objpool
      
         - objpool: Fix to remove unused include header lines"
      
      * tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        kprobes: unused header files removed
        MAINTAINERS: objpool added
        kprobes: freelist.h removed
        kprobes: kretprobe scalability improvement
        lib: objpool test module added
        lib: objpool added: ring-array based lockless MPMC
        tracing/eprobe: drop unneeded breaks
        samples: kprobes: Fixes a typo
      05bf73aa
    • Linus Torvalds's avatar
      Merge tag 'bootconfig-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 1b10d2c8
      Linus Torvalds authored
      Pull bootconfig updates from Masami Hiramatsu:
      
       - Documentation update for /proc/cmdline, which includes both the
         parameters from bootloader and the embedded parameters in the kernel
      
       - fs/proc: Add bootloader argument as a comment line to
         /proc/bootconfig so that the user can distinguish what parameters
         were passed from bootloader even if bootconfig modified that
      
       - Documentation fix to add /proc/bootconfig to proc.rst
      
      * tag 'bootconfig-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        doc: Add /proc/bootconfig to proc.rst
        fs/proc: Add boot loader arguments as comment to /proc/bootconfig
        doc: Update /proc/cmdline documentation to include boot config
      1b10d2c8
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic · 1e0c505e
      Linus Torvalds authored
      Pull ia64 removal and asm-generic updates from Arnd Bergmann:
      
       - The ia64 architecture gets its well-earned retirement as planned,
         now that there is one last (mostly) working release that will be
         maintained as an LTS kernel.
      
       - The architecture specific system call tables are updated for the
         added map_shadow_stack() syscall and to remove references to the
         long-gone sys_lookup_dcookie() syscall.
      
      * tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        hexagon: Remove unusable symbols from the ptrace.h uapi
        asm-generic: Fix spelling of architecture
        arch: Reserve map_shadow_stack() syscall number for all architectures
        syscalls: Cleanup references to sys_lookup_dcookie()
        Documentation: Drop or replace remaining mentions of IA64
        lib/raid6: Drop IA64 support
        Documentation: Drop IA64 from feature descriptions
        kernel: Drop IA64 support from sig_fault handlers
        arch: Remove Itanium (IA-64) architecture
      1e0c505e
    • Linus Torvalds's avatar
      Merge tag 'soc-arm-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 4684e928
      Linus Torvalds authored
      Pull ARM SoC code updates from Arnd Bergmann:
       "The AMD Pensando DPU platform gets added to arm64, and some minor
        updates make it into Renesas' 32-bit platforms"
      
      * tag 'soc-arm-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        arm: debug: reuse the config DEBUG_OMAP2UART{1,2} for OMAP{3,4,5}
        arm64: Add config for AMD Pensando SoC platforms
        MAINTAINERS: Add entry for AMD PENSANDO
        ARM: shmobile: sh73a0: Reserve boot area when SMP is enabled
        ARM: shmobile: r8a7779: Reserve boot area when SMP is enabled
        ARM: shmobile: rcar-gen2: Reserve boot area when SMP is enabled
        ARM: shmobile: rcar-gen2: Remove unneeded once handling
      4684e928
    • Linus Torvalds's avatar
      Merge tag 'soc-defconfig-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · a39ba9b4
      Linus Torvalds authored
      Pull ARM defconfig updates from Arnd Bergmann:
       "These are the usual trivial changes to enable a couple of newly added
        device drivers and remove lines for Kconfig options that are no longer
        needed"
      
      * tag 'soc-defconfig-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (24 commits)
        arm64: defconfig: enable DisplayPort altmode support
        arm64: defconfig: enable CONFIG_TYPEC_QCOM_PMIC
        arm64: defconfig: add various drivers for Amlogic based boards
        ARM: config: aspeed: Remove FIRMWARE_MEMMAP
        ARM: config: aspeed_g5: Enable SSIF BMC driver
        ARM: config: aspeed: Add Ampere SMPro drivers
        ARM: config: aspeed: Add new FSI drivers
        arm64: defconfig: Enable TPS6593 PMIC for SK-AM62A
        ARM: exynos_defconfig: add driver for ISL29018
        ARM: multi_v7_defconfig: add drivers for S5C73M3 & S5K6A3 camera sensors
        arm64: defconfig: Enable RZ/G3S (R9A08G045) SoC
        ARM: multi_v7_defconfig: add tm2-touchkey driver
        ARM: exynos_defconfig: replace SATA_AHCI_PLATFORM with AHCI_DWC driver
        ARM: multi_v7_defconfig: add AHCI_DWC driver
        ARM: multi_v7_defconfig: make Exynos related PHYs modules
        ARM: s5pv210_defconfig: enable IIO required by MAX17040
        ARM: shmobile: defconfig: Refresh for v6.6-rc3
        ARM: defconfig: cleanup orphaned CONFIGs
        arm64: defconfig: Enable Samsung DSIM driver
        arm64: defconfig: Enable CONFIG_USB_MASS_STORAGE
        ...
      a39ba9b4
    • Linus Torvalds's avatar
      Merge tag 'soc-drivers-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 385903a7
      Linus Torvalds authored
      Pull SoC driver updates from Arnd Bergmann:
       "The highlights for the driver support this time are
      
         - Qualcomm platforms gain support for the Qualcomm Secure Execution
           Environment firmware interface to access EFI variables on certain
           devices, and new features for multiple platform and firmware
           drivers.
      
         - Arm FF-A firmware support gains support for v1.1 specification
           features, in particular notification and memory transaction
           descriptor changes.
      
         - SCMI firmware support now support v3.2 features for clock and DVFS
           configuration and a new transport for Qualcomm platforms.
      
         - Minor cleanups and bugfixes are added to pretty much all the active
           platforms: qualcomm, broadcom, dove, ti-k3, rockchip, sifive,
           amlogic, atmel, tegra, aspeed, vexpress, mediatek, samsung and
           more.
      
           In particular, this contains portions of the treewide conversion to
           use __counted_by annotations and the device_get_match_data helper"
      
      * tag 'soc-drivers-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (156 commits)
        soc: qcom: pmic_glink_altmode: Print return value on error
        firmware: qcom: scm: remove unneeded 'extern' specifiers
        firmware: qcom: scm: add a missing forward declaration for struct device
        firmware: qcom: move Qualcomm code into its own directory
        soc: samsung: exynos-chipid: Convert to platform remove callback returning void
        soc: qcom: apr: Add __counted_by for struct apr_rx_buf and use struct_size()
        soc: qcom: pmic_glink: fix connector type to be DisplayPort
        soc: ti: k3-socinfo: Avoid overriding return value
        soc: ti: k3-socinfo: Fix typo in bitfield documentation
        soc: ti: knav_qmss_queue: Use device_get_match_data()
        firmware: ti_sci: Use device_get_match_data()
        firmware: qcom: qseecom: add missing include guards
        soc/pxa: ssp: Convert to platform remove callback returning void
        soc/mediatek: mtk-mmsys: Convert to platform remove callback returning void
        soc/mediatek: mtk-devapc: Convert to platform remove callback returning void
        soc/loongson: loongson2_guts: Convert to platform remove callback returning void
        soc/litex: litex_soc_ctrl: Convert to platform remove callback returning void
        soc/ixp4xx: ixp4xx-qmgr: Convert to platform remove callback returning void
        soc/ixp4xx: ixp4xx-npe: Convert to platform remove callback returning void
        soc/hisilicon: kunpeng_hccs: Convert to platform remove callback returning void
        ...
      385903a7
    • Linus Torvalds's avatar
      Merge tag 'soc-dt-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · c035f026
      Linus Torvalds authored
      Pull SoC DT updates from Arnd Bergmann:
       "There are a couple new SoCs that are supported for the first time:
      
         - AMD Pensando Elba is a data processing unit based on Cortex-A72 CPU
           cores
      
         - Sophgo makes RISC-V based chips, and we now support the CV1800B
           chip used in the milkv-duo board and the massive sg2042 chip in the
           milkv-pioneer, a 64-core developer workstation.
      
         - Qualcomm Snapdragon 720G (sm7125) is a close relative of Snapdragon
           7c and gets added with some Xiaomi phones
      
         - Renesas gains support for the R8A779F4 (R-Car S4-8) automotive SoC
           and the RZ/G3S (R9A08G045) embedded SoC.
      
        There are also a bunch of newly supported machines that use already
        supported chips. On the 32-bit side, we have:
      
         - USRobotics USR8200 is a NAS/Firewall/router based on the ancient
           Intel IXP4xx platform
      
         - A couple of machines based on the NXP i.MX5 and i.MX6 platforms
      
         - One machine each for Allwinner V3s, Aspeed AST2600, Microchip
           sama5d29 and ST STM32mp157
      
        The other ones all use arm64 cores on chips from allwinner, amlogic,
        freescale, mediatek, qualcomm and rockchip"
      
      * tag 'soc-dt-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (641 commits)
        ARM: dts: BCM5301X: Set switch ports for Linksys EA9200
        ARM: dts: BCM5301X: Set fixed-link for extra Netgear R8000 CPU ports
        ARM: dts: BCM5301X: Explicitly disable unused switch CPU ports
        ARM: dts: BCM5301X: Relicense Vivek's code to the GPL 2.0+ / MIT
        ARM: dts: BCM5301X: Relicense Felix's code to the GPL 2.0+ / MIT
        ARM: dts: BCM5301X: Set MAC address for Asus RT-AC87U
        arm64: dts: socionext: add missing cache properties
        riscv: dts: thead: convert isa detection to new properties
        arm64: dts: Update cache properties for socionext
        arm64: dts: ti: k3-am654-idk: Add ICSSG Ethernet ports
        arm64: dts: ti: k3-am654-icssg2: add ICSSG2 Ethernet support
        arm64: dts: ti: k3-am65-main: Add ICSSG IEP nodes
        arm64: dts: ti: k3-am62p5-sk: Updates for SK EVM
        arm64: dts: ti: k3-am62p: Add nodes for more IPs
        arm64: dts: rockchip: Add Turing RK1 SoM support
        dt-bindings: arm: rockchip: Add Turing RK1
        dt-bindings: vendor-prefixes: add turing
        arm64: dts: rockchip: Add DFI to rk3588s
        arm64: dts: rockchip: Add DFI to rk356x
        arm64: dts: rockchip: Always enable DFI on rk3399
        ...
      c035f026