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]
Date:   Mon, 4 Oct 2021 11:44:06 +0530
From:   Viresh Kumar <viresh.kumar@...aro.org>
To:     Rob Herring <robh@...nel.org>
Cc:     Viresh Kumar <vireshk@...nel.org>,
        Shiraz Hashim <shiraz.linux.kernel@...il.com>,
        linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: dts: spear13xx: Drop malformed 'interrupt-map' on
 PCI nodes

On 28-09-21, 14:21, Rob Herring wrote:
> The spear13xx PCI 'interrupt-map' property is not parse-able.
> '#interrupt-cells' is missing and there are 3 #address-cells. Based on the
> driver, the only supported interrupt is for MSI. Therefore, 'interrupt-map'
> is not needed.
> 
> Cc: Viresh Kumar <vireshk@...nel.org>
> Cc: Shiraz Hashim <shiraz.linux.kernel@...il.com>
> Cc: linux-arm-kernel@...ts.infradead.org
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
>  arch/arm/boot/dts/spear1310.dtsi | 6 ------
>  arch/arm/boot/dts/spear1340.dtsi | 2 --
>  2 files changed, 8 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/spear1310.dtsi b/arch/arm/boot/dts/spear1310.dtsi
> index c4b49baf9804..2f746a9428a7 100644
> --- a/arch/arm/boot/dts/spear1310.dtsi
> +++ b/arch/arm/boot/dts/spear1310.dtsi
> @@ -82,8 +82,6 @@ pcie0: pcie@...00000 {
>  			reg = <0xb1000000 0x4000>, <0x80000000 0x20000>;
>  			reg-names = "dbi", "config";
>  			interrupts = <0 68 0x4>;
> -			interrupt-map-mask = <0 0 0 0>;
> -			interrupt-map = <0x0 0 &gic 0 68 0x4>;
>  			num-lanes = <1>;
>  			phys = <&miphy0 1>;
>  			phy-names = "pcie-phy";
> @@ -101,8 +99,6 @@ pcie1: pcie@...00000 {
>  			reg = <0xb1800000 0x4000>, <0x90000000 0x20000>;
>  			reg-names = "dbi", "config";
>  			interrupts = <0 69 0x4>;
> -			interrupt-map-mask = <0 0 0 0>;
> -			interrupt-map = <0x0 0 &gic 0 69 0x4>;
>  			num-lanes = <1>;
>  			phys = <&miphy1 1>;
>  			phy-names = "pcie-phy";
> @@ -120,8 +116,6 @@ pcie2: pcie@...00000 {
>  			reg = <0xb4000000 0x4000>, <0xc0000000 0x20000>;
>  			reg-names = "dbi", "config";
>  			interrupts = <0 70 0x4>;
> -			interrupt-map-mask = <0 0 0 0>;
> -			interrupt-map = <0x0 0 &gic 0 70 0x4>;
>  			num-lanes = <1>;
>  			phys = <&miphy2 1>;
>  			phy-names = "pcie-phy";
> diff --git a/arch/arm/boot/dts/spear1340.dtsi b/arch/arm/boot/dts/spear1340.dtsi
> index 1a8f5e8b10e3..827e887afbda 100644
> --- a/arch/arm/boot/dts/spear1340.dtsi
> +++ b/arch/arm/boot/dts/spear1340.dtsi
> @@ -47,8 +47,6 @@ pcie0: pcie@...00000 {
>  			reg = <0xb1000000 0x4000>, <0x80000000 0x20000>;
>  			reg-names = "dbi", "config";
>  			interrupts = <0 68 0x4>;
> -			interrupt-map-mask = <0 0 0 0>;
> -			interrupt-map = <0x0 0 &gic 0 68 0x4>;
>  			num-lanes = <1>;
>  			phys = <&miphy0 1>;
>  			phy-names = "pcie-phy";

Acked-by: Viresh Kumar <viresh.kumar@...aro.org>

-- 
viresh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ