Re: ibmvtpm byteswapping inconsistency

2017-01-26 Thread Ashley Lai
Adding Vicky from IBM. On 01/26/2017 04:05 PM, Jason Gunthorpe wrote: On Thu, Jan 26, 2017 at 09:22:48PM +0100, Michal Such??nek wrote: This is repeated a few times in the driver so I added memset to quiet gcc and make behavior deterministic in case the unused fields get some meaning in the

Re: [PATCH 1/1] drivers/char/tpm: remove tasklet and cleanup

2012-09-27 Thread Ashley Lai
2012, Ashley Lai wrote: This patch removed the tasklet and moved the wait queue into the private structure. It also cleaned up the response CRQ path. Signed-off-by: Ashley Lai ad...@us.ibm.com Kent: any comment on this? You should probably push this to me

[PATCH 1/1] drivers/char/tpm: remove tasklet and cleanup

2012-09-12 Thread Ashley Lai
This patch removed the tasklet and moved the wait queue into the private structure. It also cleaned up the response CRQ path. Signed-off-by: Ashley Lai ad...@us.ibm.com --- James, This patch is based on your next branch. git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git

Re: [PATCH V3 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-09-05 Thread Ashley Lai
, Ben. Thanks, --Ashley Lai ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH V3 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-08-22 Thread Ashley Lai
functionalities by communicating with the vTPM adjunct partition through Hypervisor calls (Hcalls) and Command/Response Queue (CRQ) commands. Signed-off-by: Ashley Lai ad...@us.ibm.com --- Oopps... I forgot to remove some invalid comments. Please use this patch for 1/3. drivers/char/tpm/Kconfig

[PATCH V3 0/3] tpm: Add new vTPM device driver for PPC64

2012-08-14 Thread Ashley Lai
-tpmdd-staging Ashley Lai (3): drivers/char/tpm: Add new device driver to support IBM vTPM PPC64: Add support for instantiating SML from Open Firmware drivers/char/tpm: Add securityfs support for event log arch/powerpc/kernel/prom_init.c | 62 drivers/char/tpm/Kconfig|8

[PATCH V3 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-08-14 Thread Ashley Lai
functionalities by communicating with the vTPM adjunct partition through Hypervisor calls (Hcalls) and Command/Response Queue (CRQ) commands. Signed-off-by: Ashley Lai ad...@us.ibm.com --- drivers/char/tpm/Kconfig |8 + drivers/char/tpm/Makefile |1 + drivers/char/tpm/tpm.h

[PATCH V3 3/3] drivers/char/tpm: Add securityfs support for event log

2012-08-14 Thread Ashley Lai
This patch retrieves the event log data from the device tree during file open. The event log data will then displayed through securityfs. Signed-off-by: Ashley Lai ad...@us.ibm.com --- drivers/char/tpm/Makefile |5 +++ drivers/char/tpm/tpm.h | 12 -- drivers/char/tpm

[PATCH V3 2/3] PPC64: Add support for instantiating SML from Open Firmware

2012-08-14 Thread Ashley Lai
This patch instantiate Stored Measurement Log (SML) and put the log address and size in the device tree. Signed-off-by: Ashley Lai ad...@us.ibm.com --- arch/powerpc/kernel/prom_init.c | 62 +++ 1 files changed, 62 insertions(+), 0 deletions(-) diff --git

Re: [PATCH V2 3/3] drivers/char/tpm: Add securityfs support for event log

2012-08-13 Thread Ashley Lai
Thank you so much for reviewing the code. Please see my reply below. On Fri, 2012-08-10 at 17:23 +1000, Michael Ellerman wrote: On Thu, 2012-08-09 at 18:13 -0500, Ashley Lai wrote: This patch retrieves the event log data from the device tree during file open. The event log data

Re: [PATCH 3/3] drivers/char/tpm: Add securityfs support for event log

2012-08-09 Thread Ashley Lai
Hi Kent, Thanks for looking into it. I'll fix in the next version. Sorry if you got this message twice. I have some issues with my mail server. Thanks, --Ashley Lai ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https

[PATCH V2 0/3] tpm: Add new vTPM device driver for PPC64

2012-08-09 Thread Ashley Lai
release 740 or higher). Tested on Power7+ system with firmware level ZM770_001. Applied to Kent Yoder patch to modularize event log located at: https://github.com/shpedoikal/linux/tree/tpmdd-next Ashley Lai (3): drivers/char/tpm: Add new device driver to support IBM vTPM PPC64: Add support

[PATCH V2 2/3] PPC64: Add support for instantiating SML from Open Firmware

2012-08-09 Thread Ashley Lai
This patch instantiate Stored Measurement Log (SML) and put the log address and size in the device tree. Signed-off-by: Ashley Lai ad...@us.ibm.com --- arch/powerpc/kernel/prom_init.c | 64 +++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git

[PATCH V2 3/3] drivers/char/tpm: Add securityfs support for event log

2012-08-09 Thread Ashley Lai
This patch retrieves the event log data from the device tree during file open. The event log data will then displayed through securityfs. Signed-off-by: Ashley Lai ad...@us.ibm.com --- drivers/char/tpm/Makefile |8 - drivers/char/tpm/tpm.h| 12 -- drivers/char

[PATCH V2 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-08-09 Thread Ashley Lai
functionalities by communicating with the vTPM adjunct partition through Hypervisor calls (Hcalls) and Command/Response Queue (CRQ) commands. Signed-off-by: Ashley Lai ad...@us.ibm.com --- drivers/char/tpm/Kconfig |8 + drivers/char/tpm/Makefile |1 + drivers/char/tpm/tpm.h

[PATCH 0/3] tpm: Add new vTPM device driver for PPC64

2012-08-07 Thread Ashley Lai
/linux/tree/tpmdd-next Ashley Lai (3): drivers/char/tpm: Add new device driver to support IBM vTPM PPC64: Add support for instantiating SML from Open Firmware drivers/char/tpm: Add securityfs support for event log arch/powerpc/kernel/prom_init.c | 64 drivers/char/tpm/Kconfig

[PATCH 2/3] PPC64: Add support for instantiating SML from Open Firmware

2012-08-07 Thread Ashley Lai
This patch instantiate Stored Measurement Log (SML) and put the log address and size in the device tree. Signed-off-by: Ashley Lai ad...@us.ibm.com --- arch/powerpc/kernel/prom_init.c | 64 +++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git

[PATCH 3/3] drivers/char/tpm: Add securityfs support for event log

2012-08-07 Thread Ashley Lai
This patch retrieves the event log from the device tree and the event log data will be displayed through securityfs. Signed-off-by: Ashley Lai ad...@us.ibm.com --- drivers/char/tpm/Makefile |8 - drivers/char/tpm/tpm.h| 12 -- drivers/char/tpm/tpm_eventlog.c

[PATCH 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-08-07 Thread Ashley Lai
This patch adds a new device driver to support IBM virtual TPM (vTPM) for PPC64. This driver provides TPM functionalities by communicating with the vTPM adjunct through Hypervisor calls (Hcalls) and Command/Response Queue (CRQ) commands. Signed-off-by: Ashley Lai ad...@us.ibm.com --- drivers