[SeaBIOS] [RFC 2/2] pci_device: Add pci domain support

2018-08-01 Thread Zihan Yang
Most part of seabios assume only PCI domain 0. This patch adds support for multiple domain in pci devices Signed-off-by: Zihan Yang --- src/fw/coreboot.c | 2 +- src/fw/csm.c | 2 +- src/fw/paravirt.c | 2 +- src/fw/pciinit.c | 191 +---

[SeaBIOS] [RFC 0/2] (Ongoing)Support multiple pci domains in pci_device

2018-08-01 Thread Zihan Yang
NOTE: This patch set is still ongoing and does not fully function as its goal. But it involves some API changes, therefore I post them for comments before moving on to make sure I'm on the right path. The corresponding qemu part can be found at https://gitlab.com/WhoisZihan/qemu-pci-domain/tree/ma

[SeaBIOS] [RFC 1/2] fw/pciinit: Recognize pxb-pcie-dev device

2018-08-01 Thread Zihan Yang
QEMU q35 uses pxb-pcie-dev to enable multiple host bridges, this patch recognizes such devices in seabios and add corresponding e820 entry. MCFG base and size are already setup in QEMU, we just need to read it Signed-off-by: Zihan Yang --- src/fw/paravirt.c | 1 - src/fw/pciinit.c | 17 ++

Re: [SeaBIOS] TPM 2.0 with SeaBIOS

2018-08-01 Thread Piotr Kubaj
Hi, I upgraded to latest master and the error is gone. It looks like only 1.11.2 is affected. On 18-07-30 11:28:27, Stefan Berger wrote: On 07/27/2018 07:43 PM, Kevin O'Connor wrote: On Sat, Jul 21, 2018 at 08:11:14PM +0200, Piotr Kubaj wrote: Hi, I use SeaBIOS 1.11.2 as payload with 4.8-83