Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2019-06-27 Thread Stefan Wahren
Hi Jim, Am 24.09.18 um 17:01 schrieb Jim Quinlan: > On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel > wrote: >> On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: >>> On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli >>> wrote: On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > On 20

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-10-01 Thread Florian Fainelli
On 09/26/2018 03:56 AM, Robin Murphy wrote: > On 26/09/18 03:59, Florian Fainelli wrote: >> >> >> On 9/24/2018 8:01 AM, Jim Quinlan wrote: >>> On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel >>> wrote: On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > > On Thu, Sep 20, 2018 at

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-10-01 Thread Florian Fainelli
On 09/26/2018 03:56 AM, Robin Murphy wrote: > On 26/09/18 03:59, Florian Fainelli wrote: >> >> >> On 9/24/2018 8:01 AM, Jim Quinlan wrote: >>> On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel >>> wrote: On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > > On Thu, Sep 20, 2018 at

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-26 Thread Robin Murphy
On 26/09/18 03:59, Florian Fainelli wrote: On 9/24/2018 8:01 AM, Jim Quinlan wrote: On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel wrote: On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: On 09/20/2018 02:33 PM, Ard Biesheuvel

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-26 Thread Robin Murphy
On 26/09/18 03:59, Florian Fainelli wrote: On 9/24/2018 8:01 AM, Jim Quinlan wrote: On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel wrote: On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: On 09/20/2018 02:33 PM, Ard Biesheuvel

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-26 Thread Ard Biesheuvel
On Wed, 26 Sep 2018 at 04:59, Florian Fainelli wrote: > > > > On 9/24/2018 8:01 AM, Jim Quinlan wrote: > > On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel > > wrote: > >> > >> On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > >>> > >>> On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli > >>>

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-26 Thread Ard Biesheuvel
On Wed, 26 Sep 2018 at 04:59, Florian Fainelli wrote: > > > > On 9/24/2018 8:01 AM, Jim Quinlan wrote: > > On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel > > wrote: > >> > >> On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > >>> > >>> On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli > >>>

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-25 Thread Florian Fainelli
On 9/24/2018 8:01 AM, Jim Quinlan wrote: On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel wrote: On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: On 20 September 2018 at 14:31,

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-25 Thread Florian Fainelli
On 9/24/2018 8:01 AM, Jim Quinlan wrote: On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel wrote: On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: On 20 September 2018 at 14:31,

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-24 Thread Jim Quinlan
On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel wrote: > > On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > > > > On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli > > wrote: > > > > > > On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > > > > On 20 September 2018 at 14:31, Florian Fainelli > >

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-24 Thread Jim Quinlan
On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel wrote: > > On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > > > > On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli > > wrote: > > > > > > On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > > > > On 20 September 2018 at 14:31, Florian Fainelli > >

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-24 Thread Ard Biesheuvel
On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > > On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: > > > > On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > > > On 20 September 2018 at 14:31, Florian Fainelli > > > wrote: > > >> On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: > > >>> On

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-24 Thread Ard Biesheuvel
On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > > On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: > > > > On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > > > On 20 September 2018 at 14:31, Florian Fainelli > > > wrote: > > >> On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: > > >>> On

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-21 Thread Jim Quinlan
On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: > > On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > > On 20 September 2018 at 14:31, Florian Fainelli > > wrote: > >> On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: > >>> On 20 September 2018 at 13:55, Florian Fainelli > >>> wrote: >

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-21 Thread Jim Quinlan
On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: > > On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > > On 20 September 2018 at 14:31, Florian Fainelli > > wrote: > >> On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: > >>> On 20 September 2018 at 13:55, Florian Fainelli > >>> wrote: >

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Florian Fainelli
On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > On 20 September 2018 at 14:31, Florian Fainelli wrote: >> On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: >>> On 20 September 2018 at 13:55, Florian Fainelli >>> wrote: On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: > On 19 September 2018 at

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Florian Fainelli
On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > On 20 September 2018 at 14:31, Florian Fainelli wrote: >> On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: >>> On 20 September 2018 at 13:55, Florian Fainelli >>> wrote: On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: > On 19 September 2018 at

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Ard Biesheuvel
On 20 September 2018 at 14:31, Florian Fainelli wrote: > On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: >> On 20 September 2018 at 13:55, Florian Fainelli wrote: >>> On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: On 19 September 2018 at 07:31, Jim Quinlan wrote: > The Broadcom STB PCIe

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Ard Biesheuvel
On 20 September 2018 at 14:31, Florian Fainelli wrote: > On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: >> On 20 September 2018 at 13:55, Florian Fainelli wrote: >>> On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: On 19 September 2018 at 07:31, Jim Quinlan wrote: > The Broadcom STB PCIe

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Florian Fainelli
On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: > On 20 September 2018 at 13:55, Florian Fainelli wrote: >> On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: >>> On 19 September 2018 at 07:31, Jim Quinlan wrote: The Broadcom STB PCIe host controller is intimately related to the memory

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Florian Fainelli
On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: > On 20 September 2018 at 13:55, Florian Fainelli wrote: >> On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: >>> On 19 September 2018 at 07:31, Jim Quinlan wrote: The Broadcom STB PCIe host controller is intimately related to the memory

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Ard Biesheuvel
On 20 September 2018 at 13:55, Florian Fainelli wrote: > On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: >> On 19 September 2018 at 07:31, Jim Quinlan wrote: >>> The Broadcom STB PCIe host controller is intimately related to the >>> memory subsystem. This close relationship adds complexity to how

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Ard Biesheuvel
On 20 September 2018 at 13:55, Florian Fainelli wrote: > On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: >> On 19 September 2018 at 07:31, Jim Quinlan wrote: >>> The Broadcom STB PCIe host controller is intimately related to the >>> memory subsystem. This close relationship adds complexity to how

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Florian Fainelli
On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: > On 19 September 2018 at 07:31, Jim Quinlan wrote: >> The Broadcom STB PCIe host controller is intimately related to the >> memory subsystem. This close relationship adds complexity to how cpu >> system memory is mapped to PCIe memory. Ideally,

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-20 Thread Florian Fainelli
On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: > On 19 September 2018 at 07:31, Jim Quinlan wrote: >> The Broadcom STB PCIe host controller is intimately related to the >> memory subsystem. This close relationship adds complexity to how cpu >> system memory is mapped to PCIe memory. Ideally,

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-19 Thread Ard Biesheuvel
On 19 September 2018 at 07:31, Jim Quinlan wrote: > The Broadcom STB PCIe host controller is intimately related to the > memory subsystem. This close relationship adds complexity to how cpu > system memory is mapped to PCIe memory. Ideally, this mapping is an > identity mapping, or an identity

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-19 Thread Ard Biesheuvel
On 19 September 2018 at 07:31, Jim Quinlan wrote: > The Broadcom STB PCIe host controller is intimately related to the > memory subsystem. This close relationship adds complexity to how cpu > system memory is mapped to PCIe memory. Ideally, this mapping is an > identity mapping, or an identity

[PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-19 Thread Jim Quinlan
The Broadcom STB PCIe host controller is intimately related to the memory subsystem. This close relationship adds complexity to how cpu system memory is mapped to PCIe memory. Ideally, this mapping is an identity mapping, or an identity mapping off by a constant. Not so in this case. Consider

[PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-19 Thread Jim Quinlan
The Broadcom STB PCIe host controller is intimately related to the memory subsystem. This close relationship adds complexity to how cpu system memory is mapped to PCIe memory. Ideally, this mapping is an identity mapping, or an identity mapping off by a constant. Not so in this case. Consider