[SeaBIOS] Seabios Xen TPM check

2020-06-11 Thread Jason Andryuk
Hi, SeaBIOS commit 67643955c746 (make SeaBios compatible with Xen vTPM.) made tpm_start() exit before calling tpm_startup(). The commit message has no explanation why this change was made. Does anyone remember why it was made? The code today means SeaBIOS will not populate PCRs when running on

[SeaBIOS] Re: Seabios Xen TPM check

2020-06-11 Thread Jason Andryuk
On Thu, Jun 11, 2020 at 10:32 AM Stefan Berger wrote: > > On 6/11/20 8:36 AM, Jason Andryuk wrote: > > Hi, > > > > SeaBIOS commit 67643955c746 (make SeaBios compatible with Xen vTPM.) > > made tpm_start() exit before calling tpm_startup(). The commit >

[SeaBIOS] [PATCH] Preserve Xen DebugOutputPort

2020-06-16 Thread Jason Andryuk
DebugOutputPort. Signed-off-by: Jason Andryuk --- src/hw/serialio.c | 4 1 file changed, 4 insertions(+) diff --git a/src/hw/serialio.c b/src/hw/serialio.c index 3163344..c6297bc 100644 --- a/src/hw/serialio.c +++ b/src/hw/serialio.c @@ -106,6 +106,10 @@ u16 DebugOutputPort VARFSEG = 0x402; void

[SeaBIOS] Re: [PATCH] Preserve Xen DebugOutputPort

2020-06-22 Thread Jason Andryuk
On Mon, Jun 22, 2020 at 8:40 PM Kevin O'Connor wrote: > > On Tue, Jun 16, 2020 at 10:31:17PM -0400, Jason Andryuk wrote: > > xen_preinit() runs early and changes DebugOutputPort. qemu_preinit() runs > > soon after. inb on DebugOutputPort doesn't work on Xen, so the check &g

[SeaBIOS] Re: [PATCH v2] Preserve Xen DebugOutputPort

2020-06-24 Thread Jason Andryuk
On Wed, Jun 24, 2020 at 11:46 AM Kevin O'Connor wrote: > > On Wed, Jun 24, 2020 at 10:25:13AM -0400, Jason Andryuk wrote: > > xen_preinit() runs early and changes DebugOutputPort. qemu_preinit() runs > > soon after. inb on DebugOutputPort doesn't work on Xen, so the check &g

[SeaBIOS] [PATCH v2] Preserve Xen DebugOutputPort

2020-06-24 Thread Jason Andryuk
DebugOutputPort. Signed-off-by: Jason Andryuk v2 Re-word comment --- src/hw/serialio.c | 4 1 file changed, 4 insertions(+) diff --git a/src/hw/serialio.c b/src/hw/serialio.c index 3163344..fa663b9 100644 --- a/src/hw/serialio.c +++ b/src/hw/serialio.c @@ -106,6 +106,10 @@ u16 DebugOutputPort