RE: [PATCH 4/4] driver: provide sysfs interfaces to access SMXparameter
From: Ren, Qiaowei
Date: Fri May 10 2013 - 20:01:56 EST
On 2013-05-10, Matthew Garrett wrote:
> On Fri, 2013-05-10 at 07:05 +0000, Ren, Qiaowei wrote:
>> On 2013-05-08, Matthew Garrett wrote:
>>> On Tue, 2013-05-07 at 22:55 +0800, Qiaowei Ren wrote:
>>>
>>>> +What: /sys/devices/platform/intel_txt/parameter/acm_max_size
>>>> +Date: May 2013
>>>> +KernelVersion: 3.9
>>>> +Contact: "Qiaowei Ren" <qiaowei.ren@xxxxxxxxx>
>>>> +Description: The "acm_max_size" property will show max size of
>>>> + authenticated code execution area.
>>>
>>> What would userspace use this for?
>>
>> These sysfs files are just export SMX & TXT related information to userspace.
> So that other developers (or OSV & ISV) can be able to develop txt
> related applications or tools based on these information.
>
> If they're only using it for debugging purposes then sysfs probably
> isn't the right place. Is there any reason tools would need to know this during normal usage?
Unlike tboot log, these properties are not used for debugging purposes.
They are used to report attributes, options and limitations of SMX operation. Software may use them to identify operations limits or additional options.
Thanks,
Qiaowei
èº{.nÇ+·®+%Ëlzwm
ébëæìr¸zX§»®w¥{ayºÊÚë,j¢f£¢·hàz¹®w¥¢¸¢·¦j:+v¨wèjØm¶ÿ¾«êçzZ+ùÝj"ú!¶iOæ¬z·vØ^¶m§ÿðÃnÆàþY&