Hi Magnus,

On Mon, Jan 23, 2017 at 12:52 PM, Magnus Damm <[email protected]> wrote:
> From: Magnus Damm <[email protected]>
>
> Here's a prototype that enables IMCTR_VA64 support for the IPMMU driver
> on R-Car Gen3 platforms. I've tested it lightly on r8a7796 Salvator-X
> with local second serial port code and SYS-DMAC support via DMA Engine.
>
> My goal has been to enable 40 bits or more of IOVA space, but it turns
> out that it requires either 64K page size support or support for 4K pages
> starting from level 0.
>
> For now this keeps 32-bit IOVA space however the hardware gets configured
> to enable IMCTR_VA64 which also seems to require setting up TSZ0[5:0].
>
> Signed-off-by: Magnus Damm <[email protected]>

Do you mean this is incompatible with "dmaengine: rcar-dmac: Widen DMA mask
to 40 bits" (http://www.spinics.net/lists/linux-renesas-soc/msg08338.html),
so we can still not upstream that patch?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Reply via email to