Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp617599rdd; Tue, 9 Jan 2024 14:26:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6Wcb1qVo8/6cSKwh8txP/1jcdybPXhe8Tmdmd6cUQ43MDKFAlc0TKkUGPmseQyei1j753 X-Received: by 2002:a05:6512:1594:b0:50e:a977:5889 with SMTP id bp20-20020a056512159400b0050ea9775889mr16964lfb.18.1704839193153; Tue, 09 Jan 2024 14:26:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704839193; cv=none; d=google.com; s=arc-20160816; b=iGrfdwMkUF/4LfEDXDhl0R3pl4JEJr5IvNp/9PPQxT7+VhH5I/C2qNmjP3abX9caL7 64jqm819J9oX8JPTVvccR8FnPnh35VQ+Yaww5VVdAIgBoV8icGP5TVnj7nD/e1me5MDh uaXKPsXsH2sd77AGoEr+VVnz5ZSQcA7rw7Te9mjx+3h1jY16L920Oyvj363v9G06YNtl hKdyGQVlOPdmZVKTRNupwl1WEfUj9CoZ4Inqe44yUIswaE4YGV710xH2+hhh8pOk+hc4 JIbmUdLKH+C10eNR2eaYhAWXXAFlb7H5rHOReB5+h94ja4msp3PX5bXotHImhChXFUkz JtRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=NaBJI87kmZwj1A1768OX50wF93eEIepNo9i7EX/STyA=; fh=kNeXq2YwRG/95YI4dzURGLmSfE0vVE6gJb/+LowySj8=; b=G3Gcy0OH/sjk3Dke6L7Eb/qT240m4oBulR/bY79GpreNL39F2VDDSLBwvADGd6dj+o E9uXE+q4ySpL0iGXUJULQ52lR1nuAZBDBzO8QRL0v86gy5UQk8VcP4et5WBXm6IwJip5 +zEj3gCkGZJYEfW2oM6QchJZmNBBdSLd8efRwu3TAMnuRwEO2doZcS4GJle/3qwwLrzX oeIYmvh5i+8pj8VdyQ8TSmLRXpanWrWgToEQMSZHey1p83bxuyZlZ+0ld3YLRncTFnC3 7yF+k+D60uMFfwZ+/4qlPqzs+nIBOKWlqKkNmUWY3e94MFDMpXQi9Nlx4rpUIIc8j0At xjcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MigYeagr; spf=pass (google.com: domain of linux-kernel+bounces-21467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21467-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a1-20020a170906670100b00a2369e99556si1129267ejp.230.2024.01.09.14.26.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 14:26:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MigYeagr; spf=pass (google.com: domain of linux-kernel+bounces-21467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21467-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E52E71F2874F for ; Tue, 9 Jan 2024 22:20:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3A3C3EA7B; Tue, 9 Jan 2024 22:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="MigYeagr" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 800F53EA70; Tue, 9 Jan 2024 22:18:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=NaBJI87kmZwj1A1768OX50wF93eEIepNo9i7EX/STyA=; b=MigYeagrU9ip9KoGMNB3FGYHBS xlp8NXzrVG6PlViS6B9NZsidjsSz35kXejfWfTO4gONlFMR0A/nFohgtD1vtp3iWdSzJ9XGZoKJ+n Uvwsry+vuyps3ftFUWHr0HIeTm5FLxMllUFNkIi3/LMoFHdTL4Guk+ACA5ied5pNNplEh7i0TWlLz jkU4H0PvCa/SLj+aHBntsuuE3prZnuediHam5PQrGvXyWDMB88SgvaUrJ4vwR/xKyhQflg43VQeAt 53rAXnSg+TxJ7muzFDmHduaYupEVOGzFHQxV5rF3QaYPC9MzmdxIEapjQRHxaYCbQ4hKL+Ytl+Zzd fPfbiy3A==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rNKQ5-009gmK-0R; Tue, 09 Jan 2024 22:18:02 +0000 Message-ID: <63d9d1b9-6c2a-4d8a-9bf6-9973d76ae97d@infradead.org> Date: Tue, 9 Jan 2024 14:18:00 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 06/12] soc: qcom: Add Qualcomm APSS minidump kernel driver Content-Language: en-US To: Mukesh Ojha , corbet@lwn.net, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, mathieu.poirier@linaro.org, vigneshr@ti.com, nm@ti.com, matthias.bgg@gmail.com, kgene@kernel.org, alim.akhtar@samsung.com, bmasney@redhat.com Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240109153200.12848-1-quic_mojha@quicinc.com> <20240109153200.12848-7-quic_mojha@quicinc.com> From: Randy Dunlap In-Reply-To: <20240109153200.12848-7-quic_mojha@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi-- On 1/9/24 07:31, Mukesh Ojha wrote: > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > index 1f81746131fc..56bc0c8a19f9 100644 > --- a/drivers/soc/qcom/Kconfig > +++ b/drivers/soc/qcom/Kconfig > @@ -278,4 +278,17 @@ config QCOM_RPROC_MINIDUMP > query predefined minidump segments associated with the remote processor > and check its validity and end up collecting the dump on remote processor > crash during its recovery. > + > +config QCOM_MINIDUMP > + tristate "QCOM APSS Minidump driver" > + depends on ARCH_QCOM || COMPILE_TEST > + depends on QCOM_SMEM > + help > + This config enables linux core infrastructure for Application Linux same as 2 lines below. > + processor subsystem (APSS) minidump collection i.e, it enables collection, i.e., it enables > + Linux clients drivers to register their internal data structures client drivers > + and debug messages as part of the apss minidump table and when APSS as above and in Subject. > + the SoC is crashed, these selective regions will be dumped has > + instead of the entire DDR dump. This saves significant amount This saves a significant amount Does it have to be DDR? > + of time and/or storage space. > endmenu -- #Randy