1. 05 May, 2023 5 commits
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2023-05-05' of git://anongit.freedesktop.org/drm/drm · 084f51d4
      Linus Torvalds authored
      Pull more drm fixes from Dave Airlie:
       "This is the fixes for the last couple of weeks for i915 and last 3
        weeks for amdgpu, lots of them but pretty scattered around and all
        pretty small.
      
        amdgpu:
         - SR-IOV fixes
         - DCN 3.2 fixes
         - DC mclk handling fixes
         - eDP fixes
         - SubVP fixes
         - HDCP regression fix
         - DSC fixes
         - DC FP fixes
         - DCN 3.x fixes
         - Display flickering fix when switching between vram and gtt
         - Z8 power saving fix
         - Fix hang when skipping modeset
         - GPU reset fixes
         - Doorbell fix when resizing BARs
         - Fix spurious warnings in gmc
         - Locking fix for AMDGPU_SCHED IOCTL
         - SR-IOV fix
         - DCN 3.1.4 fix
         - DCN 3.2 fix
         - Fix job cleanup when CS is aborted
      
        i915:
         - skl pipe source size check
         - mtl transcoder mask fix
         - DSI power on sequence fix
         - GuC versioning corner case fix"
      
      * tag 'drm-next-2023-05-05' of git://anongit.freedesktop.org/drm/drm: (48 commits)
        drm/amdgpu: drop redundant sched job cleanup when cs is aborted
        drm/amd/display: filter out invalid bits in pipe_fuses
        drm/amd/display: Change default Z8 watermark values
        drm/amdgpu: disable SDMA WPTR_POLL_ENABLE for SR-IOV
        drm/amdgpu: add a missing lock for AMDGPU_SCHED
        drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
        drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v10_0_hw_fini
        drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini
        drm/amdgpu: Enable doorbell selfring after resize FB BAR
        drm/amdgpu: Use the default reset when loading or reloading the driver
        drm/amdgpu: Fix mode2 reset for sienna cichlid
        drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep()
        drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
        drm/i915/guc: Actually return an error if GuC version range check fails
        drm/amd/display: Lowering min Z8 residency time
        drm/amd/display: fix flickering caused by S/G mode
        drm/amd/display: Set min_width and min_height capability for DCN30
        drm/amd/display: Isolate remaining FPU code in DCN32
        drm/amd/display: Update bounding box values for DCN321
        drm/amd/display: Do not clear GPINT register when releasing DMUB from reset
        ...
      084f51d4
    • Linus Torvalds's avatar
      Merge tag 'linux-watchdog-6.4-rc1' of git://www.linux-watchdog.org/linux-watchdog · 78b421b6
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
      
       - Add watchdog driver for StarFive JH7100 and JH7110 Soc
      
       - Add Rockchip RK3588 devices
      
       - Add Qualcom IPQ5332 APSS, QCM2290 KPSS and SM6115 SoC devices
      
       - Add Mediatke MT8365 and MT6735 devices
      
       - Watchdog-core: Always set WDOG_HW_RUNNING when starting watchdog
      
       - Convert watchdog platform drivers to return void on the remove
         callback
      
       - Convert to devm_clk_get_enabled() helpers
      
       - ... and other small fixes and improvements
      
      * tag 'linux-watchdog-6.4-rc1' of git://www.linux-watchdog.org/linux-watchdog: (72 commits)
        watchdog: dw_wdt: Simplify clk management
        watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe()
        watchdog: starfive: Fix the warning of starfive_wdt_match
        watchdog: starfive: Fix the probe return error if PM and early_enable are both disabled
        MAINTAINERS: Add fragment for Xilinx watchdog driver
        watchdog: menz069_wdt: fix timeout setting
        watchdog: menz069_wdt: fix watchdog initialisation
        dt-bindings: watchdog: alphascale-asm9260: convert to DT schema
        watchdog: loongson1_wdt: Implement restart handler
        dt-bindings: watchdog: Document Qualcomm SM6115 watchdog
        dt-bindings: watchdog: realtek,otto-wdt: simplify requiring interrupt-names
        dt-bindings: watchdog: toshiba,visconti-wdt: simplify with unevaluatedProperties
        dt-bindings: watchdog: fsl-imx7ulp-wdt: simplify with unevaluatedProperties
        dt-bindings: watchdog: arm,sp805: drop unneeded minItems
        dt-bindings: watchdog: drop duplicated GPIO watchdog bindings
        dt-bindings: reset: Add binding for MediaTek MT6735 TOPRGU/WDT
        drivers: watchdog: Add StarFive Watchdog driver
        dt-bindings: watchdog: Add watchdog for StarFive JH7100 and JH7110
        dt-bindings: watchdog: indentation, quotes and white-space cleanup
        watchdog: ebc-c384_wdt: Mark status as orphaned
        ...
      78b421b6
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2023-05-04-1' of... · 1bef84af
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2023-05-04-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Add missing GPU transcoder masks for MTL and fix DSI power on sequence
      for Nextbook Ares 8A. Fix GuC version corner case.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZFOskabVuN45dNaA@jlahtine-mobl.ger.corp.intel.com
      1bef84af
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.4-2023-05-03' of... · f4c41a7f
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.4-2023-05-03' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-fixes-6.4-2023-05-03:
      
      amdgpu:
      - GPU reset fixes
      - Doorbell fix when resizing BARs
      - Fix spurious warnings in gmc
      - Locking fix for AMDGPU_SCHED IOCTL
      - SR-IOV fix
      - DCN 3.1.4 fix
      - DCN 3.2 fix
      - Fix job cleanup when CS is aborted
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230504034018.7950-1-alexander.deucher@amd.com
      f4c41a7f
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2023-04-27' of... · fa0d9c06
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2023-04-27' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      One cc stable for pipe source size check on SKL+
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZEpbSG1ZOSVqzGLx@jlahtine-mobl.ger.corp.intel.com
      fa0d9c06
  2. 04 May, 2023 24 commits
  3. 03 May, 2023 11 commits
    • Linus Torvalds's avatar
      Merge tag 'pm-6.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · fa31fc82
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
       "These fix a hibernation test mode regression and clean up the
        intel_idle driver.
      
        Specifics:
      
         - Make test_resume work again after the changes that made hibernation
           open the snapshot device in exclusive mode (Chen Yu)
      
         - Clean up code in several places in intel_idle (Artem Bityutskiy)"
      
      * tag 'pm-6.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        intel_idle: mark few variables as __read_mostly
        intel_idle: do not sprinkle module parameter definitions around
        intel_idle: fix confusing message
        intel_idle: improve C-state flags handling robustness
        intel_idle: further intel_idle_init_cstates_icpu() cleanup
        intel_idle: clean up intel_idle_init_cstates_icpu()
        intel_idle: use pr_info() instead of printk()
        PM: hibernate: Do not get block device exclusively in test_resume mode
        PM: hibernate: Turn snapshot_test into global variable
      fa31fc82
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 0153d8e6
      Linus Torvalds authored
      Pull more ACPI updates from Rafael Wysocki:
       "These add two ACPI-related quirks and extend support for Apple device
        properties supplied via ACPI _DSM.
      
        Specifics:
      
         - Do not turn off unused power resources during initialization on the
           Toshiba Click Mini (Hans de Goede)
      
         - Support strings in device properties supplied by ACPI _DSM on Apple
           platforms (Hector Martin)
      
         - Add an ACPI device ID quirk for Lenovo Yoga Tablet 2 (Marius Hoch)"
      
      * tag 'acpi-6.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: property: Support strings in Apple _DSM props
        ACPI: x86: utils: Remove Lenovo Yoga Tablet 2's MAGN0001
        ACPI: PM: Do not turn of unused power resources on the Toshiba Click Mini
      0153d8e6
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 667de5c6
      Linus Torvalds authored
      Pull more thermal control updates from Rafael Wysocki:
       "These are mostly cleanups on top of the previously merged thermal
        control changes plus some driver fixes and the removal of the Intel
        Menlow thermal driver.
      
        Specifics:
      
         - Add compatible DT bindings for imx6sll and imx6ul to fix a dtbs
           check warning (Stefan Wahren)
      
         - Update the example in the DT bindings to reflect changes with the
           ADC node name for QCom TM and TM5 (Marijn Suijten)
      
         - Fix comments for the cpuidle_cooling_register() function to match
           the function prototype (Chenggang Wang)
      
         - Fix inconsistent temperature read and some Mediatek variant board
           reboot by reverting a change and handling the temperature
           differently (AngeloGioacchino Del Regno)
      
         - Fix a memory leak in the initialization error path for the Mediatek
           driver (Kang Chen)
      
         - Use of_address_to_resource() in the Mediatek driver (Rob Herring)
      
         - Fix unit address in the QCom tsens driver DT bindings (Krzysztof
           Kozlowski)
      
         - Clean up the step-wise thermal governor (Zhang Rui)
      
         - Introduce thermal_zone_device() for accessing the device field of
           struct thermal_zone_device and two drivers use it (Daniel Lezcano)
      
         - Clean up the ACPI thermal driver a bit (Daniel Lezcano)
      
         - Delete the thermal driver for Intel Menlow platforms that is not
           expected to have any users (Rafael Wysocki)"
      
      * tag 'thermal-6.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal: intel: menlow: Get rid of this driver
        ACPI: thermal: Move to dedicated function sysfs extra attr creation
        ACPI: thermal: Use thermal_zone_device()
        thermal: intel: pch_thermal: Use thermal driver device to write a trace
        thermal: core: Encapsulate tz->device field
        thermal: gov_step_wise: Adjust code logic to match comment
        thermal: gov_step_wise: Delete obsolete comment
        dt-bindings: thermal: qcom-tsens: Correct unit address
        thermal/drivers/mediatek: Use of_address_to_resource()
        thermal/drivers/mediatek: Change clk_prepare_enable to devm_clk_get_enabled in mtk_thermal_probe
        thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe
        thermal/drivers/mediatek: Add temperature constraints to validate read
        Revert "thermal/drivers/mediatek: Add delay after thermal banks initialization"
        thermal/drivers/cpuidle_cooling: Delete unmatched comments
        dt-bindings: thermal: Use generic ADC node name in examples
        dt-bindings: imx-thermal: Add imx6sll and imx6ul compatible
      667de5c6
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-6.4-rc1' of... · 89b7fd5d
      Linus Torvalds authored
      Merge tag 'pwm/for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm updates from Thierry Reding:
       "The bulk of this is trivial conversions to the new .remove_new()
        callback for drivers as part of Uwe's effort to clean that up.
      
        Other than that a driver is added for Apple devices and various small
        fixes are included for existing drivers.
      
        Last but not least, this finally gets rid of the old pwm_request() and
        pwm_free() APIs are removed since the last user was dropped in v6.3"
      
      * tag 'pwm/for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (44 commits)
        pwm: Remove unused radix tree
        pwm: Delete deprecated functions pwm_request() and pwm_free()
        pwm: meson: Fix g12a ao clk81 name
        pwm: meson: Fix axg ao mux parents
        pwm: stm32: Enforce settings for PWM capture
        MAINTAINERS: Add entries for Apple PWM driver
        pwm: Add Apple PWM controller
        dt-bindings: pwm: Add Apple PWM controller
        pwm: mtk-disp: Configure double buffering before reading in .get_state()
        pwm: mtk-disp: Disable shadow registers before setting backlight values
        pwm: stm32-lp: Drop of_match_ptr for ID table
        pwm: rcar: Drop of_match_ptr for ID table
        dt-bindings: pwm: Convert Amlogic Meson PWM binding
        dt-bindings: pwm: mediatek: Add mediatek,mt7986 compatible
        pwm: xilinx: Convert to platform remove callback returning void
        pwm: vt8500: Convert to platform remove callback returning void
        pwm: tiehrpwm: Convert to platform remove callback returning void
        pwm: tiecap: Convert to platform remove callback returning void
        pwm: tegra: Convert to platform remove callback returning void
        pwm: sun4i: Convert to platform remove callback returning void
        ...
      89b7fd5d
    • Linus Torvalds's avatar
      Merge tag 'soundwire-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire · 4c9818d8
      Linus Torvalds authored
      Pull soundwire updates from Vinod Koul:
       "This features AMD soundwire controller driver, a bunch of Intel
        changes for future platform support, sdw API updates etc:
      
         - Support for AMD soundwire controller
      
         - Intel driver updates to support future platforms
      
         - Core API sdw_nread/nwrite_no_pm updates to handle page boundaries"
      
      * tag 'soundwire-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire: (38 commits)
        soundwire: intel_auxdevice: improve pm_prepare step
        soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow
        soundwire: intel: don't save hw_params for use in prepare
        soundwire: bus: Update sdw_nread/nwrite_no_pm to handle page boundaries
        soundwire: bus: Update kernel doc for no_pm functions
        soundwire: bus: Remove now outdated comments on no_pm IO
        soundwire: stream: uniquify dev_err() logs
        soundwire: stream: remove bus->dev from logs on multiple buses
        soundwire: amd: add pm_prepare callback and pm ops support
        soundwire: amd: handle SoundWire wake enable interrupt
        soundwire: amd: add runtime pm ops for AMD SoundWire manager driver
        soundwire: amd: add SoundWire manager interrupt handling
        soundwire: amd: enable build for AMD SoundWire manager driver
        soundwire: amd: register SoundWire manager dai ops
        soundwire: amd: Add support for AMD Manager driver
        soundwire: export sdw_compute_slave_ports() function
        soundwire: stream: restore cumulative bus bandwidth when compute_params callback failed
        soundwire: bandwidth allocation: Use hweight32() to calculate set bits
        soundwire: qcom: gracefully handle too many ports in DT
        soundwire: qcom: define hardcoded version magic numbers
        ...
      4c9818d8
    • Linus Torvalds's avatar
      Merge tag 'phy-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · 54bdf8a3
      Linus Torvalds authored
      Pull phy updates from Vinod Koul:
       "New support:
         - UFS PHY for Qualcomm SA8775p, SM7150
         - PCIe 2 lane phy support for sc8180x and PCIe PHY for SDX65
         - Mediatke hdmi phy support for mt8195
         - rockchip naneng combo phy support for RK358
      
        Updates:
         - Drop Thunder Bay eMMC PHY driver
         - RC support for PCIe phy for Qualcomm SDX55
         - SGMII support in WIZ driver for J721E
         - PCIe and multilink SGMII PHY support in cadence driver
         - Big pile of platform remove callback returning void conversions"
      
      * tag 'phy-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (77 commits)
        phy: cadence: cdns-dphy-rx: Add common module reset support
        phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J721E
        dt-bindings: phy: ti: phy-gmii-sel: Add support for J784S4 CPSW9G
        phy: ti: j721e-wiz: Fix unreachable code in wiz_mode_select()
        phy: cadence: Sierra: Add PCIe + SGMII PHY multilink configuration
        phy: mediatek: add support for phy-mtk-hdmi-mt8195
        phy: phy-mtk-hdmi: Add generic phy configure callback
        dt-bindings: phy: mediatek: hdmi-phy: Add mt8195 compatible
        phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
        dt-bindings: phy: ti,phy-j721e-wiz: document clock-output-names
        dt-bindings: phy: ti,phy-j721e-wiz: drop assigned-clocks
        dt-bindings: phy: ti,phy-am654-serdes: drop assigned-clocks type
        dt-bindings: phy: cadence-torrent: drop assigned-clocks
        dt-bindings: phy: cadence-sierra: drop assigned-clocks
        phy: rockchip: remove unused hw_to_inno function
        phy: qualcomm: phy-qcom-qmp-ufs: add definitions for sa8775p
        dt-bindings: phy: qmp-ufs: describe the UFS PHY for sa8775p
        phy: qcom-qmp-pcie: drop sdm845_qhp_pcie_rx_tbl
        phy: qcom-qmp-pcie: sc8180x PCIe PHY has 2 lanes
        phy: qcom-qmp-ufs: Add SM7150 support
        ...
      54bdf8a3
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · 7994beab
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
       "New support:
      
         - Apple admac t8112 device support
      
         - StarFive JH7110 DMA controller
      
        Updates:
      
         - Big pile of idxd updates to support IAA 2.0 device capabilities,
           DSA 2.0 Event Log and completion record faulting features and
           new DSA operations
      
         - at_xdmac supend & resume updates and driver code cleanup
      
         - k3-udma supend & resume support
      
         - k3-psil thread support for J784s4"
      
      * tag 'dmaengine-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (57 commits)
        dmaengine: idxd: add per wq PRS disable
        dmaengine: idxd: add pid to exported sysfs attribute for opened file
        dmaengine: idxd: expose fault counters to sysfs
        dmaengine: idxd: add a device to represent the file opened
        dmaengine: idxd: add per file user counters for completion record faults
        dmaengine: idxd: process batch descriptor completion record faults
        dmaengine: idxd: add descs_completed field for completion record
        dmaengine: idxd: process user page faults for completion record
        dmaengine: idxd: add idxd_copy_cr() to copy user completion record during page fault handling
        dmaengine: idxd: create kmem cache for event log fault items
        dmaengine: idxd: add per DSA wq workqueue for processing cr faults
        dmanegine: idxd: add debugfs for event log dump
        dmaengine: idxd: add interrupt handling for event log
        dmaengine: idxd: setup event log configuration
        dmaengine: idxd: add event log size sysfs attribute
        dmaengine: idxd: make misc interrupt one shot
        dt-bindings: dma: snps,dw-axi-dmac: constrain the items of resets for JH7110 dma
        dt-bindings: dma: Drop unneeded quotes
        dmaengine: at_xdmac: align declaration of ret with the rest of variables
        dmaengine: at_xdmac: add a warning message regarding for unpaused channels
        ...
      7994beab
    • Linus Torvalds's avatar
      Merge tag 'for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen1984/linux · 29ee463d
      Linus Torvalds authored
      Pull hardware timestamp engine updates from Dipen Patel:
       "The changes for the hte subsystem include:
      
         - Add Tegra234 HTE provider and relevant DT bindings
      
         - Update MAINTAINERS file for the HTE subsystem"
      
      * tag 'for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen1984/linux:
        hte: tegra-194: Use proper includes
        hte: Use device_match_of_node()
        hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()
        hte: tegra: fix 'struct of_device_id' build error
        hte: Use of_property_present() for testing DT property presence
        gpio: tegra186: Add Tegra234 hte support
        hte: handle nvidia,gpio-controller property
        hte: Deprecate nvidia,slices property
        hte: Add Tegra234 provider
        hte: Re-phrase tegra API document
        arm64: tegra: Add Tegra234 GTE nodes
        dt-bindings: timestamp: Deprecate nvidia,slices property
        dt-bindings: timestamp: Add Tegra234 support
        MAINTAINERS: Add HTE/timestamp subsystem details
      29ee463d
    • Helge Deller's avatar
      parisc: Fix argument pointer in real64_call_asm() · 6e3220ba
      Helge Deller authored
      Fix the argument pointer (ap) to point to real-mode memory
      instead of virtual memory.
      
      It's interesting that this issue hasn't shown up earlier, as this could
      have happened with any 64-bit PDC ROM code.
      
      I just noticed it because I suddenly faced a HPMC while trying to execute
      the 64-bit STI ROM code of an Visualize-FXe graphics card for the STI
      text console.
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Cc: <stable@vger.kernel.org>
      6e3220ba
    • John David Anglin's avatar
      parisc: Cleanup mmap implementation regarding color alignment · 567b3515
      John David Anglin authored
      This change simplifies the randomization of file mapping regions. It
      reworks the code to remove duplication. The flow is now similar to
      that for mips. Finally, we consistently use the do_color_align variable
      to determine when color alignment is needed.
      
      Tested on rp3440.
      Signed-off-by: default avatarJohn David Anglin <dave.anglin@bell.net>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      567b3515
    • Helge Deller's avatar
      653f3ea7