Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14478856ybl; Mon, 30 Dec 2019 10:51:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxkDwKHwCQ7sEfzuBpBzu/dizU3OyIdjpxGhMWThy+nyC3jRCe8YIoBikLZ5VjfGDybbf+J X-Received: by 2002:a05:6830:159a:: with SMTP id i26mr76812997otr.3.1577731882074; Mon, 30 Dec 2019 10:51:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577731882; cv=none; d=google.com; s=arc-20160816; b=uacrbweioZygZIHurzViW86g9qpETwJM+hYXWZDC106PG7caGfhPgvxV4GE6z9/q3d BwCLDJWak3UgcSUD17U3xQUYAISVcmfVaNKO0ezAQoYkmWr/aGUO+8LT09NFmEdhkZKS I6TUVPf9jBO+XyGszFF2kHw3Ie7aNvyZOTDmY2T7O3i5NScp+OrCBGPqRF7aLHB2nF1E iRfPuFoQwlcWq1+47uKSLFBOnJDDMHNcB07c1XBe5ueZqaR1lGWVsSevEsOxEZbTqKXX kVymtEnbaB1wxtWZ41GH/WUf1n3cKSLESQy5ZsNe178QBeTaCoIdDCWdkqMO+oc0frpL tWWQ== 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; bh=WNCUqtwjUG1a/O9NJFFBAc++jPwLxeQDM8DqNOzYfW4=; b=aWFm8S6hjqMqmMbGbCkcYI/bedbCv4/gcMrj9WQ8lXXTIUZnxg0Vb2EqM8pFXtjYGi Uagku+vz/9eJBtM8tszH9A1dHZmYzzkrd89cPXzLQJs9D98o4MQMsZQtZuHeBQhj5tZQ RyvB/g5NQf2rn0gAOdVR4+pqLzTAYQV+sUUTjVF5IaaUX1QgKQSNo/uONR3gL1pG8Wq0 PbjYnIZXRS/V9Wuzny/5lYhJT6yIo/9ZYJXrVkVpt3jtpb+aoJ5Lctio5vqZIhGxJY5j mO5nW8D2ueMFCrOJvT9px+ieQ7F/D7L/yHP8fXysRkJx/bNNn4Fv8Kug9t3L1gL9J+ll 9e+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yj8aISPL; 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 16si28961461otk.151.2019.12.30.10.51.10; Mon, 30 Dec 2019 10:51:22 -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=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yj8aISPL; 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 S1727611AbfL3Su1 (ORCPT + 99 others); Mon, 30 Dec 2019 13:50:27 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44308 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbfL3Su1 (ORCPT ); Mon, 30 Dec 2019 13:50:27 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBUIoODV032995; Mon, 30 Dec 2019 12:50:24 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1577731824; bh=WNCUqtwjUG1a/O9NJFFBAc++jPwLxeQDM8DqNOzYfW4=; h=From:To:CC:Subject:Date; b=yj8aISPLqbCP0kYSZh69iK3ls44q4c8DsISN2z023YvaZhxsxoMeX+swRe918l8o1 mAyiSuM/8ahfc1XjiJLl/BTIgB334+s9atKLS2IpVHJh38pyp9UiDgBZg1eWVwP8EY ZT/clKnMZ2gIBlxB30I8GjnqtmNae1e/3muZ2cvE= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBUIoOY2097050 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 30 Dec 2019 12:50:24 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 30 Dec 2019 12:50:24 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Mon, 30 Dec 2019 12:50:24 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBUIoOj1043624; Mon, 30 Dec 2019 12:50:24 -0600 Received: from localhost ([10.250.65.50]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id xBUIoNu06642; Mon, 30 Dec 2019 12:50:24 -0600 (CST) From: "Andrew F. Davis" To: Tony Lindgren CC: , , "Andrew F . Davis" Subject: [PATCH v3 0/4] Use ARM SMC Calling Convention when OP-TEE is available Date: Mon, 30 Dec 2019 13:50:00 -0500 Message-ID: <20191230185004.32279-1-afd@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain 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 Hello all, This is the reworked patch turned into a series to allow upstream kernels to make use of OP-TEE on the OMAP2+ platform. Thanks, Andrew Changes from v1: - Split into logical patches - Check for OP-TEE in DT only once - Check the OP-TEE node is "okay" Changes from v2: - Add HS patch using 'optee_available' Andrew F. Davis (4): ARM: OMAP2+: Add omap_secure_init callback hook for secure initialization ARM: OMAP2+: Introduce check for OP-TEE in omap_secure_init() ARM: OMAP2+: Use ARM SMC Calling Convention when OP-TEE is available ARM: OMAP2+: sleep43xx: Call secure suspend/resume handlers arch/arm/mach-omap2/common.h | 2 +- arch/arm/mach-omap2/io.c | 11 ++++++++ arch/arm/mach-omap2/omap-secure.c | 45 +++++++++++++++++++++++++++++++ arch/arm/mach-omap2/omap-secure.h | 10 +++++++ arch/arm/mach-omap2/omap-smc.S | 6 ++--- arch/arm/mach-omap2/pm33xx-core.c | 17 ++++++++++++ 6 files changed, 87 insertions(+), 4 deletions(-) -- 2.17.1