1. 16 Jun, 2024 4 commits
  2. 15 Jun, 2024 16 commits
  3. 14 Jun, 2024 15 commits
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2024-06-14' of... · 9f0a8649
      Dave Airlie authored
      Merge tag 'drm-misc-fixes-2024-06-14' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
      
      drm-misc-fixes for v6.10-rc4:
      - Kconfig fix for WERROR.
      - Add panel quirk for Aya Neo KUN
      - Small bugfixes in komeda, bridge/panel, amdgpu, nouveau.
      - Remove unused nouveau struct.
      - Call drm_atomic_helper_shutdown for shmobile and mediatek on shutdown.
      - Remove DEBUGFS ifdefs from komeda.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/941c0552-3614-4af1-b04a-0a62c99fd7fb@linux.intel.com
      9f0a8649
    • Linus Torvalds's avatar
      Merge tag 'block-6.10-20240614' of git://git.kernel.dk/linux · c286c21f
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request via Keith:
           - Discard double free on error conditions (Chunguang)
           - Target Fixes (Daniel)
           - Namespace detachment regression fix (Keith)
      
       - Fix for an issue with flush requests and queuelist reuse (Chengming)
      
       - nbd sparse annotation fixes (Christoph)
      
       - unmap and free bio mapped data via submitter (Anuj)
      
       - loop discard/fallocate unsupported fix (Cyril)
      
       - Fix for the zoned write plugging added in this release (Damien)
      
       - sed-opal wrong address fix (Su)
      
      * tag 'block-6.10-20240614' of git://git.kernel.dk/linux:
        loop: Disable fallocate() zero and discard if not supported
        nvme: fix namespace removal list
        nbd: Remove __force casts
        nvmet: always initialize cqe.result
        nvmet-passthru: propagate status from id override functions
        nvme: avoid double free special payload
        block: unmap and free user mapped integrity via submitter
        block: fix request.queuelist usage in flush
        block: Optimize disk zone resource cleanup
        block: sed-opal: avoid possible wrong address reference in read_sed_opal_key()
      c286c21f
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.10-20240614' of git://git.kernel.dk/linux · ac3cb72a
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Two fixes from Pavel headed to stable:
      
         - Ensure that the task state is correct before attempting to grab a
           mutex
      
         - Split cancel sequence flag into a separate variable, as it can get
           set by someone not owning the request (but holding the ctx lock)"
      
      * tag 'io_uring-6.10-20240614' of git://git.kernel.dk/linux:
        io_uring: fix cancellation overwriting req->flags
        io_uring/rsrc: don't lock while !TASK_RUNNING
      ac3cb72a
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 0b320c86
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Three obvious driver fixes and two core fixes.
      
        The two core fixes are to disable Command Duration Limits by default
        to fix an inconsistency in SATA and some USB devices. The other is to
        change the default read size for block zero to follow the device
        preference (some USB bridges preferring 16 byte commands don't have a
        translation for READ(10) and thus don't scan properly)"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: mpi3mr: Fix ATA NCQ priority support
        scsi: ufs: core: Quiesce request queues before checking pending cmds
        scsi: core: Disable CDL by default
        scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory
        scsi: sd: Use READ(16) when reading block zero on large capacity disks
      0b320c86
    • Linus Torvalds's avatar
      Merge tag 'iommu-fix-v6.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 11100273
      Linus Torvalds authored
      Pull iommu fix from Joerg Roedel:
       "A single patch that fixes a regression which several people reported:
      
         - AMD-Vi: Fix regression causing panics"
      
      * tag 'iommu-fix-v6.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/amd: Fix panic accessing amd_iommu_enable_faulting
      11100273
    • Linus Torvalds's avatar
      Merge tag 'pm-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 0cac73eb
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki:
       "Restore the behavior of the no_turbo sysfs attribute in the
        intel_pstate driver which allowed users to make the driver start using
        turbo P-states if they have been enabled on the fly by the firmware
        after OS initialization (Rafael Wysocki)"
      
      * tag 'pm-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: intel_pstate: Check turbo_is_disabled() in store_no_turbo()
      0cac73eb
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 94df82fe
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "These fix a recent regression in the ACPI EC driver and make system
        suspend work on multiple platforms where StorageD3Enable _DSD is
        missing in the ACPI tables.
      
        Specifics:
      
         - Make the ACPI EC driver directly evaluate an "orphan" _REG method
           under the EC device, if present, which stopped being evaluated
           after the driver had started to install its EC address space
           handler at the root of the ACPI namespace (Rafael Wysocki)
      
         - Make more devices put NVMe storage devices into D3 at suspend to
           work around missing StorageD3Enable _DSD in the BIOS (Mario
           Limonciello)"
      
      * tag 'acpi-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: EC: Evaluate orphan _REG under EC device
        ACPI: x86: Force StorageD3Enable on more products
      94df82fe
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · cee84c0b
      Linus Torvalds authored
      Pull thermal control fixes from Rafael Wysocki:
       "These fix three issues introduced recently, two related to defects in
        ACPI tables supplied by the platform firmware and one cause by a
        thermal core change that went too far:
      
         - Prevent the thermal core from failing the registration of a cooling
           device if its .get_cur_state() reports an incorrect state to start
           with which may happen for fans handled through firmware-supplied
           AML in ACPI tables (Rafael Wysocki)
      
         - Make the ACPI thermal zone driver initialize all trip points with
           temperature of 0 centigrade and below as invalid because such trip
           point temperatures do not make sense on systems with ACPI thermal
           control and they cause performance regressions due to permanent
           thermal mitigations to occur (Rafael Wysocki)
      
         - Restore passive polling management in the Step-Wise thermal
           governor that uses it to ensure that all cooling devices used for
           thermal mitigation will go back to their initial states eventually
           (Rafael Wysocki)"
      
      * tag 'thermal-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal: gov_step_wise: Restore passive polling management
        thermal: ACPI: Invalidate trip points with temperature of 0 or below
        thermal: core: Do not fail cdev registration because of invalid initial state
      cee84c0b
    • Rafael J. Wysocki's avatar
      Merge branch acpi-x86 · 04f82fbb
      Rafael J. Wysocki authored
      Merge a fix for a suspend issue related to storage handling on multiple
      systems based on AMD hardware:
      
       - Make more devices put NVMe storage devices into D3 at suspend to work
         around missing StorageD3Enable _DSD in the BIOS (Mario Limonciello).
      
      * branch acpi-x86:
        ACPI: x86: Force StorageD3Enable on more products
      04f82fbb
    • Cyril Hrubis's avatar
      loop: Disable fallocate() zero and discard if not supported · 5f75e081
      Cyril Hrubis authored
      If fallcate is implemented but zero and discard operations are not
      supported by the filesystem the backing file is on we continue to fill
      dmesg with errors from the blk_mq_end_request() since each time we call
      fallocate() on the loop device the EOPNOTSUPP error from lo_fallocate()
      ends up propagated into the block layer. In the end syscall succeeds
      since the blkdev_issue_zeroout() falls back to writing zeroes which
      makes the errors even more misleading and confusing.
      
      How to reproduce:
      
      1. make sure /tmp is mounted as tmpfs
      2. dd if=/dev/zero of=/tmp/disk.img bs=1M count=100
      3. losetup /dev/loop0 /tmp/disk.img
      4. mkfs.ext2 /dev/loop0
      5. dmesg |tail
      
      [710690.898214] operation not supported error, dev loop0, sector 204672 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.898279] operation not supported error, dev loop0, sector 522 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.898603] operation not supported error, dev loop0, sector 16906 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.898917] operation not supported error, dev loop0, sector 32774 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.899218] operation not supported error, dev loop0, sector 49674 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.899484] operation not supported error, dev loop0, sector 65542 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.899743] operation not supported error, dev loop0, sector 82442 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.900015] operation not supported error, dev loop0, sector 98310 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.900276] operation not supported error, dev loop0, sector 115210 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      [710690.900546] operation not supported error, dev loop0, sector 131078 op 0x9:(WRITE_ZEROES) flags 0x8000800 phys_seg 0 prio class 0
      
      This patch changes the lo_fallocate() to clear the flags for zero and
      discard operations if we get EOPNOTSUPP from the backing file fallocate
      callback, that way we at least stop spewing errors after the first
      unsuccessful try.
      
      CC: Jan Kara <jack@suse.cz>
      Signed-off-by: default avatarCyril Hrubis <chrubis@suse.cz>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20240613163817.22640-1-chrubis@suse.czSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      5f75e081
    • Maxime Ripard's avatar
      Merge drm/drm-fixes into drm-misc-fixes · 14731a64
      Maxime Ripard authored
      Roll -rc3 and current drm/fixes in.
      
      This will also unstuck our for-next branch.
      Signed-off-by: default avatarMaxime Ripard <mripard@kernel.org>
      14731a64
    • pengfuyuan's avatar
      arm/komeda: Remove all CONFIG_DEBUG_FS conditional compilations · 41f590e3
      pengfuyuan authored
      Since the debugfs functions have no-op stubs for CONFIG_DEBUG_FS=n,
      the compiler will optimize the rest away since they are no longer referenced.
      
      The benefit of removing the conditional compilation is that the build
      is actually tested for both CONFIG_DEBUG_FS configuration values.
      Assuming most developers have it enabled, CONFIG_DEBUG_FS=n is not tested
      much and may fail the build due to the conditional compilation.
      Reported-by: default avatark2ci <kernel-bot@kylinos.cn>
      Signed-off-by: default avatarpengfuyuan <pengfuyuan@kylinos.cn>
      Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240606120842.1377267-1-pengfuyuan@kylinos.cnSigned-off-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
      Signed-off-by: default avatarMaxime Ripard <mripard@kernel.org>
      41f590e3
    • Pavel Begunkov's avatar
      io_uring: fix cancellation overwriting req->flags · f4a1254f
      Pavel Begunkov authored
      Only the current owner of a request is allowed to write into req->flags.
      Hence, the cancellation path should never touch it. Add a new field
      instead of the flag, move it into the 3rd cache line because it should
      always be initialised. poll_refs can move further as polling is an
      involved process anyway.
      
      It's a minimal patch, in the future we can and should find a better
      place for it and remove now unused REQ_F_CANCEL_SEQ.
      
      Fixes: 521223d7 ("io_uring/cancel: don't default to setting req->work.cancel_seq")
      Cc: stable@vger.kernel.org
      Reported-by: default avatarLi Shi <sl1589472800@gmail.com>
      Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
      Link: https://lore.kernel.org/r/6827b129f8f0ad76fa9d1f0a773de938b240ffab.1718323430.git.asml.silence@gmail.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      f4a1254f
    • Dave Airlie's avatar
      Merge tag 'drm-xe-fixes-2024-06-13' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes · f1909e85
      Dave Airlie authored
      Core Changes:
      - Xe Maintainers update to MAINTAINERS file.
      
      Driver Changes:
      - Use correct forcewake assertions.
      - Assert that VRAM provisioning is only done on DGFX.
      - Flush render caches before user-fence signalling on all engines.
      - Move the disable_c6 call since it was sometimes never called.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZmrXV0FoBb8M0c6J@fedora
      f1909e85
    • Dave Airlie's avatar
      Merge tag 'exynos-drm-fixes-for-v6.10-rc4' of... · ae1e7823
      Dave Airlie authored
      Merge tag 'exynos-drm-fixes-for-v6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes
      
      Regression fix
      - Fix an regression issue by adding 640x480 fallback mode
        for Exynos HDMI driver.
      
      Bug fix
      - Fix a memory leak by ensuring the duplicated EDID is properly freed in the get_modes function.
      
      Code cleanup
      - Remove redundant driver owner initialization since platform_driver_register() sets it automatically.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Inki Dae <inki.dae@samsung.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240610073839.37430-1-inki.dae@samsung.com
      ae1e7823
  4. 13 Jun, 2024 5 commits
    • Jens Axboe's avatar
      Merge tag 'nvme-6.10-2024-06-13' of git://git.infradead.org/nvme into block-6.10 · e3e53683
      Jens Axboe authored
      Pull NVMe fixes from Keith:
      
      "nvme fixes for Linux 6.10
      
       - Discard double free on error conditions (Chunguang)
       - Target Fixes (Daniel)
       - Namespace detachment regression fix (Keith)"
      
      * tag 'nvme-6.10-2024-06-13' of git://git.infradead.org/nvme:
        nvme: fix namespace removal list
        nvmet: always initialize cqe.result
        nvmet-passthru: propagate status from id override functions
        nvme: avoid double free special payload
      e3e53683
    • Keith Busch's avatar
      nvme: fix namespace removal list · ff0ffe5b
      Keith Busch authored
      This function wants to move a subset of a list from one element to the
      tail into another list. It also needs to use the srcu synchronize
      instead of the regular rcu version. Do this one element at a time
      because that's the only to do it.
      
      Fixes: be647e2c ("nvme: use srcu for iterating namespace list")
      Reported-by: default avatarVenkat Rao Bagalkote <venkat88@linux.vnet.ibm.com>
      Tested-by: default avatarVenkat Rao Bagalkote <venkat88@linux.vnet.ibm.com>
      Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
      ff0ffe5b
    • Linus Torvalds's avatar
      Merge tag 'net-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · d20f6b3d
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from bluetooth and netfilter.
      
        Slim pickings this time, probably a combination of summer, DevConf.cz,
        and the end of first half of the year at corporations.
      
        Current release - regressions:
      
         - Revert "igc: fix a log entry using uninitialized netdev", it traded
           lack of netdev name in a printk() for a crash
      
        Previous releases - regressions:
      
         - Bluetooth: L2CAP: fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ
      
         - geneve: fix incorrectly setting lengths of inner headers in the
           skb, confusing the drivers and causing mangled packets
      
         - sched: initialize noop_qdisc owner to avoid false-positive
           recursion detection (recursing on CPU 0), which bubbles up to user
           space as a sendmsg() error, while noop_qdisc should silently drop
      
         - netdevsim: fix backwards compatibility in nsim_get_iflink()
      
        Previous releases - always broken:
      
         - netfilter: ipset: fix race between namespace cleanup and gc in the
           list:set type"
      
      * tag 'net-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (35 commits)
        bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()
        af_unix: Read with MSG_PEEK loops if the first unread byte is OOB
        bnxt_en: Cap the size of HWRM_PORT_PHY_QCFG forwarded response
        gve: Clear napi->skb before dev_kfree_skb_any()
        ionic: fix use after netif_napi_del()
        Revert "igc: fix a log entry using uninitialized netdev"
        net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
        net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state
        net/ipv6: Fix the RT cache flush via sysctl using a previous delay
        net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters
        gve: ignore nonrelevant GSO type bits when processing TSO headers
        net: pse-pd: Use EOPNOTSUPP error code instead of ENOTSUPP
        netfilter: Use flowlabel flow key when re-routing mangled packets
        netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type
        netfilter: nft_inner: validate mandatory meta and payload
        tcp: use signed arithmetic in tcp_rtx_probe0_timed_out()
        mailmap: map Geliang's new email address
        mptcp: pm: update add_addr counters after connect
        mptcp: pm: inc RmAddr MIB counter once per RM_ADDR ID
        mptcp: ensure snd_una is properly initialized on connect
        ...
      d20f6b3d
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-6.10-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · fd88e181
      Linus Torvalds authored
      Pull NFS client fixes from Trond Myklebust:
       "Bugfixes:
         - NFSv4.2: Fix a memory leak in nfs4_set_security_label
         - NFSv2/v3: abort nfs_atomic_open_v23 if the name is too long.
         - NFS: Add appropriate memory barriers to the sillyrename code
         - Propagate readlink errors in nfs_symlink_filler
         - NFS: don't invalidate dentries on transient errors
         - NFS: fix unnecessary synchronous writes in random write workloads
         - NFSv4.1: enforce rootpath check when deciding whether or not to trunk
      
        Other:
         - Change email address for Trond Myklebust due to email server concerns"
      
      * tag 'nfs-for-6.10-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS: add barriers when testing for NFS_FSDATA_BLOCKED
        SUNRPC: return proper error from gss_wrap_req_priv
        NFSv4.1 enforce rootpath check in fs_location query
        NFS: abort nfs_atomic_open_v23 if name is too long.
        nfs: don't invalidate dentries on transient errors
        nfs: Avoid flushing many pages with NFS_FILE_SYNC
        nfs: propagate readlink errors in nfs_symlink_filler
        MAINTAINERS: Change email address for Trond Myklebust
        NFSv4: Fix memory leak in nfs4_set_security_label
      fd88e181
    • Linus Torvalds's avatar
      Merge tag 'fixes-2024-06-13' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock · 3572597c
      Linus Torvalds authored
      Pull memblock fixes from Mike Rapoport:
       "Fix validation of NUMA coverage.
      
        memblock_validate_numa_coverage() was checking for a unset node ID
        using NUMA_NO_NODE, but x86 used MAX_NUMNODES when no node ID was
        specified by buggy firmware.
      
        Update memblock to substitute MAX_NUMNODES with NUMA_NO_NODE in
        memblock_set_node() and use NUMA_NO_NODE in x86::numa_init()"
      
      * tag 'fixes-2024-06-13' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
        x86/mm/numa: Use NUMA_NO_NODE when calling memblock_set_node()
        memblock: make memblock_set_node() also warn about use of MAX_NUMNODES
      3572597c