Re: [tboot-devel] tboot, TPM 2.0 on Dell PowerEdge R730

2020-01-24 Thread Paul Moore
On Fri, Jan 24, 2020 at 1:52 PM Christopher Clark wrote: > On Tue, Jan 21, 2020 at 12:32 AM Lukasz Hawrylko > wrote: > > > > On Wed, 2020-01-15 at 18:36 -0800, Christopher Clark wrote: > > > Hello > > > > > > I am trying to boot with tboot and TPM 2.0 on a Dell PowerEdge R730 > > > and encounteri

Re: [tboot-devel] tboot, TPM 2.0 on Dell PowerEdge R730

2020-01-24 Thread Christopher Clark
On Tue, Jan 21, 2020 at 12:32 AM Lukasz Hawrylko wrote: > > On Wed, 2020-01-15 at 18:36 -0800, Christopher Clark wrote: > > Hello > > > > I am trying to boot with tboot and TPM 2.0 on a Dell PowerEdge R730 > > and encountering reboot at SENTER every time with the following: > > > > TBOOT: TXT.ERRO

[tboot-devel] [PATCH 2/2] safestringlib: fix warnings with GCC 6.4.0

2020-01-24 Thread Christopher Clark
Allow compilation with -Werror, which is enabled by default in OpenEmbedded. -Wunused-parameter fixes are macro related. -Wswitch-default fixes fall-throughs in format parsing that would be caught during compilation by GCC (invalid formats). -Wdiscarded-qualifiers fixes add missing const ar

[tboot-devel] [PATCH 1/1] Config.mk, safestringlib/makefile : allow tool overrides

2020-01-24 Thread Christopher Clark
To simplify integration of tboot into build systems such as OpenEmbeddded, use softer assignments and appends to define the build tool and flag variables. Signed-off-by: Christopher Clark This patch is based on an OpenXT patch by Eric Chanudet: https://github.com/OpenXT/xenclient-oe/blob/fc13893

Re: [tboot-devel] Confused about the TXT register values

2020-01-24 Thread Martin Galvan
I just ran the same tool on a Supermicro system which I'm positive has TXT, and am now seeing the following (with TXT disabled): Intel(r) TXT Configuration Registers: STS: 0x0002 senter_done: FALSE sexit_done: TRUE mem_config_lock: FALSE private_open: FALSE

Re: [tboot-devel] Confused about the TXT register values

2020-01-24 Thread Martin Galvan
El vie., 24 ene. 2020 a las 11:34, Lukasz Hawrylko () escribió: > I see that your SINIT.BASE and HEAP.BASE registers have all zeros, did > you enable TXT in BIOS? I guess that txt-stat may not check if TXT is > enabled before reading TXT related registers, that's why you can have > strange, random

Re: [tboot-devel] Confused about the TXT register values

2020-01-24 Thread Lukasz Hawrylko
On Thu, 2020-01-23 at 14:41 -0300, Martin Galvan wrote: > Hi all, > > I just ran txt-stat on a system which has an IceLake CPU and a 495 > Series PCH, and am seeing the following output: > > Intel(r) TXT Configuration Registers: > STS: 0x0003 > senter_done: TRUE > sexit_do