mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 21:47:04 +07:00
cdfee56232
We still treat devices without a DMA mask as defaulting to 32-bits for both mask, but a few releases ago we've started warning about such cases, as they require special cases to work around this sloppyness. Add a dma_mask field to struct platform_device so that we can initialize the dma_mask pointer in struct device and initialize both masks to 32-bits by default, replacing similar functionality in m68k and powerpc. The arch_setup_pdev_archdata hooks is now unused and removed. Note that the code looks a little odd with the various conditionals because we have to support platform_device structures that are statically allocated. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20190816062435.881-7-hch@lst.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
mach-ap325rxa | ||
mach-cayman | ||
mach-dreamcast | ||
mach-ecovec24 | ||
mach-highlander | ||
mach-hp6xx | ||
mach-kfr2r09 | ||
mach-landisk | ||
mach-lboxre2 | ||
mach-microdev | ||
mach-migor | ||
mach-r2d | ||
mach-rsk | ||
mach-sdk7780 | ||
mach-sdk7786 | ||
mach-se | ||
mach-sh03 | ||
mach-sh7763rdp | ||
mach-x3proto | ||
board-apsh4a3a.c | ||
board-apsh4ad0a.c | ||
board-edosk7705.c | ||
board-edosk7760.c | ||
board-espt.c | ||
board-magicpanelr2.c | ||
board-polaris.c | ||
board-secureedge5410.c | ||
board-sh2007.c | ||
board-sh7757lcr.c | ||
board-sh7785lcr.c | ||
board-shmin.c | ||
board-titan.c | ||
board-urquell.c | ||
Kconfig | ||
Makefile | ||
of-generic.c |