Re: [SeaBIOS] [PATCH v3 4/6] pci: init boot devices only on address space shortage

2011-07-06 Thread Gerd Hoffmann
On 07/05/11 18:23, Michael S. Tsirkin wrote: On Tue, Jul 05, 2011 at 05:27:03PM +0200, Gerd Hoffmann wrote: Try to handle address space shortage by skipping any device which isn't essential for boot. Signed-off-by: Gerd Hoffmannkra...@redhat.com At least in a virt setup, it's much easier to

Re: [SeaBIOS] [PATCH] pci: capability scanning function'

2011-07-06 Thread Michael S. Tsirkin
On Wed, Jul 06, 2011 at 05:03:21PM +0300, Michael S. Tsirkin wrote: Add pci_find_capability to scan capability list. Return 0 on error, capability offset if found. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Not useful by itself, but should be handy if we ever want to look at

Re: [SeaBIOS] [PATCH] pci: capability scanning function'

2011-07-06 Thread Gerd Hoffmann
On 07/06/11 16:57, Michael S. Tsirkin wrote: On Wed, Jul 06, 2011 at 05:03:21PM +0300, Michael S. Tsirkin wrote: Add pci_find_capability to scan capability list. Return 0 on error, capability offset if found. Signed-off-by: Michael S. Tsirkinm...@redhat.com --- Not useful by itself, but

[SeaBIOS] [PATCH V5 0/9] Add TPM support to SeaBIOS

2011-07-06 Thread Stefan Berger
The following set of patches add TPM and Trusted Computing support to SeaBIOS. In particular the patches add: - a TPM driver for the Qemu's TPM TIS emulation (not yet in Qemu git) - ACPI support for the TPM device (SSDT table) - ACPI support for measurement logging (TCPA table) - Support for

[SeaBIOS] [PATCH V5 8/9] Support for Qemu-provided measurements

2011-07-06 Thread Stefan Berger
This patch adds support for measurements provided by Qemu via the firmware interface. In the case where Qemu was started with the -kernel, -initrd and -append command lines, Qemu hashes the kernel and initrd files as well as the command line parameters and provides the measurements to SeaBIOS via

[SeaBIOS] [PATCH V5 6/9] Add measurement code to the BIOS

2011-07-06 Thread Stefan Berger
This patch adds invocactions of functions that measure various parts of the code and data through various parts of the BIOS code. It follows TCG specifications on what needs to be measured. It also adds the implementation of the called functions. Reference for what needs to be measured can be

[SeaBIOS] [PATCH V5 9/9] Optional tests for the TIS interface

2011-07-06 Thread Stefan Berger
This patch adds an optional test suite (CONFIG_TIS_TEST) for the TIS interface to SeaBIOS. If compiled into the BIOS, it can be invoked through the TPM-specific menu item 8. 1. Enable TPM 2. Disable TPM 3. Activate TPM 4. Deactivate TPM 5. Clear ownership 6. Allow installation of owner 7. Prevent

[SeaBIOS] [PATCH V5 4/9] Implementation of the TCG BIOS extensions

2011-07-06 Thread Stefan Berger
This patch implements the main part of the TCG BIOS extensions. It provides the following functionality: - initialization of the TCPA ACPI table used for logging of measurements - initialization of the TPM by sending a sequence of commands to it - proper setup of the TPM once the BIOS hands over

[SeaBIOS] [PATCH V5 3/9] Add public get_rsdp function

2011-07-06 Thread Stefan Berger
This patch adds a global get_rsdp() function call and refactors find_resume_vector() to call it. Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- src/acpi.c | 12 ++-- src/acpi.h |1 + 2 files changed, 11 insertions(+), 2 deletions(-) Index: seabios/src/acpi.c

Re: [SeaBIOS] [PATCH] pci: capability scanning function'

2011-07-06 Thread Michael S. Tsirkin
On Wed, Jul 06, 2011 at 05:43:34PM +0200, Gerd Hoffmann wrote: On 07/06/11 16:57, Michael S. Tsirkin wrote: On Wed, Jul 06, 2011 at 05:03:21PM +0300, Michael S. Tsirkin wrote: Add pci_find_capability to scan capability list. Return 0 on error, capability offset if found. Signed-off-by: