1. 11 Aug, 2023 13 commits
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 29d99aae
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "Rework the handling of interrupt overrides on AMD Zen-based machines
        to avoid recently introduced regressions (Hans de Goede).
      
        Note that this is intended as a short-term mitigation for 6.5 and the
        long-term approach will be to attempt to use the configuration left by
        the BIOS, but it requires more investigation"
      
      * tag 'acpi-6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M
        ACPI: resource: Honor MADT INT_SRC_OVR settings for IRQ1 on AMD Zen
        ACPI: resource: Always use MADT override IRQ settings for all legacy non i8042 IRQs
        ACPI: resource: revert "Remove "Zen" specific match and quirks"
      29d99aae
    • Linus Torvalds's avatar
      Merge tag 'pm-6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 9578b04c
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These fix an amd-pstate cpufreq driver issues and recently introduced
        hibernation-related breakage.
      
        Specifics:
      
         - Make amd-pstate use device_attributes as expected by the CPU root
           kobject (Thomas Weißschuh)
      
         - Restore the previous behavior of resume_store() when hibernation is
           not available which is to return the full number of bytes that were
           to be written by user space (Vlastimil Babka)"
      
      * tag 'pm-6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: amd-pstate: fix global sysfs attribute type
        PM: hibernate: fix resume_store() return value when hibernation not available
      9578b04c
    • Linus Torvalds's avatar
      Merge tag 'block-6.5-2023-08-11' of git://git.kernel.dk/linux · 360e6942
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request via Keith:
            - Fixes for request_queue state (Ming)
            - Another uuid quirk (August)
      
       - RCU poll fix for NVMe (Ming)
      
       - Fix for an IO stall with polled IO (me)
      
       - Fix for blk-iocost stats enable/disable accounting (Chengming)
      
       - Regression fix for large pages for zram (Christoph)
      
      * tag 'block-6.5-2023-08-11' of git://git.kernel.dk/linux:
        nvme: core: don't hold rcu read lock in nvme_ns_chr_uring_cmd_iopoll
        blk-iocost: fix queue stats accounting
        block: don't make REQ_POLLED imply REQ_NOWAIT
        block: get rid of unused plug->nowait flag
        zram: take device and not only bvec offset into account
        nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G
        nvme-rdma: fix potential unbalanced freeze & unfreeze
        nvme-tcp: fix potential unbalanced freeze & unfreeze
        nvme: fix possible hang when removing a controller during error recovery
      360e6942
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.5-2023-08-11' of git://git.kernel.dk/linux · 2e40ed24
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "A followup fix for the parisc/SHM_COLOUR fix, also from Helge, which
        is heading to stable.
      
        And then just the io_uring equivalent of the RESOLVE_CACHED fix in
        commit a0fc452a from last week for build_open_flags()"
      
      * tag 'io_uring-6.5-2023-08-11' of git://git.kernel.dk/linux:
        io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc
        io_uring: correct check for O_TMPFILE
      2e40ed24
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · 4778e128
      Rafael J. Wysocki authored
      Merge a cpufreq fix for 6.5-rc6.
      
      This makes amd-pstate use device_attributes as expected by the CPU root
      kobject.
      
      * pm-cpufreq:
        cpufreq: amd-pstate: fix global sysfs attribute type
      4778e128
    • Linus Torvalds's avatar
      Merge tag 'pci-v6.5-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci · 9106536c
      Linus Torvalds authored
      Pull pci fixes from Bjorn Helgaas:
      
       - Add Manivannan Sadhasivam as DesignWare PCIe driver co-maintainer
         (Krzysztof Wilczyński)
      
       - Revert "PCI: dwc: Wait for link up only if link is started" to fix a
         regression on Qualcomm platforms that don't reach interconnect sync
         state if the slot is empty (Johan Hovold)
      
       - Revert "PCI: mvebu: Mark driver as BROKEN" so people can use
         pci-mvebu even though some others report problems (Bjorn Helgaas)
      
       - Avoid a NULL pointer dereference when using acpiphp for root bus
         hotplug to fix a regression added in v6.5-rc1 (Igor Mammedov)
      
      * tag 'pci-v6.5-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
        PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
        Revert "PCI: mvebu: Mark driver as BROKEN"
        Revert "PCI: dwc: Wait for link up only if link is started"
        MAINTAINERS: Add Manivannan Sadhasivam as DesignWare PCIe driver maintainer
      9106536c
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 2a3c17ed
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - Fixes for a pair of kexec_file_load() failures
      
       - A fix to ensure the direct mapping is PMD-aligned
      
       - A fix for CPU feature detection on SMP=n
      
       - The MMIO ordering fences have been strengthened to ensure ordering
         WRT delay()
      
       - Fixes for a pair of -Wmissing-variable-declarations warnings
      
       - A fix to avoid PUD mappings in vmap on sv39
      
       - flush_cache_vmap() now flushes the TLB to avoid issues on systems
         that cache invalid mappings
      
      * tag 'riscv-for-linus-6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Implement flush_cache_vmap()
        riscv: Do not allow vmap pud mappings for 3-level page table
        riscv: mm: fix 2 instances of -Wmissing-variable-declarations
        riscv,mmio: Fix readX()-to-delay() ordering
        riscv: Fix CPU feature detection with SMP disabled
        riscv: Start of DRAM should at least be aligned on PMD size for the direct mapping
        riscv/kexec: load initrd high in available memory
        riscv/kexec: handle R_RISCV_CALL_PLT relocation type
      2a3c17ed
    • Linus Torvalds's avatar
      Merge tag 'parisc-for-6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · feb0eee9
      Linus Torvalds authored
      Pull parisc architecture fixes from Helge Deller:
       "A bugfix in the LWS code, which used different lock words than the
        parisc lightweight spinlock checks. This inconsistency triggered false
        positives when the lightweight spinlock checks checked the locks of
        mutexes.
      
        The other patches are trivial cleanups and most of them fix sparse
        warnings.
      
        Summary:
      
         - Fix LWS code to use same lock words as for the parisc lightweight
           spinlocks
      
         - Use PTR_ERR_OR_ZERO() in pdt init code
      
         - Fix lots of sparse warnings"
      
      * tag 'parisc-for-6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: perf: Make cpu_device variable static
        parisc: ftrace: Add declaration for ftrace_function_trampoline()
        parisc: boot: Nuke some sparse warnings in decompressor
        parisc: processor: Include asm/smp.h for init_per_cpu()
        parisc: unaligned: Include linux/sysctl.h for unaligned_enabled
        parisc: Move proc_mckinley_root and proc_runway_root to sba_iommu
        parisc: dma: Add prototype for pcxl_dma_start
        parisc: parisc_ksyms: Include libgcc.h for libgcc prototypes
        parisc: ucmpdi2: Fix no previous prototype for '__ucmpdi2' warning
        parisc: firmware: Mark pdc_result buffers local
        parisc: firmware: Fix sparse context imbalance warnings
        parisc: signal: Fix sparse incorrect type in assignment warning
        parisc: ioremap: Fix sparse warnings
        parisc: fault: Use C99 arrary initializers
        parisc: pdt: Use PTR_ERR_OR_ZERO() to simplify code
        parisc: Fix lightweight spinlock checks to not break futexes
      feb0eee9
    • Linus Torvalds's avatar
      Merge tag 'cpuidle-psci-v6.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm · 2a5482c2
      Linus Torvalds authored
      Pull cpuidle psci fixes from Ulf Hansson:
       "A couple of cpuidle-psci fixes. Usually, this is managed by arm-soc
        maintainers or Rafael, although due to a busy period I have stepped in
        to help out:
      
         - Fix the error path to prevent reverting from OSI back to PC mode"
      
      * tag 'cpuidle-psci-v6.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm:
        cpuidle: psci: Move enabling OSI mode after power domains creation
        cpuidle: dt_idle_genpd: Add helper function to remove genpd topology
      2a5482c2
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-08-11' of git://anongit.freedesktop.org/drm/drm · 9b1b1b74
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This week's fixes, as expected amdgpu is probably a little larger
        since it skipped a week, but otherwise a few nouveau fixes, a couple
        of bridge, rockchip and ivpu fixes.
      
        amdgpu:
         - S/G display workaround for platforms with >= 64G of memory
         - S0i3 fix
         - SMU 13.0.0 fixes
         - Disable SMU 13.x OD features temporarily while the interface is
           reworked to enable additional functionality
         - Fix cursor gamma issues on DCN3+
         - SMU 13.0.6 fixes
         - Fix possible UAF in CS IOCTL
         - Polaris display regression fix
         - Only enable CP GFX shadowing on SR-IOV
      
        amdkfd:
         - Raven/Picasso KFD regression fix
      
        bridge:
         - it6505: runtime PM fix
         - lt9611: revert Do not generate HFP/HBP/HSA and EOT packet
      
        nouveau:
         - enable global memory loads for helper invocations for userspace
           driver
         - dp 1.3 dpcd+ workaround fix
         - remove unused function
         - revert incorrect NULL check
      
        accel/ivpu:
         - Add set_pages_array_wc/uc for internal buffers
      
        rockchip:
         - Don't spam logs in atomic check"
      
      * tag 'drm-fixes-2023-08-11' of git://anongit.freedesktop.org/drm/drm: (23 commits)
        drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
        drm/amdkfd: disable IOMMUv2 support for Raven
        drm/amdkfd: disable IOMMUv2 support for KV/CZ
        drm/amdkfd: ignore crat by default
        drm/amdgpu/gfx11: only enable CP GFX shadowing on SR-IOV
        drm/amd/display: Fix a regression on Polaris cards
        drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
        drm/amd/pm: Fix SMU v13.0.6 energy reporting
        drm/amd/display: check attr flag before set cursor degamma on DCN3+
        drm/amd/pm: disable the SMU13 OD feature support temporarily
        drm/amd/pm: correct the pcie width for smu 13.0.0
        drm/amd/display: Don't show stack trace for missing eDP
        drm/amdgpu: Match against exact bootloader status
        drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11
        drm/amd: Disable S/G for APUs when 64GB or more host memory
        drm/rockchip: Don't spam logs in atomic check
        accel/ivpu: Add set_pages_array_wc/uc for internal buffers
        drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
        Revert "drm/bridge: lt9611: Do not generate HFP/HBP/HSA and EOT packet"
        drm/nouveau: remove unused tu102_gr_load() function
        ...
      9b1b1b74
    • Ming Lei's avatar
      nvme: core: don't hold rcu read lock in nvme_ns_chr_uring_cmd_iopoll · a7a7dabb
      Ming Lei authored
      Now nvme_ns_chr_uring_cmd_iopoll() has switched to request based io
      polling, and the associated NS is guaranteed to be live in case of
      io polling, so request is guaranteed to be valid because blk-mq uses
      pre-allocated request pool.
      
      Remove the rcu read lock in nvme_ns_chr_uring_cmd_iopoll(), which
      isn't needed any more after switching to request based io polling.
      
      Fix "BUG: sleeping function called from invalid context" because
      set_page_dirty_lock() from blk_rq_unmap_user() may sleep.
      
      Fixes: 585079b6 ("nvme: wire up async polling for io passthrough commands")
      Reported-by: default avatarGuangwu Zhang <guazhang@redhat.com>
      Cc: Kanchan Joshi <joshi.k@samsung.com>
      Cc: Anuj Gupta <anuj20.g@samsung.com>
      Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
      Tested-by: default avatarGuangwu Zhang <guazhang@redhat.com>
      Link: https://lore.kernel.org/r/20230809020440.174682-1-ming.lei@redhat.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      a7a7dabb
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.5-2023-08-09' of... · fbe8ff72
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.5-2023-08-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-6.5-2023-08-09:
      
      amdgpu:
      - S/G display workaround for platforms with >= 64G of memory
      - S0i3 fix
      - SMU 13.0.0 fixes
      - Disable SMU 13.x OD features temporarily while the interface is reworked
        to enable additional functionality
      - Fix cursor gamma issues on DCN3+
      - SMU 13.0.6 fixes
      - Fix possible UAF in CS IOCTL
      - Polaris display regression fix
      - Only enable CP GFX shadowing on SR-IOV
      
      amdkfd:
      - Raven/Picasso KFD regression fix
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230809182827.8135-1-alexander.deucher@amd.com
      fbe8ff72
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2023-08-10' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 8ba371c7
      Dave Airlie authored
      Multiple fixes for nouveau around memory safety and DisplayPort, one fix
      to reduce the log level of rockchip, a power state fix for the it6505
      bridge, a timing fix for the lt9611 bridge, a cache maintenance fix for
      ivpu and one to reset vma->vm_ops on mmap for shmem-helper.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/fwed6gzdtkse5ocrgd37elhyw7qirfptsvfp5mqqverdzifhxj@4da3vesxcqp2
      8ba371c7
  2. 10 Aug, 2023 27 commits