[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAS=xmgNMgm6NFVUs5p+TNrf4MHiCsjzR1eSK84o5o5MApGOkw@mail.gmail.com>
Date: Mon, 9 Feb 2015 11:26:55 +0800
From: Brent Wang <wangbintian@...il.com>
To: Marc Zyngier <marc.zyngier@....com>
Cc: Mark Rutland <mark.rutland@....com>,
"dan.zhao@...ilicon.com" <dan.zhao@...ilicon.com>,
"btw@...l.itp.ac.cn" <btw@...l.itp.ac.cn>,
Catalin Marinas <Catalin.Marinas@....com>,
"wangbinghui@...ilicon.com" <wangbinghui@...ilicon.com>,
Will Deacon <Will.Deacon@....com>,
"huxinwei@...wei.com" <huxinwei@...wei.com>,
"khilman@...aro.org" <khilman@...aro.org>,
"haojian.zhuang@...aro.org" <haojian.zhuang@...aro.org>,
"yanhaifeng@...il.com" <yanhaifeng@...il.com>,
"rob.herring@...aro.org" <rob.herring@...aro.org>,
"mturquette@...aro.org" <mturquette@...aro.org>,
"victor.lixin@...ilicon.com" <victor.lixin@...ilicon.com>,
"xuwei5@...ilicon.com" <xuwei5@...ilicon.com>,
"jh80.chung@...sung.com" <jh80.chung@...sung.com>,
"sledge.yanwei@...wei.com" <sledge.yanwei@...wei.com>,
"kong.kongxinwei@...ilicon.com" <kong.kongxinwei@...ilicon.com>,
"heyunlei@...wei.com" <heyunlei@...wei.com>,
"w.f@...wei.com" <w.f@...wei.com>,
"zhangfei.gao@...aro.org" <zhangfei.gao@...aro.org>,
"z.liuxinliang@...wei.com" <z.liuxinliang@...wei.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Bintian Wang <bintian.wang@...wei.com>,
Pawel Moll <Pawel.Moll@....com>,
"ijc+devicetree@...lion.org.uk" <ijc+devicetree@...lion.org.uk>,
"puck.chen@...ilicon.com" <puck.chen@...ilicon.com>,
"olof@...om.net" <olof@...om.net>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"linux@....linux.org.uk" <linux@....linux.org.uk>,
"zhenwei.wang@...ilicon.com" <zhenwei.wang@...ilicon.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"guodong.xu@...aro.org" <guodong.xu@...aro.org>,
"tomeu.vizoso@...labora.com" <tomeu.vizoso@...labora.com>,
"sboyd@...eaurora.org" <sboyd@...eaurora.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"galak@...eaurora.org" <galak@...eaurora.org>,
"xuejiancheng@...wei.com" <xuejiancheng@...wei.com>,
"xuyiping@...ilicon.com" <xuyiping@...ilicon.com>,
"liguozhu@...ilicon.com" <liguozhu@...ilicon.com>
Subject: Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC
Hello Marc,
2015-02-06 17:07 GMT+08:00 Marc Zyngier <marc.zyngier@....com>:
> On 06/02/15 08:42, Brent Wang wrote:
>
> [...]
>
>>>
>>>> + <0x0 0xf6802000 0x0 0x2000>, /* GICC */
>>>> + <0x0 0xf6804000 0x0 0x2000>, /* GICH */
>>>> + <0x0 0xf6806000 0x0 0x2000>; /* GICV */
>>>
>>> I guess no-one's bothered to consider 64k pages?
>>>
>>> Given GICH and GICV, I hope that this platform is booted at EL2?
>> Transfer from EL3 to EL1 directly, keep these two just for future use.
>
> That's a real shame, as it keeps users away from some key aspects of the
> ARMv8 architecture.
>
>>>
>>>> + #interrupt-cells = <3>;
>>>> + #address-cells = <0>;
>>>> + interrupt-controller;
>
> And if you're keeping GICH/GICV, where is the maintenance interrupt?
>
>>>> + };
>>>> +
>>>> +
>>>> + timer {
>>>> + compatible = "arm,armv8-timer";
>>>> + interrupt-parent = <&gic>;
>>>> + interrupts = <1 13 0xff08>,
>>>> + <1 14 0xff08>,
>>>> + <1 11 0xff08>,
>>>> + <1 10 0xff08>;
>>>> + clock-frequency = <1200000>;
>>>> + };
>>>
>>> NAK. Fix your firmware to configure CNTFRQ, on all CPUs.
>> Fix in next version, maybe it will take some time to change firmware.
>
> While you're at it, make sure CNTVOFF_EL2 is set to zero on all CPUs
> before dropping to EL1. This tends to be overlooked.
Thank you for reminding me, I will keep that in mind.
Thanks,
>
> Thanks,
>
> M.
> --
> Jazz is not dead. It just smells funny...
--
Best Regards,
Bintian
===========================
Don't be nervous, just be happy!
--
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