From patchwork Fri Oct 27 12:44:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Pallardy X-Patchwork-Id: 117310 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp727083qgn; Fri, 27 Oct 2017 05:44:37 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R1P0ZpWV8cIcOB6j2KhVfxNybR7uKtUfgLC4M8Xj66ea43ZcB9NbRiWXGGgIaIMQLB2zN/ X-Received: by 10.98.223.15 with SMTP id u15mr365496pfg.115.1509108277294; Fri, 27 Oct 2017 05:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108277; cv=none; d=google.com; s=arc-20160816; b=j1yYC7TvXGQufBNYyvDlGITP99mhO+dxPeEXYW4YnsSWukA3vE9tfoG+7cl2vnsgkd GOy42/m8WyJtqLt/BDnaE42muHsl/BGOd9wHYTDunao3yZM+FsoJUj4xHjz2L7FZyXWj OuIhxSY2CXo31a+bs6KKRUIU5fimyy4TS7o0iJtYwShB+B7FPFc6aF6CDk5aFVZW1UW/ SWb/A71HXs+X7w+G9Xuodd6AJMWNwlvZEbzPI2MHVN7beUgfAVfciDSMfAI3fhoCn3tP du5JbhH0g1nr2N+ilcM1VdlLmbCqBrCbvlDeq3ruQOAYRRuc6bHR7slnOpKvPHBq/EM1 JrxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=gJ0ECByBKdX2lAD3LtO3h5OLAZRVlRNbgIY2tb/I1T4=; b=s9Mk8s0QrmeCfTIYhOXhVrul2mGREsbiwf82Cs/d+pExbEwon0ykwMh5bmH4w7TsmE nWmKv4NnPP1Mf0vkiu+2ehLZoA1kH0kO/MB2Eg/l9WQ7S/o7OJhHTF05ZIZtM74nUuZC ZxKNu+F1i5QE+9zTP0hBK5ExXnNDG19763Yl/0uyZXH3s+ggc/+7Hdfpz5aDspLlU/e7 TehjtcsTNRTkQGA8fZl2K38uqcJCBunJqFcPtVloUDuqtgexV2x/p5/E4GXw283QGEMU 6KhKE8oxJCyPGw38lh7TDzWOy/y6RTnUl1i7rZ57h5i5eYe5RSvUlzecYLQS/FETv7Pz MVrQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si4839473pgp.238.2017.10.27.05.44.36; Fri, 27 Oct 2017 05:44:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752618AbdJ0Moe (ORCPT + 27 others); Fri, 27 Oct 2017 08:44:34 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:33903 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752412AbdJ0Moc (ORCPT ); Fri, 27 Oct 2017 08:44:32 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9RChee4000593; Fri, 27 Oct 2017 14:44:31 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2duapy8932-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 27 Oct 2017 14:44:31 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9BD8434; Fri, 27 Oct 2017 12:44:30 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag7node2.st.com [10.75.127.20]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 468CC270D; Fri, 27 Oct 2017 12:44:30 +0000 (GMT) Received: from localhost (10.75.127.45) by SFHDAG7NODE2.st.com (10.75.127.20) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 27 Oct 2017 14:44:29 +0200 From: Loic Pallardy To: , CC: , , , , Loic Pallardy Subject: [PATCH 0/7] remoteproc: add fixed memory region support Date: Fri, 27 Oct 2017 14:44:07 +0200 Message-ID: <1509108254-22296-1-git-send-email-loic.pallardy@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG3NODE3.st.com (10.75.127.9) To SFHDAG7NODE2.st.com (10.75.127.20) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-10-27_07:, , signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The aim of the series is to implement carveout memory management as discussed during OpenAMP weekly call and defined in proposed document [1] This first series focus only on adding support of the different types of carveout memories (dynamic, fixed, platform driver depend...). 64bit resource table will be addressed in a next series. [1]: http://openamp.github.io/docs/mca/coprocessor-memory-definition-v6.pdf Loic Pallardy (7): remoteproc: add rproc_va_to_pa function remoteproc: add release ops in rproc_mem_entry struct remoteproc: introduce rproc_add_carveout function remoteproc: introduce rproc_find_carveout_by_da remoteproc: modify rproc_handle_carveout to support preallocated region remoteproc: modify vring allocation to support preallocated region remoteproc: st: add reserved memory support drivers/remoteproc/remoteproc_core.c | 193 +++++++++++++++++++++++++++---- drivers/remoteproc/remoteproc_internal.h | 7 ++ drivers/remoteproc/st_remoteproc.c | 43 +++++-- include/linux/remoteproc.h | 8 +- 4 files changed, 218 insertions(+), 33 deletions(-) -- 1.9.1