[REGRESSION] OCTEON MMC driver failure with v4.19

From: Aaro Koskinen
Date: Fri Oct 26 2018 - 16:54:27 EST


Hi,

OCTEON (MIPS64) MMC driver probe fails with v4.19, because with

commit 6c2fb2ea76361da9b420a8e23a2a19e7842cbdda
Author: Robin Murphy <robin.murphy@xxxxxxx>
Date: Mon Jul 23 23:16:09 2018 +0100

of/device: Set bus DMA mask as appropriate

we now get a default 32-bit bus DMA mask, and the device itself has
64-bit mask, so it gets rejected.

With the current mainline, the driver is again working (probably
because of b4ebe6063204 ("dma-direct: implement complete bus_dma_mask
handling")). But I think this is just because I happen to have < 4 GB RAM,
and it probably could still fail on bigger systems..?

A.