Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3269758pxj; Mon, 14 Jun 2021 19:29:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEjXMB2JoGYGto/aC5hWsRRAnsyNf4VjniRWPNmiMCtWGF/pUBy8TvpzS6TJbO4wTNDq6P X-Received: by 2002:a17:906:e44:: with SMTP id q4mr17986444eji.120.1623724198862; Mon, 14 Jun 2021 19:29:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623724198; cv=none; d=google.com; s=arc-20160816; b=YjZvhhtOxY+8UvYLxtehFsrJaAKJUi2HpZamgjVgzkq6jK1WkFY3+AkLBo8HrX++WQ pOCXU1zqbO+qYFJVhr2WrzlLdA6haZpmWrwsBBKdwVPOQr1RIkCxqXRMNhsqWfg4BRiU MmEDQPhmm0jipwzM9NlDv+MRSZQKpTS3735If+HXM/l7IgNtbAAW44/lB34l4vrI13tv SI45Y7gqPluwI8b6uMHkJHPYHG/ihtnn+4iLBlOENn9s/CohlcBLt5yzqwBjIe8zy65H sAJneoPDKzOcJc2zBLfPN4uLWbXc5oKCKliBltY894zMqWVAKuphiR+DOz3VzsUZYwis 0nWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=7AVFaHjxCJ/6AvhCZOucjSTW7hCiM13UsTsxjJ8QvtU=; b=VY/wOQf/4cSpVIN0GZ0s33llNu0iEqUeTNkhHHT2kHAoXhlNxILRUiKCr61NGseuCW xd1GxB4JpFiDRDpRrgr7Ii5wjsAdPOHi8w4MMwFQqlHtBMiJ6lBOrzVsaMR3AMgr+n0+ W3j5J9+GXqw+aqSoGz6nbkYLZyDKGzmyzRmtYIIiovfph8HwPd2bTQBzrm/UABqkbElR /BbZHsY4cy5B+7S67UaELwDBWXBD0G564Sro24+mc/V1b3UiM1FCvy8xw8PSupsWd9+A apFTcOZRhXRXzMhWuzAfKdmyBVN2sl9X5gZQ6uJs1Mv2L4+7nCN4mortZPbngGxUXz5m LJqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=qIchDMU5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hs15si137130ejc.266.2021.06.14.19.29.36; Mon, 14 Jun 2021 19:29:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=qIchDMU5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231147AbhFOC1E (ORCPT + 99 others); Mon, 14 Jun 2021 22:27:04 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:29611 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230236AbhFOC1D (ORCPT ); Mon, 14 Jun 2021 22:27:03 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1623723899; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=7AVFaHjxCJ/6AvhCZOucjSTW7hCiM13UsTsxjJ8QvtU=; b=qIchDMU5MQm82N+7N1P1h9HDurHRmy7DIXlBHCRqqEwQOkmg2wRQ5TrkpJ+7qJd9/kxUqwBj chxC8gjWlFxSlnh1GXE6Q7yKNGzJf1bmQfvHEp2Y7jp43SLPG0f2C4hUWHoSxy3ELYCPzCqa oE7I9E7wFbqddaZAhTiE1UXt0n0= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 60c80bc0ed59bf69cce4debb (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 15 Jun 2021 02:09:04 GMT Sender: sidgup=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 72666C433D3; Tue, 15 Jun 2021 02:09:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from sidgup-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sidgup) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6C7F4C433F1; Tue, 15 Jun 2021 02:09:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6C7F4C433F1 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=sidgup@codeaurora.org From: Siddharth Gupta To: ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, agross@kernel.org Cc: Siddharth Gupta , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, psodagud@codeaurora.org Subject: [PATCH 0/2] remoteproc: qcom: Minidump improvements Date: Mon, 14 Jun 2021 19:08:48 -0700 Message-Id: <1623722930-29354-1-git-send-email-sidgup@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds a fallback mechanism to the minidump flow for remoteprocs which do not support minidump in its firmware. Patch 1: Export the base coredump APIs to allow for fallback mechanism. Patch 2: Fallback to full coredumps when SMEM is not initialized at all. Siddharth Gupta (2): remoteproc: core: Export the rproc coredump APIs remoteproc: qcom: Add full coredump fallback mechanism drivers/remoteproc/qcom_common.c | 9 +++++++-- drivers/remoteproc/qcom_q6v5_pas.c | 1 + drivers/remoteproc/remoteproc_coredump.c | 2 ++ drivers/remoteproc/remoteproc_internal.h | 4 ---- include/linux/remoteproc.h | 4 ++++ 5 files changed, 14 insertions(+), 6 deletions(-) -- Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project