From patchwork Tue Jun 5 06:16:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 137689 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp565208lji; Mon, 4 Jun 2018 23:18:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL0F5gM4F1gtcF3atWLRmie2uhgUiDtkQbR0UH0wtHqq3oZ24FGqm79gK+O6dMVwqMgvDiV X-Received: by 2002:a17:902:7442:: with SMTP id e2-v6mr24367396plt.28.1528179488453; Mon, 04 Jun 2018 23:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528179488; cv=none; d=google.com; s=arc-20160816; b=mryqNbaJEHA4xcafVxPUuEs1E14EwCQ2+Kvrp8kPUphuKPeRkiOY8zDvVh3s+DXeRQ j8LozVUn6WJ9XtNHfxosZxbnueCoB9PzKi5pBXFNLYfauvaEPU6i6sbopIKclUFqsQiU XWLkx2D2r6T853qpCpYmVrrADwYeb5Bw8AUET1OuxBjD9A4qXICLPjoZ0PRbPjzYCUrW 3682cTFSeH8ngg75vr3ZgJKCduSIiASIu7DZiy3ugGPO03LREQ5Y05fgM6HX8BTUvsRO UQ6pXvmIbWD7moCs5SEl1Lhb3nw5p5A/iXIatFUdBqdmo9J2e8B2sHrOt9ppfcdfOkog y9Uw== 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:dkim-signature:arc-authentication-results; bh=0Z3Rjz6IpqWJFwALbn0VPQeCPm5yK02FQKzXZ5DOhgY=; b=XPgyE7uxM6SZinfQChg+SC/v7GRu+TioFQQf5UNrB3ZWA8MkjHO/ckNR0yoCDnKHuy 4jdPEbRFNmeLUR7SLMTD6tGnFAELGJ8QFSFCcyFteXb39XXCjAlGdRT2WkUEx1hjHevY H8jLrp+OVVMlwMvXURrg5Y6/qPT9v5T8+S+YmGp+Be3MTuUbze1QEu0B9Vvv5sAgHcl2 ioTOCGBvYURIJvYA8IPyJPbtxPaKZ4IH1ZOdRrK+BHqE4iyxxHXOeBLop+1H5MutAxkB hgKr+VoF1VkLxs14JLcKhM8M2E/qi5oYhep9gJyZmtQft3bHy2PhJREa0sQOWEwefscI joEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XQjYSWZ1; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p18-v6si6451786pfe.150.2018.06.04.23.18.08; Mon, 04 Jun 2018 23:18:08 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XQjYSWZ1; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751670AbeFEGRl (ORCPT + 30 others); Tue, 5 Jun 2018 02:17:41 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:37250 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbeFEGQs (ORCPT ); Tue, 5 Jun 2018 02:16:48 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w556GTm2001003; Tue, 5 Jun 2018 01:16:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1528179389; bh=0Z3Rjz6IpqWJFwALbn0VPQeCPm5yK02FQKzXZ5DOhgY=; h=From:To:CC:Subject:Date; b=XQjYSWZ1oRWyWDQsq78+QBdmUNvY3o2EAYnO6VJnLnXNW8YNh6Y+Q2vC5P0dnjV+Q ftbctssbk9feHmu/wZzMKlAR2pD5a4Wy3Q5MTXD2vM89+MJuK29+RTy24eaUpZz5KK kJmMfJEcYyz7rptaa+j5VMnQNXi2H3Rq4beGoFzE= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w556GTjL000819; Tue, 5 Jun 2018 01:16:29 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 5 Jun 2018 01:16:29 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 5 Jun 2018 01:16:29 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w556GTqg005415; Tue, 5 Jun 2018 01:16:29 -0500 From: Nishanth Menon To: Jassi Brar , Rob Herring CC: , , , Nishanth Menon , Tero Kristo , Suman Anna Subject: [RFC PATCH 0/8] mailbox: ti-msgmgr: Add support for AM654 Secure Proxy Date: Tue, 5 Jun 2018 01:16:21 -0500 Message-ID: <20180605061629.4759-1-nm@ti.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, The following series enables support for Secure Proxy in newest addition in TI's SoC portfolio - AM654 SoC. The series is an RFC based off next-20180604 and will post formally once v4.18-rc1 is available. The DT and ARCH part of the series is based on https://marc.info/?l=linux-arm-kernel&m=152817866312732&w=2 The series (part 2 of 4) is available here: https://github.com/nmenon/linux-2.6-playground/commits/upstream/next-20180604/k3-2-am6-sproxy Full Boot log is available here: https://pastebin.ubuntu.com/p/vWCzMKtBCW/ See AM65x Technical Reference Manual (SPRUID7, April 2018) for further details: http://www.ti.com/lit/pdf/spruid7 Nishanth Menon (8): mailbox: ti-msgmgr: Get rid of unused structure members mailbox: ti-msgmgr: Allocate Rx channel resources only on request mailbox: ti-msgmgr: Change message count mask to be descriptor based mailbox: ti-msgmgr: Move the memory region name to descriptor dt-bindings: mailbox: ti,message-manager: Add support for secure proxy threads mailbox: ti-msgmgr: Add support for Secure Proxy drivers: mailbox: Make ti-msgmr driver depend on ARCH_K3 arm64: dts: ti: k3-am6: Add Secure Proxy instance .../bindings/mailbox/ti,message-manager.txt | 58 +++- arch/arm64/boot/dts/ti/k3-am6.dtsi | 11 + drivers/mailbox/Kconfig | 8 +- drivers/mailbox/ti-msgmgr.c | 353 +++++++++++++++++---- 4 files changed, 351 insertions(+), 79 deletions(-) -- 2.15.1