qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [SeaBIOS] [RFC PATCH 0/2] Allow RedHat PCI bridges rese


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [SeaBIOS] [RFC PATCH 0/2] Allow RedHat PCI bridges reserve more buses than necessary during init
Date: Fri, 21 Jul 2017 14:42:32 +0200

On Fri, 2017-07-21 at 15:15 +0300, Marcel Apfelbaum wrote:
> On 21/07/2017 13:04, Gerd Hoffmann wrote:
> >    Hi,
> > 
> > > > What about window sizes?  IIRC there was a plan to provide
> > > > allocation
> > > > hints for them too ...
> > > 
> > > Yes, is in my TODO list, however not as part of Aleksandr's
> > > series
> > > which aims to provide PCIe-PCI bridge hotplug support.
> > 
> > I'd prefer to have a single vendor capability for all resource
> > allocation hints provided by qemu.
> > 
> 
> [Adding Laszlo]
> 
> 
> Sure, the capability looking something like:
> 
>     [flags: reserve-buses|reserve-IO|reserve-MEM|...]
>     [extra-buses][IO-size][MEM-size]
> 
>     if reserve-buses -> use 'extra-buses' value and so on

Do we need the flags?  We can use "value == 0 -> no hint for you".
Also what about prefetchable vs. non-prefetchable memory?  I guess we
want a size hint for both memory windows?

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]