Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp449444ybb; Fri, 10 Apr 2020 03:26:18 -0700 (PDT) X-Google-Smtp-Source: APiQypJp5UHWuXTGDGmX12BpJJKfSLe97bAI4gKVXOAtjMI8UeeHdzU/7EYSJjw51njH6g0549+9 X-Received: by 2002:ac8:3025:: with SMTP id f34mr3768236qte.219.1586514378061; Fri, 10 Apr 2020 03:26:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586514378; cv=none; d=google.com; s=arc-20160816; b=rQ6rKhleeLlPxaTEKu2hMDqYXx5iNwndMGU37Cy3Ao0XZStB7mmLO3xeFoq9WHlPRI chDlcVSiGFurZDR9meAx2GqRI9IUhwY4qP+4Xt+uxisPLzheNtmm1duT33Eg4DD8UR4B vnaXNjph4PyheZzeM1gSFPxQHSiAfM2x0EPtdhrWmqZDAdkwqmANVU5MXaVtSpjxdzPq Od4LTVTvtXPqHl2DmXhqxFLXdWV/YGU32ISPHDVlYlK1pp5cK/zWh6J/voTmIvmbpkC8 ypx2J9QmpZIa/FG8yGvRKvrHyW0DJ3epiG5EMN8J9OYfNqzxIYxbESs7wG2wFVlSGnDo Pr3g== 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:dkim-filter; bh=Fuewdad1fAPYUYavFKBJ1ELvfko88w6R3xYRHUH3S40=; b=jphh5EoUoWYFiMZr2bYWLIzT3zM9BIW9iH5L7j3j0Sss8by/c02Z9uZ8UEx2ZqO9nE 62imu8vDoiR8ceSSftQW87Kc+yu0QqnLDYxWGbHN2vCH+HKHtRWnNb3w7yv/NeOjwyJ5 YEJvR3ezp/Y5hps0xSXFr2Pl15GeI7OJKvloEuip0/kzscAfdSSQCCpywWJiUB6WpBEd RJt95zN5v5YmreypSUaKAzWVXgrOpAv2TH2PzzIs8eLI4+KXTHrw6I/ycOVLiZKxp3b/ YtegJSjN6lqulaCcfhGDW5PYlXzikZAUj02FK9WJO0H6dZS0aXyGrNQTdG0I3Cy5NMkN 4I0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b="qVOz/Mcs"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10si792189qvz.101.2020.04.10.03.26.03; Fri, 10 Apr 2020 03:26:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b="qVOz/Mcs"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726676AbgDJKYm (ORCPT + 99 others); Fri, 10 Apr 2020 06:24:42 -0400 Received: from zimbra2.kalray.eu ([92.103.151.219]:57142 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725955AbgDJKYm (ORCPT ); Fri, 10 Apr 2020 06:24:42 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 4B6CB27E0566; Fri, 10 Apr 2020 12:24:40 +0200 (CEST) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id aLP0ixhF3Vdn; Fri, 10 Apr 2020 12:24:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 0A2D327E039A; Fri, 10 Apr 2020 12:24:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu 0A2D327E039A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1586514280; bh=Fuewdad1fAPYUYavFKBJ1ELvfko88w6R3xYRHUH3S40=; h=From:To:Date:Message-Id; b=qVOz/McsGNTJMHfkamSpXlba8MDEHlmARacqIqynXv/SQVnwGK8BfM1S+GYWYQiMN 9Ucq/1t4Db9Q0ePYcr0a/s4WGf0ch0gnsKAn5o31Sp4iI+4CNGz2+eYWR7LJYAWwwl B/TCxrFJzsawYaceFWtTmUODuF2G39UNtt7IeFac= X-Virus-Scanned: amavisd-new at zimbra2.kalray.eu Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1wIrsaQBTd8l; Fri, 10 Apr 2020 12:24:39 +0200 (CEST) Received: from triton.lin.mbt.kalray.eu (unknown [192.168.37.25]) by zimbra2.kalray.eu (Postfix) with ESMTPSA id D593327E0566; Fri, 10 Apr 2020 12:24:39 +0200 (CEST) From: Clement Leger To: Andy Gross , Bjorn Andersson , Ohad Ben-Cohen , Maxime Coquelin , Alexandre Torgue Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Clement Leger Subject: [PATCH 0/2] remoteproc: add rproc_coredump_set_elf_info Date: Fri, 10 Apr 2020 12:24:31 +0200 Message-Id: <20200410102433.2672-1-cleger@kalray.eu> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds a way to set the elf informations that will be used to generate the coredump. Second patch fixes drivers to use this function. Clement Leger (2): remoteproc: add rproc_coredump_set_elf_info remoteproc: use rproc_coredump_set_elf_info in drivers drivers/remoteproc/qcom_q6v5_adsp.c | 1 + drivers/remoteproc/qcom_q6v5_mss.c | 3 ++ drivers/remoteproc/qcom_q6v5_pas.c | 1 + drivers/remoteproc/qcom_wcnss.c | 1 + drivers/remoteproc/remoteproc_core.c | 32 ++++++++++++++++++++-- drivers/remoteproc/remoteproc_elf_loader.c | 3 -- drivers/remoteproc/stm32_rproc.c | 1 + include/linux/remoteproc.h | 2 ++ 8 files changed, 39 insertions(+), 5 deletions(-) -- 2.17.1