30 Jun, 2022

1 commit

  • This is the 5.15.41 stable release

    * tag 'v5.15.41': (1977 commits)
    Linux 5.15.41
    usb: gadget: uvc: allow for application to cleanly shutdown
    usb: gadget: uvc: rename function to be more consistent
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
    arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
    arch/arm64/configs/defconfig
    drivers/clk/imx/clk-imx8qxp-lpcg.c
    drivers/dma/imx-sdma.c
    drivers/gpu/drm/bridge/nwl-dsi.c
    drivers/mailbox/imx-mailbox.c
    drivers/net/phy/at803x.c
    drivers/tty/serial/fsl_lpuart.c
    security/keys/trusted-keys/trusted_core.c

    Jason Liu
     

27 Apr, 2022

2 commits

  • [ Upstream commit d1da1052ffad63aa5181b69f20a6952e31f339c2 ]

    This reverts following commit 69125b4b9440 ("reset: tegra-bpmp: Revert
    Handle errors in BPMP response").

    The Tegra194 HDA reset failure is fixed by commit d278dc9151a0 ("ALSA:
    hda/tegra: Fix Tegra194 HDA reset failure"). The temporary revert of
    original commit c045ceb5a145 ("reset: tegra-bpmp: Handle errors in BPMP
    response") can be removed now.

    Signed-off-by: Sameer Pujar
    Tested-by: Jon Hunter
    Reviewed-by: Jon Hunter
    Acked-by: Thierry Reding
    Signed-off-by: Philipp Zabel
    Link: https://lore.kernel.org/r/1641995806-15245-1-git-send-email-spujar@nvidia.com
    Signed-off-by: Sasha Levin

    Sameer Pujar
     
  • [ Upstream commit da18980a855edf44270f05455e0ec3f2472f64cc ]

    Deasserting the reset is vital, therefore bail out in case of error.

    Suggested-by: Biju Das
    Signed-off-by: Heiner Kallweit
    Reviewed-by: Biju Das
    Link: https://lore.kernel.org/r/b2131908-0110-006b-862f-080517f3e2d8@gmail.com
    Signed-off-by: Philipp Zabel
    Signed-off-by: Sasha Levin

    Heiner Kallweit
     

11 Mar, 2022

1 commit

  • This is the 5.15.27 stable release

    * tag 'v5.15.27': (3069 commits)
    Linux 5.15.27
    hamradio: fix macro redefine warning
    KVM: x86/mmu: Passing up the error state of mmu_alloc_shadow_roots()
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    arch/arm/boot/dts/imx7ulp.dtsi
    arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
    arch/arm64/boot/dts/freescale/imx8mq.dtsi
    drivers/dma-buf/heaps/cma_heap.c
    drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
    drivers/gpu/drm/mxsfb/mxsfb_kms.c
    drivers/mmc/host/sdhci-esdhc-imx.c
    drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
    drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
    drivers/rpmsg/rpmsg_char.c
    drivers/soc/imx/gpcv2.c
    drivers/thermal/imx_thermal.c

    Jason Liu
     

11 Jan, 2022

1 commit

  • commit 92c959bae2e54ba1e2540ba5f813f7752bd76be1 upstream.

    If pm_runtime_resume_and_get() fails then it returns w/o the RPM usage
    counter being incremented. In this case call pm_runtime_put() in
    remove() will result in a usage counter imbalance. Therefore check the
    return code of pm_runtime_resume_and_get() and bail out in case of error.

    Fixes: bee08559701f ("reset: renesas: Add RZ/G2L usbphy control driver")
    Signed-off-by: Heiner Kallweit
    Reviewed-by: Biju Das
    Link: https://lore.kernel.org/r/ec24e13f-0530-b091-7a08-864577b9b3be@gmail.com
    Signed-off-by: Philipp Zabel
    Signed-off-by: Greg Kroah-Hartman

    Heiner Kallweit
     

22 Dec, 2021

1 commit

  • commit 69125b4b9440be015783312e1b8753ec96febde0 upstream.

    Commit c045ceb5a145 ("reset: tegra-bpmp: Handle errors in BPMP
    response") fixed an issue in the Tegra BPMP error handling but has
    exposed an issue in the Tegra194 HDA driver and now resetting the
    Tegra194 HDA controller is failing. For now revert the commit
    c045ceb5a145 ("reset: tegra-bpmp: Handle errors in BPMP response")
    while a fix for the Tegra HDA driver is created.

    Fixes: c045ceb5a145 ("reset: tegra-bpmp: Handle errors in BPMP response")
    Signed-off-by: Jon Hunter
    Link: https://lore.kernel.org/r/20211112112712.21587-1-jonathanh@nvidia.com
    Signed-off-by: Philipp Zabel
    Signed-off-by: Greg Kroah-Hartman

    Jon Hunter
     

02 Nov, 2021

14 commits


05 Oct, 2021

4 commits

  • The early reset driver doesn't ever probe, which causes consuming
    devices to be unable to probe. Add an empty driver to set this device
    as available, allowing consumers to probe.

    Signed-off-by: Paweł Anikiel
    Link: https://lore.kernel.org/r/20210920124141.1166544-4-pan@semihalf.com
    Signed-off-by: Philipp Zabel

    Paweł Anikiel
     
  • The return value from tegra_bpmp_transfer indicates the success or
    failure of the IPC transaction with BPMP. If the transaction
    succeeded, we also need to check the actual command's result code.
    Add code to do this.

    Signed-off-by: Mikko Perttunen
    Link: https://lore.kernel.org/r/20210915085517.1669675-2-mperttunen@nvidia.com
    Signed-off-by: Philipp Zabel

    Mikko Perttunen
     
  • After the retirement of MACH_PISTACHIO, the Pistachio Reset Driver is no
    longer auto-enabled when building a kernel for Pistachio systems.
    Worse, the driver cannot be enabled by the user at all (unless
    compile-testing), as the config symbol is invisible.

    Fix this partially by making the symbol visible again when compiling for
    MIPS, and dropping the useless default. The user still has to enable
    the driver manually when building a kernel for Pistachio systems,
    though.

    Fixes: 104f942b2832ab13 ("MIPS: Retire MACH_PISTACHIO")
    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Rahul Bedarkar
    Reviewed-by: Jiaxun Yang
    Link: https://lore.kernel.org/r/2c399e52540536df9c4006e46ef93fbccdde88db.1631610825.git.geert+renesas@glider.be
    Signed-off-by: Philipp Zabel

    Geert Uytterhoeven
     
  • The readl_poll_timeout() should complete when the status bit
    is a 1, not 0.

    Fixes: 4cf176e52397 ("reset: Add Broadcom STB RESCAL reset controller")
    Signed-off-by: Jim Quinlan
    Signed-off-by: Florian Fainelli
    Link: https://lore.kernel.org/r/20210914221122.62315-1-f.fainelli@gmail.com
    Signed-off-by: Philipp Zabel

    Jim Quinlan
     

02 Sep, 2021

1 commit

  • Pull ARM SoC driver updates from Arnd Bergmann:
    "These are updates for drivers that are tied to a particular SoC,
    including the correspondig device tree bindings:

    - A couple of reset controller changes for unisoc, uniphier, renesas
    and zte platforms

    - memory controller driver fixes for omap and tegra

    - Rockchip io domain driver updates

    - Lots of updates for qualcomm platforms, mostly touching their
    firmware and power management drivers

    - Tegra FUSE and firmware driver updateѕ

    - Support for virtio transports in the SCMI firmware framework

    - cleanup of ixp4xx drivers, towards enabling multiplatform support
    and bringing it up to date with modern platforms

    - Minor updates for keystone, mediatek, omap, renesas"

    * tag 'drivers-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (96 commits)
    reset: simple: remove ZTE details in Kconfig help
    soc: rockchip: io-domain: Remove unneeded semicolon
    soc: rockchip: io-domain: add rk3568 support
    dt-bindings: power: add rk3568-pmu-io-domain support
    bus: ixp4xx: return on error in ixp4xx_exp_probe()
    soc: renesas: Prefer memcpy() over strcpy()
    firmware: tegra: Stop using seq_get_buf()
    soc/tegra: fuse: Enable fuse clock on suspend for Tegra124
    soc/tegra: fuse: Add runtime PM support
    soc/tegra: fuse: Clear fuse->clk on driver probe failure
    soc/tegra: pmc: Prevent racing with cpuilde driver
    soc/tegra: bpmp: Remove unused including
    dt-bindings: soc: ti: pruss: Add dma-coherent property
    soc: ti: Remove pm_runtime_irq_safe() usage for smartreflex
    soc: ti: pruss: Enable support for ICSSG subsystems on K3 AM64x SoCs
    dt-bindings: soc: ti: pruss: Update bindings for K3 AM64x SoCs
    firmware: arm_scmi: Use WARN_ON() to check configured transports
    firmware: arm_scmi: Fix boolconv.cocci warnings
    soc: mediatek: mmsys: Fix missing UFOE component in mt8173 table routing
    soc: mediatek: mmsys: add MT8365 support
    ...

    Linus Torvalds
     

23 Aug, 2021

2 commits

  • This patch changes the data type of the variable 'val' from
    int to u32.

    Addresses-Coverity: argument of type "int *" is incompatible with parameter of type "u32 *"
    Signed-off-by: Sai Krishna Potthuri
    Signed-off-by: Michal Simek
    Link: https://lore.kernel.org/r/925cebbe4eb73c7d0a536da204748d33c7100d8c.1624448778.git.michal.simek@xilinx.com
    Signed-off-by: Philipp Zabel

    Sai Krishna Potthuri
     
  • The ZTE platform support in the simple reset driver has been
    removed but the comment in the help wasn't removed so clean
    this up too.

    Fixes: 89d4f98ae90d ("ARM: remove zte zx platform")
    Signed-off-by: Peter Robinson
    Acked-by: Arnd Bergmann
    Link: https://lore.kernel.org/r/20210821094528.294579-1-pbrobinson@gmail.com
    Signed-off-by: Philipp Zabel

    Peter Robinson
     

27 Jul, 2021

1 commit

  • Add support for RZ/G2L USBPHY Control driver. It mainly controls
    reset and power down of the USB/PHY.

    Signed-off-by: Biju Das
    Reviewed-by: Lad Prabhakar
    Link: https://lore.kernel.org/r/20210719121938.6532-5-biju.das.jz@bp.renesas.com
    Signed-off-by: Philipp Zabel

    Biju Das
     

21 Jul, 2021

2 commits

  • The Microchip Sparx5 switch reset block is only present on Microchip
    Sparx5 SoCs. Hence add a dependency on ARCH_SPARX5, to prevent asking
    the user about this driver when configuring a kernel without Sparx5
    support.

    Fixes: 453ed4283bebd077 ("reset: mchp: sparx5: add switch reset driver")
    Signed-off-by: Geert Uytterhoeven
    Link: https://lore.kernel.org/r/6e08f6f46123d0712397e901716b48f13fa5dc48.1624627657.git.geert@linux-m68k.org
    Signed-off-by: Philipp Zabel

    Geert Uytterhoeven
     
  • Add PDC Global reset signals for Wireless Processor Subsystem (WPSS)
    on SC7280 SoCs.

    Acked-by: Philipp Zabel
    Reviewed-by: Philipp Zabel
    Signed-off-by: Sibi Sankar
    Link: https://lore.kernel.org/r/1619693465-5724-5-git-send-email-sibis@codeaurora.org
    Signed-off-by: Philipp Zabel

    Sibi Sankar
     

11 Jul, 2021

1 commit

  • Pull ARM driver updates from Olof Johansson:

    - Reset controllers: Adding support for Microchip Sparx5 Switch.

    - Memory controllers: ARM Primecell PL35x SMC memory controller driver
    cleanups and improvements.

    - i.MX SoC drivers: Power domain support for i.MX8MM and i.MX8MN.

    - Rockchip: RK3568 power domains support + DT binding updates,
    cleanups.

    - Qualcomm SoC drivers: Amend socinfo with more SoC/PMIC details,
    including support for MSM8226, MDM9607, SM6125 and SC8180X.

    - ARM FFA driver: "Firmware Framework for ARMv8-A", defining management
    interfaces and communication (including bus model) between partitions
    both in Normal and Secure Worlds.

    - Tegra Memory controller changes, including major rework to deal with
    identity mappings at boot and integration with ARM SMMU pieces.

    * tag 'arm-drivers-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (120 commits)
    firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    firmware: turris-mox-rwtm: show message about HWRNG registration
    firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
    firmware: turris-mox-rwtm: report failures better
    firmware: turris-mox-rwtm: fix reply status decoding function
    soc: imx: gpcv2: add support for i.MX8MN power domains
    dt-bindings: add defines for i.MX8MN power domains
    firmware: tegra: bpmp: Fix Tegra234-only builds
    iommu/arm-smmu: Use Tegra implementation on Tegra186
    iommu/arm-smmu: tegra: Implement SID override programming
    iommu/arm-smmu: tegra: Detect number of instances at runtime
    dt-bindings: arm-smmu: Add Tegra186 compatible string
    firmware: qcom_scm: Add MDM9607 compatible
    soc: qcom: rpmpd: Add MDM9607 RPM Power Domains
    soc: renesas: Add support to read LSI DEVID register of RZ/G2{L,LC} SoC's
    soc: renesas: Add ARCH_R9A07G044 for the new RZ/G2L SoC's
    dt-bindings: soc: rockchip: drop unnecessary #phy-cells from grf.yaml
    memory: emif: remove unused frequency and voltage notifiers
    memory: fsl_ifc: fix leak of private memory on probe failure
    memory: fsl_ifc: fix leak of IO mapping on probe failure
    ...

    Linus Torvalds
     

29 Jun, 2021

1 commit


07 Jun, 2021

5 commits

  • Make reset-berlin driver to be tristate module, support to build as
    a module, this is useful for GKI.

    Partially reverts commit ed4dba99cae8 ("reset: berlin: make it
    explicitly non-modular")

    Signed-off-by: Jisheng Zhang
    Link: https://lore.kernel.org/r/20210607181015.5b8d3711@xhacker.debian
    Signed-off-by: Philipp Zabel

    Jisheng Zhang
     
  • Abort instead of returning a new reset control for a reset controller
    device that is going to have its module unloaded.

    Reported-by: Uwe Kleine-König
    Fixes: 61fc41317666 ("reset: Add reset controller API")
    Acked-by: Uwe Kleine-König
    Link: https://lore.kernel.org/r/20210607082615.15160-1-p.zabel@pengutronix.de
    Signed-off-by: Philipp Zabel

    Philipp Zabel
     
  • In case of error, the function devm_platform_get_and_ioremap_resource()
    returns ERR_PTR() and never returns NULL. The NULL test in the return
    value check should be replaced with IS_ERR().

    Fixes: 453ed4283beb ("reset: mchp: sparx5: add switch reset driver")
    Reported-by: Hulk Robot
    Signed-off-by: Wei Yongjun
    Link: https://lore.kernel.org/r/20210519141638.3052456-1-weiyongjun1@huawei.com
    Signed-off-by: Philipp Zabel

    Wei Yongjun
     
  • Use devm_reset_controller_register() for the reset controller
    registration.

    Signed-off-by: Yang Yingliang
    Link: https://lore.kernel.org/r/20210517032648.2969609-1-yangyingliang@huawei.com
    Signed-off-by: Philipp Zabel

    Yang Yingliang
     
  • s/Hisilicon/HiSilicon/g.
    It should use capital S, according to
    https://www.hisilicon.com/en/terms-of-use.

    Signed-off-by: Hao Fang
    Link: https://lore.kernel.org/r/1617087044-19572-1-git-send-email-fanghao11@huawei.com
    Signed-off-by: Philipp Zabel

    Hao Fang
     

12 May, 2021

1 commit

  • This patch adds missing MODULE_DEVICE_TABLE definition which generates
    correct modalias for automatic loading of this driver when it is built
    as an external module.

    Reported-by: Hulk Robot
    Fixes: 77750bc089e4 ("reset: Add Broadcom STB SW_INIT reset controller driver")
    Signed-off-by: Zou Wei
    Link: https://lore.kernel.org/r/1620789283-15048-1-git-send-email-zou_wei@huawei.com
    Signed-off-by: Philipp Zabel

    Zou Wei
     

10 May, 2021

2 commits

  • The driver defined of_device_id table but did not use it with
    of_match_table. This prevents usual matching via devicetree and causes
    a W=1 warning:

    drivers/reset/reset-a10sr.c:111:34: warning:
    ‘a10sr_reset_of_match’ defined but not used [-Wunused-const-variable=]

    Reported-by: kernel test robot
    Fixes: 627006820268 ("reset: Add Altera Arria10 SR Reset Controller")
    Signed-off-by: Krzysztof Kozlowski
    Link: https://lore.kernel.org/r/20210507112803.20012-1-krzysztof.kozlowski@canonical.com
    Signed-off-by: Philipp Zabel

    Krzysztof Kozlowski
     
  • The Intel Gateway reset controller is only present on Intel Gateway
    platforms. Hence add a dependency on X86, to prevent asking the user
    about this driver when configuring a kernel without Intel Gateway
    support.

    Fixes: c9aef213e38cde27 ("reset: intel: Add system reset controller driver")
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Philipp Zabel

    Geert Uytterhoeven