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] [day] [month] [year] [list]
Date:	Fri, 28 Aug 2015 07:52:19 +0800
From:	Shawn Lin <shawn.lin@...k-chips.com>
To:	Doug Anderson <dianders@...omium.org>
Cc:	shawn.lin@...k-chips.com, Vinod Koul <vinod.koul@...el.com>,
	Heiko Stuebner <heiko@...ech.de>,
	Addy Ke <addy.ke@...k-chips.com>,
	Boojin Kim <boojin.kim@...sung.com>,
	Olof Johansson <olofj@...gle.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
	dmaengine@...r.kernel.org, Sonny Rao <sonnyrao@...omium.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v1 3/5] ARM: dts: Add arm, pl330-broken-no-flushp quirk
 for rk3288 platform

On 2015/8/28 0:52, Doug Anderson wrote:
> Hi,
>
> On Thu, Aug 27, 2015 at 7:24 AM, Shawn Lin <shawn.lin@...k-chips.com> wrote:
>> From: Addy Ke <addy.ke@...k-chips.com>
>
> Looks like you just added the "From" here.  I think that's fine, but
> better to set the author so you get the right cover letter...
>
>
>> Pl330 integrated in rk3288 platform doesn't support
>> DMAFLUSHP function. So we add broken-no-flushp quirk
>> for it.
>>
>> Signed-off-by: Addy Ke <addy.ke@...k-chips.com>
>> Signed-off-by: Shawn Lin <shawn.lin@...k-chips.com>
>> cc: Heiko Stuebner <heiko@...ech.de>
>> cc: Doug Anderson <dianders@...omium.org>
>> cc: Olof Johansson <olofj@...gle.com>
>>
>> ---
>>
>> Changes in v1:
>> - rename broken-no-flushp to "arm,pl330-broken-no-flushp" suggested
>>    by Krzysztof.
>> - remove Sunny's tag
>
> Note that typically for patches I see people go from "no v" to "v2".  AKA:
> * PATCH
> * PATCH v2
> * PATCH v3
>
>
>>   arch/arm/boot/dts/rk3288.dtsi | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
>> index 22316d0..106adf7 100644
>> --- a/arch/arm/boot/dts/rk3288.dtsi
>> +++ b/arch/arm/boot/dts/rk3288.dtsi
>> @@ -144,6 +144,7 @@
>>                          #dma-cells = <1>;
>>                          clocks = <&cru ACLK_DMAC2>;
>>                          clock-names = "apb_pclk";
>> +                       arm,pl330-broken-no-flushp;
>
> Note that you should add bindings _before_ the usage of them.  So
> patch #5 (Documentation) needs to come before this one.
>

Cool! That makes sense.
Thanks, Doug.

>>                  };
>>
>>                  dmac_bus_ns: dma-controller@...00000 {
>> @@ -155,6 +156,7 @@
>>                          clocks = <&cru ACLK_DMAC1>;
>>                          clock-names = "apb_pclk";
>>                          status = "disabled";
>> +                       arm,pl330-broken-no-flushp;
>>                  };
>>
>>                  dmac_bus_s: dma-controller@...20000 {
>> @@ -165,6 +167,7 @@
>>                          #dma-cells = <1>;
>>                          clocks = <&cru ACLK_DMAC1>;
>>                          clock-names = "apb_pclk";
>> +                       arm,pl330-broken-no-flushp;
>>                  };
>>          };
>
> Other than the small nits above, this looks fine to me.
>
> Reviewed-by: Douglas Anderson <dianders@...omium.org>
>
>
>


-- 
Best Regards
Shawn Lin

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