Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp24645871rwd; Sun, 2 Jul 2023 01:55:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlHZxcW8BTvPfvH63N9XqOUiVWPEJaikLogALuMfQ+LZBiXYrAUe6Wxh+KCw8mgwCAgvXAaY X-Received: by 2002:a17:90a:c918:b0:262:e912:5c75 with SMTP id v24-20020a17090ac91800b00262e9125c75mr7403803pjt.13.1688288153089; Sun, 02 Jul 2023 01:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688288153; cv=none; d=google.com; s=arc-20160816; b=i9x3EivWUUPgMeKJOXZ7AKsr13YcNEfQ08rxGBcBSbmYyXztPHltHdtCvQJfXBSSM6 jqvRZ3/974t8/Qw+6Z10Ki9MTsj8961q1AFWOOhAI1FiKTt4V3OuLx/bozhJ92XO4PpI fJPBmHrVCqpYXDw40x34jrTp7x9MAtX3T7skP2rh6X76z0H4/EPW4no6MO4tI7m0dDNL pbxJP6Mia1UE/rBokAtrYcYFdiwjQtAYzojzj3lf7N4niprBmQMxQ8cm/mvPWMYvNlcN R/+PD4mHXEUvy4QG84cag3XmZr+sOh+2/WB1yg0OlSjiebNapgse0m0FMN6W1OFXaV/u FsxA== 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=yiK+2U/avbBAV4omOI54stBTDSJ/EAt/1elJuMeHDBs=; fh=d217/72Is798WjPB6OrWIcJUsQgg5mA/nPSe3EU0l04=; b=0EvMmgaDpZDqf43YYyQr3BeR0EKDFbgBpKYXYynUNK/W7icjA/OO5zEfHTVT0TfCvU huTQE2T1BNOfr5iZK8Tl85rVC4RG7Ttx3T4Xos7f/d33Nak2Y18Ax+B7VIe00j9YrxMF NbHVWTz8BIV+b6qInN8IuJCFir/GNPCUoqfA69EKlK/3ZHgFaQburIvgRUMndd0ti4Zk DG0s8VlLaE6wrLwZfZ1R8AZEh/vOrCiI57Cpt4uCDLfa3aTJC27Atjnwuza5/Ja9SZML 5HXAis5O5quI1RX3hN9iwTk3XHCyqjQKqBfxnoRzxuPl837F6ldokMjdNmQTp8LMZrj0 WbwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D27UANju; 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 i7-20020a17090acf8700b00262e6b05c92si13700363pju.150.2023.07.02.01.55.31; Sun, 02 Jul 2023 01:55:53 -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=D27UANju; 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 S229709AbjGBIIf (ORCPT + 99 others); Sun, 2 Jul 2023 04:08:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjGBIId (ORCPT ); Sun, 2 Jul 2023 04:08:33 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C5DE10E7 for ; Sun, 2 Jul 2023 01:08:31 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-51d885b0256so4280955a12.2 for ; Sun, 02 Jul 2023 01:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688285309; x=1690877309; 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=yiK+2U/avbBAV4omOI54stBTDSJ/EAt/1elJuMeHDBs=; b=D27UANjuA9z6gLhLpwAe48KhiEYD4n5pXWQ7+9ojjv8yilwmsUdPdVuqPO4uqYzD3J iimWh2D/nRnPv6A9lMOnUH/rb9RagafErmURJTDOfeF0RAGV1MLXlc3bXWfPjt6doBnt mS9kNXFGT/w1mhUDK2zuKzFLGKgKG0McLTMc1swIrRIlNDAHU0uMMfoCU0TblbyY7taJ J6MCDrvwviDWxkYpgjxsAk0jcftFlCffJeVfKfS98fbX3oGlxPTBXXGaMSiLv3BuiFpC ane1tLbuD0VThkJkNnj61o6cuZTBShdpqVJfjaSEMETcKA+aUAS+bWT1K8GXCt/Vuf74 lZ5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688285310; x=1690877310; 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=yiK+2U/avbBAV4omOI54stBTDSJ/EAt/1elJuMeHDBs=; b=gnD0KTFiYfTx7XbqaJNTsPELxTw/crdw8cK+QqlhH5b4pLNbSnaKXdPwWvFmrhqOKw 9OtOv8hhXRPyNBTtX2biKD82Y2E4tqw5xkbvko8ZdtnEEPNkKBU/liNPzYFm7AhVashD EL/Mk6c/xthtO80g5gVWDnr3wnXP8/Kd1uRW5cUDpHXr0H1Bgu0jc4WBfA24kAJdxqj+ XP6X9jhek2TFLSNqgs9kj/gmAMmouOJz0eOjSU9w32StOwRpCcy1YqJvRtlZwtNZl+yv VYCzc0pU4YOeU5vaOceFt1jBnTQ+pGvjjJrRuDKcSBM3HM30kvPirKdyrguzyva1l6lt AqnQ== X-Gm-Message-State: ABy/qLarHikLSVKMaIA70zh6LVixE0Hn9ZqNW1DLS2tVKhJkOiPvrHi1 3S3/QLpmYGIYO5pLbp4/NYw4og== X-Received: by 2002:aa7:d911:0:b0:51e:677:603f with SMTP id a17-20020aa7d911000000b0051e0677603fmr1212016edr.38.1688285309609; Sun, 02 Jul 2023 01:08:29 -0700 (PDT) Received: from [192.168.10.214] ([217.169.179.6]) by smtp.gmail.com with ESMTPSA id z2-20020a50eb42000000b0051bf17d7710sm8772590edp.57.2023.07.02.01.08.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Jul 2023 01:08:28 -0700 (PDT) Message-ID: <6c5879dc-bc5c-0b02-0f1a-39b5b5cd5c20@linaro.org> Date: Sun, 2 Jul 2023 10:08:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v4 00/21] Add Qualcomm Minidump kernel driver related support Content-Language: en-US To: Mukesh Ojha , 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 Cc: 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 References: <1687955688-20809-1-git-send-email-quic_mojha@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <1687955688-20809-1-git-send-email-quic_mojha@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.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,T_SCC_BODY_TEXT_LINE 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 28/06/2023 14:34, Mukesh Ojha wrote: > Minidump is a best effort mechanism to collect useful and predefined data > for first level of debugging on end user devices running on Qualcomm SoCs. > It is built on the premise that System on Chip (SoC) or subsystem part of > SoC crashes, due to a range of hardware and software bugs. Hence, the > ability to collect accurate data is only a best-effort. The data collected > could be invalid or corrupted, data collection itself could fail, and so on. > ...hundred of unrelated lines... > #define PANIC_PRINT_TASK_INFO 0x00000001 > #define PANIC_PRINT_MEM_INFO 0x00000002 > @@ -261,6 +263,7 @@ void panic(const char *fmt, ...) > int old_cpu, this_cpu; > bool _crash_kexec_post_notifiers = crash_kexec_post_notifiers; > > + in_panic = true; > if (panic_on_warn) { > /* > * This thread may hit another WARN() in the panic path. > -------------------------------------------------------------------------- > > Changes in v4: Putting changelog at the end of very long cover letter does no help us to find it. > - Redesigned the driver and divided the driver into front end and backend (smem) so > that any new backend can be attached easily to avoid code duplication. > - Patch reordering as per the driver and subsystem to easier review of the code. > - Removed minidump specific code from remoteproc to minidump smem based driver. > - Enabled the all the driver as modules. > - Address comments made on documentation and yaml and Device tree file [Krzysztof/Konrad] That's not enough. Your binding changed a lot and I doubt we proposed such changes. You need to be specific. > - Address comments made qcom_pstore_minidump driver and given its Device tree > same set of properties as ramoops. [Luca/Kees] > - Added patch for MAINTAINER file. > - Include defconfig change as one patch as per [Krzysztof] suggestion. > - Tried to remove the redundant file scope variables from the module as per [Krzysztof] suggestion. > - Addressed comments made on dload mode patch v6 version > https://lore.kernel.org/lkml/1680076012-10785-1-git-send-email-quic_mojha@quicinc.com/ > > Best regards, Krzysztof