Re: [SeaBIOS] [PATCH] pci: add RedHat PCI BRIDGE capability

2018-08-08 Thread Laszlo Ersek
On 08/08/18 05:24, Liu, Jing2 wrote: > On 8/7/2018 7:43 PM, Laszlo Ersek wrote: >> On 08/07/18 09:20, Jing Liu wrote: [snip] >>> -    if (pci_config_readw(bdf, PCI_VENDOR_ID) == PCI_VENDOR_ID_REDHAT && >>> -    pci_config_readw(bdf, PCI_DEVICE_ID) == >>> -    PCI_DEVICE_ID_REDHAT_

Re: [SeaBIOS] Marvell 88SE9230 passthrough in KVM takes long time to boot

2018-08-08 Thread Gerd Hoffmann
On Sun, Jul 29, 2018 at 01:49:10PM +0200, Konrad Eisele wrote: > I'm passing through a Marvell 88SE9230 card to a KVM guest under > Ubuntu 18.04. The card is a Sata controller with 4 ports. > The option rom of the Marvell 88SE9230 card shows on a normal boot a > bios screen. When pressing CTRL-m qu

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

2018-08-08 Thread Kevin O'Connor
On Thu, Aug 02, 2018 at 10:39:13AM +0800, Zihan Yang wrote: > 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

[SeaBIOS] Problem with boot coreboot

2018-08-08 Thread zahra rahimkhani
Hello friends I compiled coreboot and seabios based on https://review.coreboot.org/cgit/board-status.git/plain/intel/minnowmax/4.5-306-g00ad7ff/2016-11-17T17_00_43Z/ but my Freebsd or grub2 or Debian or ubuntu did not boot and it shows this message. Running option rom at c000:0003 Turning on v

Re: [SeaBIOS] Marvell 88SE9230 passthrough in KVM takes long time to boot

2018-08-08 Thread Alex Williamson
On Wed, 8 Aug 2018 14:11:16 +0200 Gerd Hoffmann wrote: > On Sun, Jul 29, 2018 at 01:49:10PM +0200, Konrad Eisele wrote: > > I'm passing through a Marvell 88SE9230 card to a KVM guest under > > Ubuntu 18.04. The card is a Sata controller with 4 ports. > > The option rom of the Marvell 88SE9230 car

Re: [SeaBIOS] Problem with boot coreboot

2018-08-08 Thread Mike Banon
Dear friend, have you tried this advice (given at your coreboot thread) : For the beginning, I recommend you to check if you could boot anything at all. In example, try making an Ubuntu LiveUSB from a spare USB flash drive, and using SeaBIOS try booting from it. If it is working, you could also tr

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

2018-08-08 Thread Zihan Yang
[forgot to cc to the mail list] Kevin O'Connor 于2018年8月8日周三 下午10:14写道: > > On Thu, Aug 02, 2018 at 10:39:13AM +0800, Zihan Yang wrote: > > 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 be

Re: [SeaBIOS] [PATCH] pci: add RedHat PCI BRIDGE capability

2018-08-08 Thread Liu, Jing2
On 8/8/2018 6:44 PM, Laszlo Ersek wrote: On 08/08/18 05:24, Liu, Jing2 wrote: On 8/7/2018 7:43 PM, Laszlo Ersek wrote: On 08/07/18 09:20, Jing Liu wrote: [snip] -    if (pci_config_readw(bdf, PCI_VENDOR_ID) == PCI_VENDOR_ID_REDHAT && -    pci_config_readw(bdf, PCI_DEVICE_ID) == - 

[SeaBIOS] enable log path of devices in seabios

2018-08-08 Thread zahra rahimkhani
Hello Friends I want to enable a log that show path of devices that by seabios was recognize . this paths are different from boot default paths. Could you suggest me a advice? Thank you, Zahra ___ SeaBIOS mailing list SeaBIOS@seabios.org https://mail

[SeaBIOS] [RFC v2 3/3] pci: filter undesired domain when traversing pci

2018-08-08 Thread Zihan Yang
Since pci devices could reside in different domains now, we should judge the domain of pci devices when traversing them. Original devices still use domain 0 for compatibility Signed-off-by: Zihan Yang --- src/fw/mptable.c | 1 + src/fw/pciinit.c | 10 -- src/hw/ahci.c|

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

2018-08-08 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 ++

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

2018-08-08 Thread Zihan Yang
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. The reason to get seabios involved is that the pxb-pcie host bu

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

2018-08-08 Thread Zihan Yang
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 needs no modification, but whenever a device wants