1. 26 Apr, 2024 4 commits
    • Arnd Bergmann's avatar
      Merge tag 'mtk-dts64-fixes-for-v6.9' of... · 9e0794ae
      Arnd Bergmann authored
      Merge tag 'mtk-dts64-fixes-for-v6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux into for-next
      
      MediaTek ARM64 DTS fixes for v6.9
      
      This fixes some dts validation issues against bindings for multiple SoCs,
      GPU voltage constraints for Chromebook devices, missing gce-client-reg
      on various nodes (performance issues) on MT8183/92/95, and also fixes
      boot issues on MT8195 when SPMI is built as module.
      
      * tag 'mtk-dts64-fixes-for-v6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux:
        arm64: dts: mediatek: mt2712: fix validation errors
        arm64: dts: mediatek: mt7986: prefix BPI-R3 cooling maps with "map-"
        arm64: dts: mediatek: mt7986: drop invalid thermal block clock
        arm64: dts: mediatek: mt7986: drop "#reset-cells" from Ethernet controller
        arm64: dts: mediatek: mt7986: drop invalid properties from ethsys
        arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block
        arm64: dts: mediatek: mt7622: fix ethernet controller "compatible"
        arm64: dts: mediatek: mt7622: fix IR nodename
        arm64: dts: mediatek: mt7622: fix clock controllers
        arm64: dts: mediatek: mt8186-corsola: Update min voltage constraint for Vgpu
        arm64: dts: mediatek: mt8183-kukui: Use default min voltage for MT6358
        arm64: dts: mediatek: mt8195-cherry: Update min voltage constraint for MT6315
        arm64: dts: mediatek: mt8192-asurada: Update min voltage constraint for MT6315
        arm64: dts: mediatek: cherry: Describe CPU supplies
        arm64: dts: mediatek: mt8195: Add missing gce-client-reg to mutex1
        arm64: dts: mediatek: mt8195: Add missing gce-client-reg to mutex
        arm64: dts: mediatek: mt8195: Add missing gce-client-reg to vpp/vdosys
        arm64: dts: mediatek: mt8192: Add missing gce-client-reg to mutex
        arm64: dts: mediatek: mt8183: Add power-domains properity to mfgcfg
      9e0794ae
    • Arnd Bergmann's avatar
      Merge tag 'at91-fixes-6.9' of... · fdabd4b2
      Arnd Bergmann authored
      Merge tag 'at91-fixes-6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into for-next
      
      AT91 fixes for 6.9
      
      It contains:
      - fixes for regulator nodes on SAMA7G5 based boards: proper DT property is used
        to setup regulators suspend voltage.
      
      * tag 'at91-fixes-6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
        ARM: dts: microchip: at91-sama7g54_curiosity: Replace regulator-suspend-voltage with the valid property
        ARM: dts: microchip: at91-sama7g5ek: Replace regulator-suspend-voltage with the valid property
      
      Link: https://lore.kernel.org/r/20240421124824.960096-1-claudiu.beznea@tuxon.devSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      fdabd4b2
    • Arnd Bergmann's avatar
      Merge tag 'qcom-arm64-fixes-for-6.9' of... · 14e9d449
      Arnd Bergmann authored
      Merge tag 'qcom-arm64-fixes-for-6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into for-next
      
      Qualcomm Arm64 DeviceTree fixes for v6.9
      
      This corrects the watchdog IRQ flags for a number of remoteproc
      instances, which otherwise prevents the driver from probe in the face of
      a probe deferral.
      
      Improvements in other areas, such as USB, have made it possible for CX
      rail voltage on SC8280XP to be lowered, no longer meeting requirements
      of active PCIe controllers. Necessary votes are added to these
      controllers.
      
      The MSI definitions for PCIe controllers in SM8450, SM8550, and SM8650
      was incorrect, due to a bug in the driver. As this has now been fixed
      the definition needs to be corrected.
      
      Lastly, the SuperSpeed PHY irq of the second USB controller in SC8180x,
      and the compatible string for X1 Elite domain idle states are corrected.
      
      * tag 'qcom-arm64-fixes-for-6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
        arm64: dts: qcom: sc8180x: Fix ss_phy_irq for secondary USB controller
        arm64: dts: qcom: sm8650: Fix the msi-map entries
        arm64: dts: qcom: sm8550: Fix the msi-map entries
        arm64: dts: qcom: sm8450: Fix the msi-map entries
        arm64: dts: qcom: sc8280xp: add missing PCIe minimum OPP
        arm64: dts: qcom: x1e80100: Fix the compatible for cluster idle states
        arm64: dts: qcom: Fix type of "wdog" IRQs for remoteprocs
      
      Link: https://lore.kernel.org/r/20240420161002.1132240-1-andersson@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      14e9d449
    • Arnd Bergmann's avatar
      Merge branch 'v6.9-armsoc/dtsfixes' of... · 32a1eaa9
      Arnd Bergmann authored
      Merge branch 'v6.9-armsoc/dtsfixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into for-next
      
      * 'v6.9-armsoc/dtsfixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
        arm64: dts: rockchip: Fix USB interface compatible string on kobol-helios64
        arm64: dts: rockchip: regulator for sd needs to be always on for BPI-R2Pro
        dt-bindings: rockchip: grf: Add missing type to 'pcie-phy' node
        arm64: dts: rockchip: drop redundant disable-gpios in Lubancat 2
        arm64: dts: rockchip: drop redundant disable-gpios in Lubancat 1
        arm64: dts: rockchip: drop redundant pcie-reset-suspend in Scarlet Dumo
        arm64: dts: rockchip: mark system power controller and fix typo on orangepi-5-plus
        arm64: dts: rockchip: Designate the system power controller on QuartzPro64
        arm64: dts: rockchip: drop panel port unit address in GRU Scarlet
        arm64: dts: rockchip: Remove unsupported node from the Pinebook Pro dts
        arm64: dts: rockchip: Fix the i2c address of es8316 on Cool Pi CM5
        arm64: dts: rockchip: add regulators for PCIe on RK3399 Puma Haikou
        arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma
        arm64: dts: rockchip: enable internal pull-up on Q7_USB_ID for RK3399 Puma
        arm64: dts: rockchip: fix alphabetical ordering RK3399 puma
        arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma
        arm64: dts: rockchip: set PHY address of MT7531 switch to 0x1f
      
      Link: https://lore.kernel.org/r/3413596.CbtlEUcBR6@philSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      32a1eaa9
  2. 21 Apr, 2024 2 commits
  3. 17 Apr, 2024 1 commit
  4. 14 Apr, 2024 10 commits
  5. 13 Apr, 2024 5 commits
    • Linus Torvalds's avatar
      Merge tag 'ata-6.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux · 7efd0a74
      Linus Torvalds authored
      Pull ata fixes from Damien Le Moal:
      
       - Add the mask_port_map parameter to the ahci driver. This is a
         follow-up to the recent snafu with the ASMedia controller and its
         virtual port hidding port-multiplier devices. As ASMedia confirmed
         that there is no way to determine if these slow-to-probe virtual
         ports are actually representing the ports of a port-multiplier
         devices, this new parameter allow masking ports to significantly
         speed up probing during system boot, resulting in shorter boot times.
      
       - A fix for an incorrect handling of a port unlock in
         ata_scsi_dev_rescan().
      
       - Allow command duration limits to be detected for ACS-4 devices are
         there are such devices out in the field.
      
      * tag 'ata-6.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
        ata: libata-core: Allow command duration limits detection for ACS-4 drives
        ata: libata-scsi: Fix ata_scsi_dev_rescan() error path
        ata: ahci: Add mask_port_map module parameter
      7efd0a74
    • Linus Torvalds's avatar
      Merge tag 'zonefs-6.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs · 76b0e9c4
      Linus Torvalds authored
      Pull zonefs fix from Damien Le Moal:
      
       - Suppress a coccicheck warning using str_plural()
      
      * tag 'zonefs-6.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs:
        zonefs: Use str_plural() to fix Coccinelle warning
      76b0e9c4
    • Linus Torvalds's avatar
      Merge tag 'v6.9-rc3-SMB3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 · fa4022cb
      Linus Torvalds authored
      Pull smb client fixes from Steve French:
      
       - fix for oops in cifs_get_fattr of deleted files
      
       - fix for the remote open counter going negative in some directory
         lease cases
      
       - fix for mkfifo to instantiate dentry to avoid possible crash
      
       - important fix to allow handling key rotation for mount and remount
         (ie cases that are becoming more common when password that was used
         for the mount will expire soon but will be replaced by new password)
      
      * tag 'v6.9-rc3-SMB3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        smb3: fix broken reconnect when password changing on the server by allowing password rotation
        smb: client: instantiate when creating SFU files
        smb3: fix Open files on server counter going negative
        smb: client: fix NULL ptr deref in cifs_mark_open_handles_for_deleted_file()
      fa4022cb
    • Igor Pylypiv's avatar
      ata: libata-core: Allow command duration limits detection for ACS-4 drives · c0297e7d
      Igor Pylypiv authored
      Even though the command duration limits (CDL) feature was first added
      in ACS-5 (major version 12), there are some ACS-4 (major version 11)
      drives that implement CDL as well.
      
      IDENTIFY_DEVICE, SUPPORTED_CAPABILITIES, and CURRENT_SETTINGS log pages
      are mandatory in the ACS-4 standard so it should be safe to read these
      log pages on older drives implementing the ACS-4 standard.
      
      Fixes: 62e4a60e ("scsi: ata: libata: Detect support for command duration limits")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarIgor Pylypiv <ipylypiv@google.com>
      Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
      c0297e7d
    • Damien Le Moal's avatar
      ata: libata-scsi: Fix ata_scsi_dev_rescan() error path · 79336504
      Damien Le Moal authored
      Commit 0c76106c ("scsi: sd: Fix TCG OPAL unlock on system resume")
      incorrectly handles failures of scsi_resume_device() in
      ata_scsi_dev_rescan(), leading to a double call to
      spin_unlock_irqrestore() to unlock a device port. Fix this by redefining
      the goto labels used in case of errors and only unlock the port
      scsi_scan_mutex when scsi_resume_device() fails.
      
      Bug found with the Smatch static checker warning:
      
      	drivers/ata/libata-scsi.c:4774 ata_scsi_dev_rescan()
      	error: double unlocked 'ap->lock' (orig line 4757)
      Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
      Fixes: 0c76106c ("scsi: sd: Fix TCG OPAL unlock on system resume")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
      Reviewed-by: default avatarNiklas Cassel <cassel@kernel.org>
      79336504
  6. 12 Apr, 2024 18 commits
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 8f2c0577
      Linus Torvalds authored
      Pull arm64 fix from Catalin Marinas:
       "Fix the TLBI RANGE operand calculation causing live migration under
        KVM/arm64 to miss dirty pages due to stale TLB entries"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: tlb: Fix TLBI RANGE operand
      8f2c0577
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 678e14c7
      Linus Torvalds authored
      Pull SoC fixes from Arnd Bergmann:
       "The device tree changes this time are all for NXP i.MX platforms,
        addressing issues with clocks and regulators on i.MX7 and i.MX8.
      
        The old OMAP2 based Nokia N8x0 tablet get a couple of code fixes for
        regressions that came in.
      
        The ARM SCMI and FF-A firmware interfaces get a couple of minor bug
        fixes.
      
        A regression fix for RISC-V cache management addresses a problem with
        probe order on Sifive cores"
      
      * tag 'soc-fixes-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (23 commits)
        MAINTAINERS: Change Krzysztof Kozlowski's email address
        arm64: dts: imx8qm-ss-dma: fix can lpcg indices
        arm64: dts: imx8-ss-dma: fix can lpcg indices
        arm64: dts: imx8-ss-dma: fix adc lpcg indices
        arm64: dts: imx8-ss-dma: fix pwm lpcg indices
        arm64: dts: imx8-ss-dma: fix spi lpcg indices
        arm64: dts: imx8-ss-conn: fix usb lpcg indices
        arm64: dts: imx8-ss-lsio: fix pwm lpcg indices
        ARM: dts: imx7s-warp: Pass OV2680 link-frequencies
        ARM: dts: imx7-mba7: Use 'no-mmc' property
        arm64: dts: imx8-ss-conn: fix usdhc wrong lpcg clock order
        arm64: dts: freescale: imx8mp-venice-gw73xx-2x: fix USB vbus regulator
        arm64: dts: freescale: imx8mp-venice-gw72xx-2x: fix USB vbus regulator
        cache: sifive_ccache: Partially convert to a platform driver
        firmware: arm_scmi: Make raw debugfs entries non-seekable
        firmware: arm_scmi: Fix wrong fastchannel initialization
        firmware: arm_ffa: Fix the partition ID check in ffa_notification_info_get()
        ARM: OMAP2+: fix USB regression on Nokia N8x0
        mmc: omap: restore original power up/down steps
        mmc: omap: fix deferred probe
        ...
      678e14c7
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · c7c4e130
      Linus Torvalds authored
      Pull iommu fixes from Joerg Roedel:
      
       - Intel VT-d Fixes:
           - Allocate local memory for PRQ page
           - Fix WARN_ON in iommu probe path
           - Fix wrong use of pasid config
      
       - AMD IOMMU Fixes:
           - Lock inversion fix
           - Log message severity fix
           - Disable SNP when v2 page-tables are used
      
       - Mediatek driver:
           - Fix module autoloading
      
      * tag 'iommu-fixes-v6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/amd: Change log message severity
        iommu/vt-d: Fix WARN_ON in iommu probe path
        iommu/vt-d: Allocate local memory for page request queue
        iommu/vt-d: Fix wrong use of pasid config
        iommu: mtk: fix module autoloading
        iommu/amd: Do not enable SNP when V2 page table is enabled
        iommu/amd: Fix possible irq lock inversion dependency issue
      c7c4e130
    • Linus Torvalds's avatar
      Merge tag 'pci-v6.9-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci · b3812ff0
      Linus Torvalds authored
      Pull pci fixes from Bjorn Helgaas:
      
       - Revert a quirk that prevented Secondary Bus Reset for LSI / Agere
         FW643.
      
         We thought the device was broken, but the reset does work correctly
         on other platforms, and the reset avoids leaking data out of VMs
         (Bjorn Helgaas)
      
       - Update MAINTAINERS to reflect that Gustavo Pimentel is no longer
         reachable (Manivannan Sadhasivam)
      
      * tag 'pci-v6.9-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
        Revert "PCI: Mark LSI FW643 to avoid bus reset"
        MAINTAINERS: Drop Gustavo Pimentel as PCI DWC Maintainer
      b3812ff0
    • Linus Torvalds's avatar
      Merge tag 'block-6.9-20240412' of git://git.kernel.dk/linux · d7ad0581
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - MD pull request via Song:
             - UAF fix (Yu)
      
       - Avoid out-of-bounds shift in blk-iocost (Rik)
      
       - Fix for q->blkg_list corruption (Ming)
      
       - Relax virt boundary mask/size segment checking (Ming)
      
      * tag 'block-6.9-20240412' of git://git.kernel.dk/linux:
        block: fix that blk_time_get_ns() doesn't update time after schedule
        block: allow device to have both virt_boundary_mask and max segment size
        block: fix q->blkg_list corruption during disk rebind
        blk-iocost: avoid out of bounds shift
        raid1: fix use-after-free for original bio in raid1_write_request()
      d7ad0581
    • Maximilian Luz's avatar
      arm64: dts: qcom: sc8180x: Fix ss_phy_irq for secondary USB controller · ecda8309
      Maximilian Luz authored
      The ACPI DSDT of the Surface Pro X (SQ2) specifies the interrupts for
      the secondary UBS controller as
      
          Name (_CRS, ResourceTemplate ()
          {
              Interrupt (ResourceConsumer, Level, ActiveHigh, Shared, ,, )
              {
                  0x000000AA,
              }
              Interrupt (ResourceConsumer, Level, ActiveHigh, SharedAndWake, ,, )
              {
                  0x000000A7,     // hs_phy_irq: &intc GIC_SPI 136
              }
              Interrupt (ResourceConsumer, Level, ActiveHigh, SharedAndWake, ,, )
              {
                  0x00000228,     // ss_phy_irq: &pdc 40
              }
              Interrupt (ResourceConsumer, Edge, ActiveHigh, SharedAndWake, ,, )
              {
                  0x0000020A,     // dm_hs_phy_irq: &pdc 10
              }
              Interrupt (ResourceConsumer, Edge, ActiveHigh, SharedAndWake, ,, )
              {
                  0x0000020B,     // dp_hs_phy_irq: &pdc 11
              }
          })
      
      Generally, the interrupts above 0x200 map to the PDC interrupts (as used
      in the devicetree) as ACPI_NUMBER - 0x200. Note that this lines up with
      dm_hs_phy_irq and dp_hs_phy_irq (as well as the interrupts for the
      primary USB controller).
      
      Based on the snippet above, ss_phy_irq should therefore be PDC 40 (=
      0x28) and not PDC 7. The latter is according to ACPI instead used as
      ss_phy_irq for port 0 of the multiport USB controller). Fix this by
      setting ss_phy_irq to '&pdc 40'.
      
      Fixes: b080f53a ("arm64: dts: qcom: sc8180x: Add remoteprocs, wifi and usb nodes")
      Signed-off-by: default avatarMaximilian Luz <luzmaximilian@gmail.com>
      Reviewed-by: default avatarBjorn Andersson <andersson@kernel.org>
      Link: https://lore.kernel.org/r/20240328022224.336938-1-luzmaximilian@gmail.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
      ecda8309
    • Manivannan Sadhasivam's avatar
      arm64: dts: qcom: sm8650: Fix the msi-map entries · 6d3bd106
      Manivannan Sadhasivam authored
      While adding the GIC ITS MSI support, it was found that the msi-map entries
      needed to be swapped to receive MSIs from the endpoint.
      
      But later it was identified that the swapping was needed due to a bug in
      the Qualcomm PCIe controller driver. And since the bug is now fixed with
      commit bf79e33c ("PCI: qcom: Enable BDF to SID translation properly"),
      let's fix the msi-map entries also to reflect the actual mapping in the
      hardware.
      
      Fixes: a33a532b ("arm64: dts: qcom: sm8650: Use GIC-ITS for PCIe0 and PCIe1")
      Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
      Acked-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
      Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-QRD
      Link: https://lore.kernel.org/r/20240318-pci-bdf-sid-fix-v1-3-acca6c5d9cf1@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
      6d3bd106
    • Manivannan Sadhasivam's avatar
      arm64: dts: qcom: sm8550: Fix the msi-map entries · 98a953fa
      Manivannan Sadhasivam authored
      While adding the GIC ITS MSI support, it was found that the msi-map entries
      needed to be swapped to receive MSIs from the endpoint.
      
      But later it was identified that the swapping was needed due to a bug in
      the Qualcomm PCIe controller driver. And since the bug is now fixed with
      commit bf79e33c ("PCI: qcom: Enable BDF to SID translation properly"),
      let's fix the msi-map entries also to reflect the actual mapping in the
      hardware.
      
      Fixes: 114990ce ("arm64: dts: qcom: sm8550: Use GIC-ITS for PCIe0 and PCIe1")
      Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
      Acked-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
      Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
      Link: https://lore.kernel.org/r/20240318-pci-bdf-sid-fix-v1-2-acca6c5d9cf1@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
      98a953fa
    • Manivannan Sadhasivam's avatar
      arm64: dts: qcom: sm8450: Fix the msi-map entries · ecc3ac29
      Manivannan Sadhasivam authored
      While adding the GIC ITS MSI support, it was found that the msi-map entries
      needed to be swapped to receive MSIs from the endpoint.
      
      But later it was identified that the swapping was needed due to a bug in
      the Qualcomm PCIe controller driver. And since the bug is now fixed with
      commit bf79e33c ("PCI: qcom: Enable BDF to SID translation properly"),
      let's fix the msi-map entries also to reflect the actual mapping in the
      hardware.
      
      Cc: stable@vger.kernel.org # 6.3: bf79e33c ("PCI: qcom: Enable BDF to SID translation properly")
      Fixes: ff384ab5 ("arm64: dts: qcom: sm8450: Use GIC-ITS for PCIe0 and PCIe1")
      Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
      Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
      Link: https://lore.kernel.org/r/20240318-pci-bdf-sid-fix-v1-1-acca6c5d9cf1@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
      ecc3ac29
    • Johan Hovold's avatar
      arm64: dts: qcom: sc8280xp: add missing PCIe minimum OPP · 8b8ec83a
      Johan Hovold authored
      Add the missing PCIe CX performance level votes to avoid relying on
      other drivers (e.g. USB or UFS) to maintain the nominal performance
      level required for Gen3 speeds.
      
      Fixes: 813e8315 ("arm64: dts: qcom: sc8280xp/sa8540p: add PCIe2-4 nodes")
      Cc: stable@vger.kernel.org      # 6.2
      Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
      Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
      Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
      Link: https://lore.kernel.org/r/20240306095651.4551-5-johan+linaro@kernel.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
      8b8ec83a
    • Rajendra Nayak's avatar
      arm64: dts: qcom: x1e80100: Fix the compatible for cluster idle states · cb939b9b
      Rajendra Nayak authored
      The compatible's for the cluster/domain idle states of x1e80100
      are wrong, fix it.
      
      Fixes: af16b005 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
      Signed-off-by: default avatarRajendra Nayak <quic_rjendra@quicinc.com>
      Reviewed-by: default avatarAbel Vesa <abel.vesa@linaro.org>
      Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
      Link: https://lore.kernel.org/r/20240317132918.1068817-1-quic_rjendra@quicinc.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
      cb939b9b
    • Luca Weiss's avatar
      arm64: dts: qcom: Fix type of "wdog" IRQs for remoteprocs · f0116881
      Luca Weiss authored
      The code in qcom_q6v5_init() requests the "wdog" IRQ as
      IRQF_TRIGGER_RISING. If dt defines the interrupt type as LEVEL_HIGH then
      the driver will have issues getting the IRQ again after probe deferral
      with an error like:
      
        irq: type mismatch, failed to map hwirq-14 for interrupt-controller@b220000!
      
      Fix that by updating the devicetrees to use IRQ_TYPE_EDGE_RISING for
      these interrupts, as is already used in most dt's. Also the driver was
      already using the interrupts with that type.
      
      Fixes: 3658e411 ("arm64: dts: qcom: sc7280: Add ADSP node")
      Fixes: df62402e ("arm64: dts: qcom: sc7280: Add CDSP node")
      Fixes: 152d1faf ("arm64: dts: qcom: add SC8280XP platform")
      Fixes: 8eb5287e ("arm64: dts: qcom: sm6350: Add CDSP nodes")
      Fixes: efc33c96 ("arm64: dts: qcom: sm6350: Add ADSP nodes")
      Fixes: fe6fd26a ("arm64: dts: qcom: sm6375: Add ADSP&CDSP")
      Fixes: 23a89037 ("arm64: dts: qcom: sm8250: Add remoteprocs")
      Signed-off-by: default avatarLuca Weiss <luca.weiss@fairphone.com>
      Link: https://lore.kernel.org/r/20240219-remoteproc-irqs-v1-1-c5aeb02334bd@fairphone.com
      [bjorn: Added fixes references]
      Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
      f0116881
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.9-20240412' of git://git.kernel.dk/linux · c7adbe2e
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Fix for sigmask restoring while waiting for events (Alexey)
      
       - Typo fix in comment (Haiyue)
      
       - Fix for a msg_control retstore on SEND_ZC retries (Pavel)
      
      * tag 'io_uring-6.9-20240412' of git://git.kernel.dk/linux:
        io-uring: correct typo in comment for IOU_F_TWQ_LAZY_WAKE
        io_uring/net: restore msg_control on sendzc retry
        io_uring: Fix io_cqring_wait() not restoring sigmask on get_timespec64() failure
      c7adbe2e
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-6.9-rc4' of https://github.com/ceph/ceph-client · 90d3eaaf
      Linus Torvalds authored
      Pull ceph fixes from Ilya Dryomov:
       "Two CephFS fixes marked for stable and a MAINTAINERS update"
      
      * tag 'ceph-for-6.9-rc4' of https://github.com/ceph/ceph-client:
        MAINTAINERS: remove myself as a Reviewer for Ceph
        ceph: switch to use cap_delay_lock for the unlink delay list
        ceph: redirty page before returning AOP_WRITEPAGE_ACTIVATE
      90d3eaaf
    • Linus Torvalds's avatar
      Kconfig: add some hidden tabs on purpose · d5cf50da
      Linus Torvalds authored
      Commit d96c3600 ("tracing: Fix FTRACE_RECORD_RECURSION_SIZE Kconfig
      entry") removed a hidden tab because it apparently showed breakage in
      some third-party kernel config parsing tool.
      
      It wasn't clear what tool it was, but let's make sure it gets fixed.
      Because if you can't parse tabs as whitespace, you should not be parsing
      the kernel Kconfig files.
      
      In fact, let's make such breakage more obvious than some esoteric ftrace
      record size option.  If you can't parse tabs, you can't have page sizes.
      
      Yes, tab-vs-space confusion is sadly a traditional Unix thing, and
      'make' is famous for being broken in this regard.  But no, that does not
      mean that it's ok.
      
      I'd add more random tabs to our Kconfig files, but I don't want to make
      things uglier than necessary.  But it *might* bbe necessary if it turns
      out we see more of this kind of silly tooling.
      
      Fixes: d96c3600 ("tracing: Fix FTRACE_RECORD_RECURSION_SIZE Kconfig entry")
      Link: https://lore.kernel.org/lkml/CAHk-=wj-hLLN_t_m5OL4dXLaxvXKy_axuoJYXif7iczbfgAevQ@mail.gmail.com/Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d5cf50da
    • Linus Torvalds's avatar
      Merge tag 'trace-v6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 5939d451
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
      
       - Fix the buffer_percent accounting as it is dependent on three
         variables:
      
           1) pages_read - number of subbuffers read
           2) pages_lost - number of subbuffers lost due to overwrite
           3) pages_touched - number of pages that a writer entered
      
         These three counters only increment, and to know how many active
         pages there are on the buffer at any given time, the pages_read and
         pages_lost are subtracted from pages_touched.
      
         But the pages touched was incremented whenever any writer went to the
         next subbuffer even if it wasn't the only one, so it was incremented
         more than it should be causing the counter for how many subbuffers
         currently have content incorrect, which caused the buffer_percent
         that holds waiters until the ring buffer is filled to a given
         percentage to wake up early.
      
       - Fix warning of unused functions when PERF_EVENTS is not configured in
      
       - Replace bad tab with space in Kconfig for FTRACE_RECORD_RECURSION_SIZE
      
       - Fix to some kerneldoc function comments in eventfs code.
      
      * tag 'trace-v6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        ring-buffer: Only update pages_touched when a new page is touched
        tracing: hide unused ftrace_event_id_fops
        tracing: Fix FTRACE_RECORD_RECURSION_SIZE Kconfig entry
        eventfs: Fix kernel-doc comments to functions
      5939d451
    • Linus Torvalds's avatar
      Merge tag 'mips-fixes_6.9_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · e00011a1
      Linus Torvalds authored
      Pull MIPS fix from Thomas Bogendoerfer:
       "Fix for syscall_get_nr() to make it work even if tracing is disabled"
      
      * tag 'mips-fixes_6.9_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
        MIPS: scall: Save thread_info.syscall unconditionally on entry
      e00011a1
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-04-12' of https://gitlab.freedesktop.org/drm/kernel · d1c13e80
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Looks like everyone woke up after holidays, this weeks pull has a
        bunch of stuff all over, 2 weeks worth of amdgpu is a lot of it, then
        i915/xe have a few, a bunch of msm fixes, then some scattered driver
        fixes.
      
        I expect things will settle down for rc5.
      
        client:
         - Protect connector modes with mode_config mutex
      
        ast:
         - Fix soft lockup
      
        host1x:
         - Do not setup DMA for virtual addresses
      
        ivpu:
         - Fix deadlock in context_xa
         - PCI fixes
         - Fixes to error handling
      
        nouveau:
         - gsp: Fix OOB access
         - Fix casting
      
        panfrost:
         - Fix error path in MMU code
      
        qxl:
         - Revert "drm/qxl: simplify qxl_fence_wait"
      
        vmwgfx:
         - Enable DMA for SEV mappings
      
        i915:
         - Couple CDCLK programming fixes
         - HDCP related fix
         - 4 Bigjoiner related fixes
         - Fix for a circular locking around GuC on reset+wedged case
      
        xe:
         - Fix double display mutex initializations
         - Fix u32 -> u64 implicit conversions
         - Fix RING_CONTEXT_CONTROL not marked as masked
      
        msm:
         - DP refcount leak fix on disconnect
         - Add missing newlines to prints in msm_fb and msm_kms
         - fix dpu debugfs entry permissions
         - Fix the interface table for the catalog of X1E80100
         - fix irq message printing
         - Bindings fix to add DP node as child of mdss for mdss node
         - Minor typo fix in DP driver API which handles port status change
         - fix CHRASHDUMP_READ()
         - fix HHB (highest bank bit) for a619 to fix UBWC corruption
      
        amdgpu:
         - GPU reset fixes
         - Fix some confusing logging
         - UMSCH fix
         - Aborted suspend fix
         - DCN 3.5 fixes
         - S4 fix
         - MES logging fixes
         - SMU 14 fixes
         - SDMA 4.4.2 fix
         - KASAN fix
         - SMU 13.0.10 fix
         - VCN partition fix
         - GFX11 fixes
         - DWB fixes
         - Plane handling fix
         - FAMS fix
         - DCN 3.1.6 fix
         - VSC SDP fixes
         - OLED panel fix
         - GFX 11.5 fix
      
        amdkfd:
         - GPU reset fixes
         - fix ioctl integer overflow"
      
      * tag 'drm-fixes-2024-04-12' of https://gitlab.freedesktop.org/drm/kernel: (65 commits)
        amdkfd: use calloc instead of kzalloc to avoid integer overflow
        drm/xe: Label RING_CONTEXT_CONTROL as masked
        drm/xe/xe_migrate: Cast to output precision before multiplying operands
        drm/xe/hwmon: Cast result to output precision on left shift of operand
        drm/xe/display: Fix double mutex initialization
        drm/amdgpu: differentiate external rev id for gfx 11.5.0
        drm/amd/display: Adjust dprefclk by down spread percentage.
        drm/amd/display: Set VSC SDP Colorimetry same way for MST and SST
        drm/amd/display: Program VSC SDP colorimetry for all DP sinks >= 1.4
        drm/amd/display: fix disable otg wa logic in DCN316
        drm/amd/display: Do not recursively call manual trigger programming
        drm/amd/display: always reset ODM mode in context when adding first plane
        drm/amdgpu: fix incorrect number of active RBs for gfx11
        drm/amd/display: Return max resolution supported by DWB
        amd/amdkfd: sync all devices to wait all processes being evicted
        drm/amdgpu: clear set_q_mode_offs when VM changed
        drm/amdgpu: Fix VCN allocation in CPX partition
        drm/amd/pm: fix the high voltage issue after unload
        drm/amd/display: Skip on writeback when it's not applicable
        drm/amdgpu: implement IRQ_STATE_ENABLE for SDMA v4.4.2
        ...
      d1c13e80