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, 5 Sep 2022 09:10:59 +0800
From:   Shawn Guo <shawnguo@...nel.org>
To:     Li Yang <leoyang.li@....com>
Cc:     devicetree@...r.kernel.org, robh+dt@...nel.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Xiaowei Bao <xiaowei.bao@....com>
Subject: Re: [PATCH 2/9] arm64: dts: ls1046a: Add the PME interrupt to PCIe
 EP nodes

On Wed, Aug 24, 2022 at 06:11:53PM -0500, Li Yang wrote:
> From: Xiaowei Bao <xiaowei.bao@....com>
> 
> Add the PME interrupt property to the PCIe EP nodes.
> 
> Signed-off-by: Xiaowei Bao <xiaowei.bao@....com>
> Signed-off-by: Li Yang <leoyang.li@....com>
> ---
>  arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index ddae3cb0a977..fce3c6401653 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -813,6 +813,8 @@ pcie_ep1: pcie_ep@...0000 {
>  			reg = <0x00 0x03400000 0x0 0x00100000>,
>  			      <0x40 0x00000000 0x8 0x00000000>;
>  			reg-names = "regs", "addr_space";
> +			interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */

The comment seems unnecessary, considering we have the interrupt-names
below?

Shawn

> +			interrupt-names = "pme";
>  			num-ib-windows = <6>;
>  			num-ob-windows = <8>;
>  			status = "disabled";
> @@ -849,6 +851,8 @@ pcie_ep2: pcie_ep@...0000 {
>  			reg = <0x00 0x03500000 0x0 0x00100000>,
>  			      <0x48 0x00000000 0x8 0x00000000>;
>  			reg-names = "regs", "addr_space";
> +			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
> +			interrupt-names = "pme";
>  			num-ib-windows = <6>;
>  			num-ob-windows = <8>;
>  			status = "disabled";
> @@ -885,6 +889,8 @@ pcie_ep3: pcie_ep@...0000 {
>  			reg = <0x00 0x03600000 0x0 0x00100000>,
>  			      <0x50 0x00000000 0x8 0x00000000>;
>  			reg-names = "regs", "addr_space";
> +			interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
> +			interrupt-names = "pme";
>  			num-ib-windows = <6>;
>  			num-ob-windows = <8>;
>  			status = "disabled";
> -- 
> 2.37.1
> 

Powered by blists - more mailing lists