Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755783AbcJLQEt (ORCPT ); Wed, 12 Oct 2016 12:04:49 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:13251 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753408AbcJLQCx (ORCPT ); Wed, 12 Oct 2016 12:02:53 -0400 From: Loic Pallardy To: , , CC: , , , Subject: [PATCH v3 00/20] remoteproc: Allow platform-specific drivers to request resources Date: Wed, 12 Oct 2016 18:00:18 +0200 Message-ID: <1476288038-24909-1-git-send-email-loic.pallardy@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.201.23.23] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-12_09:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2771 Lines: 61 Once this patch-set has been applied; platform-specific remoteproc drivers will be able to amend existing resource table entries, provide new entries to be appended to an existing resource table (if one already exists), start a new resource table (if one does not already exist), and dump out resource table contents during development/debugging. It will also be possible to start remote processors which do not require a resource table without being forced to provide a fake one. We're also taking the liberty to provide some simple fix-ups. V2 is rebased on "auto-boot" series. It also includes following addons: - associate an action to the resource request. This allows platform-specific driver to verify firmware resources, update or append resources in firmware resource table or create a local resource table. - introduce spare resource to define room for resource table extension - centralize resource table sanity checks. V3 is rebased on remoteproc kernel 4.9 pull request. It integrates following modifications: - split patches per features - fix Lee Jones's comments - remove local resource management Lee Jones (5): remoteproc: core: New API to add new resources to the resource table remoteproc: core: Add function to amend an existing resource table entry remoteproc: core: Add function to append a new resource table entry remoteproc: core: Add function to over-ride current resource table remoteproc: core: Support empty resource tables Loic Pallardy (15): remoteproc: core: Add function to dump resource table remoteproc: core: Associate action to resource request remoteproc: core: Add RSC_VDEV support to rproc_request_resource remoteproc: core: Complete VDEV support in rproc_dump_resource_table function remoteproc: core: Unify rproc_dump_resource_table debug messages remoteproc: core: Call rproc_dump_resource_table only if debug is activated remoteproc: core: Correction carveout name comparison in rproc_update_resource_table_entry remoteproc: core: Add function to verify an existing resource in rsc table remoteproc: core: Add vdev support to resource amending function remoteproc: core: Add force mode to resource amending function remoteproc: core: Append resource only if .resource_table section is large enough remoteproc: core: Add resource request action support remoteproc: core: Add function to verify resource table consistency remoteproc: core: Clean-up resource table sanity checks remotecore: core: Add resource table pointer argument to rproc_handle_resource drivers/remoteproc/remoteproc_core.c | 575 ++++++++++++++++++++++++++++++++--- include/linux/remoteproc.h | 42 +++ 2 files changed, 569 insertions(+), 48 deletions(-) -- 1.9.1