Re: [SeaBIOS] [PATCH v2 1/3] pci: fix the return value for truncated capability

2018-08-25 Thread Marcel Apfelbaum
On 08/16/2018 05:32 AM, Jing Liu wrote: Return zero when finding truncated capability. Signed-off-by: Jing Liu --- src/fw/pciinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c index 3a2f747..d2cea2b 100644 --- a/src/fw/pciinit.c +++

Re: [SeaBIOS] [PATCH v2 2/3] pci: clean up the debug message for pci capability found

2018-08-25 Thread Marcel Apfelbaum
On 08/16/2018 05:32 AM, Jing Liu wrote: Improve the debug message when QEMU resource reserve cap is not found and when the vendor-id or device-id does't match REDHAT special ones. Signed-off-by: Jing Liu --- src/fw/pciinit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

Re: [SeaBIOS] [PATCH v3 3/3] pci: recognize RH PCI legacy bridge resource reservation capability

2018-08-25 Thread Marcel Apfelbaum
On 08/24/2018 11:53 AM, Jing Liu wrote: Enable the firmware recognizing RedHat legacy PCI bridge device ID, so QEMU can reserve additional PCI bridge resource capability. Change the debug level lower to 3 when it is non-QEMU bridge. Signed-off-by: Jing Liu --- src/fw/pciinit.c | 50

Re: [SeaBIOS] [RFC v2 0/3] Support multiple pci domains in pci_device

2018-08-25 Thread Marcel Apfelbaum
Hi, On 08/09/2018 08:43 AM, Zihan Yang wrote: Currently seabios assumes there is only one pci domain(0), and almost everything operates on pci domain 0 by default. This patch aims to add multiple pci domain support for pci_device, while reserve the original API for compatibility. This is a

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

2018-08-25 Thread Marcel Apfelbaum
On 08/09/2018 08:43 AM, Zihan Yang wrote: Most part of seabios assume only PCI domain 0. This patch adds support for multiple domain in pci devices, which involves some API changes. For compatibility, interfaces such as pci_config_read[b|w|l] still exist so that existing domain 0 devices