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-next>] [day] [month] [year] [list]
Message-ID: <20240809162828.1945821-1-j-mcarthur@ti.com>
Date: Fri, 9 Aug 2024 11:28:26 -0500
From: Jared McArthur <j-mcarthur@...com>
To: Conor Dooley <conor+dt@...nel.org>,
        Krzysztof Kozlowski
	<krzk+dt@...nel.org>,
        Rob Herring <robh@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        Tero Kristo <kristo@...nel.org>, Vignesh Raghavendra <vigneshr@...com>,
        Nishanth Menon <nm@...com>, Jared
 McArthur <j-mcarthur@...com>
Subject: [PATCH 0/2] arm64: dts: ti: k3-am62p/j722s: Add gpio-reserved-ranges for main_gpio1

Hi,

The current main_gpio1 gpio controllers for the am62p and
j722s have holes that are not obvious to a user. Add the
gpio-reserved-ranges property to the davinci-gpio properties list and
add gpio-reserved-ranges to the am62p and j722s device trees. Prevents
users from trying to access gpios that don't exist.

The holes are taken from the am62p datasheet [1] (Table 5-24) and
am67x datasheet [2] (Table 5-27).

Patches depend on patch: dt-bindings: gpio: gpio-davinci: Add the
gpio-reserved-ranges property [3]

[1] https://www.ti.com/lit/ds/symlink/am62p.pdf
[2] https://www.ti.com/lit/ds/symlink/am67.pdf
[3] https://lore.kernel.org/all/20240809154638.394091-2-j-mcarthur@ti.com/

Best,
Jared McArthur

Jared McArthur (2):
  arm64: dts: ti: k3-am62p: Add gpio-reserved-ranges for main_gpio1
  arm64: dts: ti: k3-j722s: Add gpio-reserved-ranges for main_gpio1

 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 1 +
 arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 1 +
 2 files changed, 2 insertions(+)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ