stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* FAILED: patch "[PATCH] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to" failed to apply to 6.1-stable tree
@ 2025-06-02  9:47 gregkh
  2025-06-02 22:20 ` [PATCH 6.1.y] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default Judith Mendez
  0 siblings, 1 reply; 4+ messages in thread
From: gregkh @ 2025-06-02  9:47 UTC (permalink / raw)
  To: jm, bb, nm, u-kumar1; +Cc: stable


The patch below does not apply to the 6.1-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable@vger.kernel.org>.

To reproduce the conflict and resubmit, you may use the following commands:

git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.1.y
git checkout FETCH_HEAD
git cherry-pick -x 3a71cdfec94436079513d9adf4b1d4f7a7edd917
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2025060230-sacrifice-vexingly-4e21@gregkh' --subject-prefix 'PATCH 6.1.y' HEAD^..

Possible dependencies:



thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From 3a71cdfec94436079513d9adf4b1d4f7a7edd917 Mon Sep 17 00:00:00 2001
From: Judith Mendez <jm@ti.com>
Date: Tue, 29 Apr 2025 11:33:35 -0500
Subject: [PATCH] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to
 default

Set eMMC clock parents to the defaults which is MAIN_PLL0_HSDIV5_CLKOUT
for eMMC. This change is necessary since DM is not implementing the
correct procedure to switch PLL clock source for eMMC and MMC CLK mux is
not glich-free. As a preventative action, lets switch back to the defaults.

Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
Cc: stable@vger.kernel.org
Signed-off-by: Judith Mendez <jm@ti.com>
Acked-by: Udit Kumar <u-kumar1@ti.com>
Acked-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20250429163337.15634-2-jm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>

diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index 7d355aa73ea2..0c286f600296 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -552,8 +552,6 @@ sdhci0: mmc@fa10000 {
 		power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
 		clocks = <&k3_clks 57 5>, <&k3_clks 57 6>;
 		clock-names = "clk_ahb", "clk_xin";
-		assigned-clocks = <&k3_clks 57 6>;
-		assigned-clock-parents = <&k3_clks 57 8>;
 		bus-width = <8>;
 		mmc-ddr-1_8v;
 		mmc-hs200-1_8v;


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 6.1.y] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default
  2025-06-02  9:47 FAILED: patch "[PATCH] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to" failed to apply to 6.1-stable tree gregkh
@ 2025-06-02 22:20 ` Judith Mendez
  2025-06-03  4:15   ` Greg KH
  2025-06-03 19:04   ` Sasha Levin
  0 siblings, 2 replies; 4+ messages in thread
From: Judith Mendez @ 2025-06-02 22:20 UTC (permalink / raw)
  To: Judith Mendez, stable

Set eMMC clock parents to the defaults which is MAIN_PLL0_HSDIV5_CLKOUT
for eMMC. This change is necessary since DM is not implementing the
correct procedure to switch PLL clock source for eMMC and MMC CLK mux is
not glich-free. As a preventative action, lets switch back to the defaults.

Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
Cc: stable@vger.kernel.org
Signed-off-by: Judith Mendez <jm@ti.com>
Acked-by: Udit Kumar <u-kumar1@ti.com>
Acked-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20250429163337.15634-2-jm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index 04222028e53e..03f7bd5dd53f 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -384,8 +384,6 @@ sdhci0: mmc@fa10000 {
 		power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
 		clocks = <&k3_clks 57 5>, <&k3_clks 57 6>;
 		clock-names = "clk_ahb", "clk_xin";
-		assigned-clocks = <&k3_clks 57 6>;
-		assigned-clock-parents = <&k3_clks 57 8>;
 		mmc-ddr-1_8v;
 		mmc-hs200-1_8v;
 		ti,trm-icp = <0x2>;
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 6.1.y] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default
  2025-06-02 22:20 ` [PATCH 6.1.y] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default Judith Mendez
@ 2025-06-03  4:15   ` Greg KH
  2025-06-03 19:04   ` Sasha Levin
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2025-06-03  4:15 UTC (permalink / raw)
  To: Judith Mendez; +Cc: stable

On Mon, Jun 02, 2025 at 05:20:12PM -0500, Judith Mendez wrote:
> Set eMMC clock parents to the defaults which is MAIN_PLL0_HSDIV5_CLKOUT
> for eMMC. This change is necessary since DM is not implementing the
> correct procedure to switch PLL clock source for eMMC and MMC CLK mux is
> not glich-free. As a preventative action, lets switch back to the defaults.
> 
> Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
> Cc: stable@vger.kernel.org
> Signed-off-by: Judith Mendez <jm@ti.com>
> Acked-by: Udit Kumar <u-kumar1@ti.com>
> Acked-by: Bryan Brattlof <bb@ti.com>
> Link: https://lore.kernel.org/r/20250429163337.15634-2-jm@ti.com
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> index 04222028e53e..03f7bd5dd53f 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> @@ -384,8 +384,6 @@ sdhci0: mmc@fa10000 {
>  		power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
>  		clocks = <&k3_clks 57 5>, <&k3_clks 57 6>;
>  		clock-names = "clk_ahb", "clk_xin";
> -		assigned-clocks = <&k3_clks 57 6>;
> -		assigned-clock-parents = <&k3_clks 57 8>;
>  		mmc-ddr-1_8v;
>  		mmc-hs200-1_8v;
>  		ti,trm-icp = <0x2>;
> -- 
> 2.49.0
> 
> 

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 6.1.y] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default
  2025-06-02 22:20 ` [PATCH 6.1.y] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default Judith Mendez
  2025-06-03  4:15   ` Greg KH
@ 2025-06-03 19:04   ` Sasha Levin
  1 sibling, 0 replies; 4+ messages in thread
From: Sasha Levin @ 2025-06-03 19:04 UTC (permalink / raw)
  To: stable, jm; +Cc: Sasha Levin

[ Sasha's backport helper bot ]

Hi,

Summary of potential issues:
⚠️ Found matching upstream commit but patch is missing proper reference to it

Found matching upstream commit: 3a71cdfec94436079513d9adf4b1d4f7a7edd917

Status in newer kernel trees:
6.15.y | Present (different SHA1: bbd9a9a4bdbb)
6.14.y | Present (different SHA1: 3dd5ba003449)
6.12.y | Present (different SHA1: d8fbd2030a06)
6.6.y | Not found

Note: The patch differs from the upstream commit:
---
1:  3a71cdfec9443 ! 1:  86ab474092731 arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default
    @@ arch/arm64/boot/dts/ti/k3-am62-main.dtsi: sdhci0: mmc@fa10000 {
      		clock-names = "clk_ahb", "clk_xin";
     -		assigned-clocks = <&k3_clks 57 6>;
     -		assigned-clock-parents = <&k3_clks 57 8>;
    - 		bus-width = <8>;
      		mmc-ddr-1_8v;
      		mmc-hs200-1_8v;
    + 		ti,trm-icp = <0x2>;
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.1.y        |  Success    |  Success   |

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-03 19:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-02  9:47 FAILED: patch "[PATCH] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to" failed to apply to 6.1-stable tree gregkh
2025-06-02 22:20 ` [PATCH 6.1.y] arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default Judith Mendez
2025-06-03  4:15   ` Greg KH
2025-06-03 19:04   ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).