Re: [PATCH v2 13/18] pci: Map bars with offset and length

2022-04-13 Thread Andrew Scull
On Wed, 13 Apr 2022 at 15:05, Bin Meng wrote: > > On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote: > > > > Evolve dm_pci_map_bar() to include an offset and length parameter. These > > allow a portion of the memory to be mapped and range checks to be > > applied. > > > > Passing both the

Re: [PATCH v2 13/18] pci: Map bars with offset and length

2022-04-13 Thread Bin Meng
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote: > > Evolve dm_pci_map_bar() to include an offset and length parameter. These > allow a portion of the memory to be mapped and range checks to be > applied. > > Passing both the offset and length as zero results in the previous > behaviour and

Re: [PATCH v2 13/18] pci: Map bars with offset and length

2022-04-12 Thread Tom Rini
On Tue, Apr 12, 2022 at 11:54:33PM +0100, Andrew Scull wrote: > On Tue, 12 Apr 2022 at 17:42, Tom Rini wrote: > > > > On Tue, Mar 29, 2022 at 04:58:55PM +, Andrew Scull wrote: > > > > > Evolve dm_pci_map_bar() to include an offset and length parameter. These > > > allow a portion of the

Re: [PATCH v2 13/18] pci: Map bars with offset and length

2022-04-12 Thread Tom Rini
On Tue, Mar 29, 2022 at 04:58:55PM +, Andrew Scull wrote: > Evolve dm_pci_map_bar() to include an offset and length parameter. These > allow a portion of the memory to be mapped and range checks to be > applied. > > Passing both the offset and length as zero results in the previous >