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: <5360ECF5.6080801@ti.com>
Date:	Wed, 30 Apr 2014 15:30:45 +0300
From:	Tero Kristo <t-kristo@...com>
To:	Peter Ujfalusi <peter.ujfalusi@...com>, <bcousson@...libre.com>,
	<tony@...mide.com>
CC:	<linux-omap@...r.kernel.org>, <devicetree@...r.kernel.org>,
	<linux-arm-kernel@...ts.infradead.org>,
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] ARM: DTS: omap54xx-clocks: remove the autoidle properties
 for clock nodes

On 04/30/2014 02:41 PM, Peter Ujfalusi wrote:
> In OMAP5 bit 8 in PRCM registers are not defined (Reserved) unlike their
> counterpart in OMAP4.
> It is better to not write to these bits.

Yeah, looks like this bug was copied over from the legacy clock data.

Acked-by: Tero Kristo <t-kristo@...com>

>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
> ---
>   arch/arm/boot/dts/omap54xx-clocks.dtsi | 48 ----------------------------------
>   1 file changed, 48 deletions(-)
>
> diff --git a/arch/arm/boot/dts/omap54xx-clocks.dtsi b/arch/arm/boot/dts/omap54xx-clocks.dtsi
> index d487fdab3921..d784ff5d3904 100644
> --- a/arch/arm/boot/dts/omap54xx-clocks.dtsi
> +++ b/arch/arm/boot/dts/omap54xx-clocks.dtsi
> @@ -120,10 +120,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_abe_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01f0>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	abe_24m_fclk: abe_24m_fclk {
> @@ -164,10 +162,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_abe_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01f4>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_ck: dpll_core_ck {
> @@ -188,10 +184,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0150>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	c2c_fclk: c2c_fclk {
> @@ -215,10 +209,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0138>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h12x2_ck: dpll_core_h12x2_ck {
> @@ -226,10 +218,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x013c>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h13x2_ck: dpll_core_h13x2_ck {
> @@ -237,10 +227,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0140>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h14x2_ck: dpll_core_h14x2_ck {
> @@ -248,10 +236,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0144>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h22x2_ck: dpll_core_h22x2_ck {
> @@ -259,10 +245,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0154>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h23x2_ck: dpll_core_h23x2_ck {
> @@ -270,10 +254,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0158>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h24x2_ck: dpll_core_h24x2_ck {
> @@ -281,10 +263,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x015c>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_m2_ck: dpll_core_m2_ck {
> @@ -292,10 +272,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0130>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_m3x2_ck: dpll_core_m3x2_ck {
> @@ -303,10 +281,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0134>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	iva_dpll_hs_clk_div: iva_dpll_hs_clk_div {
> @@ -335,10 +311,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_iva_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01b8>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_iva_h12x2_ck: dpll_iva_h12x2_ck {
> @@ -346,10 +320,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_iva_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01bc>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	mpu_dpll_hs_clk_div: mpu_dpll_hs_clk_div {
> @@ -372,10 +344,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_mpu_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0170>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	per_dpll_hs_clk_div: per_dpll_hs_clk_div {
> @@ -642,10 +612,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0158>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_h12x2_ck: dpll_per_h12x2_ck {
> @@ -653,10 +621,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x015c>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_h14x2_ck: dpll_per_h14x2_ck {
> @@ -664,10 +630,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0164>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_m2_ck: dpll_per_m2_ck {
> @@ -675,10 +639,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0150>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_m2x2_ck: dpll_per_m2x2_ck {
> @@ -686,10 +648,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0150>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_m3x2_ck: dpll_per_m3x2_ck {
> @@ -697,10 +657,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0154>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_unipro1_ck: dpll_unipro1_ck {
> @@ -723,10 +681,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_unipro1_ck>;
>   		ti,max-div = <127>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0210>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_unipro2_ck: dpll_unipro2_ck {
> @@ -749,10 +705,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_unipro2_ck>;
>   		ti,max-div = <127>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01d0>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_usb_ck: dpll_usb_ck {
> @@ -775,10 +729,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_usb_ck>;
>   		ti,max-div = <127>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0190>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	func_128m_clk: func_128m_clk {
>

--
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