[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port |
Date: |
Wed, 26 Jul 2017 07:29:04 +0200 |
Hi,
> > Gerd's suggestion was to set min(cap_value, children_found). From
> > suchÂ
> > point of view 0 can be a valid value.
> >
>
> I am lost now :)
> How can we use the capability to reserve "more" buses since
> children-found will be always the smaller value?
>
> I think you should use max(cap_value, children_found) to
> ensure you always reserve enough buses for existing children.
Was about to point out the same ;)
Yes, should be max(reserve-buses, child-buses-found). And reserve-
buses is actually a minimum, because the result can't be smaller than
reserve-buses.
cheers,
Gerd
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, (continued)
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, Michael S. Tsirkin, 2017/07/25
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, Alexander Bezzubikov, 2017/07/25
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, Michael S. Tsirkin, 2017/07/25
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, Alexander Bezzubikov, 2017/07/25
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, Marcel Apfelbaum, 2017/07/25
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, Alexander Bezzubikov, 2017/07/25
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, Marcel Apfelbaum, 2017/07/26
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port,
Gerd Hoffmann <=
- Re: [Qemu-devel] [RFC PATCH v2 5/6] hw/pci: add bus_reserve property to pcie-root-port, Michael S. Tsirkin, 2017/07/28
[Qemu-devel] [RFC PATCH v2 6/6] hw/pci: add hint capabilty for additional bus reservation to pcie-root-port, Aleksandr Bezzubikov, 2017/07/22