Re: [PATCH kernel 1/2] powerpc/powernv: Reuse existing TCE code for sketchy bypass

2018-07-02 Thread Alexey Kardashevskiy
On Sat, 16 Jun 2018 11:04:32 +1000 Benjamin Herrenschmidt wrote: > On Fri, 2018-06-01 at 18:10 +1000, Alexey Kardashevskiy wrote: > > The existing sketchy bypass ignores the existing default 32bit TCE table > > (created by default for every PE at boot time or after being used by > > VFIO) and it

Re: [PATCH kernel 1/2] powerpc/powernv: Reuse existing TCE code for sketchy bypass

2018-06-15 Thread Benjamin Herrenschmidt
On Fri, 2018-06-01 at 18:10 +1000, Alexey Kardashevskiy wrote: > The existing sketchy bypass ignores the existing default 32bit TCE table > (created by default for every PE at boot time or after being used by > VFIO) and it allocates another table instead without updating PE DMA > config (pe->table

[PATCH kernel 1/2] powerpc/powernv: Reuse existing TCE code for sketchy bypass

2018-06-01 Thread Alexey Kardashevskiy
The existing sketchy bypass ignores the existing default 32bit TCE table (created by default for every PE at boot time or after being used by VFIO) and it allocates another table instead without updating PE DMA config (pe->table_group). So if we decide to use such device for VFIO later, this new ta