* [PATCH 0/3] Various devicetree fixes for Exynos7870 devices
@ 2025-06-26 7:32 Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 1/3] arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode Kaustabh Chakraborty
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Kaustabh Chakraborty @ 2025-06-26 7:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: Krzysztof Kozlowski, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel, Kaustabh Chakraborty, stable
This patch series introduces a few minor fixes on Exynos7870 devices.
These fix USB gadget problems and serious crashes on certain variants of
devices. More information is provided in respective commits.
This series has no dependencies. Would be nice to get them merged in
6.16 itself. I assume it's okay to cc stable as the -rc releases are
also owned by the "Stable Group" in git.kernel.org... [1] [2]
[1] https://git.kernel.org/?q=Stable+Group
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
---
Kaustabh Chakraborty (3):
arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode
arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount
arm64: dts: exynos7870-j6lte: reduce memory ranges to base amount
arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts | 2 +-
arch/arm64/boot/dts/exynos/exynos7870-on7xelte.dts | 2 +-
arch/arm64/boot/dts/exynos/exynos7870.dtsi | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
---
base-commit: 1b152eeca84a02bdb648f16b82ef3394007a9dcf
change-id: 20250626-exynos7870-dts-fixes-e730f7086ddc
Best regards,
--
Kaustabh Chakraborty <kauschluss@disroot.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode
2025-06-26 7:32 [PATCH 0/3] Various devicetree fixes for Exynos7870 devices Kaustabh Chakraborty
@ 2025-06-26 7:32 ` Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 2/3] arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount Kaustabh Chakraborty
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Kaustabh Chakraborty @ 2025-06-26 7:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: Krzysztof Kozlowski, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel, Kaustabh Chakraborty, stable
In gadget mode, USB connections are sluggish. The device won't send
packets to the host unless the host sends packets to the device. For
instance, SSH-ing through the USB network would apparently not work
unless you're flood-pinging the device's IP.
Add the property snps,usb2-gadget-lpm-disable to the dwc3 node, which
seems to solve this issue.
Fixes: d6f3a7f91fdb ("arm64: dts: exynos: add initial devicetree support for exynos7870")
Cc: stable@vger.kernel.org # v6.16
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
---
arch/arm64/boot/dts/exynos/exynos7870.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7870.dtsi b/arch/arm64/boot/dts/exynos/exynos7870.dtsi
index 5cba8c9bb403405b2d9721ab8cf9d61e3d5faf95..d5d347623b9038b71da55dccdc9084aeaf71618c 100644
--- a/arch/arm64/boot/dts/exynos/exynos7870.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7870.dtsi
@@ -327,6 +327,7 @@ usb@0 {
phys = <&usbdrd_phy 0>;
usb-role-switch;
+ snps,usb2-gadget-lpm-disable;
};
};
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount
2025-06-26 7:32 [PATCH 0/3] Various devicetree fixes for Exynos7870 devices Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 1/3] arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode Kaustabh Chakraborty
@ 2025-06-26 7:32 ` Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 3/3] arm64: dts: exynos7870-j6lte: " Kaustabh Chakraborty
2025-07-05 8:52 ` [PATCH 0/3] Various devicetree fixes for Exynos7870 devices Krzysztof Kozlowski
3 siblings, 0 replies; 5+ messages in thread
From: Kaustabh Chakraborty @ 2025-06-26 7:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: Krzysztof Kozlowski, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel, Kaustabh Chakraborty, stable
The device is available in multiple variants with differing RAM
capacities. The memory range defined in the 0x80000000 bank exceeds the
address range of the memory controller, which eventually leads to ARM
SError crashes. Reduce the bank size to a value which is available to
all devices.
The bootloader must be responsible for identifying the RAM capacity and
editing the memory node accordingly.
Fixes: d6f3a7f91fdb ("arm64: dts: exynos: add initial devicetree support for exynos7870")
Cc: stable@vger.kernel.org # v6.16
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
---
arch/arm64/boot/dts/exynos/exynos7870-on7xelte.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/exynos/exynos7870-on7xelte.dts b/arch/arm64/boot/dts/exynos/exynos7870-on7xelte.dts
index eb97dcc415423f405d7df9b9869b2db3432fb483..b1d9eff5a82702cd7c9797b2124486207e03ad89 100644
--- a/arch/arm64/boot/dts/exynos/exynos7870-on7xelte.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7870-on7xelte.dts
@@ -78,7 +78,7 @@ key-volup {
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0x3e400000>,
- <0x0 0x80000000 0xbe400000>;
+ <0x0 0x80000000 0x80000000>;
};
pwrseq_mmc1: pwrseq-mmc1 {
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] arm64: dts: exynos7870-j6lte: reduce memory ranges to base amount
2025-06-26 7:32 [PATCH 0/3] Various devicetree fixes for Exynos7870 devices Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 1/3] arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 2/3] arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount Kaustabh Chakraborty
@ 2025-06-26 7:32 ` Kaustabh Chakraborty
2025-07-05 8:52 ` [PATCH 0/3] Various devicetree fixes for Exynos7870 devices Krzysztof Kozlowski
3 siblings, 0 replies; 5+ messages in thread
From: Kaustabh Chakraborty @ 2025-06-26 7:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: Krzysztof Kozlowski, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel, Kaustabh Chakraborty, stable
The device is available in multiple variants with differing RAM
capacities. The memory range defined in the 0x80000000 bank exceeds the
address range of the memory controller, which eventually leads to ARM
SError crashes. Reduce the bank size to a value which is available to
all devices.
The bootloader must be responsible for identifying the RAM capacity and
editing the memory node accordingly.
Fixes: d6f3a7f91fdb ("arm64: dts: exynos: add initial devicetree support for exynos7870")
Cc: stable@vger.kernel.org # v6.16
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
---
arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts b/arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts
index 61eec1aff32ef397c69ee3f0cba8050755f74fc6..b8ce433b93b1b488da31bbe4846f8092243611ad 100644
--- a/arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts
@@ -89,7 +89,7 @@ key-volup {
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0x3d800000>,
- <0x0 0x80000000 0x7d800000>;
+ <0x0 0x80000000 0x40000000>;
};
pwrseq_mmc1: pwrseq-mmc1 {
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] Various devicetree fixes for Exynos7870 devices
2025-06-26 7:32 [PATCH 0/3] Various devicetree fixes for Exynos7870 devices Kaustabh Chakraborty
` (2 preceding siblings ...)
2025-06-26 7:32 ` [PATCH 3/3] arm64: dts: exynos7870-j6lte: " Kaustabh Chakraborty
@ 2025-07-05 8:52 ` Krzysztof Kozlowski
3 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-07-05 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar,
Kaustabh Chakraborty
Cc: devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel,
stable
On Thu, 26 Jun 2025 13:02:55 +0530, Kaustabh Chakraborty wrote:
> This patch series introduces a few minor fixes on Exynos7870 devices.
> These fix USB gadget problems and serious crashes on certain variants of
> devices. More information is provided in respective commits.
>
> This series has no dependencies. Would be nice to get them merged in
> 6.16 itself. I assume it's okay to cc stable as the -rc releases are
> also owned by the "Stable Group" in git.kernel.org... [1] [2]
>
> [...]
Applied, thanks!
[1/3] arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode
https://git.kernel.org/krzk/linux/c/e9355e894aebcbeacffd284644749190cc5f33a4
[2/3] arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount
https://git.kernel.org/krzk/linux/c/2bdfa35a7bb6e3a319e7a290baa44720bc96e5e4
[3/3] arm64: dts: exynos7870-j6lte: reduce memory ranges to base amount
https://git.kernel.org/krzk/linux/c/49a27c6c392dec46c826ee586f7ec8973acaeed7
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-07-05 8:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-26 7:32 [PATCH 0/3] Various devicetree fixes for Exynos7870 devices Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 1/3] arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 2/3] arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount Kaustabh Chakraborty
2025-06-26 7:32 ` [PATCH 3/3] arm64: dts: exynos7870-j6lte: " Kaustabh Chakraborty
2025-07-05 8:52 ` [PATCH 0/3] Various devicetree fixes for Exynos7870 devices Krzysztof Kozlowski
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).