Skip to content
  1. Oct 29, 2023
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.6-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · db5cda7f
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some very small driver fixes for 6.6-final that have shown up
        in the past two weeks. Included in here are:
      
         - tiny fastrpc bugfixes for reported errors
      
         - nvmem register fixes
      
         - iio driver fixes for some reported problems
      
         - fpga test fix
      
         - MAINTAINERS file update for fpga
      
        All of these have been in linux-next this week with no reported
        problems"
      
      * tag 'char-misc-6.6-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        fpga: Fix memory leak for fpga_region_test_class_find()
        fpga: m10bmc-sec: Change contact for secure update driver
        fpga: disable KUnit test suites when module support is enabled
        iio: afe: rescale: Accept only offset channels
        nvmem: imx: correct nregs for i.MX6ULL
        nvmem: imx: correct nregs for i.MX6UL
        nvmem: imx: correct nregs for i.MX6SLL
        misc: fastrpc: Unmap only if buffer is unmapped from DSP
        misc: fastrpc: Clean buffers on remote invocation failures
        misc: fastrpc: Free DMA handles for RPC calls with no arguments
        misc: fastrpc: Reset metadata buffer to avoid incorrect free
        iio: exynos-adc: request second interupt only when touchscreen mode is used
        iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
        iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
        dt-bindings: iio: add missing reset-gpios constrain
      db5cda7f
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.6-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 8907bfd2
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Bugfixes for Axxia when it is a target and for PEC handling of
        stm32f7.
      
        Plus, fix an OF node leak pattern in the mux subsystem"
      
      * tag 'i2c-for-6.6-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
        i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
        i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
        i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
        i2c: aspeed: Fix i2c bus hang in slave read
      8907bfd2
  2. Oct 28, 2023
  3. Oct 27, 2023
    • Linus Torvalds's avatar
      Merge tag 'iommu-fix-v6.6-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 888cf78c
      Linus Torvalds authored
      Pull iommu fix from Joerg Roedel:
      
       - Fix boot regression for Sapphire Rapids with Intel VT-d driver
      
      * tag 'iommu-fix-v6.6-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu: Avoid unnecessary cache invalidations
      888cf78c
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.6-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 09a4a03c
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix boot crash with FLATMEM since set_ptes() introduction
      
       - Avoid calling arch_enter/leave_lazy_mmu() in set_ptes()
      
      Thanks to Aneesh Kumar K.V and Erhard Furtner.
      
      * tag 'powerpc-6.6-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/mm: Avoid calling arch_enter/leave_lazy_mmu() in set_ptes
        powerpc/mm: Fix boot crash with FLATMEM
      09a4a03c
    • David Lazar's avatar
      platform/x86: Add s2idle quirk for more Lenovo laptops · 3bde7ec1
      David Lazar authored
      When suspending to idle and resuming on some Lenovo laptops using the
      Mendocino APU, multiple NVME IOMMU page faults occur, showing up in
      dmesg as repeated errors:
      
      nvme 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000b
      address=0xb6674000 flags=0x0000]
      
      The system is unstable afterwards.
      
      Applying the s2idle quirk introduced by commit 455cd867 ("platform/x86:
      thinkpad_acpi: Add a s2idle resume quirk for a number of laptops")
      allows these systems to work with the IOMMU enabled and s2idle
      resume to work.
      
      Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218024
      
      
      Suggested-by: default avatarMario Limonciello <mario.limonciello@amd.com>
      Suggested-by: default avatarMark Pearson <mpearson-lenovo@squebb.ca>
      Signed-off-by: default avatarDavid Lazar <dlazar@gmail.com>
      Reviewed-by: default avatarMario Limonciello <mario.limonciello@amd.com>
      Reviewed-by: default avatarMark Pearson <mpearson-lenovo@squebb.ca>
      Link: https://lore.kernel.org/r/ZTlsyOaFucF2pWrL@localhost
      
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      3bde7ec1
    • Lu Baolu's avatar
      iommu: Avoid unnecessary cache invalidations · 6e6c6d6b
      Lu Baolu authored
      The iommu_create_device_direct_mappings() only needs to flush the caches
      when the mappings are changed in the affected domain. This is not true
      for non-DMA domains, or for devices attached to the domain that have no
      reserved regions. To avoid unnecessary cache invalidations, add a check
      before iommu_flush_iotlb_all().
      
      Fixes: a48ce36e
      
       ("iommu: Prevent RESV_DIRECT devices from blocking domains")
      Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
      Tested-by: default avatarHenry Willard <henry.willard@oracle.com>
      Link: https://lore.kernel.org/r/20231026084942.17387-1-baolu.lu@linux.intel.com
      
      
      Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      6e6c6d6b
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-10-27' of git://anongit.freedesktop.org/drm/drm · 750b9588
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This is the final set of fixes for 6.6, just misc bits mainly in
        amdgpu and i915, nothing too noteworthy.
      
        amdgpu:
         - ignore duplicated BOs in CS parser
         - remove redundant call to amdgpu_ctx_priority_is_valid()
         - Extend VI APSM quirks to more platforms
      
        amdkfd:
         - reserve fence slot while locking BO
      
        dp_mst:
         - Fix NULL deref in get_mst_branch_device_by_guid_helper()
      
        logicvc:
         - Kconfig: Select REGMAP and REGMAP_MMIO
      
        ivpu:
         - Fix missing VPUIP interrupts
      
        i915:
         - Determine context valid in OA reports
         - Hold GT forcewake during steering operations
         - Check if PMU is closed before stopping event"
      
      * tag 'drm-fixes-2023-10-27' of git://anongit.freedesktop.org/drm/drm:
        accel/ivpu/37xx: Fix missing VPUIP interrupts
        drm/amd: Disable ASPM for VI w/ all Intel systems
        drm/i915/pmu: Check if pmu is closed before stopping event
        drm/i915/mcr: Hold GT forcewake during steering operations
        drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
        drm/i915/perf: Determine context valid in OA reports
        drm/amdkfd: reserve a fence slot while locking the BO
        drm/amdgpu: Remove redundant call to priority_is_valid()
        drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
        drm/amdgpu: ignore duplicate BOs again
      750b9588
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.6-2023-10-25' of... · 44117828
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.6-2023-10-25' of https://gitlab.freedesktop.org/agd5f/linux
      
       into drm-fixes
      
      amd-drm-fixes-6.6-2023-10-25:
      
      amdgpu:
      - Extend VI APSM quirks to more platforms
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231026035452.14921-1-alexander.deucher@amd.com
      44117828
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2023-10-26' of... · 5679dd24
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2023-10-26' of git://anongit.freedesktop.org/drm/drm-intel
      
       into drm-fixes
      
      - Determine context valid in OA reports (Umesh)
      - Hold GT forcewake during steering operations (Matt Roper)
      - Check if PMU is closed before stopping event (Umesh)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZTp8IQ0wxzxVjN7J@intel.com
      5679dd24
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2023-10-26' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 6366ffa6
      Dave Airlie authored
      
      
      Short summary of fixes pull:
      
      amdgpu:
      - ignore duplicated BOs in CS parser
      - remove redundant call to amdgpu_ctx_priority_is_valid()
      
      amdkfd:
      - reserve fence slot while locking BO
      
      dp_mst:
      - Fix NULL deref in get_mst_branch_device_by_guid_helper()
      
      logicvc:
      - Kconfig: Select REGMAP and REGMAP_MMIO
      
      ivpu:
      - Fix missing VPUIP interrupts
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231026110132.GA10591@linux-uq9g.fritz.box
      6366ffa6
    • Damien Le Moal's avatar
      scsi: sd: Introduce manage_shutdown device flag · 24eca2dc
      Damien Le Moal authored
      Commit aa3998db ("ata: libata-scsi: Disable scsi device
      manage_system_start_stop") change setting the manage_system_start_stop
      flag to false for libata managed disks to enable libata internal
      management of disk suspend/resume. However, a side effect of this change
      is that on system shutdown, disks are no longer being stopped (set to
      standby mode with the heads unloaded). While this is not a critical
      issue, this unclean shutdown is not recommended and shows up with
      increased smart counters (e.g. the unexpected power loss counter
      "Unexpect_Power_Loss_Ct").
      
      Instead of defining a shutdown driver method for all ATA adapter
      drivers (not all of them define that operation), this patch resolves
      this issue by further refining the sd driver start/stop control of disks
      using the new flag manage_shutdown. If this new flag is set to true by
      a low level driver, the function sd_shutdown() will issue a
      START STOP UNIT command with the start argument set to 0 when a disk
      needs to be powered off (suspended) on system power off, that is, when
      system_state is equal to SYSTEM_POWER_OFF.
      
      Similarly to the other manage_xxx flags, the new manage_shutdown flag is
      exposed through sysfs as a read-write device attribute.
      
      To avoid any confusion between manage_shutdown and
      manage_system_start_stop, the comments describing these flags in
      include/scsi/scsi.h are also improved.
      
      Fixes: aa3998db ("ata: libata-scsi: Disable scsi device manage_system_start_stop")
      Cc: stable@vger.kernel.org
      Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218038
      Link: https://lore.kernel.org/all/cd397c88-bf53-4768-9ab8-9d107df9e613@gmail.com/
      
      
      Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
      Reviewed-by: default avatarNiklas Cassel <niklas.cassel@wdc.com>
      Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
      Reviewed-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      Acked-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
      24eca2dc
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-6.7-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 3a568e3a
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "A couple of platforms have some last-minute fixes, in particular:
      
         - riscv gets some fixes for noncoherent DMA on the renesas and thead
           platforms and dts fix for SPI on the visionfive 2 board
      
         - Qualcomm Snapdragon gets three dts fixes to address board specific
           regressions on the pmic and gpio nodes
      
         - Rockchip platforms get multiple dts fixes to address issues on the
           recent rk3399 platform as well as the older rk3128 platform that
           apparently regressed a while ago.
      
         - TI OMAP gets some trivial code and dts fixes and a regression fix
           for the omap1 ams-delta modem
      
         - NXP i.MX firmware has one fix for a use-after-free but in its error
           handling"
      
      * tag 'soc-fixes-6.7-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (25 commits)
        soc: renesas: ARCH_R9A07G043 depends on !RISCV_ISA_ZICBOM
        riscv: only select DMA_DIRECT_REMAP from RISCV_ISA_ZICBOM and ERRATA_THEAD_PBMT
        riscv: RISCV_NONSTANDARD_CACHE_OPS shouldn't depend on RISCV_DMA_NONCOHERENT
        riscv: dts: thead: set dma-noncoherent to soc bus
        arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards
        arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399
        clk: ti: Fix missing omap5 mcbsp functional clock and aliases
        clk: ti: Fix missing omap4 mcbsp functional clock and aliases
        ARM: OMAP1: ams-delta: Fix MODEM initialization failure
        soc: renesas: Make ARCH_R9A07G043 depend on required options
        riscv: dts: starfive: visionfive 2: correct spi's ss pin
        firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
        ARM: OMAP: timer32K: fix all kernel-doc warnings
        ARM: omap2: fix a debug printk
        ARM: dts: rockchip: Fix timer clocks for RK3128
        ARM: dts: rockchip: Add missing quirk for RK3128's dma engine
        ARM: dts: rockchip: Add missing arm timer interrupt for RK3128
        ARM: dts: rockchip: Fix i2c0 register address for RK3128
        arm64: dts: rockchip: set codec system-clock-fixed on px30-ringneck-haikou
        arm64: dts: rockchip: use codec as clock master on px30-ringneck-haikou
        ...
      3a568e3a
    • Linus Torvalds's avatar
      Merge tag 'net-6.6-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · c17cda15
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from WiFi and netfilter.
      
        Most regressions addressed here come from quite old versions, with the
        exceptions of the iavf one and the WiFi fixes. No known outstanding
        reports or investigation.
      
        Fixes to fixes:
      
         - eth: iavf: in iavf_down, disable queues when removing the driver
      
        Previous releases - regressions:
      
         - sched: act_ct: additional checks for outdated flows
      
         - tcp: do not leave an empty skb in write queue
      
         - tcp: fix wrong RTO timeout when received SACK reneging
      
         - wifi: cfg80211: pass correct pointer to rdev_inform_bss()
      
         - eth: i40e: sync next_to_clean and next_to_process for programming
           status desc
      
         - eth: iavf: initialize waitqueues before starting watchdog_task
      
        Previous releases - always broken:
      
         - eth: r8169: fix data-races
      
         - eth: igb: fix potential memory leak in igb_add_ethtool_nfc_entry
      
         - eth: r8152: avoid writing garbage to the adapter's registers
      
         - eth: gtp: fix fragmentation needed check with gso"
      
      * tag 'net-6.6-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (43 commits)
        iavf: in iavf_down, disable queues when removing the driver
        vsock/virtio: initialize the_virtio_vsock before using VQs
        net: ipv6: fix typo in comments
        net: ipv4: fix typo in comments
        net/sched: act_ct: additional checks for outdated flows
        netfilter: flowtable: GC pushes back packets to classic path
        i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
        gtp: fix fragmentation needed check with gso
        gtp: uapi: fix GTPA_MAX
        Fix NULL pointer dereference in cn_filter()
        sfc: cleanup and reduce netlink error messages
        net/handshake: fix file ref count in handshake_nl_accept_doit()
        wifi: mac80211: don't drop all unprotected public action frames
        wifi: cfg80211: fix assoc response warning on failed links
        wifi: cfg80211: pass correct pointer to rdev_inform_bss()
        isdn: mISDN: hfcsusb: Spelling fix in comment
        tcp: fix wrong RTO timeout when received SACK reneging
        r8152: Block future register access if register access fails
        r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
        r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
        ...
      c17cda15
  4. Oct 26, 2023
  5. Oct 25, 2023