Kevin O'Connor 于2018年9月28日周五 上午6:30写道:
>
> On Thu, Sep 27, 2018 at 11:05:13PM +0800, Zihan Yang wrote:
> > Laszlo Ersek 于2018年9月26日周三 上午1:17写道:
> > > First, I fail to see the use case where ~256 PCI bus numbers aren't
> > > enough. If I strain myself, pe
Dr. David Alan Gilbert 于2018年9月28日周五 上午1:53写道:
>
> * Zihan Yang (whois.zihan.y...@gmail.com) wrote:
> > HI Laszlo
> > Laszlo Ersek 于2018年9月26日周三 上午1:17写道:
> > >
> > > On 09/25/18 17:38, Kevin O'Connor wrote:
> > > > On Mon, Sep 17, 2018 at 11
HI Laszlo
Laszlo Ersek 于2018年9月26日周三 上午1:17写道:
>
> On 09/25/18 17:38, Kevin O'Connor wrote:
> > On Mon, Sep 17, 2018 at 11:02:59PM +0800, Zihan Yang wrote:
> >> To support multiple pci domains of pxb-pcie device in qemu, we need to
> >> setup
> >&g
ver 4g placement can be expected in future version.
v2 <- v1
- Fix bugs in filtering domains when traversing pci devices
- Reformat some hardcoded codes, such as probing the pci device in pci_setup
Zihan Yang (1):
pciinit: setup mcfg for pxb-pcie to support multiple pci domains
src/fw/dev
, which also
enables us to support more domains within a limited range (768MB)
Signed-off-by: Zihan Yang
---
src/fw/dev-q35.h | 7 +++
src/fw/pciinit.c | 32
src/hw/pci_ids.h | 1 +
3 files changed, 40 insertions(+)
diff --git a/src/fw/dev-q35.h b/src/fw
Gerd Hoffmann 于2018年8月28日周二 上午10:15写道:
>
> Hi,
>
> > > Where is the pxb-pcie device? :$somewhere? Or $domain:00:00.0?
> >
> > :$somewhere (On PCI domain 0)
>
> Cool, so we don't have an chicken-and-egg issue.
>
> > > If we can access pxb-pcie registers before configuring MMCFG then ye
CCed to the wrong mailing list... resend here
-- Forwarded message -
From: Zihan Yang
Date: 2018年8月28日周二 上午4:12
Subject: Re: [SeaBIOS] [RFC v2 0/3] Support multiple pci domains in pci_device
To: Gerd Hoffmann
Cc: , Marcel Apfelbaum
Gerd Hoffmann 于2018年8月27日周一 上午7:04写道
Marcel Apfelbaum 于2018年8月25日周六 下午4:11写道:
>
>
>
> On 08/09/2018 08:43 AM, Zihan Yang wrote:
> > 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 an
Marcel Apfelbaum 于2018年8月25日周六 下午7:53写道:
>
>
>
> 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.
> >
> > F
Marcel Apfelbaum 于2018年8月25日周六 下午4:07写道:
>
> 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
-- Forwarded message -
From: Zihan Yang
Date: 2018年8月21日周二 上午10:34
Subject: Re: [SeaBIOS] Fwd: [RFC 0/2] (Ongoing)Support multiple pci
domains in pci_device
To: Kevin OConnor
Kevin O'Connor 于2018年8月21日周二 上午4:24写道:
>
> On Thu, Aug 09, 2018 at 07:44:22AM +0800, Zihan
NDOR_ID_REDHAT) {
> > +dprintf(1, "PCI: QEMU resource reserve cap vendor ID doesn't
> > match.\n");
> > +return 0;
> > +}
> > +
> > +device_id = pci_config_readw(bdf, PCI_DEVICE_ID);
>
> Enable the firmware recognizing RedHat legacy PCI bridge device ID,
> so QEMU can reserve additional PCI bridge resource capability.
>
> Signed-off-by: Jing Liu
> ---
> src/fw/pciinit.c | 50 +-
> src/hw/pci_ids.h | 1 +
> 2 files changed, 30 in
in a different domain.
Signed-off-by: Zihan Yang
---
src/fw/coreboot.c | 2 +-
src/fw/csm.c | 2 +-
src/fw/paravirt.c | 2 +-
src/fw/pciinit.c | 261 ++---
src/hw/pci.c | 69 +++---
src/hw/pci.h | 42
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
such as probing the pci device in pci_setup
Zihan Yang (3):
fw/pciinit: Recognize pxb-pcie-dev device
pci_device: Add pci domain support
pci: filter undesired domain when traversing pci
src/fw/coreboot.c| 2 +-
src/fw/csm.c | 2 +-
src/fw/mptable.c | 1 +
src/fw/pa
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
[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 pos
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
not in PCI
Namespace" warning, and it does not correctly recognize the bus under
host bridges other than q35. If you have any clue about this error, please
point me out, I will appreciate it.
Zihan Yang (2):
fw/pciinit: Recognize pxb-pcie-dev device
pci_device: Add pci domain support
src/fw/co
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
21 matches
Mail list logo