From patchwork Sat Jan 6 00:04:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 123581 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1433937qgn; Fri, 5 Jan 2018 16:04:28 -0800 (PST) X-Google-Smtp-Source: ACJfBov/CDOfFnUhLyt1zSpHZb3dKdUUGWP/UGVvPWzzSPkr6Jq6mWqa6r8WIx7Y7C9V/n5fIaKt X-Received: by 10.98.10.28 with SMTP id s28mr4401539pfi.92.1515197068737; Fri, 05 Jan 2018 16:04:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515197068; cv=none; d=google.com; s=arc-20160816; b=ruBJnpnVFnX/udl5qHFblyGWNwiykJzohuhePsYlBHQZWtXPP75vSXeytHXqDwBYJ/ oNLrptPC/WifRkvtfxMxuh/8Cl9qScyeKxMdTi+9raNDne6B75e8Bk+w4Q1OmMFYcOkn B45du5ARWjnePu4rXpCNPeZdAqTqYQhvNSwopc01PQVYmufnJtTC+b+OiFvz3JTV/imC VqlEbQQEnI9O+FcQ5hOrxqAhpyb6BTJ4/K1rDQVdpV4fL/JTFUrSNpc+LrNwlUdzDNsD Px2js17HCuC2nm0xYhACKlhJU8azOYqcrbtC6eK3jz9hWzV5XVSv/Am3FA8kcQi6zcbM C7dQ== 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=tqNE4KQCW9PRj7wgkIZIfbX2n0r2rhoSKpjE2oxQUZLiwaiXTq7s4EoUHvkU1l3lAu 3T051HJGlC1giPFL9KLw9/2AISUTZaT7ChQ/VZErtT2HaREgBq4lNyH+ODpRdgsbXbRr JHhoNp2G/YGSdw93kzRBu2nKVdhzv7fRCheeRWKMJBJb+aa33JIWvLrOv7BzSWqhaY3g bSe0dKRwodHZ7StEwTimjK5JGNxLdOSQGkBroJOdPkf2Groy5TJj0u5R84bY5q77dC2M 1Ssn/gjkbOYccPkfMp9MiL+R3qV607l3ZgTaVIZcyU9Ss5uOAbcI4E0/SXJCW+BAxuEp IQFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=A21L7yQS; 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 u2si4729297plm.304.2018.01.05.16.04.27; Fri, 05 Jan 2018 16:04:28 -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=A21L7yQS; 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 S1753369AbeAFAE0 (ORCPT + 10 others); Fri, 5 Jan 2018 19:04:26 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:41838 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753368AbeAFAEY (ORCPT ); Fri, 5 Jan 2018 19:04:24 -0500 Received: by mail-pf0-f195.google.com with SMTP id j28so2817730pfk.8 for ; Fri, 05 Jan 2018 16:04:24 -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=A21L7yQSOyvb9zzFeqdy5pkKMu5Bzat606mklqYDsHcgTNTdICBUelD2bepgdH1iNm BWNHoFz37ZqfOAmrpwfsWl7Rctl3enlXMJIfWrkEpEaJ4dujhkcaWfFhpDnE5oSNvGNJ e3hyzd+r/WOjb6l8bGZ89PY/XDXbesJz84CRg= 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=jaz6up/cuinJexbk8yJdm65E/theWy6gpUosPg+3NYKF4qWwpCDVcMDalrCebhxzkM cr9JDyfv0hX8MV10EPNPG4Ok3f5VguF0OPvDorNIFHqN4hdrshECI4QLU5bds4V5ease MbkTeLiKbEdiyABFLpFyFti/UV4zlZu2N6r9EyBJGX0tZLcKxbd6ITFzCtQH0B+W3EGg qj8mm0kfz0BKWvvROKcazb3YKWbdMNW0Hxke6ubOjGPdLfkrMOQq84obvgwo7bt8IGMa E4yTwhJDztEIT1pep7wh6OPSwnPQoJ3rB6I1nyoHlI1amqJ5JfJ2zyXSWWtc59fWgp5C plAg== X-Gm-Message-State: AKGB3mIIX97CWImFOxHLxwpqk+paxFU4x+HII+To2OOp8oJlmGh16j+M iiFlI2SXyicCOeikLNVFKzfz9Q== X-Received: by 10.98.11.83 with SMTP id t80mr4306903pfi.99.1515197064011; Fri, 05 Jan 2018 16:04:24 -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 n186sm9385177pgn.11.2018.01.05.16.04.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 16:04:23 -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 , Loic Pallardy Subject: [PATCH v3 0/4] Remoteproc core dump support Date: Fri, 5 Jan 2018 16:04:16 -0800 Message-Id: <20180106000420.10070-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 Acked-by: Andy Gross