Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751826AbdIUHqB (ORCPT ); Thu, 21 Sep 2017 03:46:01 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:6531 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbdIUHp7 (ORCPT ); Thu, 21 Sep 2017 03:45:59 -0400 Subject: Re: [PATCH] tee: ACPI support for optee driver To: Mayuresh Chitale , , , , References: <1505977937-25034-1-git-send-email-mchitale@apm.com> CC: From: Hanjun Guo Message-ID: <59C36E18.1050106@huawei.com> Date: Thu, 21 Sep 2017 15:45:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1505977937-25034-1-git-send-email-mchitale@apm.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.17.188] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.59C36E33.00FC,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 4d957a2f52b209e12e721a2747a41f5f Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 16 On 2017/9/21 15:12, Mayuresh Chitale wrote: > This patch modifies the optee driver to add support for parsing > the conduit method from an ACPI node. Sorry I didn't involve this earlier, but I think this is a wrong approach, in ACPI 5.1+ spec, there is a bit in FADT table which indicates PSCI using SMC or HVC, please see ACPI 6.2 [1], Table 5-37 Fixed ACPI Description Table ARM Boot Architecture Flags. Can we just use that to get the conduit method for optee driver too? [1]: http://www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf Thanks Hanjun