From patchwork Tue Dec 26 20:38:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 122749 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1389593qgn; Tue, 26 Dec 2017 12:38:40 -0800 (PST) X-Google-Smtp-Source: ACJfBovI0+rTT4/rumznXwLtGNj1kz/qeRPreBnj9LDx9N1jSh6XrQT9MqAQY1Rv3G/2C8rDZrrN X-Received: by 10.84.143.70 with SMTP id 64mr26440508ply.277.1514320720556; Tue, 26 Dec 2017 12:38:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514320720; cv=none; d=google.com; s=arc-20160816; b=Z5qZXEWW47FMMFTijSCw1S3J9h34baxbOT7daZyZnM4Lgnx6+MDs1ImybcC9t8nIul xFc87/z0Muw5dmkvCCQkTVp8Q19EDFGgxUJMOdlhaekRqWY0OTW/xrDCZKoM+Ri5hS63 B/mDJ2hBqDbdwBNPiGL5ZAtlICBb7eaSbvyg2P/8ksZE4BC3//6kPt0h9t4mRMeCIWqc pJELRKy9lnRPdNSS+JiH36yA3GrS7QOOsUAyj9T8e78+EISzm4BwEKrIhzgmy2UVSefq MnvJAm0g47X7T0+H0s4VbWfq5JlQKLhRu9+J+KEfsboTrFPKfwNk/1x+f+gKhX5oGxFS Pecw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=lfYGtDBu4KB5QOq8WSaEpH6MrDqlCFjtT7b8pM0qoic=; b=Z0qwScrdH5PWXKJ34qS72VeRzc4Hiq0B8oParvVoDeH0oZqgTBzNSDUE1nAtB5U/Is Ie9unBcdkppGRRKSaAnGau7/j5z1sFl1/JuYMeL9tOlQLQFFLMN0w3MyZX+PD3+xeKmQ VPEyddJxycQKZMJgApgBka+0eUIFCkQK2J4phkoZeK6fNhQM7ODOQOf30AOzEAEZars9 dq2zTyfaYKzsNDsrPc+vrw9UyU2MM2WYFmb0/iALeho2DkUxZUa8utL/o3i39y267RQ1 1mMczrlJJOVs+JCUEsIQvB1DUXMXx43Uo1cIpG/XB/46Blo4I/KWI1S7q7m9qjimGan/ gKQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=C/qMurZd; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b89si23619392pfc.304.2017.12.26.12.38.39; Tue, 26 Dec 2017 12:38:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=C/qMurZd; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751266AbdLZUii (ORCPT + 10 others); Tue, 26 Dec 2017 15:38:38 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36855 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751163AbdLZUig (ORCPT ); Tue, 26 Dec 2017 15:38:36 -0500 Received: by mail-pf0-f194.google.com with SMTP id p84so19059340pfd.3 for ; Tue, 26 Dec 2017 12:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=BgOWElLlgxods4MMuxqM3OwzSvSdXIx2GahU+Ljk6S0=; b=C/qMurZd0ICusf5PPW67mU/qtWoX4YxuLs1eltojM3PmalEUmjsKpR1NpdDsLmy56i itsOWPttG9tAnEuOWInzKoYPAvaHtS2wYA3DX2eqmd2F8TS7tWI/6mA5PIjJS2FYX84h D3P/0QBUHZCwlZgCCP8kTM7yNV9QD1J5TteL0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BgOWElLlgxods4MMuxqM3OwzSvSdXIx2GahU+Ljk6S0=; b=G+ul9P7EcxXPpAOe7z79GPFfLa0EB78go50+fDKmwbkgSu06eKCnDNULi4hLeqdX6d A1Oucu5apqqHOY6MSMYYWNGo5OMN6GDl/QvtT0XJc8YsQqwsR+SZE15X2KOC1EZDc/63 u1x19qdl8YwD6G6JzdUWqcNkhKxlnZuZXmDmfJN0OE453kYLsHHo9cWQ1pmIyDtCV7QJ YrCgQOO5oJ8Qhl+6nRvW/0VfHb5g2OAFdwTIFQnpaiwRPTMLZoUgc2waJyZ10aPKd9DO HU6cpv5ZlLyYmYYSkg5/uhrW8FEWJiPomba44PV6WgBq8EMQq0+TFhoMCF5xTFtG8F+A 6ekA== X-Gm-Message-State: AKGB3mJbRX9NTzg7sukft+1ySZW4175stDZi/OJcq1X1swGSyEpxbrY8 0pr7P61+NHgd3GAt4/DSYqQWow== X-Received: by 10.99.114.21 with SMTP id n21mr23073241pgc.196.1514320715822; Tue, 26 Dec 2017 12:38:35 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 68sm58746339pfx.186.2017.12.26.12.38.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Dec 2017 12:38:35 -0800 (PST) From: Bjorn Andersson To: Ohad Ben-Cohen , Bjorn Andersson Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Suman Anna , Avaneesh Kumar Dwivedi Subject: [PATCH v2 0/4] Remoteproc core dump support Date: Tue, 26 Dec 2017 12:38:28 -0800 Message-Id: <20171226203832.14928-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.15.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Picking up Sarangdhar's original patches for adding core dump support to remoteproc. Based on the recently proposed "load resources" hook this registers segments of the Qualcomm MDT file as dump segments which are used to build an ELF file representing the various memory segments in the case of a crash of the remote processor. Bjorn Andersson (2): remoteproc: Rename "load_rsc_table" to "parse_fw" soc: qcom: mdt-loader: Return relocation base Sarangdhar Joshi (2): remoteproc: Add remote processor coredump support remoteproc: qcom: Register segments for core dump drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 4 +- drivers/media/platform/qcom/venus/firmware.c | 2 +- drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/qcom_adsp_pil.c | 5 +- drivers/remoteproc/qcom_common.c | 44 +++++++++ drivers/remoteproc/qcom_common.h | 2 + drivers/remoteproc/qcom_wcnss.c | 4 +- drivers/remoteproc/remoteproc_core.c | 134 ++++++++++++++++++++++++++- drivers/remoteproc/remoteproc_internal.h | 7 +- drivers/soc/qcom/mdt_loader.c | 7 +- include/linux/remoteproc.h | 20 +++- include/linux/soc/qcom/mdt_loader.h | 3 +- 12 files changed, 218 insertions(+), 15 deletions(-) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html