Re: [PATCH kvmtool 06/16] pci: Fix ioport allocation size

2019-04-04 Thread Andre Przywara
On Thu, 7 Mar 2019 08:36:07 + Julien Thierry wrote: > The PCI Local Bus Specification, Rev. 3.0, > Section 6.2.5.1. "Address Maps" states: > "Devices that map control functions into I/O Space must not consume more > than 256 bytes per I/O Base Address register." > > Yet all the PCI devices

[PATCH kvmtool 06/16] pci: Fix ioport allocation size

2019-03-07 Thread Julien Thierry
The PCI Local Bus Specification, Rev. 3.0, Section 6.2.5.1. "Address Maps" states: "Devices that map control functions into I/O Space must not consume more than 256 bytes per I/O Base Address register." Yet all the PCI devices allocate IO ports of IOPORT_SIZE (= 1024 bytes). Fix this by having