mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mukesh Ojha <quic_mojha@quicinc.com>
To: ruipeng qi <ruipengqi7@gmail.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: <catalin.marinas@arm.com>, <will@kernel.org>, <bhe@redhat.com>,
	<vgoyal@redhat.com>, <dyoung@redhat.com>,
	<linux-kernel@vger.kernel.org>, <kexec@lists.infradead.org>,
	<zalbassam@google.com>, <dianders@chromium.org>,
	<mark.rutland@arm.com>, <lecopzer.chen@mediatek.com>,
	<maz@kernel.org>, <arnd@arndb.de>, <yury.norov@gmail.com>,
	<brauner@kernel.org>, <mcgrof@kernel.org>,
	<maninder1.s@samsung.com>, <michael.christie@oracle.com>,
	<samitolvanen@google.com>, <linux-arm-kernel@lists.infradead.org>,
	<qiruipeng@lixiang.com>
Subject: Re: [PATCH 1/7] [RFC PATCH 1/7] osdump: Add one new os minidump module
Date: Mon, 8 Jan 2024 13:02:25 +0530	[thread overview]
Message-ID: <2e7ad0c9-ec5a-a65a-899d-a575b6201510@quicinc.com> (raw)
In-Reply-To: <CADHLONHHZAeubePPfZbG1N0Nv3ZJM5OWaJWqchBUpiN5Q27UdQ@mail.gmail.com>



On 12/23/2023 9:00 PM, ruipeng qi wrote:
> On Sat, Dec 23, 2023 at 11:13 PM ruipeng qi <ruipengqi7@gmail.com> wrote:
> 
>>> I don't see a problem why minidump cannot do it.
>> Qcom minidump allows one kernel client to register its region to dump, and then
>> driver will create and maintain one elf head for it.
>> But osdump will dump thousands of non-continuous regions. If you register one
>> by one, and add an elf head for each, it will cause heavy overhead. So it store
>> data in binary, and reassemble a standard elf format file offline for debug.
>>
> Osdump will only dump useful data, which may have been allocated before but
> freed now. In a word, useful data are changing all the time. I think this is not
> suitable for Qcom minidump's framework。


Hey @ruipeng,

I like the idea, However, as i already said here

https://lore.kernel.org/lkml/520e377d-e990-c185-4a20-07806873e506@quicinc.com/

This looks more close to pstore ramoops based on Ram backend, as your 
entire thing is based on RAM content to be preserved across boot and
that way it aligns to pstore ramoops concept.

Also most of the stuff like compression is already available in pstore.
So, let me know if you think that way, will be happy to collaborate and 
test this.

-Mukesh

> 
> Best Regards
> Ruipeng
> 

      reply	other threads:[~2024-01-08  7:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 13:09 Ruipeng Qi
2023-12-21 16:25 ` Krzysztof Kozlowski
2023-12-23 14:12   ` ruipeng qi
2023-12-23 14:23     ` Krzysztof Kozlowski
2023-12-23 15:13       ` ruipeng qi
2023-12-23 15:30         ` ruipeng qi
2024-01-08  7:32           ` Mukesh Ojha [this message]

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=2e7ad0c9-ec5a-a65a-899d-a575b6201510@quicinc.com \
    --to=quic_mojha@quicinc.com \
    --cc=arnd@arndb.de \
    --cc=bhe@redhat.com \
    --cc=brauner@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=dianders@chromium.org \
    --cc=dyoung@redhat.com \
    --cc=kexec@lists.infradead.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lecopzer.chen@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maninder1.s@samsung.com \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=michael.christie@oracle.com \
    --cc=qiruipeng@lixiang.com \
    --cc=ruipengqi7@gmail.com \
    --cc=samitolvanen@google.com \
    --cc=vgoyal@redhat.com \
    --cc=will@kernel.org \
    --cc=yury.norov@gmail.com \
    --cc=zalbassam@google.com \
    /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

all inboxes | Powered by JetHome®