From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57F52C4332F for ; Fri, 24 Sep 2021 12:19:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 401AD61107 for ; Fri, 24 Sep 2021 12:19:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245723AbhIXMVG (ORCPT ); Fri, 24 Sep 2021 08:21:06 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:54009 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbhIXMVA (ORCPT ); Fri, 24 Sep 2021 08:21:00 -0400 Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 24 Sep 2021 05:19:27 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/AES256-SHA; 24 Sep 2021 05:19:26 -0700 X-QCInternal: smtphost Received: from ekangupt-linux.qualcomm.com ([10.204.67.11]) by ironmsg02-blr.qualcomm.com with ESMTP; 24 Sep 2021 17:49:15 +0530 Received: by ekangupt-linux.qualcomm.com (Postfix, from userid 2319895) id 303484307; Fri, 24 Sep 2021 17:49:14 +0530 (IST) From: Jeya R To: linux-arm-msm@vger.kernel.org, srinivas.kandagatla@linaro.org Cc: Jeya R , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, fastrpc.upstream@qti.qualcomm.com Subject: [PATCH 0/4] Add secure domains support Date: Fri, 24 Sep 2021 17:49:07 +0530 Message-Id: <1632485951-13473-1-git-send-email-jeyr@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds secure domains support. All DSP domains other than CDSP are set as secure by default and CDSP is set as secure domain if fastrpc DT node carries secure domains property. If any process is getting initialized using non-secure device and the dsp channel is secure, then the session gets rejected. Jeya R (4): dt-bindings: devicetree documentation for secure domain misc: fastrpc: Add secure device node support misc: fastrpc: Set channel as secure misc: fastrpc: reject non-secure node for secure domain .../devicetree/bindings/misc/qcom,fastrpc.txt | 6 ++ drivers/misc/fastrpc.c | 64 +++++++++++++++++++++- 2 files changed, 68 insertions(+), 2 deletions(-) -- 2.7.4