* [RFC][PATCH] arm: dts: qcom: apq8064-nexus7: Add pstore support to nexus7
@ 2016-09-24 0:13 John Stultz
2016-09-24 0:28 ` Stephen Boyd
0 siblings, 1 reply; 3+ messages in thread
From: John Stultz @ 2016-09-24 0:13 UTC (permalink / raw)
To: Andy Gross
Cc: John Stultz, Kees Cook, Bjorn Andersson, Rob Clark, Stephen Boyd,
Vinay Simha, Archit Taneja, linux-arm-msm, dri-devel
Add pstore support for the nexus7. This was useful in debugging
a crash where the cpus were getting stuck with irqs off and
serial output wasn't reliably working.
Cc: Kees Cook <keescook@chromium.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Vinay Simha <vinaysimha@inforcecomputing.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index 7637092..3005576 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -15,6 +15,20 @@
stdout-path = "serial0:115200n8";
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ ramoops@0x88d00000{
+ compatible = "ramoops";
+ reg = <0x88d00000 0x100000>;
+ record-size = <0x00020000>;
+ console-size = <0x00020000>;
+ ftrace-size = <0x00020000>;
+ };
+ };
+
ext_3p3v: regulator-fixed@1 {
compatible = "regulator-fixed";
regulator-min-microvolt = <3300000>;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [RFC][PATCH] arm: dts: qcom: apq8064-nexus7: Add pstore support to nexus7
2016-09-24 0:13 [RFC][PATCH] arm: dts: qcom: apq8064-nexus7: Add pstore support to nexus7 John Stultz
@ 2016-09-24 0:28 ` Stephen Boyd
2016-10-24 23:41 ` John Stultz
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2016-09-24 0:28 UTC (permalink / raw)
To: John Stultz, Andy Gross
Cc: Kees Cook, Bjorn Andersson, Rob Clark, Vinay Simha,
Archit Taneja, linux-arm-msm, dri-devel
On 09/23/2016 05:13 PM, John Stultz wrote:
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> index 7637092..3005576 100644
> --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> @@ -15,6 +15,20 @@
> stdout-path = "serial0:115200n8";
> };
>
> + reserved-memory {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> +
> + ramoops@0x88d00000{
s/0x//
and add a space between the number and the bracket please. Does this
match with the reservation in android kernel?
> + compatible = "ramoops";
> + reg = <0x88d00000 0x100000>;
> + record-size = <0x00020000>;
> + console-size = <0x00020000>;
> + ftrace-size = <0x00020000>;
> + };
> + };
> +
> ext_3p3v: regulator-fixed@1 {
> compatible = "regulator-fixed";
> regulator-min-microvolt = <3300000>;
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC][PATCH] arm: dts: qcom: apq8064-nexus7: Add pstore support to nexus7
2016-09-24 0:28 ` Stephen Boyd
@ 2016-10-24 23:41 ` John Stultz
0 siblings, 0 replies; 3+ messages in thread
From: John Stultz @ 2016-10-24 23:41 UTC (permalink / raw)
To: Stephen Boyd
Cc: Andy Gross, Kees Cook, Bjorn Andersson, Rob Clark, Vinay Simha,
Archit Taneja, linux-arm-msm, dri-devel
On Fri, Sep 23, 2016 at 5:28 PM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> On 09/23/2016 05:13 PM, John Stultz wrote:
>> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 14 ++++++++++++++
>> 1 file changed, 14 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
>> index 7637092..3005576 100644
>> --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
>> +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
>> @@ -15,6 +15,20 @@
>> stdout-path = "serial0:115200n8";
>> };
>>
>> + reserved-memory {
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + ranges;
>> +
>> + ramoops@0x88d00000{
>
> s/0x//
>
> and add a space between the number and the bracket please.
Thanks again for the review. Will fixup the formatting bits.
> Does this
> match with the reservation in android kernel?
Yep. From the 3.4 kernel, I see:
pram->start: 0x88d00000 size: 0x100000
thanks
-john
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-24 23:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-24 0:13 [RFC][PATCH] arm: dts: qcom: apq8064-nexus7: Add pstore support to nexus7 John Stultz
2016-09-24 0:28 ` Stephen Boyd
2016-10-24 23:41 ` John Stultz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.