Re: [PATCH v2 23/26] PCI: designware-ep: Configure RESBAR to advertise the smallest size

2019-04-16 Thread Lorenzo Pieralisi
On Sat, Apr 13, 2019 at 11:00:53AM -0500, Bjorn Helgaas wrote: > On Mon, Mar 25, 2019 at 02:04:58PM +0530, Kishon Vijay Abraham I wrote: > > Configure RESBAR capability to advertise the smallest size (1MB) for > > couple of reasons. A) Host side resource allocation of BAR fails for > > larger

Re: [PATCH v2 23/26] PCI: designware-ep: Configure RESBAR to advertise the smallest size

2019-04-13 Thread Bjorn Helgaas
On Mon, Mar 25, 2019 at 02:04:58PM +0530, Kishon Vijay Abraham I wrote: > Configure RESBAR capability to advertise the smallest size (1MB) for > couple of reasons. A) Host side resource allocation of BAR fails for > larger sizes. B) Endpoint function driver does not allocate memory > for all

[PATCH v2 23/26] PCI: designware-ep: Configure RESBAR to advertise the smallest size

2019-03-25 Thread Kishon Vijay Abraham I
Configure RESBAR capability to advertise the smallest size (1MB) for couple of reasons. A) Host side resource allocation of BAR fails for larger sizes. B) Endpoint function driver does not allocate memory for all supported sizes in RESBAR capability. If and when there is a usecase required to add