Re: [PATCH] efifb: allow user to disable write combined mapping.

From: Andy Lutomirski
Date: Thu Jul 20 2017 - 00:28:53 EST


On Wed, Jul 19, 2017 at 9:07 PM, Dave Airlie <airlied@xxxxxxxxx> wrote:
>
> Yes hoping someone can give some insight.
>
> Scrap the multi-socket it's been seen on a single-socket, but not as
> drastic, 2x rather than 10x slowdowns.
>
> It's starting to seem like the commonality might be the Matrox G200EH
> which is part of the HP remote management iLO hardware, it might be that
> the RAM on the other side of the PCIE connection is causing some sort of
> wierd stalls or slowdowns. I'm not sure how best to validate that either.

It shouldn't be that hard to hack up efifb to allocate some actual RAM
as "framebuffer", unmap it from the direct map, and ioremap_wc() it as
usual. Then you could see if PCIe is important for it.

WC streaming writes over PCIe end up doing 64 byte writes, right?
Maybe the Matrox chip is just extremely slow handling 64b writes.