RE: [PATCH v2 1/3] driver: add TXT driver in kernel

2013-05-13 Thread Ren, Qiaowei
On 2013-05-14, Matthew Garrett wrote: > On Tue, 2013-05-14 at 01:24 +0800, Qiaowei Ren wrote: > > static int __init txt_sysfs_init(void) > > +{ > > + if (!tboot_enabled()) > > + return -ENODEV; > > If there's a CPU flag that indicates tboot support, you should add a modalias > for > i

Re: [PATCH v2 1/3] driver: add TXT driver in kernel

2013-05-13 Thread Matthew Garrett
On Tue, 2013-05-14 at 01:24 +0800, Qiaowei Ren wrote: > static int __init txt_sysfs_init(void) > +{ > + if (!tboot_enabled()) > + return -ENODEV; If there's a CPU flag that indicates tboot support, you should add a modalias for it in order to ensure that the module gets automatical

[PATCH v2 1/3] driver: add TXT driver in kernel

2013-05-13 Thread Qiaowei Ren
TXT driver can be used to access below resources: - TXT config space - SMX parameter Intel TXT (Trusted Execution Technology) will provide higher assurance of system configuration and initial state as well as data reset protection. It also helps solve real end user concerns about having confid