Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp7151991ybf; Fri, 6 Mar 2020 11:21:57 -0800 (PST) X-Google-Smtp-Source: ADFU+vt5OlOUFpoa7/1n9l4RAaXbVZjCmhqY/oKWFhY56lG/ls/Es1/I6RM+KO6RX2RMMKZWEn0U X-Received: by 2002:aca:52c7:: with SMTP id g190mr3608193oib.144.1583522516896; Fri, 06 Mar 2020 11:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583522516; cv=none; d=google.com; s=arc-20160816; b=RjzI9s6BpgCov95Y6PtVDOGs6/ugQIbD5WzZBcQAKFIjCFE3+vjiThQfY/i/NHw/IF mXRGNxFns8veeyVmmZoNkv+TiUCK+Zsc9Yhg98qnd2Vq9yUCrqFht0wbsnCAksG8YsF1 OwKb0R7BRs4gTiiWCp0mTfUUpRFoHD0aiBWwJuC/cozOdT1qbShrzBF915ZSIA9fnAHn nmrTKxUXiZ8NKQaVlutbOhuc/FvQTaWObvCKtp5u8DZ5EyKbgZLA4upaaM7csB/OH5Oj xtvs9UjRLVAWMUPMZfihRyq1S2VpY8Zpbu2GiZCBwQFQeF4T5rDqBrfyikyW37bz5iRp q5Ag== 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 :dmarc-filter:dkim-signature; bh=piXTaqCWbh+pl4OG3SQEESYx+jI27po7fx9Q0GyAWjw=; b=t9E3xAxtBw6nO3NrdF2kFd/0I9rMvqcaQaFosQWBXZAuNGf6g8GaCKI3ECyWMpkXVH m6Z67tgflDZhoIY+bbuzkeFfkyrW8gh4wQJMbwo9J6YPud8qg5D/YIi4jgKnNh1XS90C X9kKXEMr+1EZDjeJ53roeRe8rpbBxcGrCTZcATQBcr7kiexKVFmyf6O6q60IXKp2mms7 1O+eqOIc8jIXKRRDCz8TVTlXxvfF5nySd+QCzOFSOzJLnl0OYZcust7yWVqBIfAkt76I svQ+q+c14gl8n5yonWoqfpiL76YU1Ld+Ro12peFPzzwJPfQYKg4WjL0StskG35KVgFbn YZ/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=WAcmLlEs; 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 l23si181192oii.20.2020.03.06.11.21.45; Fri, 06 Mar 2020 11:21:56 -0800 (PST) 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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=WAcmLlEs; 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 S1726846AbgCFTVY (ORCPT + 99 others); Fri, 6 Mar 2020 14:21:24 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:18411 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbgCFTVX (ORCPT ); Fri, 6 Mar 2020 14:21:23 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1583522483; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=piXTaqCWbh+pl4OG3SQEESYx+jI27po7fx9Q0GyAWjw=; b=WAcmLlEsEI9oS53vs2OyZb/2uH9LGIunCY8g2eZF9gTpaMgFQ2Uk6AYjLXOBC0DpagyxLvdZ A9gbJP+6SlrruuUGh+SfVeZYe96ESrlFxWND39U1Tnld2TM/nObSE8HisI1bri3aGkuuz8d6 zr8d1iMJK+PsRjj/nuY3rwKIevQ= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e62a2b0.7fb60665d570-smtp-out-n01; Fri, 06 Mar 2020 19:21:20 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 39CE9C433BA; Fri, 6 Mar 2020 19:21:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from rishabhb-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rishabhb) by smtp.codeaurora.org (Postfix) with ESMTPSA id 86130C433D2; Fri, 6 Mar 2020 19:21:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 86130C433D2 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=rishabhb@codeaurora.org From: Rishabh Bhatnagar To: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org Cc: tsoni@codeaurora.org, psodagud@codeaurora.org, sidgup@codeaurora.org, Rishabh Bhatnagar Subject: [PATCH 0/2] Introduce PAS based Secure Subsystem rproc driver Date: Fri, 6 Mar 2020 11:21:05 -0800 Message-Id: <1583522467-3499-1-git-send-email-rishabhb@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Qualcomm SOCs have a secure remote processor that provides secure execution environment for processing sensitive data and also performs cryptographic operations using protected keys stored in its secure storage. This patch series introduces a Peripheral Authentication based remoteproc driver that handles booting, shutdown and crash scenarios for SPSS. Also this driver can handle late attach usecase where remote processor is already booted even before linux. This patchset builds up on the skip firmware load patch "remoteproc: add support to skip firmware load when recovery" which is in review. Rishabh Bhatnagar (2): remoteproc: qcom: Add PAS based SPSS PIL driver dt-bindings: remoteproc: Add documentation for SPSS remoteproc .../devicetree/bindings/remoteproc/qcom,spss.txt | 114 +++++ drivers/remoteproc/Kconfig | 17 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/qcom_spss.c | 500 +++++++++++++++++++++ 4 files changed, 632 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,spss.txt create mode 100644 drivers/remoteproc/qcom_spss.c -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project