Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753449AbdGUKtr (ORCPT ); Fri, 21 Jul 2017 06:49:47 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:52776 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753354AbdGUKtq (ORCPT ); Fri, 21 Jul 2017 06:49:46 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 099A86080A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=akdwived@codeaurora.org From: Avaneesh Kumar Dwivedi To: bjorn.andersson@linaro.org Cc: sboyd@codeaurora.org, agross@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Avaneesh Kumar Dwivedi Subject: [PATCH v7 0/4] Add memory ownership switch support and enable mss rproc on msm8996 Date: Fri, 21 Jul 2017 16:19:29 +0530 Message-Id: <1500634173-24416-1-git-send-email-akdwived@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1353 Lines: 28 This patch set does following 1- Adds new scm call which helps in stage two translation of a memory region so that memory ownership sharing and switching can be achieved on armv8 and later. 2- Enable mss remoteproc on msm8996 Changes w.r.t. last patchset 1- Uses dma_alloc_coherent() that dma_alloc_attrs() 2- Fixes warning from checkpatch with --strict option 3- Fixes other minor comments Avaneesh Kumar Dwivedi (4): firmware: scm: Add new SCM call API for switching memory ownership remoteproc: qcom: refactor mss fw image loading sequence remoteproc: qcom: Make secure world call for mem ownership switch remoteproc: qcom: Add support for mss remoteproc on msm8996 .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/firmware/qcom_scm-32.c | 7 + drivers/firmware/qcom_scm-64.c | 27 ++ drivers/firmware/qcom_scm.c | 94 +++++++ drivers/firmware/qcom_scm.h | 5 + drivers/remoteproc/qcom_q6v5_pil.c | 273 ++++++++++++++++++--- include/linux/qcom_scm.h | 16 ++ 7 files changed, 385 insertions(+), 38 deletions(-) -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.