Re: [PATCH v8 10/15] octeontx2-af: Reconfig MSIX base with IOVA

2018-10-10 Thread Arnd Bergmann
On Wed, Oct 10, 2018 at 9:36 AM Sunil Kovvuri wrote: > On Tue, Oct 9, 2018 at 5:30 PM Arnd Bergmann wrote: > > On Tue, Oct 9, 2018 at 11:20 AM Sunil Kovvuri > > wrote: > > > On Tue, Oct 9, 2018 at 1:27 PM Arnd Bergmann wrote: > > > > On Tue, Oct 9, 2018 at 9:03 AM Sunil Kovvuri > > > > wrote

Re: [PATCH v8 10/15] octeontx2-af: Reconfig MSIX base with IOVA

2018-10-10 Thread Sunil Kovvuri
On Tue, Oct 9, 2018 at 5:30 PM Arnd Bergmann wrote: > > On Tue, Oct 9, 2018 at 11:20 AM Sunil Kovvuri wrote: > > > > On Tue, Oct 9, 2018 at 1:27 PM Arnd Bergmann wrote: > > > > > > On Tue, Oct 9, 2018 at 9:03 AM Sunil Kovvuri > > > wrote: > > > > On Mon, Oct 8, 2018 at 5:38 PM Arnd Bergmann w

Re: [PATCH v8 10/15] octeontx2-af: Reconfig MSIX base with IOVA

2018-10-09 Thread Arnd Bergmann
On Tue, Oct 9, 2018 at 11:20 AM Sunil Kovvuri wrote: > > On Tue, Oct 9, 2018 at 1:27 PM Arnd Bergmann wrote: > > > > On Tue, Oct 9, 2018 at 9:03 AM Sunil Kovvuri > > wrote: > > > On Mon, Oct 8, 2018 at 5:38 PM Arnd Bergmann wrote: > > > > On Sun, Oct 7, 2018 at 5:01 PM wrote: > > I think if y

Re: [PATCH v8 10/15] octeontx2-af: Reconfig MSIX base with IOVA

2018-10-09 Thread Sunil Kovvuri
On Tue, Oct 9, 2018 at 1:27 PM Arnd Bergmann wrote: > > On Tue, Oct 9, 2018 at 9:03 AM Sunil Kovvuri wrote: > > On Mon, Oct 8, 2018 at 5:38 PM Arnd Bergmann wrote: > > > On Sun, Oct 7, 2018 at 5:01 PM wrote: > > > > > > > > > > > + /* HW interprets RVU_AF_MSIXTR_BASE address as an IOVA, h

Re: [PATCH v8 10/15] octeontx2-af: Reconfig MSIX base with IOVA

2018-10-09 Thread Arnd Bergmann
On Tue, Oct 9, 2018 at 9:03 AM Sunil Kovvuri wrote: > On Mon, Oct 8, 2018 at 5:38 PM Arnd Bergmann wrote: > > On Sun, Oct 7, 2018 at 5:01 PM wrote: > > > > > > > > + /* HW interprets RVU_AF_MSIXTR_BASE address as an IOVA, hence > > > +* create a IOMMU mapping for the physcial addre

Re: [PATCH v8 10/15] octeontx2-af: Reconfig MSIX base with IOVA

2018-10-09 Thread Sunil Kovvuri
On Mon, Oct 8, 2018 at 5:38 PM Arnd Bergmann wrote: > > On Sun, Oct 7, 2018 at 5:01 PM wrote: > > > > > + /* HW interprets RVU_AF_MSIXTR_BASE address as an IOVA, hence > > +* create a IOMMU mapping for the physcial address configured by > > +* firmware and reconfig RVU_AF_MS

Re: [PATCH v8 10/15] octeontx2-af: Reconfig MSIX base with IOVA

2018-10-08 Thread Arnd Bergmann
On Sun, Oct 7, 2018 at 5:01 PM wrote: > > + /* HW interprets RVU_AF_MSIXTR_BASE address as an IOVA, hence > +* create a IOMMU mapping for the physcial address configured by > +* firmware and reconfig RVU_AF_MSIXTR_BASE with IOVA. > +*/ > + cfg = rvu_read64(rvu,

[PATCH v8 10/15] octeontx2-af: Reconfig MSIX base with IOVA

2018-10-07 Thread sunil . kovvuri
From: Geetha sowjanya HW interprets RVU_AF_MSIXTR_BASE address as an IOVA, hence create a IOMMU mapping for the physcial address configured by firmware and reconfig RVU_AF_MSIXTR_BASE with IOVA. Signed-off-by: Geetha sowjanya Signed-off-by: Sunil Goutham --- drivers/net/ethernet/marvell/octeo