Re: [Qemu-devel] [PATCH v10 3/6] tpm: allocate/map buffer for TPM Physical Presence interface

2018-09-05 Thread Igor Mammedov
On Wed, 5 Sep 2018 12:21:39 +0400 Marc-André Lureau wrote: > Hi > > On Tue, Sep 4, 2018 at 10:51 AM Igor Mammedov wrote: > > > > On Mon, 03 Sep 2018 23:48:15 +0200 > > Juan Quintela wrote: > > > > > Marc-André Lureau wrote: > > > > Hi > > > > > > > > On Fri, Aug 31, 2018 at 7:32 PM Marc-André

Re: [Qemu-devel] [PATCH v10 3/6] tpm: allocate/map buffer for TPM Physical Presence interface

2018-09-05 Thread Juan Quintela
Marc-André Lureau wrote: Hi >> > Physical RAM is multiple of TARGET_PAGE_SIZE O:-) >> > That assumtion is held in too many places, if you can change the size to >> > be multiple of page size, that would be greate. > > It needs the RAMBlock to be a multiple of TARGET_PAGE_SIZE, but the > memory re

Re: [Qemu-devel] [PATCH v10 3/6] tpm: allocate/map buffer for TPM Physical Presence interface

2018-09-05 Thread Marc-André Lureau
Hi On Tue, Sep 4, 2018 at 10:51 AM Igor Mammedov wrote: > > On Mon, 03 Sep 2018 23:48:15 +0200 > Juan Quintela wrote: > > > Marc-André Lureau wrote: > > > Hi > > > > > > On Fri, Aug 31, 2018 at 7:32 PM Marc-André Lureau > > > wrote: > > >> > > >> From: Stefan Berger > > >> > > >> Implement a

Re: [Qemu-devel] [PATCH v10 3/6] tpm: allocate/map buffer for TPM Physical Presence interface

2018-09-03 Thread Igor Mammedov
On Mon, 03 Sep 2018 23:48:15 +0200 Juan Quintela wrote: > Marc-André Lureau wrote: > > Hi > > > > On Fri, Aug 31, 2018 at 7:32 PM Marc-André Lureau > > wrote: > >> > >> From: Stefan Berger > >> > >> Implement a virtual memory device for the TPM Physical Presence interface. > >> The memory is

Re: [Qemu-devel] [PATCH v10 3/6] tpm: allocate/map buffer for TPM Physical Presence interface

2018-09-03 Thread Juan Quintela
Marc-André Lureau wrote: > Hi > > On Fri, Aug 31, 2018 at 7:32 PM Marc-André Lureau > wrote: >> >> From: Stefan Berger >> >> Implement a virtual memory device for the TPM Physical Presence interface. >> The memory is located at 0xFED45000 and used by ACPI to send messages to the >> firmware (BIO

Re: [Qemu-devel] [PATCH v10 3/6] tpm: allocate/map buffer for TPM Physical Presence interface

2018-08-31 Thread Marc-André Lureau
Hi On Fri, Aug 31, 2018 at 7:32 PM Marc-André Lureau wrote: > > From: Stefan Berger > > Implement a virtual memory device for the TPM Physical Presence interface. > The memory is located at 0xFED45000 and used by ACPI to send messages to the > firmware (BIOS) and by the firmware to provide param

[Qemu-devel] [PATCH v10 3/6] tpm: allocate/map buffer for TPM Physical Presence interface

2018-08-31 Thread Marc-André Lureau
From: Stefan Berger Implement a virtual memory device for the TPM Physical Presence interface. The memory is located at 0xFED45000 and used by ACPI to send messages to the firmware (BIOS) and by the firmware to provide parameters for each one of the supported codes. This interface should be used