Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp693882ybg; Wed, 23 Oct 2019 04:35:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOLvVe3UW37oyfnjYorSH6cnx5lbBBZhZ3SeWnWqIqjxAinsrjwsbGV+mpVbd/ZYeDKiUD X-Received: by 2002:a17:906:3946:: with SMTP id g6mr32113216eje.49.1571830533560; Wed, 23 Oct 2019 04:35:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571830533; cv=pass; d=google.com; s=arc-20160816; b=oK1u3oRwkyVJ87PtHl1VFGSrBP1kyWBMK/zmHEI7Hli9p3vUmVZ9RMlYoYZuR3jZyB 5E2ZWtv52GxslEfvrPUNC4ZSmZYVMZFTcKLU6Ovz42BBmdWtTi86Za2XbZmlIiMKs96t uVNIKqLOdCcMmU81dOR3x0kEBVKW+oqyV8eExyVSzzIHLr6d7TnDE96tH+fAzopNKfeX 21eo5TAixtjuL5iYx9W4iV8XNom95QAkQ4IItQ+w8izAfcxbfh31jaamrp746Gcg0ZFT Ab9ZCadh4mM7/wO3hmeytXF33mADo0B9cmR15Ews8K17t1MNS/CUACDLSqf4C4ZJBsAT JUGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=npmfE/tkZaYmvkD0n9DLvMUXircM9q1alJkrOdza/oI=; b=lZaXA64SnICYEPL8i0JZtjDHvkQNd9hTHSODgj1yr43EieB8IV0srMhilI3VKWwvZx ir+OeLUyFgE9IYB9td4S8+6KHs0X7HwKO27+bEiRTGBy+kj3ipxC1ih6i+HPvxq5h9+5 +/SlKFaKVN3PdBeucIS06Mfb8Z6nTce/SbbWEzM/066iHqveg6d/+TTDGajCRph8IwNj 4t2gnEMuBkdct1z2OuI5p35ade+90P2vZV512hhc+fzMp3jVYF3kSA26cA8eNIs9rAA3 bTLN6XNA1wqHnXEmoJekBCpXkFcUbFcxQxF4vpFqK79fthRnM9U7KcfAlrq/yASXpZG3 HzwQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=VB5gGVZL; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si13961464ejc.382.2019.10.23.04.35.08; Wed, 23 Oct 2019 04:35:33 -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=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=VB5gGVZL; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404779AbfJWLbe (ORCPT + 99 others); Wed, 23 Oct 2019 07:31:34 -0400 Received: from mail-eopbgr790085.outbound.protection.outlook.com ([40.107.79.85]:53228 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404623AbfJWLbd (ORCPT ); Wed, 23 Oct 2019 07:31:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CYp1szeCrdBX5D4WrdnbvovkYqT3GGaHiUmG/cIbiVFY+lgNMJJFux3gSGq3K63lQjevZSfxQUuFqJsa3Zjxp95oz0bXa0QYHuvQh2BuB046jVl5Zw2MRYchxYngrU84MtnheE7PfQk22N9eH70LIx81ESkgoY6LvBEuZhWKFXcNmAGftt1FNNJ3uJEBOg+8mwUFXOm6j24Ko23R5H7kAPfgT7KjvIg3emCFHGb5SP6VBVZP+M13IW2lY9Sdny/PsHaoLuWgWVyzeqrZKdt3MSJFzHqIITRlqzg3OtFrfTp4nZ4i873VeFNYnFCzDW12ZH1ONzeathEXUQXrzHmjrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=npmfE/tkZaYmvkD0n9DLvMUXircM9q1alJkrOdza/oI=; b=doYpJD1oQG5CCEjzgcG8fpKqxGtb0Vs0ZH+47xqrajm1l/CNiwgZw9NM87TS74RNw8gX58VWegAuYE59zW7qzg/Qv0AEGHrUeGfdVzNFYEnYVcM+AbcGM6rf566VEzhXmGrTYXzjYsK8CUn46VyT5mpVoiOazsDpN/lRbSe39IHFkUiL1DVpxuNOGwat4fflQBcXYuP1N9adlKrcKptTah0AMBVA99ZCAyL/iOcPDC+nxnwxUEL4q3xOJOnzAN/+s0Rpz0SPDXrzgOqTKeeuApI03XtViFhnucotOzHZwtzXP/9f2HVuvfD/UDyLZ0wGzQa9ORBb1QIm6w62hfxB8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=npmfE/tkZaYmvkD0n9DLvMUXircM9q1alJkrOdza/oI=; b=VB5gGVZLlD4oKbzou4Sv3LJKuk1n00uUuVsTFtw7K6JUFS0Tn/9Se9oZDvUeN5DJP3kacyiHCuv054CFeF7tX7Lfiu7sNRbHGK5qEqTl53w9cd1MHRpHs8miOqd95u0p338m3vecqLFDmwkghBVHTcvEIin78gbRNeX61UVIjN0= Received: from CY4PR12MB1925.namprd12.prod.outlook.com (10.175.62.7) by CY4PR12MB1527.namprd12.prod.outlook.com (10.172.66.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.20; Wed, 23 Oct 2019 11:30:59 +0000 Received: from CY4PR12MB1925.namprd12.prod.outlook.com ([fe80::a1f5:6f09:5c0d:78f1]) by CY4PR12MB1925.namprd12.prod.outlook.com ([fe80::a1f5:6f09:5c0d:78f1%11]) with mapi id 15.20.2387.019; Wed, 23 Oct 2019 11:30:59 +0000 From: "Thomas, Rijo-john" To: Jens Wiklander , "tee-dev@lists.linaro.org" , "linux-kernel@vger.kernel.org" CC: "Thomas, Rijo-john" , "Easow, Nimesh" , "Rangasamy, Devaraj" Subject: [RFC PATCH 1/2] tee: allow compilation of tee subsystem for AMD CPUs Thread-Topic: [RFC PATCH 1/2] tee: allow compilation of tee subsystem for AMD CPUs Thread-Index: AQHViZVXYwPDZzKzU0iEL5F5XTGWbQ== Date: Wed, 23 Oct 2019 11:30:58 +0000 Message-ID: <030ac9242b6a3a6c2f529326a7c24cfd29a009ac.1571818136.git.Rijo-john.Thomas@amd.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MAXPR01CA0093.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:49::35) To CY4PR12MB1925.namprd12.prod.outlook.com (2603:10b6:903:120::7) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Rijo-john.Thomas@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.9.1 x-originating-ip: [165.204.156.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e984a883-f1b6-407d-0e9b-08d757ac79c2 x-ms-traffictypediagnostic: CY4PR12MB1527: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1332; x-forefront-prvs: 019919A9E4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(136003)(396003)(376002)(366004)(346002)(189003)(199004)(99286004)(71200400001)(118296001)(6512007)(25786009)(71190400001)(66946007)(50226002)(3846002)(6116002)(6436002)(316002)(478600001)(66066001)(76176011)(52116002)(2201001)(66476007)(66556008)(64756008)(2501003)(36756003)(4326008)(66446008)(54906003)(110136005)(8676002)(486006)(8936002)(256004)(14444005)(2906002)(6506007)(6486002)(386003)(81156014)(14454004)(476003)(2616005)(5660300002)(305945005)(86362001)(102836004)(7736002)(186003)(11346002)(446003)(4744005)(81166006)(26005);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1527;H:CY4PR12MB1925.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hLCXJht8ibFy0Dhu5+gdCXkTFxWRM22GdYPF8vPlHu6laa82d7A+evseeXGKln5tmwy2iOkAHGoBgcYWox3lyAvuj67wTLOkIwiXJNtrY/WxkC5AyNacXcCvsxEl1yrey5NZ2fShFdF+Re9rlx1uCe7S0HxM4HHHby3NpAo5dTBYXQ5Cfs7vNcc8febY+1GXbKAwhrok8sonlnWKiowCF32da05UlS2GIwyq3ZB/6qJWXaIpLChMNd5woH9EjtSLAP7g+HlMGwKPfIU4UxD97Wf8hAIYLhJJqpXBm6nbSoay4IDWZfnn15xaE+n80DarGs626Ohyh3V6/v60KAw0BIpOyjLhg55qKpRsaxg9L76RVRrVQz9vMiC0gLYTbkQPOnxhIiAj8rA4xm2yen8cc4Ez4CHmIqTwS6jxuVaTRcqszMqsCiiNHb9dr/gDulKg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e984a883-f1b6-407d-0e9b-08d757ac79c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2019 11:30:58.9104 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ov23O++FST7QDYf5Yg+J/GMOVM7pvd58iECFIrlBX+YZ1bOUogSrhcU7PXkoEuQA0BqOAacD5puJ4KvCKmPHDw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1527 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow compilation of tee subsystem for AMD's CPUs which have a dedicated AMD Secure Processor for Trusted Execution Environment (TEE). Signed-off-by: Rijo Thomas Signed-off-by: Devaraj Rangasamy --- drivers/tee/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tee/Kconfig b/drivers/tee/Kconfig index 676ffcb..4f3197d 100644 --- a/drivers/tee/Kconfig +++ b/drivers/tee/Kconfig @@ -2,7 +2,7 @@ # Generic Trusted Execution Environment Configuration config TEE tristate "Trusted Execution Environment support" - depends on HAVE_ARM_SMCCC || COMPILE_TEST + depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD select DMA_SHARED_BUFFER select GENERIC_ALLOCATOR help --=20 1.9.1