Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp452416rwr; Thu, 4 May 2023 05:37:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7gk/jXOGXs3uFmtHukmpAYus8ksPLfWRD2KIzKAg3lCT526vzb0yYhpG0RYhAb/F7NxKlh X-Received: by 2002:a17:90b:3508:b0:247:6be7:8cc0 with SMTP id ls8-20020a17090b350800b002476be78cc0mr1887799pjb.35.1683203864210; Thu, 04 May 2023 05:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683203864; cv=none; d=google.com; s=arc-20160816; b=vEe5r7qeKP/Nm1jBGWU311pgQiOksQzYT4GN36tRC4Kuyz9vnPNjBA7m1fqOkOsDtO avZaXO8zM9FxYxmF1B6jj64FFyxyPAlcvq6WqaMRaMff7O0k8hzpTYB2Dch3iY/x2Zwb zS+Zhe7yoObAe7rCJnDdypZZJIrhePVkOcZuie6R8MknOSDADX2duf/ppb5mAvoTm8sU VG1ggcDv+yVYbn9mlA7klrbcw6zshpeIAy3azU3yhDXhGZusatLJUOutdEfdRhqjYVIu Mp+hxVqLc1qDbgNc3VAZ7IoEM0k9nBuN0aB+DrYgaoorkCA0TnWY9tme38wOVAblyiMl 8GDw== 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=CrbpIEMptg8Nu95mNsBTQ6WaBBHC6A4oRrtY3eFlfqs=; b=k9vGH0Ii/9pwmRLr5us+4SYDCcvVQKVchQllMmn1ac9u066XlhiNztJZdQ5NwJsZWD 7VOJawaaDrTNv6QBVeRiCQ/S1Chkdxzf0QHy/Yf+8yzwNPgdfrAfNtgg8y/Kbitg7yOB xgBY9lQ7g56V3v9cFUG9CCI49+CBtsRm31/QY/WMkZAGOPFsipVyr4KMiHz58HHFVW3H /UPv+oM7XjxJWDHoS44611iWGsl2zKDYUDh1Rq9G+UhQGgVb34YGw96JOxRKWKYEXv3H /fRZnSBv6WAy5eNDItIBdoeRP97WYzWHqMSJMRSFoi12viFwiPmqePSYjLvrbsVhicPl p39Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a5ecuECd; 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 mr24-20020a17090b239800b0024e60919369si2235528pjb.172.2023.05.04.05.37.17; Thu, 04 May 2023 05:37:44 -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=a5ecuECd; 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 S230215AbjEDMcM (ORCPT + 99 others); Thu, 4 May 2023 08:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230224AbjEDMcK (ORCPT ); Thu, 4 May 2023 08:32:10 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B3696199 for ; Thu, 4 May 2023 05:32:06 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-95369921f8eso69784966b.0 for ; Thu, 04 May 2023 05:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683203524; x=1685795524; 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=CrbpIEMptg8Nu95mNsBTQ6WaBBHC6A4oRrtY3eFlfqs=; b=a5ecuECdq5V5WZ2pb8QPbrLujAGXrAJwfWNwdXd7bm+tmCsthMP1e33cpqChSe6GKk l3RYFR9DdDqdUmwY7nZFqa8sBo4+02hL1qBqzrWqLBC4JGVxIPsU9/X2AvC8Eef9x9OY fpIoUfyyNMuFs76uH/mU9MGTUbS0b4QoZ8+Esgft/09YyNJHZ8J//KlZQMRG+1rs0ehU s3f8N4Fe9FjBbz5jM1ZfJ15RayFLThFsuNXRam4v1H1c++tVDQaLCWuAQqt7NFhyBDGl QcADV5f8ovZfMd131yznZHQ4KqwBL95gmzGZBKWrMASnNSL9OvaV29Iz/Jb1kD49cc1f L5fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683203524; x=1685795524; 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=CrbpIEMptg8Nu95mNsBTQ6WaBBHC6A4oRrtY3eFlfqs=; b=fwfI3V1mNnlGqbmhNf87CnNkImJ5h+e2DdSsbYW9p+j2FP3qph0XbNZDnzEotDZJRG MujMCurNfXAAOI41pdwFubjZ72cUwf2IKN338IW7OU04zg55CeTCpzfTOKRyV4Fob2ky Svb/17q1OfRgVzgv0Ypk7riOpMenPh7wXFK8zxJW5PV3GxWDOhhMulIJiMVj4yEoR5yz D6zWioTfblai3DTkr7acl8+EQhRlZP9J5TYuikq8Tt4B6y6tNTbvwgjoHFpL+BlbJuXQ 6+UJQwIXvyYelvsF3TSGPljJtnk+M+shvQ29dt8ITydItZaEtQVzAsy4XVOs+fcaMD3c uy4Q== X-Gm-Message-State: AC+VfDxQfEihH+p8h7p+N0uVbgo0OgGNr1GphKaeUT05Sxn7diDEwsuw RgPaBax2JILfwk7W2+C5occuXw== X-Received: by 2002:a17:906:ef08:b0:94f:3b83:a4d1 with SMTP id f8-20020a170906ef0800b0094f3b83a4d1mr5816986ejs.50.1683203524601; Thu, 04 May 2023 05:32:04 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:cbf1:e7ef:fb81:e912? ([2a02:810d:15c0:828:cbf1:e7ef:fb81:e912]) by smtp.gmail.com with ESMTPSA id sk19-20020a170906631300b009572a8f86fbsm17151363ejc.165.2023.05.04.05.32.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 05:32:03 -0700 (PDT) Message-ID: Date: Thu, 4 May 2023 14:32:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v3 07/18] arm64: defconfig: Enable Qualcomm minidump driver 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, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, linus.walleij@linaro.org, linux-gpio@vger.kernel.org, srinivas.kandagatla@linaro.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: <1683133352-10046-1-git-send-email-quic_mojha@quicinc.com> <1683133352-10046-8-git-send-email-quic_mojha@quicinc.com> <4325c2e7-8ca1-7e45-db14-5ba8bc83f5d7@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <4325c2e7-8ca1-7e45-db14-5ba8bc83f5d7@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 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,T_SCC_BODY_TEXT_LINE,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 04/05/2023 13:45, Mukesh Ojha wrote: > > > On 5/4/2023 4:53 PM, Krzysztof Kozlowski wrote: >> On 03/05/2023 19:02, Mukesh Ojha wrote: >>> Previous patches add the Qualcomm minidump driver support, so >>> lets enable minidump config so that it can be used by kernel >>> clients. >>> >>> Signed-off-by: Mukesh Ojha >> >> This patchset is split too much. Defconfig change is one change. Not two >> or three. >> >>> --- >>> arch/arm64/configs/defconfig | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig >>> index a24609e..831c942 100644 >>> --- a/arch/arm64/configs/defconfig >>> +++ b/arch/arm64/configs/defconfig >>> @@ -1250,6 +1250,7 @@ CONFIG_QCOM_STATS=m >>> CONFIG_QCOM_WCNSS_CTRL=m >>> CONFIG_QCOM_APR=m >>> CONFIG_QCOM_ICC_BWMON=m >>> +CONFIG_QCOM_MINIDUMP=y >> >> This must be a module. > > Why do you think this should be a module ? > > Is it because, it is lying here among others '=m' ? Because we want and insist on everything being a module. That's the generic rule. There are exceptions, so if this justifies being an exception, please bring appropriate arguments. > > Or you have some other reasoning ? like it is for qcom specific > soc and can not be used outside ? but that is not true for > all configs mentioned here. > > The reason behind making it as '=y' was, to collect information from > core kernel data structure as well as the information like percpu data, > run queue, irq stat kind of information on kernel crash on a target > running some perf configuration(android phone). I don't understand why =m stops you from all that. What's more, I don't understand why do you refer to the Android here. This is a development and debugging Linux defconfig, not Android reference config for vendors... Best regards, Krzysztof