Re: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-17 Thread Pavel Machek
On Fri 2013-05-17 08:50:11, Ren, Qiaowei wrote: > On 2013-05-17, Pavel Machek wrote: > > On Tue 2013-05-14 01:24:43, Qiaowei Ren wrote: > >> +What: /sys/devices/platform/intel_txt/config/STS_raw +Date: > >> May 2013 > >> +KernelVersion:3.9 +Contact: "Qiaowei Ren" > >>

RE: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-17 Thread Ren, Qiaowei
On 2013-05-17, Pavel Machek wrote: > On Tue 2013-05-14 01:24:43, Qiaowei Ren wrote: >> +What: /sys/devices/platform/intel_txt/config/STS_raw +Date: >> May 2013 >> +KernelVersion: 3.9 +Contact: "Qiaowei Ren" >> +Description:TXT.STS is the general status

RE: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-17 Thread Ren, Qiaowei
On 2013-05-17, Pavel Machek wrote: On Tue 2013-05-14 01:24:43, Qiaowei Ren wrote: +What: /sys/devices/platform/intel_txt/config/STS_raw +Date: May 2013 +KernelVersion: 3.9 +Contact: Qiaowei Ren qiaowei@intel.com +Description:TXT.STS is the general

Re: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-17 Thread Pavel Machek
On Fri 2013-05-17 08:50:11, Ren, Qiaowei wrote: On 2013-05-17, Pavel Machek wrote: On Tue 2013-05-14 01:24:43, Qiaowei Ren wrote: +What: /sys/devices/platform/intel_txt/config/STS_raw +Date: May 2013 +KernelVersion:3.9 +Contact: Qiaowei Ren

Re: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-16 Thread Pavel Machek
On Tue 2013-05-14 01:24:43, Qiaowei Ren wrote: > These interfaces are located in /sys/devices/platform/intel_txt/config, > and including totally 37 files, providing access to Intel TXT > configuration registers. This looks like very wrong interface... equivalent of /dev/mem. > +What:

Re: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-16 Thread Pavel Machek
On Tue 2013-05-14 01:24:43, Qiaowei Ren wrote: These interfaces are located in /sys/devices/platform/intel_txt/config, and including totally 37 files, providing access to Intel TXT configuration registers. This looks like very wrong interface... equivalent of /dev/mem. +What:

RE: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

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: > > These interfaces are located > > in /sys/devices/platform/intel_txt/config, > > and including totally 37 files, providing access to Intel TXT > > configuration registers. > > Do you have any example

Re: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-13 Thread Matthew Garrett
On Tue, 2013-05-14 at 01:24 +0800, Qiaowei Ren wrote: > These interfaces are located > in /sys/devices/platform/intel_txt/config, > and including totally 37 files, providing access to Intel TXT > configuration registers. Do you have any example userspace code using these features? -- Matthew

Re: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

2013-05-13 Thread Matthew Garrett
On Tue, 2013-05-14 at 01:24 +0800, Qiaowei Ren wrote: These interfaces are located in /sys/devices/platform/intel_txt/config, and including totally 37 files, providing access to Intel TXT configuration registers. Do you have any example userspace code using these features? -- Matthew

RE: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space

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: These interfaces are located in /sys/devices/platform/intel_txt/config, and including totally 37 files, providing access to Intel TXT configuration registers. Do you have any example userspace