Re: use generic DMA mapping code in powerpc V4

2019-01-27 Thread Christoph Hellwig
On Sun, Jan 27, 2019 at 02:13:09PM +0100, Christian Zigotzky wrote: > Christoph, > > What shall I do next? I'll need to figure out what went wrong with the new zone selection on powerpc and give you another branch to test.

Re: [PATCH 18/19] KVM: PPC: Book3S HV: add passthrough support

2019-01-27 Thread Paul Mackerras
On Wed, Jan 23, 2019 at 12:07:19PM +0100, Cédric Le Goater wrote: > On 1/23/19 11:30 AM, Paul Mackerras wrote: > > On Wed, Jan 23, 2019 at 05:45:24PM +1100, Benjamin Herrenschmidt wrote: > >> On Tue, 2019-01-22 at 16:26 +1100, Paul Mackerras wrote: > >>> On Mon, Jan 07, 2019 at 08:10:05PM +0100, Cé

Re: [PATCH 00/19] KVM: PPC: Book3S HV: add XIVE native exploitation mode

2019-01-27 Thread Paul Mackerras
On Wed, Jan 23, 2019 at 08:07:33PM +0100, Cédric Le Goater wrote: > On 1/22/19 5:46 AM, Paul Mackerras wrote: > > On Mon, Jan 07, 2019 at 07:43:12PM +0100, Cédric Le Goater wrote: > >> Hello, > >> > >> On the POWER9 processor, the XIVE interrupt controller can control > >> interrupt sources using M

Re: [PATCH 18/19] KVM: PPC: Book3S HV: add passthrough support

2019-01-27 Thread Paul Mackerras
On Thu, Jan 24, 2019 at 08:25:15AM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2019-01-23 at 21:30 +1100, Paul Mackerras wrote: > > > Afaik bcs we change the mapping to point to the real HW irq ESB page > > > instead of the "IPI" that was there at VM init time. > > > > So that makes it sound li

Re: [RFC/WIP] powerpc: Fix 32-bit handling of MSR_EE on exceptions

2019-01-27 Thread christophe leroy
Le 20/12/2018 à 06:40, Benjamin Herrenschmidt a écrit : Hi folks ! Why trying to figure out why we had occasionally lockdep barf about interrupt state on ppc32 (440 in my case but I could reproduce on e500 as well using qemu), I realized that we are still doing something rather gothic and wro

Re: [RFC/WIP] powerpc: Fix 32-bit handling of MSR_EE on exceptions

2019-01-27 Thread christophe leroy
Le 20/12/2018 à 06:40, Benjamin Herrenschmidt a écrit : Hi folks ! Why trying to figure out why we had occasionally lockdep barf about interrupt state on ppc32 (440 in my case but I could reproduce on e500 as well using qemu), I realized that we are still doing something rather gothic and wro

Re: use generic DMA mapping code in powerpc V4

2019-01-27 Thread Christian Zigotzky
Christoph, What shall I do next? Cheers, Christian On 25 January 2019 at 2:37PM, Christian Zigotzky wrote: Next step just with the first patch: 5c532d07c2f3c3972104de505d06b8d85f403f06 (use powerpc zone selection) git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6-debug