VTPM mini-os
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 of 12 patches 19 repliesIn review
11 of 12 patches are in this archive. The cover letter announces 12.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | VTPM mini-os: mmio= option for domain config files to pass iomem regionstools/ tools/ tools/ | +132 | 0 replies | |
| 2/12 | VTPM mini-os: posix IO layer for blkfront in mini-osextras/ extras/ extras/ | +157 | 5 replies | |
| 3/12 | VTPM mini-os: Add ioread() and iowrite() functions to mini-osextras/ extras/ extras/ | +55 | 3 replies | |
| 4/12 | VTPM mini-os: Mini-os machine specific headersextras/ extras/ extras/ +5 more | +174 | 6 replies | |
| 5/12 | VTPM mini-os: mfn_is_ram check disableextras/ | +2 | 1 reply | |
| 7/12 | VTPM mini-os: vtpm_manager bug fixes and changestools/ tools/ tools/ +43 more | +1671 | 0 replies | |
| 8/12 | VTPM mini-os: vtpm hotplug fixestools/ tools/ tools/ +2 more | +54 | 0 replies | |
| 9/12 | VTPM mini-os: New stubdom applicationsstubdom/ stubdom/ stubdom/ +1 more | +1181 | 1 reply | |
| 10/12 | VTPM mini-os: vtpm-stubdomstubdom/ stubdom/ stubdom/ +6 more | +1204 | 0 replies | |
| 11/12 | VTPM mini-os: vtpmmgrdomstubdom/ stubdom/ stubdom/ +4 more | +2229 | 0 replies | |
| 12/12 | VTPM mini-os: Stubdom makefile addtions for vtpm-stubdom and vtpmmgrdomstubdom/ | +31 | 1 reply |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Samuel Thibault |
|---|---|
| 1/12 | |
| 2/12 | |
| 3/12 | |
| 4/12 | |
| 5/12 | A-b |
| 7/12 | |
| 8/12 | |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/12] VTPM mini-os: TPM device drivers for mini-os
This patch adds 3 new drivers to mini-os
tpmfront: Paravirtualized tpm driver that can speak to mini-os tpmback and linux tpmbk
tpmback: Paravirtualized tpm backend driver that can speak to mini-os tpmfront and linux tpm_xenutpm_tis: Hardware tpm driver. Should work with any TPM device compliant with the 1.2 spec. Requires io memory passthrough.
Signed off by: Matthew Fioravante <[email protected]>
extras/mini-os/include/lib.h +13 -0
@@ -146,6 +146,8 @@FTYPE_FB ,FTYPE_MEM ,FTYPE_SAVEFILE , +FTYPE_TPMFRONT , + FTYPE_TPM_TIS, };#define MAX_EVTCHN_PORTS 16
@@ -177,6 +179,7 @@ } tap;struct {struct blkfront_dev *dev; +off_t offset; } blk;struct {struct kbdfront_dev *dev;
@@ -187,6 +190,16 @@struct {struct consfront_dev *dev; } cons; +struct { +struct tpmfront_dev *dev; +int respgot; +off_t offset; + } tpmfront; +struct { +struct tpm_chip *dev; +int respgot; +off_t offset; + } tpm_tis;struct {/* To each xenbus FD is associated a queue of watch events for this * FD. */
extras/mini-os/include/tpmback.h +109 -0
109 lines not on this page · raw message
extras/mini-os/include/tpmfront.h +107 -0
107 lines not on this page · raw message
extras/mini-os/include/tpm_tis.h +75 -0
75 lines not on this page · raw message
extras/mini-os/Makefile +28 -5
@@ -79,13 +79,36 @@ OBJS := $(filter-out $(OBJ_DIR)/lwip%.o $(LWO), $(OBJS)) ifeq ($(libc),y) -APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libxc-$(XEN_TARGET_ARCH) -whole-archive -lxenguest -lxenctrl -no-whole-archive -APP_LDLIBS += -lpci -APP_LDLIBS += -lz -APP_LDLIBS += -lm -LDLIBS += -lc + APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libxc-$(XEN_TARGET_ARCH) -whole-archive -lxenguest -lxenctrl -no-whole-archive + APP_LDLIBS += -lpci + APP_LDLIBS += -lz + APP_LDLIBS += -lm + LDLIBS += -lc endif +ifeq ($(vtpm),y) + APP_LDLIBS := $(filter-out -lpci, $(APP_LDLIBS)) + APP_LDLIBS += -lgmp + #FIXME: Need to remove unneeded drivers from vtpm + #OBJS := $(filter-out $(OBJ_DIR)/fs-front.o, $(OBJS)) + #OBJS := $(filter-out $(OBJ_DIR)/daytime.o, $(OBJS)) + #OBJS := $(filter-out $(OBJ_DIR)/pcifront.o, $(OBJS)) + #OBJS := $(filter-out $(OBJ_DIR)/netfront.o, $(OBJS)) + #OBJS := $(filter-out $(OBJ_DIR)/fbfront.o, $(OBJS)) +endif + +ifeq ($(vtpmmgr),y) + APP_LDLIBS := $(filter-out -lpci, $(APP_LDLIBS)) + APP_LDLIBS := -lvtsp -ltcpaCrypto -lTCS -lTCGUtils -lcrypto $(APP_LDLIBS) + #FIXME: Need to remove unneeded drivers from vtpmmgr + #OBJS := $(filter-out $(OBJ_DIR)/fs-front.o, $(OBJS)) + #OBJS := $(filter-out $(OBJ_DIR)/daytime.o, $(OBJS)) + #OBJS := $(filter-out $(OBJ_DIR)/pcifront.o, $(OBJS)) + #OBJS := $(filter-out $(OBJ_DIR)/fbfront.o, $(OBJS)) + #OBJS := $(filter-out $(OBJ_DIR)/netfront.o, $(OBJS)) +endif + + ifneq ($(APP_OBJS)-$(lwip),-y) OBJS := $(filter-out $(OBJ_DIR)/daytime.o, $(OBJS)) endif
extras/mini-os/tpmback.c +1128 -0
1,128 lines not on this page · raw message
extras/mini-os/tpmfront.c +619 -0
619 lines not on this page · raw message
extras/mini-os/tpm_tis.c +1368 -0
890 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Part of the diff is not shown here. View the raw message.