lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220204153535.465827-3-horatiu.vultur@microchip.com>
Date:   Fri, 4 Feb 2022 16:35:35 +0100
From:   Horatiu Vultur <horatiu.vultur@...rochip.com>
To:     <linux-gpio@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>
CC:     <linus.walleij@...aro.org>, <robh+dt@...nel.org>,
        <lars.povlsen@...rochip.com>, <Steen.Hegelund@...rochip.com>,
        <UNGLinuxDriver@...rochip.com>,
        Horatiu Vultur <horatiu.vultur@...rochip.com>
Subject: [PATCH 2/2] arm64: dts: sparx5: Fix for sgpio nodes

When the support for irqs was added for sgpio driver the memory size was
not updated. Because the irq registers are found at address 0x108.

Fixes: d0f482bb06f944 ("arm64: dts: sparx5: Add the Sparx5 switch node")
Signed-off-by: Horatiu Vultur <horatiu.vultur@...rochip.com>
---
 arch/arm64/boot/dts/microchip/sparx5.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi
index 787ebcec121d..b9f2e2fa3d43 100644
--- a/arch/arm64/boot/dts/microchip/sparx5.dtsi
+++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi
@@ -305,7 +305,7 @@ sgpio0: gpio@...01036c {
 			pinctrl-names = "default";
 			resets = <&reset 0>;
 			reset-names = "switch";
-			reg = <0x6 0x1101036c 0x100>;
+			reg = <0x6 0x1101036c 0x118>;
 			sgpio_in0: gpio@0 {
 				compatible = "microchip,sparx5-sgpio-bank";
 				reg = <0>;
@@ -335,7 +335,7 @@ sgpio1: gpio@...010484 {
 			pinctrl-names = "default";
 			resets = <&reset 0>;
 			reset-names = "switch";
-			reg = <0x6 0x11010484 0x100>;
+			reg = <0x6 0x11010484 0x118>;
 			sgpio_in1: gpio@0 {
 				compatible = "microchip,sparx5-sgpio-bank";
 				reg = <0>;
@@ -365,7 +365,7 @@ sgpio2: gpio@...01059c {
 			pinctrl-names = "default";
 			resets = <&reset 0>;
 			reset-names = "switch";
-			reg = <0x6 0x1101059c 0x100>;
+			reg = <0x6 0x1101059c 0x118>;
 			sgpio_in2: gpio@0 {
 				reg = <0>;
 				compatible = "microchip,sparx5-sgpio-bank";
-- 
2.33.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ