Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3075398rwl; Thu, 13 Apr 2023 15:33:20 -0700 (PDT) X-Google-Smtp-Source: AKy350YxeIMzj8i/nZHiRP8Wwyo6s2lkk8bI1vtmt6dQlXxYB/NAxp0M0Ircj03n+o6/mKFq21Kw X-Received: by 2002:a17:90b:350d:b0:247:3999:7d97 with SMTP id ls13-20020a17090b350d00b0024739997d97mr456969pjb.19.1681425199678; Thu, 13 Apr 2023 15:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681425199; cv=none; d=google.com; s=arc-20160816; b=zDQV9hAHfhl5Mtpm3o8TnrRkW7Y0DS8IpfrqsD+sRcPbL1n3Eu/X7DOTwqlHR+aYoh fdSYOh52Ml86jOC5RGCKA5Ih4m1UcfVDFsor8Hf5oz3sMyUKUbq31sYZdL82jDjHYtXI ECf5XeIv8PcsIoyvh0AY6EDE+LY3vykLUiScXQ1gLBVCGMcAhXD1Fsrj2d0oiGIeuq7A nuBqnVoA9yqxVEtnEKNwclzy9jScQApFPMMq2uBVz8ESHWXDaHcB5YXcTbFtG8on8cKa z6hGiN7pnb9UlFtXZciqeibkCHtMg0OABl03YK0Zn5zfpiJIhh+GY8T8j8beeiqfs2nu cCMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YQDbIwFVtmiyThnTsXLO/ibGRAKhipipij3kbIczsDE=; b=EhqLYcr0HVF43viKsA5YLuHMzYUcMzChyGXs83CvsoSWBusStEtUkq358GEIN4Le1X EcvnvIRA8wAoil6tiUYOvO7EFN9uZRhEW5eUBEJ0y33ZyzdV/FPPqQx3JMTaQ1M8hh75 KisHyeP7pK0TyGyomL2Ydy5jnlvMjdjed68Y7wlY31NHOwuukEGeY/2/s7UY3pTvqqef cZsIXhmPSbfyWIfPpdoPEhRiI5pavntRbB5fy8rIrze+AKH0Puv9BJI17tglx1dqz+zn gjo3lffrlVPvIpRDjueBM4X2gfFi6d2JbgY8S7BZlLNRysb2N6UTCJznzQtywmLL+qc+ SOjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DDIbpvOi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gj6-20020a17090b108600b00244930ffe45si2900923pjb.0.2023.04.13.15.33.08; Thu, 13 Apr 2023 15:33:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DDIbpvOi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230294AbjDMWcS (ORCPT + 99 others); Thu, 13 Apr 2023 18:32:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230332AbjDMWcJ (ORCPT ); Thu, 13 Apr 2023 18:32:09 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD35B453 for ; Thu, 13 Apr 2023 15:31:52 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id xd13so7214904ejb.4 for ; Thu, 13 Apr 2023 15:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681425100; x=1684017100; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YQDbIwFVtmiyThnTsXLO/ibGRAKhipipij3kbIczsDE=; b=DDIbpvOias/ZOW/DHkYO7wwVvcCl4zMAoAcDQZ4cID1hIYPSLsnzVfd0rK87he5CTl HQ6L6VEzo3ntWKKEHtPSxHPAjQeN+TmQjf1cEwDR/mif6EEtFEg5z7MQZ7lDfaaGQ9XT RMqd4tc19BFbHLSL7oKevO4YoFUy8+1N+ngw2vFgTzb29l4zuiLPBJe9GGi5LP/4xxE5 jhweYrw33hpHjrsXeDvNoJWJlhIiXYS9np/TWXrBCbuv9clzleJKr/+MFdA8dPFoMN6z ErwOD8hv8+MzleFlNzBG9YNUf8pN0v6o+kdLXxrHWGg3YKTg4TOVZZJ5zn+IKP9YES8i 8u+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681425100; x=1684017100; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YQDbIwFVtmiyThnTsXLO/ibGRAKhipipij3kbIczsDE=; b=Zeq5ZWmLjIMniW+qN8zskMBa8UrKtoROmCElh/2oYV9wPamWhMtZwrFHFjdqdRn9mE vl9tCdtySWCzj9zb/NrE3nfzDXziJq18HJHl2P/8Yv0rGx4fN4EoCB9hse6VHkKwiE+R UE0SnA+Qy//E8yWYjOHNl90b7/TRD8B7dfBaWLtfY9aPyrwVNSyMzmkPH9sXcVm/5YKh eS+RBMZ58Sh8UJazcbYzS+AEC1SRxEaDAxTxuvAnMqzMkmC/SqBIukfYq9NCwQnJbaSE O7KDXLdkfScIPeG3S24KekKMZJiwFNPj675cou/nv0ZrS0lGTzUKG+TzjD2rG9lP7hES I2Jg== X-Gm-Message-State: AAQBX9fMIhXGxDRlX5lABKkqs0wBcR2Tc1UmRAaG6awXIhZncs79Gdq9 eVuHcJF0EQKoGuAUDXm0zjsPHQ== X-Received: by 2002:a17:906:84c:b0:935:535:42a7 with SMTP id f12-20020a170906084c00b00935053542a7mr4095374ejd.51.1681425100485; Thu, 13 Apr 2023 15:31:40 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id wv13-20020a170907080d00b0094ee21fe943sm28212ejb.116.2023.04.13.15.31.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Apr 2023 15:31:39 -0700 (PDT) Message-ID: <24ec8534-60a4-b308-0831-9ab6b983d902@linaro.org> Date: Thu, 13 Apr 2023 23:31:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 3/6] docs: qcom: Add qualcomm minidump guide Content-Language: en-US To: Mukesh Ojha , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, corbet@lwn.net, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, catalin.marinas@arm.com, will@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org References: <1679491817-2498-1-git-send-email-quic_mojha@quicinc.com> <1679491817-2498-4-git-send-email-quic_mojha@quicinc.com> From: Srinivas Kandagatla In-Reply-To: <1679491817-2498-4-git-send-email-quic_mojha@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/03/2023 13:30, Mukesh Ojha wrote: > +Dump collection > +--------------- > + > +The solution supports extracting the minidump produced either over USB or > +stored to an attached storage device. > + > +By default, dumps are downloaded via USB to the attached x86_64 machine > +running PCAT (Qualcomm tool) software. Upon download, we will see Are these both PCAT and dexter tools public? --srini > +a set of binary blobs starts with name md_* in PCAT configured directory > +in x86_64 machine, so for above example from the client it will be > +md_REGION_A.BIN. This binary blob depends on region content to determine > +whether it needs external parser support to get the content of the region, > +so for simple plain ASCII text we don't need any parsing and the content > +can be seen just opening the binary file. > + > +To collect the dump to attached storage type, one need to write appropriate > +value to IMEM register, in that case dumps are collected in rawdump > +partition on the target device itself. > + > +One need to read the entire rawdump partition and pull out content to > +save it onto the attached x86_64 machine over USB. Later, this rawdump > +can be pass it to another tool dexter.exe(Qualcomm tool) which converts > +this into the similar binary blobs which we have got it when download type > +was set to USB i.e a set of registered region as blobs and their name > +starts with md_*. > -- 2.7.4