From nobody Wed Oct 8 16:05:59 2025 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56CC817A5BE; Thu, 26 Jun 2025 07:33:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750923200; cv=none; b=ZXDRyCOlngkEsHhRQkylnFXzwR6VmzbewnH07K48tTMcZQkf0+OI5vVGkN6Vh1o/059kPw7yv9ZLWW0qvmNm0w6q17XgJ8jKYbOn6AdWeDf7BPkzzjRb4ti3RDtG3dtbTwLjImvl0kzCQCMacKAmE7uj9A/XQKOulowIqSoVYAM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750923200; c=relaxed/simple; bh=TmZI+dJjqSOEASAovjfXP+gAUAtkuQbCG5e7pb7o0IQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ns/y1H/0/brfycN4B1M9vdnnA6MKggupR6eCLOQ7nkmHivkR6JyESCTCX4BD1nI60afNABL8jdGaGqmD+UV98QcQjbOViy1mJEA4xrEm7T/Q0pD8YApDfFZvA6nOmBwgPxFCY45X4UR2/Sizoukt4fMyvYq9q1CCEdGSTd3nzRI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=ArFG9big; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="ArFG9big" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 83370260DE; Thu, 26 Jun 2025 09:33:11 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SXotwWpGQbff; Thu, 26 Jun 2025 09:33:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1750923190; bh=TmZI+dJjqSOEASAovjfXP+gAUAtkuQbCG5e7pb7o0IQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=ArFG9bigjBmicupBq48TjipjwZXRV2KB8Hlty6N6rrSiih7jNxte1b+K+FRtKGiQX Zkv9Wlql4Fwy+XP3vifZwmsZ/nClj0SvGdr8kt3ZeVfIVjkVVkAetXCLeRdNFs3X9U ImIU6X4cK7JhMApg0JXFhrDpZMUc8k0Rz/dYP0MS2EoPgPWTRG0hXIVwp4I6+avRZn fVn/jwleOFZZ+A2b3svj0g7bf6MrdqinBLX2lxRrRLXzFwP0ayRuwn7qva9woReZCN bUwGwsgwE03Bp6jNuIUznqV6NOEnc46VWxgl5832l5a4Y/VhW+J1qQgMNblI50KSh1 iBpMqFMGCJwBQ== From: Kaustabh Chakraborty Date: Thu, 26 Jun 2025 13:02:56 +0530 Subject: [PATCH 1/3] arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250626-exynos7870-dts-fixes-v1-1-349987874d9a@disroot.org> References: <20250626-exynos7870-dts-fixes-v1-0-349987874d9a@disroot.org> In-Reply-To: <20250626-exynos7870-dts-fixes-v1-0-349987874d9a@disroot.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Kaustabh Chakraborty , stable@vger.kernel.org X-Developer-Signature: v=1; a=ed25519-sha256; t=1750923181; l=1090; i=kauschluss@disroot.org; s=20250202; h=from:subject:message-id; bh=TmZI+dJjqSOEASAovjfXP+gAUAtkuQbCG5e7pb7o0IQ=; b=G0kQn22NK2ihs5Tr+HK01RrY6Cc/upBoIeYSQkqR1+XW+Kz7qLP0eb7ZLT50LTe4pRBgbLfsb fLAXBaGWFWsCw3DuxpYOoYkZgEkhmK3y1iSApZ03jVLmqZXk38xt83H X-Developer-Key: i=kauschluss@disroot.org; a=ed25519; pk=h2xeR+V2I1+GrfDPAhZa3M+NWA0Cnbdkkq1bH3ct1hE= 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 fo= r exynos7870") Cc: stable@vger.kernel.org # v6.16 Signed-off-by: Kaustabh Chakraborty --- 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/d= ts/exynos/exynos7870.dtsi index 5cba8c9bb403405b2d9721ab8cf9d61e3d5faf95..d5d347623b9038b71da55dccdc9= 084aeaf71618c 100644 --- a/arch/arm64/boot/dts/exynos/exynos7870.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7870.dtsi @@ -327,6 +327,7 @@ usb@0 { phys =3D <&usbdrd_phy 0>; =20 usb-role-switch; + snps,usb2-gadget-lpm-disable; }; }; =20 --=20 2.49.0 From nobody Wed Oct 8 16:05:59 2025 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF53A1662E7; Thu, 26 Jun 2025 07:33:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750923199; cv=none; b=YKuJTucOcoanlRrQwVJE11lLbWNojdjaAyba5Vyr3kWwNjd0OA7Is4/uo5fxmUQ5pkAtNYxs/c1wg1c9fhl2nXxwIDtWzv3NNKSk47M+Dc4QkoFjpBu+IgGrEYebDwqVNn8wmIp2ejT2vZdutRsS8Sk/2KPUrDcJVtnoB762gAs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750923199; c=relaxed/simple; bh=VimxYiXgfisgElanUh5f+frPH3YNE9qoTKNe16RL7vo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A+QVQbiNdYHgqiww5XO5ats2TXPvejlNNuYJhTMavP7ctbtFZktJK7vmNrECuX1s1QAwRzsAgSxFNMistdk8/Ux/mRECUsc209jIZhXcskK+ieb8gMIIsq7VqaWy7v6NYfM//mO4UZzXPzIl3gcpGfA6xHIczmal+J7d5WUSyeM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=eXhojVre; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="eXhojVre" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0215D25F96; Thu, 26 Jun 2025 09:33:16 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id GlF9J5AHqZAt; Thu, 26 Jun 2025 09:33:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1750923195; bh=VimxYiXgfisgElanUh5f+frPH3YNE9qoTKNe16RL7vo=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=eXhojVren3B5MpIXLOtS4iLWlCb6nC8hBzgfvJJt7Ryyyc3AXo/pgSlVidj+hmby5 k+x0XRafTcmjiVbFz53cSW3HN7JdKbdhkAwJ6zbBXeACE2U46GPMAok/2TfAFr4MYf QV91HVQulPMWCKZRtFZWSEFTJ1xcJu24e/dq3FmZ6hZSIBhTKEWt//mSqmZTrta/PI AyxguCScX7tocTRaVpVjCKLcZcOO8KY2hJzMiSfJrrprYI+bN4jur6kWQ/7iwNz1pb Dgaa6xbJrdmY7k9YJm/4PzS4Lsy3k2htYA9B+1RTZrh5Iqu/cqGB9hKIWJcHWUvfxx 6iZxRla+cb69A== From: Kaustabh Chakraborty Date: Thu, 26 Jun 2025 13:02:57 +0530 Subject: [PATCH 2/3] arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250626-exynos7870-dts-fixes-v1-2-349987874d9a@disroot.org> References: <20250626-exynos7870-dts-fixes-v1-0-349987874d9a@disroot.org> In-Reply-To: <20250626-exynos7870-dts-fixes-v1-0-349987874d9a@disroot.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Kaustabh Chakraborty , stable@vger.kernel.org X-Developer-Signature: v=1; a=ed25519-sha256; t=1750923181; l=1295; i=kauschluss@disroot.org; s=20250202; h=from:subject:message-id; bh=VimxYiXgfisgElanUh5f+frPH3YNE9qoTKNe16RL7vo=; b=OhZIEH3niapUpqaSeCChzbwN1Dn8AXEv9OYQ/YE3FiYYgqGhZg3X6CmLj5GQSZIJkrFQ1oxpq 7932NrXeomWDdXLsPb9sR9PrpuegZ/S0v47z3zDbvrqKpe3SU/YcOEA X-Developer-Key: i=kauschluss@disroot.org; a=ed25519; pk=h2xeR+V2I1+GrfDPAhZa3M+NWA0Cnbdkkq1bH3ct1hE= 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 fo= r exynos7870") Cc: stable@vger.kernel.org # v6.16 Signed-off-by: Kaustabh Chakraborty --- 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/arm6= 4/boot/dts/exynos/exynos7870-on7xelte.dts index eb97dcc415423f405d7df9b9869b2db3432fb483..b1d9eff5a82702cd7c9797b2124= 486207e03ad89 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 =3D "memory"; reg =3D <0x0 0x40000000 0x3e400000>, - <0x0 0x80000000 0xbe400000>; + <0x0 0x80000000 0x80000000>; }; =20 pwrseq_mmc1: pwrseq-mmc1 { --=20 2.49.0 From nobody Wed Oct 8 16:05:59 2025 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1226A25BF12; Thu, 26 Jun 2025 07:33:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750923203; cv=none; b=CrDG2sC/+Ydu6/t5nHRpH19/AEfY7KpE1cakZVCLyfoD3hyjx6WzLL5G6nR8+LE+61mxi/TkTe+8SqQ0a+a8Jd88uAeAkA1LXF7pYyrW2fk98rBQV9kA5TlJrLb164vXg+Dnaw70OfHUymUZHQgdlWpNtW36+yyWITA67PhsRIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750923203; c=relaxed/simple; bh=azo+dF0/vQXfWfiOeYfh4bE+wwsnpSA8HM+IBY43R8w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VrzBSU6nJDMTA2nY6H507oTNZ+0ng2JaTUh/ygONLOQwwf/4XfcxyI3JPHfIrnLXiak5dzm6Rruj4wVMxqRbO2VoJL54/AgQLvplJDJr24o25UM+wqOj+LBih/qEo1q76DnFxJ5Efvt8BmS+g0dzexwS+7DJqc0P19XdExrL4ZM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=Bwryadrc; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="Bwryadrc" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 728A025F96; Thu, 26 Jun 2025 09:33:20 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Ttrd3yj_m4ac; Thu, 26 Jun 2025 09:33:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1750923199; bh=azo+dF0/vQXfWfiOeYfh4bE+wwsnpSA8HM+IBY43R8w=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=BwryadrcGi3V9qOdtqjbsTAsNbxlGTkwycy6VP7YbAqFisQeViuW2pFckeIdxOWZS EJVu68Kuv7kcyr+1CLW/1NVwD6HcdfPYDzg5KvXc6ureq/9L5ErRwqPAA50wq2qPiF wAXTNPWuRANvl0uPJNVtqLJkiu43BVg9FySOoOFa5jImb0VP6NuEbe+5AFf7+FQzRl pBMCoC4q8Abw/B0CxDUlzkmgDFMiBBEKpLiwuhFAu+AXp3tmJOWunfs5zwlfgJ4RAJ lrW8UOejR/maiIYR9VZWzrA94h8lFia6EhIygqA0lFxSWuiF9lFAyZIPT/691wo2iC 4a1aLdsfc0n6Q== From: Kaustabh Chakraborty Date: Thu, 26 Jun 2025 13:02:58 +0530 Subject: [PATCH 3/3] arm64: dts: exynos7870-j6lte: reduce memory ranges to base amount Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250626-exynos7870-dts-fixes-v1-3-349987874d9a@disroot.org> References: <20250626-exynos7870-dts-fixes-v1-0-349987874d9a@disroot.org> In-Reply-To: <20250626-exynos7870-dts-fixes-v1-0-349987874d9a@disroot.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Kaustabh Chakraborty , stable@vger.kernel.org X-Developer-Signature: v=1; a=ed25519-sha256; t=1750923181; l=1280; i=kauschluss@disroot.org; s=20250202; h=from:subject:message-id; bh=azo+dF0/vQXfWfiOeYfh4bE+wwsnpSA8HM+IBY43R8w=; b=6bBR/hVe24hlOvDEHg/XhfcMj1PPn1XlpC7I+O57R0KzlX7oAUaImRFbeywRHbBaGWTyQDu0/ ca8fmbAZjOAAUkr648+JgB2wQrmbtfncfIOmIITPouAKGnb3Yl2I1GR X-Developer-Key: i=kauschluss@disroot.org; a=ed25519; pk=h2xeR+V2I1+GrfDPAhZa3M+NWA0Cnbdkkq1bH3ct1hE= 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 fo= r exynos7870") Cc: stable@vger.kernel.org # v6.16 Signed-off-by: Kaustabh Chakraborty --- 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/b= oot/dts/exynos/exynos7870-j6lte.dts index 61eec1aff32ef397c69ee3f0cba8050755f74fc6..b8ce433b93b1b488da31bbe4846= f8092243611ad 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 =3D "memory"; reg =3D <0x0 0x40000000 0x3d800000>, - <0x0 0x80000000 0x7d800000>; + <0x0 0x80000000 0x40000000>; }; =20 pwrseq_mmc1: pwrseq-mmc1 { --=20 2.49.0