Re: [PATCH v4 0/5] PCI endpoint 64-bit BAR fixes

2018-03-20 Thread Niklas Cassel
On Mon, Mar 19, 2018 at 04:52:34PM +, Lorenzo Pieralisi wrote: > On Thu, Mar 08, 2018 at 02:33:25PM +0100, Niklas Cassel wrote: > > PCI endpoint fixes to improve the way 64-bit BARs are handled. > > > > > > There are still future improvements that could be made: > > > > pci-epf-test.c

Re: [PATCH v4 0/5] PCI endpoint 64-bit BAR fixes

2018-03-20 Thread Niklas Cassel
On Mon, Mar 19, 2018 at 04:52:34PM +, Lorenzo Pieralisi wrote: > On Thu, Mar 08, 2018 at 02:33:25PM +0100, Niklas Cassel wrote: > > PCI endpoint fixes to improve the way 64-bit BARs are handled. > > > > > > There are still future improvements that could be made: > > > > pci-epf-test.c

Re: [PATCH v4 0/5] PCI endpoint 64-bit BAR fixes

2018-03-19 Thread Lorenzo Pieralisi
On Thu, Mar 08, 2018 at 02:33:25PM +0100, Niklas Cassel wrote: > PCI endpoint fixes to improve the way 64-bit BARs are handled. > > > There are still future improvements that could be made: > > pci-epf-test.c always allocates space for > 6 BARs, even when using 64-bit BARs (which > really only

Re: [PATCH v4 0/5] PCI endpoint 64-bit BAR fixes

2018-03-19 Thread Lorenzo Pieralisi
On Thu, Mar 08, 2018 at 02:33:25PM +0100, Niklas Cassel wrote: > PCI endpoint fixes to improve the way 64-bit BARs are handled. > > > There are still future improvements that could be made: > > pci-epf-test.c always allocates space for > 6 BARs, even when using 64-bit BARs (which > really only

[PATCH v4 0/5] PCI endpoint 64-bit BAR fixes

2018-03-08 Thread Niklas Cassel
PCI endpoint fixes to improve the way 64-bit BARs are handled. There are still future improvements that could be made: pci-epf-test.c always allocates space for 6 BARs, even when using 64-bit BARs (which really only requires us to allocate 3 BARs). pcitest.sh will print "NOT OKAY" for BAR1,

[PATCH v4 0/5] PCI endpoint 64-bit BAR fixes

2018-03-08 Thread Niklas Cassel
PCI endpoint fixes to improve the way 64-bit BARs are handled. There are still future improvements that could be made: pci-epf-test.c always allocates space for 6 BARs, even when using 64-bit BARs (which really only requires us to allocate 3 BARs). pcitest.sh will print "NOT OKAY" for BAR1,