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:   Tue, 21 Apr 2020 13:40:17 +0530
From:   Maulik Shah <mkshah@...eaurora.org>
To:     Vinod Koul <vkoul@...nel.org>,
        Bjorn Andersson <bjorn.andersson@...aro.org>
Cc:     Andy Gross <agross@...nel.org>,
        Venkata Narendra Kumar Gutta <vnkgutta@...eaurora.org>,
        Rob Herring <robh+dt@...nel.org>,
        linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sm8250: Fix PDC compatible and reg

Hi,

We can drop the second reg,
, <0 0x17c000f0 0 0x60>

The change [1] to read second reg and configure it, is not yet gone in 
pdc irqchip driver.
Otherthan this, the patch looks good to me.

Thanks,
Maulik

On 4/21/2020 12:32 PM, Vinod Koul wrote:
> On 14-04-20, 22:47, Bjorn Andersson wrote:
>> The pdc node suffers from both too narrow compatible and insufficient
>> cells in the reg, fix these.
> Reviewed-by: Vinod Koul <vkoul@...nel.org>
> Tested-by: Vinod Koul <vkoul@...nel.org>
>
>> Fixes: 60378f1a171e ("arm64: dts: qcom: sm8250: Add sm8250 dts file")
>> Signed-off-by: Bjorn Andersson <bjorn.andersson@...aro.org>
>> ---
>>   arch/arm64/boot/dts/qcom/sm8250.dtsi | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
>> index 891d83b2afea..2a7eaefd221d 100644
>> --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
>> @@ -314,8 +314,8 @@ intc: interrupt-controller@...00000 {
>>   		};
>>   
>>   		pdc: interrupt-controller@...0000 {
>> -			compatible = "qcom,sm8250-pdc";
>> -			reg = <0x0b220000 0x30000>, <0x17c000f0 0x60>;
>> +			compatible = "qcom,sm8250-pdc", "qcom,pdc";
>> +			reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x60>;
>>   			qcom,pdc-ranges = <0 480 94>, <94 609 31>,
>>   					  <125 63 1>, <126 716 12>;
>>   			#interrupt-cells = <2>;
>> -- 
>> 2.24.0
[1] https://patchwork.kernel.org/patch/11145353/

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ