Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1679559pxb; Fri, 24 Sep 2021 09:32:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqST9Sc26py/3ik77vTeqQun6L+xgSZmKkFKiGjUu3xfJwpPdk4X1bzwgKlw+NDTNV7IRG X-Received: by 2002:a92:dc01:: with SMTP id t1mr9300775iln.267.1632501174136; Fri, 24 Sep 2021 09:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632501174; cv=none; d=google.com; s=arc-20160816; b=AnuMVEKEiGFsiWHm4e0leN+AOD/rUrknjEvypxw7Vue1RQ1pwtokyVgQJKp02bKVjj 3Dyda8Qo4I+0eivjETkDW13OMDKt7nyOTyHyyVrE8QSXVxyOv/PQYtnDLQTx7wnKjznK GioQ91aKXGSMeI29ebHFGDqDBvqtnNCOcrP0lgEZQtcNRBB/MUAadW3kfJCKhP6oZzZM uXAng3FRM0WRP5t0B57qPoMMhIq3xsLcLqMD/+d9QzHBsXJMAzjpneAlHRgzYyKnjZut Nqrt1/NXM9UXr4CMqWO3p2QGFKOu0996c22QXGXoWx8PDlEvP+p3YLKsLiGX63QS8u7j EqJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=PEuLrVtbxpQe+pj8dZbZBSFAEFNrm0jC4GZj8n8sXqA=; b=U1o76sdbuO/IttkJEX0YoQ3RRr6JpRvWwMxatyV1MQgaYLQnr9kRDyWaHbalhcUAKC /4rcl4SRt1hC7l6PCb9iTg8bnn95Z6wI44GUw+h+9w0kTkVoi6YQBVlejgnFkUnbIj4v PqfVSml2gBDBcyZY0kAyMPS+vMiKLmenuT1jlu0IMIRX0fLK/Pz3/rE+X2gyMeAUuvgu OGUBhFMIvP7RpnYAyUllyRoBJuwCmluIKxrDMzDaVkPgzu/f9QScckdF8zOugxuVbinl UY9+O/EdSwItqpYkDgw4bp2viIRAycP7bFM7hdoD8BTJrNjBcZSM6LVuJANRVcKo6neu lbAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r11si13102570ilc.144.2021.09.24.09.32.40; Fri, 24 Sep 2021 09:32:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245515AbhIXMVD (ORCPT + 99 others); Fri, 24 Sep 2021 08:21:03 -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