refactor 32-bit dma limit quirks

From: Christoph Hellwig
Date: Fri May 25 2018 - 10:35:55 EST


Hi all,

x86 currently has some quirks to force lower dma masks. They are mostly
useful for certain VIA systems that otherwise corrupt data, but otherwise
don't make much sense given that the modern DMA APIs do the right thing
automatically.

This series dumps a few of these old kernel command lines (including their
not really working version on ia64), and moves the VIA quirk to a flag
in struct device so that it can be apply generically. This will be needed
to support Xylinx root ports with a similar issue that show up in common
RISC-V boards.