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: <7DB8223D-7300-4578-B0C0-22B52AFF306D@kernel.crashing.org>
Date:	Thu, 29 Sep 2011 09:22:52 -0500
From:	Kumar Gala <galak@...nel.crashing.org>
To:	Liu Gang <Gang.Liu@...escale.com>
Cc:	<linuxppc-dev@...ts.ozlabs.org>, Jin Qing <b24347@...escale.com>,
	r58472@...escale.com, r61911@...escale.com,
	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	B11780@...escale.com
Subject: Re: [PATCH 3/4] p4080ds-dts: Add two rapidio ports and message units support


On Sep 28, 2011, at 9:29 PM, Liu Gang wrote:

> Add two message units and number of ports according to the p4080 reference manual.

Explain why range size increased.

> 
> Signed-off-by: Li Yang <leoli@...escale.com>
> Signed-off-by: Jin Qing <b24347@...escale.com>
> Signed-off-by: Liu Gang <Gang.Liu@...escale.com>
> ---
> arch/powerpc/boot/dts/p4080ds.dts  |    4 +-
> arch/powerpc/boot/dts/p4080si.dtsi |   37 +++++++++++++++++++++++++++--------
> 2 files changed, 30 insertions(+), 11 deletions(-)
> 
> diff --git a/arch/powerpc/boot/dts/p4080ds.dts b/arch/powerpc/boot/dts/p4080ds.dts
> index eb11098..94a0cd4 100644
> --- a/arch/powerpc/boot/dts/p4080ds.dts
> +++ b/arch/powerpc/boot/dts/p4080ds.dts
> @@ -101,9 +101,9 @@
> 		};
> 	};
> 
> -	rapidio0: rapidio@...0c0000 {
> +	rapidio: rapidio@...0c0000 {
> 		reg = <0xf 0xfe0c0000 0 0x20000>;
> -		ranges = <0 0 0xc 0x20000000 0 0x01000000>;
> +		ranges = <0 0 0xc 0x20000000 0 0x20000000>;
> 	};
> 
> 	localbus@...124000 {
> diff --git a/arch/powerpc/boot/dts/p4080si.dtsi b/arch/powerpc/boot/dts/p4080si.dtsi
> index b71051f..816a629 100644
> --- a/arch/powerpc/boot/dts/p4080si.dtsi
> +++ b/arch/powerpc/boot/dts/p4080si.dtsi
> @@ -69,8 +69,9 @@
> 		rtic_c = &rtic_c;
> 		rtic_d = &rtic_d;
> 		sec_mon = &sec_mon;
> +		rmu = &rmu;
> 
> -		rio0 = &rapidio0;
> +		rio = &rapidio;
> 	};
> 
> 	cpus {
> @@ -555,20 +556,38 @@
> 			interrupt-parent = <&mpic>;
> 			interrupts = <93 2 0 0>;
> 		};
> +
> +		rmu: rmu@...00 {
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			compatible = "fsl,rmu";
> +			reg = <0xd3000 0x200>;
> +
> +			message-unit@0 {
> +				reg = <0x0 0x100>;
> +				interrupts = <
> +						60 2 0 0  /* msg1_tx_irq */
> +						61 2 0 0>;/* msg1_rx_irq */
> +			};
> +			message-unit@1 {

message-unit@100

> +				reg = <0x100 0x100>;
> +				interrupts = <
> +						62 2 0 0  /* msg2_tx_irq */
> +						63 2 0 0>;/* msg2_rx_irq */
> +			};
> +		};
> 	};
> 
> -	rapidio0: rapidio@...0c0000 {
> +	rapidio: rapidio@...0c0000 {
> 		#address-cells = <2>;
> 		#size-cells = <2>;
> 		compatible = "fsl,rapidio-delta";

change to 'fsl,srio' per comments on binding patch.

> 		interrupts = <
> -			16 2 1 11 /* err_irq */
> -			56 2 0 0  /* bell_outb_irq */
> -			57 2 0 0  /* bell_inb_irq */
> -			60 2 0 0  /* msg1_tx_irq */
> -			61 2 0 0  /* msg1_rx_irq */
> -			62 2 0 0  /* msg2_tx_irq */
> -			63 2 0 0>; /* msg2_rx_irq */
> +				16 2 1 11 /* err_irq */
> +				56 2 0 0  /* bell_outb_irq */
> +				57 2 0 0>;/* bell_inb_irq */
> +		fsl,rio-num-ports = <2>;
> +		rmu-handle = <&rmu>;
> 	};
> 
> 	localbus@...124000 {
> -- 
> 1.7.3.1
> 
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@...ts.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ