[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resourc
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources |
Date: |
Mon, 17 Feb 2014 13:05:12 +0200 |
On Mon, Feb 17, 2014 at 11:46:13AM +0100, Gerd Hoffmann wrote:
> On Mo, 2014-02-17 at 12:28 +0200, Michael S. Tsirkin wrote:
> > On Mon, Feb 17, 2014 at 09:32:35AM +0100, Gerd Hoffmann wrote:
> > > On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote:
> > > > On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote:
> > > > > Since introduction of PCIHP, it became problematic to
> > > > > punch hole in PCI0._CRS statically since PCI hotplug
> > > > > region size became runtime changeable.
> > > >
> > > > What makes it runtime changeable?
> > >
> > > machine type. q35 / piix map them at different locations.
> >
> > That's not dynamic. We can load the correct ones per DSDT.
> >
> > > Also we might want to this also for devices which are
> > > runtime-configurable (isa-debugcon, pvpanic, ...).
> >
> > That's more convincing, but I don't want
> > knowledge of all these devices in acpi-build.
> > Also we need to make seabios avoid these ranges
> > when enumerating devices.
> > How does it know to avoid them ATM?
>
> seabios maps io ports @ 0xc000 up.
> recently it has changed to use 0x1000 -> 0xa000 region
> in case the hole above 0xc000 is too small.
>
> In other words: It doesn't map anything below 0x1000 and it avoids
> 0xa000 -> 0xbfff. Hardcoded. I want lift the later restriction on q35,
> by moving pmbase (0xb000 atm) out of the way, so seabios can use the
> whole 0x1000 -> 0xffff range, but that is still wip.
>
> cheers,
> Gerd
>
okay so we'll want some fwcfg for that correct?
whatever fills that, can share logic with acpi
generation :)
That might or might not make it dynamic enough to make it worth
bothering - alternative is just two version of acpi
depending on machine type.
--
MST
- Re: [Qemu-devel] [RFC 6/9] acpi: consume GPE0 IO resources in PNP0C02 device, (continued)
- [Qemu-devel] [RFC 7/9] acpi: consume CPU hotplug IO resource in PNP0C02 device, Igor Mammedov, 2014/02/07
- [Qemu-devel] [RFC 8/9] pcihp: expose PCI hotplug MMIO base/length as properties of piix4pm, Igor Mammedov, 2014/02/07
- [Qemu-devel] [RFC 9/9] acpi: consume PCIHP IO resource in PNP0C02 device, Igor Mammedov, 2014/02/07
- Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources, Michael S. Tsirkin, 2014/02/16
- Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources, Igor Mammedov, 2014/02/18
- Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources, Laszlo Ersek, 2014/02/18
- Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources, Igor Mammedov, 2014/02/19
Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources, Igor Mammedov, 2014/02/17
Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources, Gerd Hoffmann, 2014/02/17