From patchwork Tue Jun 19 19:43:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 139243 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5612672lji; Tue, 19 Jun 2018 12:43:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKaco2F2HKU7/Io6gjXicSWgnrXhW96n06D66YQLWcqqS4V5rE2wt6v7q4kJiiciozAPxg9 X-Received: by 2002:a62:660a:: with SMTP id a10-v6mr19495310pfc.156.1529437432294; Tue, 19 Jun 2018 12:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529437432; cv=none; d=google.com; s=arc-20160816; b=0brSxwTEbiagI3WTou11lue9ZXW+zLYUUoh0u+RKTdFsocHl6sZXedtgCC6kFjioaY 94cQ191ySTwwtmqqz7vzJo9C2fLqfgC65i/LBaa7TpuCmMbsgqlvv7auAI+7MzrtWmsP w523UZqY9LfnrrxXptYxsTXWcbJgGuPK3T8K/vzoZF+ua9ZW2YUjEP70S5sGR0pDEo0x P+w6v+V+Q4Z/pmgPIWf9XGFHiGD4F7mOAt+puFn3EqBDrnK5OlkFrjFpd0+gYXAksn0e XOprK+wpwyXxUGSNEfnIR0xkB4+tHhdq5xJ1AVNlOa3WECqxLY8YhLFd8KGTl5y7YKmV DKhw== 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=47ddtwbQO0Lq/cC3Gy1cvIK5eADSlrlHuaacW2LuCMA=; b=QN/t5CD2NrwglR+UMVngDkaDWB05Apv/07PnjpeDBTJ8GUxGhTzEDUgl2WHLAsgu18 RrHWyJJnARypDYHfRqKJkiP+wOJuH5J+TzryeUZPVQVJo7z3SJfxeuCuwt6VXS/kovUA wIALu2i1W5D9N7c7K+rKzCOWXgeD1BkjusQF4wbAI04eGxCw/7UGRlnCofIUBZhSTH9M fABj3f20nqLrS/skXC5B3HYcPPx0FpsPF30OpGezMHOrnZxkhi5WEJEVsPwubGcq0Sc+ lkx5pRAlV+5+C4VaI6mMqfUW8Czv4EfromZRM5DCi0DL6y/WkDbaCznhJrgkQ91K3d/n 5i4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VdZYH5az; 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 o12-v6si457792pfd.52.2018.06.19.12.43.52; Tue, 19 Jun 2018 12:43:52 -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=VdZYH5az; 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 S1030583AbeFSTnr (ORCPT + 30 others); Tue, 19 Jun 2018 15:43:47 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:24544 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030414AbeFSTnm (ORCPT ); Tue, 19 Jun 2018 15:43:42 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w5JJhbFs022545; Tue, 19 Jun 2018 14:43:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1529437417; bh=47ddtwbQO0Lq/cC3Gy1cvIK5eADSlrlHuaacW2LuCMA=; h=From:To:CC:Subject:Date; b=VdZYH5azkSqff/PPsYcDlz/Luu5ismgpxMiDeSpMbKX3pGdruRhB8HorzsOufoll4 HwKLrMgPWnE2syYT/SINRL36M21cVsOkPdLG+jTNaN5g29so2APM+J4sswuHeQ2UNU kGCMRwLASdtmQq6Ked1pud9DbAqA0a85FS1U9i0I= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5JJhbLe024499; Tue, 19 Jun 2018 14:43:37 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 19 Jun 2018 14:43:37 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 19 Jun 2018 14:43:37 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5JJhbmu032504; Tue, 19 Jun 2018 14:43:37 -0500 From: Nishanth Menon To: Jassi Brar , Mark Rutland , Rob Herring CC: Nishanth Menon , Suman Anna , Tero Kristo , , Subject: [PATCH 0/6] mailbox: ti-msgmgr: Add support for AM654 Secure Proxy Date: Tue, 19 Jun 2018 14:43:31 -0500 Message-ID: <20180619194337.31522-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 (posted previously as RFC). The series is based on v4.18-rc1 and is available here: https://github.com/nmenon/linux-2.6-playground/commits/upstream/v4.18-rc1/k3-1-am6-sproxy There are a couple of follow on patches to be posted as well (Kconfig changes for K3_ARCH and actual dts node changes). Changes since RFC are highlighted in each of the patches, but overall: * The K3 dependency has been broken out into a seperate series independent of this. * Binding has been seperated out as it's own file (even though the driver is reused). Consolidated all patches (including all series) are available here: https://github.com/nmenon/linux-2.6-playground/commits/upstream/v4.18-rc1/k3-am6-integ Full Boot log on AM654 (integrated with all patch series) is available here: https://pastebin.ubuntu.com/p/bBFmnzYtCd/ Nishanth Menon (6): 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: Add support for secure proxy threads mailbox: ti-msgmgr: Add support for Secure Proxy .../bindings/mailbox/ti,secure-proxy.txt | 50 +++ drivers/mailbox/ti-msgmgr.c | 353 +++++++++++++++++---- 2 files changed, 336 insertions(+), 67 deletions(-) create mode 100644 Documentation/devicetree/bindings/mailbox/ti,secure-proxy.txt -- 2.15.1