1. 07 Jul, 2023 13 commits
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.5-mw2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 4f6b6c2b
      Linus Torvalds authored
      Pull more RISC-V updates from Palmer Dabbelt:
      
       - A bunch of fixes/cleanups from the first part of the merge window,
         mostly related to ACPI and vector as those were large
      
       - Some documentation improvements, mostly related to the new code
      
       - The "riscv,isa" DT key is deprecated
      
       - Support for link-time dead code elimination
      
       - Support for minor fault registration in userfaultd
      
       - A handful of cleanups around CMO alternatives
      
      * tag 'riscv-for-linus-6.5-mw2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: (23 commits)
        riscv: mm: mark noncoherent_supported as __ro_after_init
        riscv: mm: mark CBO relate initialization funcs as __init
        riscv: errata: thead: only set cbom size & noncoherent during boot
        riscv: Select HAVE_ARCH_USERFAULTFD_MINOR
        RISC-V: Document the ISA string parsing rules for ACPI
        risc-v: Fix order of IPI enablement vs RCU startup
        mm: riscv: fix an unsafe pte read in huge_pte_alloc()
        dt-bindings: riscv: deprecate riscv,isa
        RISC-V: drop error print from riscv_hartid_to_cpuid()
        riscv: Discard vector state on syscalls
        riscv: move memblock_allow_resize() after linear mapping is ready
        riscv: Enable ARCH_SUSPEND_POSSIBLE for s2idle
        riscv: vdso: include vdso/vsyscall.h for vdso_data
        selftests: Test RISC-V Vector's first-use handler
        riscv: vector: clear V-reg in the first-use trap
        riscv: vector: only enable interrupts in the first-use trap
        RISC-V: Fix up some vector state related build failures
        RISC-V: Document that V registers are clobbered on syscalls
        riscv: disable HAVE_LD_DEAD_CODE_DATA_ELIMINATION for LLD
        riscv: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION
        ...
      4f6b6c2b
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 22dcc7d7
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix PCIe MEM size for pci2 node on Turris 1.x boards
      
       - Two minor build fixes
      
      Thanks to Christophe Leroy, Douglas Anderson, Pali Rohár, Petr Mladek,
      and Randy Dunlap.
      
      * tag 'powerpc-6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node
        powerpc: Include asm/nmi.c in mobility.c for watchdog_hardlockup_set_timeout_pct()
        powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
      22dcc7d7
    • Linus Torvalds's avatar
      Merge tag 'apparmor-pr-2023-07-06' of... · 70806ee1
      Linus Torvalds authored
      Merge tag 'apparmor-pr-2023-07-06' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
      
      Pull apparmor updates from John Johansen:
      
       - fix missing error check for rhashtable_insert_fast
      
       - add missing failure check in compute_xmatch_perms
      
       - fix policy_compat permission remap with extended permissions
      
       - fix profile verification and enable it
      
       - fix kzalloc perms tables for shared dfas
      
       - Fix kernel-doc header for verify_dfa_accept_index
      
       - aa_buffer: Convert 1-element array to flexible array
      
       - Return directly after a failed kzalloc() in two functions
      
       - fix use of strcpy in policy_unpack_test
      
       - fix kernel-doc complaints
      
       - Fix some kernel-doc comments
      
      * tag 'apparmor-pr-2023-07-06' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor:
        apparmor: Fix kernel-doc header for verify_dfa_accept_index
        apparmor: fix: kzalloc perms tables for shared dfas
        apparmor: fix profile verification and enable it
        apparmor: fix policy_compat permission remap with extended permissions
        apparmor: aa_buffer: Convert 1-element array to flexible array
        apparmor: add missing failure check in compute_xmatch_perms
        apparmor: fix missing error check for rhashtable_insert_fast
        apparmor: Return directly after a failed kzalloc() in two functions
        AppArmor: Fix some kernel-doc comments
        apparmor: fix use of strcpy in policy_unpack_test
        apparmor: fix kernel-doc complaints
      70806ee1
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2023-07-07' of git://anongit.freedesktop.org/drm/drm · 5133c9e5
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Lots of fixes, mostly i915 and amdgpu. It's two weeks of i915, and I
        think three weeks of amdgpu.
      
        fbdev:
         - Fix module infos on sparc
      
        panel:
         - Fix mode on Starry-ili9882t
      
        i915:
         - Allow DC states along with PW2 only for PWB functionality [adlp+]
         - Fix SSC selection for MPLLA [mtl]
         - Use hw.adjusted mode when calculating io/fast wake times [psr]
         - Apply min softlimit correctly [guc/slpc]
         - Assign correct hdcp content type [hdcp]
         - Add missing forward declarations/includes to display power headers
         - Fix BDW PSR AUX CH data register offsets [psr]
         - Use mock device info for creating mock device
      
        amdgpu:
         - Misc cleanups
         - GFX 9.4.3 fixes
         - DEBUGFS build fix
         - Fix LPDDR5 reporting
         - ASPM fixes
         - DCN 3.1.4 fixes
         - DP MST fixes
         - DCN 3.2.x fixes
         - Display PSR TCON fixes
         - SMU 13.x fixes
         - RAS fixes
         - Vega12/20 SMU fixes
         - PSP flashing cleanup
         - GFX9 MCBP fixes
         - SR-IOV fixes
         - GPUVM clear mappings fix for always valid BOs
         - Add FAMS quirk for problematic monitor
         - Fix possible UAF
         - Better handle monentary temperature fluctuations
         - SDMA 4.4.2 fixes
         - Fencing fix"
      
      * tag 'drm-next-2023-07-07' of git://anongit.freedesktop.org/drm/drm: (83 commits)
        drm/i915: use mock device info for creating mock device
        drm/i915/psr: Fix BDW PSR AUX CH data register offsets
        drm/amdgpu: Fix potential fence use-after-free v2
        drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation
        drm/amd/pm: expose swctf threshold setting for legacy powerplay
        drm/amd/display: 3.2.241
        drm/amd/display: Take full update path if number of planes changed
        drm/amd/display: Create debugging mechanism for Gaming FAMS
        drm/amd/display: Add monitor specific edid quirk
        drm/amd/display: For new fast update path, loop through each surface
        drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2
        drm/amd/display: Limit new fast update path to addr and gamma / color
        drm/amd/display: Fix the delta clamping for shaper LUT
        drm/amdgpu: Keep non-psp path for partition switch
        drm/amd/display: program DPP shaper and 3D LUT if updated
        Revert "drm/amd/display: edp do not add non-edid timings"
        drm/amdgpu: share drm device for pci amdgpu device with 1st partition device
        drm/amd/pm: Add GFX v9.4.3 unique id to sysfs
        drm/amd/pm: Enable pp_feature attribute
        drm/amdgpu/vcn: Need to unpause dpg before stop dpg
        ...
      5133c9e5
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.5-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 94e0d43e
      Linus Torvalds authored
      Pull more ACPI updates from Rafael Wysocki:
       "These fix a couple of compiler warnings, refine an ACPI device
        enumeration quirk to address a driver regression and clean up code.
      
        Specifics:
      
         - Make acpi_companion_match() return a const pointer and update its
           callers accordingly (Andy Shevchenko)
      
         - Move the extern declaration of the acpi_root variable to a header
           file so as to address a compiler warning (Andy Shevchenko)
      
         - Address compiler warnings in the ACPI device enumeration code by
           adding a missing header file include to it (Ben Dooks)
      
         - Refine the SMB0001 quirk in the ACPI device enumeration code so as
           to address an i2c-scmi driver regression (Andy Shevchenko)
      
         - Clean up two pieces of the ACPI device enumeration code (Andy
           Shevchenko)"
      
      * tag 'acpi-6.5-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: scan: Use the acpi_match_acpi_device() helper
        ACPI: platform: Move SMB0001 HID to the header and reuse
        ACPI: platform: Ignore SMB0001 only when it has resources
        ACPI: bus: Introduce acpi_match_acpi_device() helper
        ACPI: scan: fix undeclared variable warnings by including sleep.h
        ACPI: bus: Constify acpi_companion_match() returned value
        ACPI: scan: Move acpi_root to internal header
      94e0d43e
    • Linus Torvalds's avatar
      Merge tag 'docs-6.5-2' of git://git.lwn.net/linux · 7210de3a
      Linus Torvalds authored
      Pull mode documentation updates from Jonathan Corbet:
       "A half-dozen late arriving docs patches. They are mostly fixes, but we
        also have a kernel-doc tweak for enums and the long-overdue removal of
        the outdated and redundant patch-submission comments at the top of the
        MAINTAINERS file"
      
      * tag 'docs-6.5-2' of git://git.lwn.net/linux:
        scripts: kernel-doc: support private / public marking for enums
        Documentation: KVM: SEV: add a missing backtick
        Documentation: ACPI: fix typo in ssdt-overlays.rst
        Fix documentation of panic_on_warn
        docs: remove the tips on how to submit patches from MAINTAINERS
        docs: fix typo in zh_TW and zh_CN translation
      7210de3a
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v6.5-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 1793eac1
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A few mostly minor fixes that came in during the merge window, plus
        one administrative update for Jonas' e-mail address.
      
        The spi-geni-qcom fix is more major than the others, fixing the newly
        added DMA support for large reads which trigger DMA"
      
      * tag 'spi-fix-v6.5-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: bcm{63xx,bca}-hsspi: update my email address
        spi: rzv2m-csi: Fix SoC product name
        spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
        spi: spi-geni-qcom: enable SPI_CONTROLLER_MUST_TX for GPI DMA mode
      1793eac1
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v6.5-merge-window' of... · 146d7ce3
      Linus Torvalds authored
      Merge tag 'regulator-fix-v6.5-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fix from Mark Brown:
       "A simple dependency fix for a newly added driver"
      
      * tag 'regulator-fix-v6.5-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: raa215300: Add build dependency with COMMON_CLK
      146d7ce3
    • Linus Torvalds's avatar
      Merge tag 'trace-v6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 8066178f
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
      
       - Fix bad git merge of #endif in arm64 code
      
         A merge of the arm64 tree caused #endif to go into the wrong place
      
       - Fix crash on lseek of write access to tracefs/error_log
      
         Opening error_log as write only, and then doing an lseek() causes a
         kernel panic, because the lseek() handle expects a "seq_file" to
         exist (which is not done on write only opens). Use tracing_lseek()
         that tests for this instead of calling the default seq lseek handler.
      
       - Check for negative instead of -E2BIG for error on strscpy() returns
      
         Instead of testing for -E2BIG from strscpy(), to be more robust,
         check for less than zero, which will make sure it catches any error
         that strscpy() may someday return.
      
      * tag 'trace-v6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        tracing/boot: Test strscpy() against less than zero for error
        arm64: ftrace: fix build error with CONFIG_FUNCTION_GRAPH_TRACER=n
        tracing: Fix null pointer dereference in tracing_err_log_open()
      8066178f
    • Linus Torvalds's avatar
      Merge tag 'v6.5/vfs.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs · 7fdeb23f
      Linus Torvalds authored
      Pull vfs fixes from Christian Brauner:
       "This contains two minor fixes for Jan's rename locking work:
      
         - Unlocking the source inode was guarded by a check whether source
           was non-NULL. This doesn't make sense because source must be
           non-NULL and the commit message explains in detail why
      
         - The lock_two_nondirectories() helper called WARN_ON_ONCE() and
           dereferenced the inodes unconditionally but the underlying
           lock_two_inodes() helper and the kernel documentation for that
           function are clear that it is valid to pass NULL arguments, so a
           non-NULL check is needed. No callers currently pass NULL arguments
           but let's not knowingly leave landmines around"
      
      * tag 'v6.5/vfs.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
        fs: don't assume arguments are non-NULL
        fs: no need to check source
      7fdeb23f
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2023-07-06' of... · 6725f332
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2023-07-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
      
      Short summary of fixes pull:
      
       * panel: Fix mode on Starry-ili9882t
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230706112203.GA30555@linux-uq9g
      6725f332
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2023-07-06' of... · bd10668c
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2023-07-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      - Fix BDW PSR AUX CH data register offsets [psr] (Ville Syrjälä)
      - Use mock device info for creating mock device (Jani Nikula)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZKZ6VIeInBYrBuph@tursulin-desk
      bd10668c
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.5-2023-06-30-1' of... · 5874d11c
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.5-2023-06-30-1' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-fixes-6.5-2023-06-30-1:
      
      amdgpu:
      - Misc cleanups
      - GFX 9.4.3 fixes
      - DEBUGFS build fix
      - Fix LPDDR5 reporting
      - ASPM fixes
      - DCN 3.1.4 fixes
      - DP MST fixes
      - DCN 3.2.x fixes
      - Display PSR TCON fixes
      - SMU 13.x fixes
      - RAS fixes
      - Vega12/20 SMU fixes
      - PSP flashing cleanup
      - GFX9 MCBP fixes
      - SR-IOV fixes
      - GPUVM clear mappings fix for always valid BOs
      - Add FAMS quirk for problematic monitor
      - Fix possible UAF
      - Better handle monentary temperature fluctuations
      - SDMA 4.4.2 fixes
      - Fencing fix
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230630175757.8128-1-alexander.deucher@amd.com
      5874d11c
  2. 06 Jul, 2023 26 commits
  3. 05 Jul, 2023 1 commit
    • Linus Torvalds's avatar
      Merge tag 'net-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 68433066
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from bluetooth, bpf and wireguard.
      
        Current release - regressions:
      
         - nvme-tcp: fix comma-related oops after sendpage changes
      
        Current release - new code bugs:
      
         - ptp: make max_phase_adjustment sysfs device attribute invisible
           when not supported
      
        Previous releases - regressions:
      
         - sctp: fix potential deadlock on &net->sctp.addr_wq_lock
      
         - mptcp:
            - ensure subflow is unhashed before cleaning the backlog
            - do not rely on implicit state check in mptcp_listen()
      
        Previous releases - always broken:
      
         - net: fix net_dev_start_xmit trace event vs skb_transport_offset()
      
         - Bluetooth:
            - fix use-bdaddr-property quirk
            - L2CAP: fix multiple UaFs
            - ISO: use hci_sync for setting CIG parameters
            - hci_event: fix Set CIG Parameters error status handling
            - hci_event: fix parsing of CIS Established Event
            - MGMT: fix marking SCAN_RSP as not connectable
      
         - wireguard: queuing: use saner cpu selection wrapping
      
         - sched: act_ipt: various bug fixes for iptables <> TC interactions
      
         - sched: act_pedit: add size check for TCA_PEDIT_PARMS_EX
      
         - dsa: fixes for receiving PTP packets with 8021q and sja1105 tagging
      
         - eth: sfc: fix null-deref in devlink port without MAE access
      
         - eth: ibmvnic: do not reset dql stats on NON_FATAL err
      
        Misc:
      
         - xsk: honor SO_BINDTODEVICE on bind"
      
      * tag 'net-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (70 commits)
        nfp: clean mc addresses in application firmware when closing port
        selftests: mptcp: pm_nl_ctl: fix 32-bit support
        selftests: mptcp: depend on SYN_COOKIES
        selftests: mptcp: userspace_pm: report errors with 'remove' tests
        selftests: mptcp: userspace_pm: use correct server port
        selftests: mptcp: sockopt: return error if wrong mark
        selftests: mptcp: sockopt: use 'iptables-legacy' if available
        selftests: mptcp: connect: fail if nft supposed to work
        mptcp: do not rely on implicit state check in mptcp_listen()
        mptcp: ensure subflow is unhashed before cleaning the backlog
        s390/qeth: Fix vipa deletion
        octeontx-af: fix hardware timestamp configuration
        net: dsa: sja1105: always enable the send_meta options
        net: dsa: tag_sja1105: fix MAC DA patching from meta frames
        net: Replace strlcpy with strscpy
        pptp: Fix fib lookup calls.
        mlxsw: spectrum_router: Fix an IS_ERR() vs NULL check
        net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
        xsk: Honor SO_BINDTODEVICE on bind
        ptp: Make max_phase_adjustment sysfs device attribute invisible when not supported
        ...
      68433066