[PATCH 0/5] TXT driver

From: Qiaowei Ren
Date: Sat Apr 27 2013 - 03:05:44 EST

This module is expected to be a better tool to access below resources
- TXT config space
- TXT heap
- Tboot log mem
- 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
confidence that their hardware is running the VMM or kernel that
it was configured with, especially since they may be responsible for
providing such assurances to VMs and services running on it.

See <http://www.intel.com/technology/security/> for more information
about Intel(R) TXT.

Intel TXT configuration registers are a subset of chipset registers.
These chipset registers that interact with SMX are accessed from two
regions of memory, which represent the public and private configuration
spaces, by system software using memory read/write protocols.

Intel TXT Heap memory is a region of physically contiguous memory
which is set aside by BIOS for the use of Intel TXT hardware and

With this module, it will be easier to access TXT/tboot related

Qiaowei Ren (5):
driver: add TXT driver in kernel
driver: provide sysfs interfaces to access TXT config space
driver: provide sysfs interfaces to access TXT log
driver: provide sysfs interfaces to access SMX parameter
driver: provide sysfs interfaces to access TXT heap

drivers/char/Kconfig | 2 +
drivers/char/Makefile | 1 +
drivers/char/txt/Kconfig | 18 +
drivers/char/txt/Makefile | 5 +
drivers/char/txt/txt-config.c | 1041 ++++++++++++++++++++++++
drivers/char/txt/txt-config.h | 138 ++++
drivers/char/txt/txt-heap.c | 1616 ++++++++++++++++++++++++++++++++++++++
drivers/char/txt/txt-heap.h | 338 ++++++++
drivers/char/txt/txt-log.c | 140 ++++
drivers/char/txt/txt-log.h | 27 +
drivers/char/txt/txt-parameter.c | 261 ++++++
drivers/char/txt/txt-parameter.h | 40 +
drivers/char/txt/txt-sysfs.c | 68 ++
13 files changed, 3695 insertions(+)
create mode 100644 drivers/char/txt/Kconfig
create mode 100644 drivers/char/txt/Makefile
create mode 100644 drivers/char/txt/txt-config.c
create mode 100644 drivers/char/txt/txt-config.h
create mode 100644 drivers/char/txt/txt-heap.c
create mode 100644 drivers/char/txt/txt-heap.h
create mode 100644 drivers/char/txt/txt-log.c
create mode 100644 drivers/char/txt/txt-log.h
create mode 100644 drivers/char/txt/txt-parameter.c
create mode 100644 drivers/char/txt/txt-parameter.h
create mode 100644 drivers/char/txt/txt-sysfs.c


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/