From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A98363A0E86 for ; Thu, 19 Mar 2026 07:33:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773905642; cv=none; b=YanM1p56KQvX50+woCuSth2sHR6eBg96dRxXEGKzh8IwiswuHnPUgipCBHcjtUGpaCKoCGy7cPDdDEn5jZ0MlIFggEv6awR8ChxeHRbPxu7TTXNFMEXecQGpU9e8fQFDAq7aPZeNYQlCy9XZcO+RkaJ+zBa5aqdw7ofcazaTcLU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773905642; c=relaxed/simple; bh=AhNDDZecnmD2xFm+TNWATlQbxsUvN8KlFepA01COIwI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=j251cJEAbPnRRIdctZSplN8NkcEIplWdlxmDwL2qkg9yMrHWWFt5jqZgIw5pktRPoRO+kAT3NrkhsuEYC4eJeWcIpKR8dryFEnnBzKs/MNkihrd9N+GOcmB0me7GeXGcPycoWLADsvMSn1UmcGMvTFEeWCCNvKnuqQviPi6cK1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IvOkIInU; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IvOkIInU" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-439b94a19fdso486524f8f.0 for ; Thu, 19 Mar 2026 00:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773905637; x=1774510437; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mfnoZII81lwHDQG+q8k3CqLmv9bwI5/ooG/r2BOJypo=; b=IvOkIInU/YzZLqaHZgSxaRamre1CKdkvdI70PFUfeH49IfziLVMMlBx8JBwXExRU+I gVRhh17h9JfspgTMMC/rrvpb6csmLx8UMmMITDH5bpFdSylsCAMhN1Lb8AzT8GzNRKmr N+tZrhu9OWY5JmnPNsVUJjwjoIu07UIG/l/+kGr0XiojwstpSLa9eE3RBkwl3qeFJmxu t0lzdAmp1R867dvF3FnUE6WLp2dQXwUnWLam6WCwjp8wJ6DKtsj1brcR/9puwlQMk37V sffUCzBXmHbcM6FgB8e0rvmV9AhfAia6M6odtwKzHbGlQfiiTnQpney5fyj3ZKr3Mj/L UTCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773905637; x=1774510437; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mfnoZII81lwHDQG+q8k3CqLmv9bwI5/ooG/r2BOJypo=; b=lv3xaQxDeS1GiBgx3tT4PKAR8bzLyu3en8dhMd9Ycg3VcGzqzoPDUegGx7UzGI2Vot m6y8m8y7K+jryJbH1khBB6cSVwCuS2QhaFXiKzo94jzvZHpjzQUU5vEaMk9bfiRngEhL wafAVVXpMmtD0BhovcLoNxLZdLEwHJufLXcEPv1SFCsMlKU0tGRBc+8Qy8v6bIwgo1c8 Jld9g9jdQDvQcWVrz9yQIUccpVagDys0IRi4PlzKgSNbqBjTFxbgA4OfYcWibOzV9ENf h1hBp1cIA5dtx52napjbOW5OOJUk3NNAmToub6mr+qkchDr1YQ9z23EFJWfiuje/P6X2 +UDA== X-Forwarded-Encrypted: i=1; AJvYcCVK5aeIidte6172FXtdxDwetWwwy4rul8hHoqt4kmx5AaPUfqCxtcYcAeVAnVHOwgqx4kPxe55jWXg=@vger.kernel.org X-Gm-Message-State: AOJu0Yy+3d9X/nKBtVbXGyOhgJNhrvYHykWKSziiVCopfHLrATLSDuuN 5XYJDqIkhrHdkQMNu2RE36Wv/kHs0HLVHrOgb5n0pyIwwwsHI9N5/tQT1VCMAWV/hOI= X-Gm-Gg: ATEYQzznVmMGA59WDoSLPlI7q9FqqD79mRZi/mBOiatt6xjJexZsF5zMaMy+1vuS/dw NoGyCt2ohH65mOCWOsJQWtC7cgCPuq//5Tt08z73DE16u4UTAWuYuLvdTeupvekAsWTPB7ou5Cy 9vy9l/346epzGggaTqFHlYicr0etoHeEnQCuIrxGWGQMI0K0wzgX5SLEsOKfel9xg+6zkWoO7+5 2KIA7qI69jvaeoL/vKZy+IVYo+sSRmLnAQeQGtYGhW02AZIuhqJe/6COCEGQscnYZzVkG4PdVmj exUPmwQpvqXuQrkT362638qykcnexqQ/2geBz3a9DSjuxHK5DlrctgJxhxzb6c4jZ4+MbQmxmL4 oi127z5CHsp/rYWfsqbBIyn3x/qjDx1E5ttoHw0/YK6F/7eOdDvaWkXNmVu/6bOwGz1bSYPRzu2 yegXUsuzpR7x2dBkIdCsazgs7W+L4Q9Qg= X-Received: by 2002:a05:6000:25c6:b0:43b:4ae5:d7c8 with SMTP id ffacd0b85a97d-43b527a50cfmr10368836f8f.2.1773905636943; Thu, 19 Mar 2026 00:33:56 -0700 (PDT) Received: from [192.168.0.34] ([82.76.24.202]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b51899622sm15875212f8f.28.2026.03.19.00.33.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Mar 2026 00:33:56 -0700 (PDT) Message-ID: <46c47101-2672-4970-a212-71e2c8555d80@linaro.org> Date: Thu, 19 Mar 2026 09:33:52 +0200 Precedence: bulk X-Mailing-List: workflows@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 00/25] Introduce meminspect To: Bjorn Andersson , Mukesh Ojha Cc: Jonathan Corbet , Shuah Khan , Arnd Bergmann , Dennis Zhou , Tejun Heo , Christoph Lameter , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Anna-Maria Behnsen , Frederic Weisbecker , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Kees Cook , Brendan Jackman , Johannes Weiner , Zi Yan , Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , Barry Song , Youngjun Park , Petr Mladek , John Ogness , Sergey Senozhatsky , Mathieu Poirier , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Saravana Kannan , workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org References: <20260311-minidump-v2-v2-0-f91cedc6f99e@oss.qualcomm.com> <20260316181647.m7x4ncmwdjho6yvr@hu-mojha-hyd.qualcomm.com> Content-Language: en-US From: Eugen Hristev In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 3/19/26 04:55, Bjorn Andersson wrote: > On Mon, Mar 16, 2026 at 11:46:47PM +0530, Mukesh Ojha wrote: >> On Sun, Mar 15, 2026 at 09:24:39PM -0500, Bjorn Andersson wrote: >>> On Wed, Mar 11, 2026 at 01:45:44AM +0530, Mukesh Ojha wrote: > [..] >>>> , to get all the regions as >>>> separate files. The tool from the host computer will list the regions >>>> in the order they were downloaded. >>>> >>>> Once you have all the files simply use `cat` to put them all together, >>>> in the order of the indexes. For my kernel config and setup, here is my >>>> cat command : (you can use a script or something, I haven't done that so >>>> far): >>> >>> So these need to be sorted in numerical order, by that number at the end >>> of the file name? >>> >>> Do you manually punch these in? How do we make this user friendly? >> >> Yes, manually.. but I think we can do better. We could make >> this more user‑friendly by using the section header and string table in >> the md_KELF binary both of which existed in the earlier implementation. >> Then, we can write an upstream‑friendly script that reads this KELF >> metadata file, checks whether a binary with the registered name is >> present, and stitches everything together to form a complete ELF that >> the crash tool can consume. Let me know if you have any suggestion.. >> > > Can we somehow identify that these regions belong to the minidump and > teach QDL to build the ELF for us? We could integrate the feature that Mukesh suggests directly into QDL as a separate command e.g. qdl download-and-build-minidump The first region (the ELF header) is mandatory, because all the regions themselves contain only data. To be able to use any of the regions, one needs to know at least the physical and virtual address of that memory. And this information is saved in the ELF header. So QDL could join together all the regions into a single crashdump-like file. > > Regards, > Bjorn