[PATCH v2 3/3] vTPM: get the buffer allocated for event log instead of the actual log

2015-10-07 Thread Hon Ching(Vicky) Lo
The OS should ask Power Firmware (PFW) for the size of the buffer allocated for the event log, instead of the size of the actual event log. It then passes the buffer adddress and size to PFW in the handover process, into which PFW copies the log. Signed-off-by: Hon Ching(Vicky) Lo --- arch/powe

[PATCH v2 3/3] vTPM: get the buffer allocated for event log instead of the actual log

2015-10-07 Thread Hon Ching(Vicky) Lo
The OS should ask Power Firmware (PFW) for the size of the buffer allocated for the event log, instead of the size of the actual event log. It then passes the buffer adddress and size to PFW in the handover process, into which PFW copies the log. Signed-off-by: Hon Ching(Vicky) Lo --- arch/powe