From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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.lore.kernel.org (Postfix) with ESMTPS id 9B655EB64D7 for ; Wed, 28 Jun 2023 15:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/C9//r2WuazDeJiqU8DqHV641oxzR6K8tAJwtuOaQ+U=; b=vuxdGDuV1wga2X ZFcx5Ouq9235nl9b9TjrKVWJaNG3g8+XDL96FhssmGritrV/MxmkXuChczdRItAYNYs7UHJJ6/GO7 QG3Q/JKOe/kX1DIpilqwM1o7SHJOVBSvREdVCs3cPOV9WvYip4fAglV7FFjm2bdVVvFN40tyEgL9d HguCtwtfLAmN7b9S/GapbsOxm4AOe6MmvOuGBxJ9Whtv7jAsx7nWeAC0QkeU1bPH7/JMS0f6tvXK8 9oxoXOaye8XzPBnvH46ZMw4qQrovYck8tEZLIvKX2vXGffG/EsrEhS1N+kUY89uZNeXEdF7VDprpQ mRZ3kfx4jRYPCJ7Wubdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qEXOS-00G1fn-0D; Wed, 28 Jun 2023 15:47:44 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qEXOP-00G1fF-0W for linux-arm-kernel@lists.infradead.org; Wed, 28 Jun 2023 15:47:42 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A6DD961369; Wed, 28 Jun 2023 15:47:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BB56C433C8; Wed, 28 Jun 2023 15:47:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1687967260; bh=q4sj1d/zHjtV55wTmjMuAvgaAJrxbBFYlstGJuAK4tA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AfUNIFe7ech+WxtpaZnwbblUi4t+4Pe2nw9tCVBxD/U1v7/M/8uEJoEqSrkLCFRqC fdqc02/XoevaQX4+77uSIJvjvOxIx7sQDfskQpiFjlIjb0Aw/OxlXfNCZtNuIyHEJ0 iQHZU7++nxQ4ZF05z3YNWCnfLdbgxLOEettVU5tA= Date: Wed, 28 Jun 2023 17:47:37 +0200 From: Greg KH To: Mukesh Ojha Cc: corbet@lwn.net, agross@kernel.org, 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, catalin.marinas@arm.com, will@kernel.org, linus.walleij@linaro.org, andy.shevchenko@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-hardening@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v4 03/21] soc: qcom: Add qcom_minidump_smem module Message-ID: <2023062823-rimmed-payback-db87@gregkh> References: <1687955688-20809-1-git-send-email-quic_mojha@quicinc.com> <1687955688-20809-4-git-send-email-quic_mojha@quicinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1687955688-20809-4-git-send-email-quic_mojha@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230628_084741_239324_9B481FC9 X-CRM114-Status: GOOD ( 17.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jun 28, 2023 at 06:04:30PM +0530, Mukesh Ojha wrote: > Add qcom_minidump_smem module in a preparation to remove smem > based minidump specific code from driver/remoteproc/qcom_common.c > and provide needed exported API, this abstract minidump specific > data layout from qualcomm's remoteproc driver. > > Signed-off-by: Mukesh Ojha > --- > drivers/soc/qcom/Kconfig | 8 ++ > drivers/soc/qcom/qcom_minidump_smem.c | 147 ++++++++++++++++++++++++++++++++++ > include/soc/qcom/qcom_minidump.h | 24 ++++++ > 3 files changed, 179 insertions(+) > create mode 100644 drivers/soc/qcom/qcom_minidump_smem.c > create mode 100644 include/soc/qcom/qcom_minidump.h > > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > index a491718f8064..982310b5a1cb 100644 > --- a/drivers/soc/qcom/Kconfig > +++ b/drivers/soc/qcom/Kconfig > @@ -279,4 +279,12 @@ config QCOM_INLINE_CRYPTO_ENGINE > tristate > select QCOM_SCM > > +config QCOM_MINIDUMP_SMEM > + tristate "QCOM Minidump SMEM (as backend) Support" > + depends on ARCH_QCOM > + depends on QCOM_SMEM > + help > + Enablement of core minidump feature is controlled from boot firmware > + side, and this config allow linux to query minidump segments associated > + with the remote processor and check its validity. I can not understand this help text, sorry. Also, what is the module name? And why is this only with ARCH_QCOM? Why are we doing ARCH_PLATFORM symbols still? why is that a thing for a generic cpu type? And don't you want build coverage? Why not allow that? thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel