openwrtv3/target/linux/ramips/files-4.14/drivers
NeilBrown f27336e115 ramips: mtk-mmc: don't advertise highmem support.
of_dma_configure() sets a default ->dma_mask of
DMA_BIT_MASK(32), claiming devices can DMA from
the full 32bit address space.
The mtk-mmc driver does not support access to
highmem pages, so it is really limited to the
bottom 512M (actually 448M due to 64M of IO space).
Setting ->dma_mask to NULL causes mmc_setup_queue()
to fall-back to using BLK_BOUNCE_HIGH to tell the
block layer to use a bounce-buffer for any highmem
pages requiring IO.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-04-05 19:48:47 +02:00
..
mmc/host/mtk-mmc ramips: mtk-mmc: don't advertise highmem support. 2018-04-05 19:48:47 +02:00
net/ethernet/mtk ramips: remove dead (and potentially crashy) code in mt7621 gsw init 2018-03-23 20:56:34 +01:00