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: <c1d2b269-1bfa-ba41-8784-021edd00f91d@microchip.com>
Date:   Mon, 7 Feb 2022 14:42:40 +0000
From:   <Claudiu.Beznea@...rochip.com>
To:     <Tudor.Ambarus@...rochip.com>, <Nicolas.Ferre@...rochip.com>,
        <alexandre.belloni@...tlin.com>, <Ludovic.Desroches@...rochip.com>,
        <robh+dt@...nel.org>
CC:     <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>
Subject: Re: [PATCH] ARM: dts: at91: remove status = "okay" from soc specific
 dtsi

On 07.02.2022 15:25, Tudor Ambarus - M18064 wrote:
> On 2/7/22 13:15, Claudiu Beznea wrote:
>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>>
>> Remove status = "okay" from SoC specific dtsi as this is the default
>> state.
>>
>> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
> 
> Do you want do be consistent across 5d3 as well?
> 
> git grep okay  arch/arm/boot/dts/sama5d*.dtsi
> arch/arm/boot/dts/sama5d3xcm.dtsi:                      status = "okay";
> arch/arm/boot/dts/sama5d3xcm.dtsi:                              status = "okay";
> arch/arm/boot/dts/sama5d3xcm_cmp.dtsi:                  status = "okay";
> arch/arm/boot/dts/sama5d3xcm_cmp.dtsi:                          status = "okay";
> arch/arm/boot/dts/sama5d3xdm.dtsi:                              status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                              status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                              status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                              status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                              status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                              status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                              status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                      status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                      status = "okay";
> arch/arm/boot/dts/sama5d3xmb.dtsi:                      status = "okay";
> arch/arm/boot/dts/sama5d3xmb_cmp.dtsi:                          status = "okay";
> arch/arm/boot/dts/sama5d3xmb_cmp.dtsi:                          status = "okay";
> arch/arm/boot/dts/sama5d3xmb_cmp.dtsi:                          status = "okay";
> arch/arm/boot/dts/sama5d3xmb_cmp.dtsi:                          status = "okay";
> arch/arm/boot/dts/sama5d3xmb_cmp.dtsi:                          status = "okay";
> arch/arm/boot/dts/sama5d3xmb_cmp.dtsi:                          status = "okay";
> arch/arm/boot/dts/sama5d3xmb_cmp.dtsi:                  status = "okay";
> arch/arm/boot/dts/sama5d3xmb_cmp.dtsi:          status = "okay";

All these are for some kind of SoMs as far as I can tell. I only treated
SoCs as the SoMs dtsi may include SoC dtsi and do status = "okay" to enable
explicitly what has been disabled in SoC dtsi.

Thank you,
Claudiu Beznea

> 
> Either way, feel free to add:
> Reviewed-by: Tudor Ambarus <tudor.ambarus@...rochip.com>
> 
>> ---
>>  arch/arm/boot/dts/sam9x60.dtsi | 4 ----
>>  arch/arm/boot/dts/sama5d2.dtsi | 3 ---
>>  arch/arm/boot/dts/sama5d4.dtsi | 3 ---
>>  arch/arm/boot/dts/sama7g5.dtsi | 3 ---
>>  4 files changed, 13 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/sam9x60.dtsi b/arch/arm/boot/dts/sam9x60.dtsi
>> index ec45ced3cde6..e3afa1dae207 100644
>> --- a/arch/arm/boot/dts/sam9x60.dtsi
>> +++ b/arch/arm/boot/dts/sam9x60.dtsi
>> @@ -280,7 +280,6 @@ sha: sha@...2c000 {
>>                                 dma-names = "tx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
>>                                 clock-names = "sha_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         trng: trng@...30000 {
>> @@ -288,7 +287,6 @@ trng: trng@...30000 {
>>                                 reg = <0xf0030000 0x100>;
>>                                 interrupts = <38 IRQ_TYPE_LEVEL_HIGH 0>;
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
>> -                               status = "okay";
>>                         };
>>
>>                         aes: aes@...34000 {
>> @@ -304,7 +302,6 @@ AT91_XDMAC_DT_PERID(32))>,
>>                                 dma-names = "tx", "rx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
>>                                 clock-names = "aes_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         tdes: tdes@...38000 {
>> @@ -320,7 +317,6 @@ AT91_XDMAC_DT_PERID(31))>,
>>                                 dma-names = "tx", "rx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
>>                                 clock-names = "tdes_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         classd: classd@...3c000 {
>> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
>> index 09c741e8ecb8..05ab16ffa8bb 100644
>> --- a/arch/arm/boot/dts/sama5d2.dtsi
>> +++ b/arch/arm/boot/dts/sama5d2.dtsi
>> @@ -316,7 +316,6 @@ sha@...28000 {
>>                                 dma-names = "tx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
>>                                 clock-names = "sha_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         aes@...2c000 {
>> @@ -332,7 +331,6 @@ AT91_XDMAC_DT_PERID(26))>,
>>                                 dma-names = "tx", "rx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
>>                                 clock-names = "aes_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         spi0: spi@...00000 {
>> @@ -1097,7 +1095,6 @@ AT91_XDMAC_DT_PERID(28))>,
>>                                 dma-names = "tx", "rx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
>>                                 clock-names = "tdes_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         classd: classd@...48000 {
>> diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
>> index f6e3e6f57252..4de164905e03 100644
>> --- a/arch/arm/boot/dts/sama5d4.dtsi
>> +++ b/arch/arm/boot/dts/sama5d4.dtsi
>> @@ -684,7 +684,6 @@ aes@...44000 {
>>                                 dma-names = "tx", "rx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
>>                                 clock-names = "aes_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         tdes@...4c000 {
>> @@ -698,7 +697,6 @@ tdes@...4c000 {
>>                                 dma-names = "tx", "rx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
>>                                 clock-names = "tdes_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         sha@...50000 {
>> @@ -710,7 +708,6 @@ sha@...50000 {
>>                                 dma-names = "tx";
>>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
>>                                 clock-names = "sha_clk";
>> -                               status = "okay";
>>                         };
>>
>>                         hsmc: smc@...5c000 {
>> diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
>> index afd3e069b382..0b1e85541f7f 100644
>> --- a/arch/arm/boot/dts/sama7g5.dtsi
>> +++ b/arch/arm/boot/dts/sama7g5.dtsi
>> @@ -83,7 +83,6 @@ securam: securam@...00000 {
>>                         #size-cells = <1>;
>>                         ranges = <0 0xe0000000 0x4000>;
>>                         no-memory-wc;
>> -                       status = "okay";
>>                 };
>>
>>                 secumod: secumod@...04000 {
>> @@ -653,13 +652,11 @@ spi11: spi@400 {
>>                 uddrc: uddrc@...00000 {
>>                         compatible = "microchip,sama7g5-uddrc";
>>                         reg = <0xe3800000 0x4000>;
>> -                       status = "okay";
>>                 };
>>
>>                 ddr3phy: ddr3phy@...04000 {
>>                         compatible = "microchip,sama7g5-ddr3phy";
>>                         reg = <0xe3804000 0x1000>;
>> -                       status = "okay";
>>                 };
>>
>>                 gic: interrupt-controller@...11000 {
>> --
>> 2.32.0
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel@...ts.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ