Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>
Cc: Loic Poulain <loic.poulain@oss.qualcomm.com>,
	konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, sre@kernel.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-pm@vger.kernel.org
Subject: Re: [PATCH 3/5] dt-bindings: firmware: qcom,scm: Document reboot mode
Date: Thu, 13 Nov 2025 12:00:40 +0100	[thread overview]
Message-ID: <fcb093e3-05e6-4e77-9150-25f9a76f8937@oss.qualcomm.com> (raw)
In-Reply-To: <sdhnchve6r5i4frhlx5q7lod5npzosbfdjjyd56l2z5ksoe4t4@lhm6d2pzsztm>

On 11/12/25 5:36 PM, Bjorn Andersson wrote:
> On Wed, Nov 05, 2025 at 10:44:05AM +0100, Konrad Dybcio wrote:
>> On 11/4/25 10:19 PM, Loic Poulain wrote:
>>> On Tue, Nov 4, 2025 at 3:12 AM Bjorn Andersson <andersson@kernel.org> wrote:
>>>>
>>>> On Mon, Nov 03, 2025 at 07:20:04PM +0100, Loic Poulain wrote:
>>>>> SCM can be used to support reboot mode such as Emergency Recovery Mode.
>>>>
>>>> "such as"? Do we have any other useful bits in here?
>>>
>>>  I heard we may have different EDL modes supported like USB or SD
>>> based EDL, but I don't know much about the details.
>>>
>>>>
>>>>>
>>>>> Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
>>>>> ---
>>>>>  Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 4 ++++
>>>>>  1 file changed, 4 insertions(+)
>>>>>
>>>>> diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
>>>>> index b913192219e4..c8bb7dacd900 100644
>>>>> --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
>>>>> +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
>>>>> @@ -121,6 +121,10 @@ properties:
>>>>>            - description: offset of the download mode control register
>>>>>      description: TCSR hardware block
>>>>>
>>>>> +patternProperties:
>>>>> +  "^mode-.*$":
>>>>
>>>> I'd only ever expect mode-edl = <1>. Do we have additional modes that
>>>> warrant the generic nature of this?
>>>
>>> We may extend this to mode-ramdump if it makes sense, but as of now
>>> it's indeed only edl, will fix it.
>>
>> Would adding ramdump here be a matter of:
>>
>> + mode-ramdump = <0xmagic>
>>
>> ?
>>
>> If so, please add it too
>>
> 
> But what does that mean? "Hey computer, perform a graceful shutdown and
> when you're done, give me a ramdump"?

I.. guess?

Perhaps it could be useful for registering a panic handler to reboot
into ramdump in case that's not enabled by deafult (but is that
possible with our fw?)

Konrad

  reply	other threads:[~2025-11-13 11:00 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-03 18:20 [PATCH 0/5] Add EDL reboot and warm reset support for QRB2210 Loic Poulain
2025-11-03 18:20 ` [PATCH 1/5] dt-bindings: power: reset: qcom-pon: Document qcom,warm-reset Loic Poulain
2025-11-04  2:17   ` Bjorn Andersson
2025-11-04 14:03   ` Krzysztof Kozlowski
2025-11-04 15:12     ` Loic Poulain
2025-11-03 18:20 ` [PATCH 2/5] power: reset: qcom-pon: Add support for WARM reset Loic Poulain
2025-11-04  2:19   ` Bjorn Andersson
2025-11-04 11:50   ` Konrad Dybcio
2025-11-04 15:01     ` Loic Poulain
2025-11-04 15:20       ` Konrad Dybcio
2025-11-05 21:44         ` Loic Poulain
2025-11-06 12:50           ` Konrad Dybcio
2025-11-12 11:16             ` Loic Poulain
2025-11-12 11:20               ` Konrad Dybcio
2025-11-14 15:35                 ` Loic Poulain
2025-11-04 14:04   ` Krzysztof Kozlowski
2025-11-03 18:20 ` [PATCH 3/5] dt-bindings: firmware: qcom,scm: Document reboot mode Loic Poulain
2025-11-04  2:16   ` Bjorn Andersson
2025-11-04  2:19     ` Dmitry Baryshkov
2025-11-04  2:45       ` Bjorn Andersson
2025-11-04 21:19     ` Loic Poulain
2025-11-05  9:44       ` Konrad Dybcio
2025-11-05 20:17         ` Loic Poulain
2025-11-06  9:51           ` Konrad Dybcio
2025-11-12 16:36         ` Bjorn Andersson
2025-11-13 11:00           ` Konrad Dybcio [this message]
2025-11-13 17:38             ` Bjorn Andersson
2025-11-03 18:20 ` [PATCH 4/5] firmware: qcom: scm: Support for EDL " Loic Poulain
2025-11-04  2:22   ` Bjorn Andersson
2025-11-04 12:09   ` kernel test robot
2025-11-04 13:13   ` kernel test robot
2025-11-03 18:20 ` [PATCH 5/5] arm64: dts: qcom: qrb2210-rb1: Add support for EDL reboot Loic Poulain
2025-11-04  2:20   ` Dmitry Baryshkov
2025-11-04 10:23     ` Loic Poulain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fcb093e3-05e6-4e77-9150-25f9a76f8937@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox