Christoph Hellwig
cdfee56232
driver core: initialize a default DMA mask for platform device
...
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 >
2019-08-22 09:41:55 -07:00
..
2019-07-29 09:34:27 +10:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-07-31 00:19:34 +10:00
2019-07-13 16:08:36 -07:00
2018-11-26 22:33:37 +11:00
2019-07-13 16:08:36 -07:00
2019-06-15 16:52:06 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:06 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:06 +02:00
2019-06-19 17:09:06 +02:00
2019-07-03 15:19:35 +10:00
2019-05-30 11:26:32 -07:00
2019-07-03 15:19:35 +10:00
2019-02-18 22:41:03 +11:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:21 -07:00
2019-05-03 01:20:26 +10:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:35 -07:00
2019-02-05 11:55:44 +11:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-02-05 11:55:43 +11:00
2019-07-13 16:08:36 -07:00
2019-07-29 09:34:27 +10:00
2019-07-29 09:34:27 +10:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:30:28 +02:00
2019-05-30 11:26:32 -07:00
2019-07-17 06:57:51 -03:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-03 01:20:27 +10:00
2019-06-22 09:09:42 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-07-13 16:08:36 -07:00
2019-06-16 00:03:38 +10:00
2019-06-22 09:09:42 -07:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2018-04-05 14:59:26 +10:00
2019-05-30 11:26:35 -07:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-02-23 22:31:40 +11:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-05-24 17:36:45 +02:00
2018-12-22 21:29:50 +11:00
2019-06-19 17:09:06 +02:00
2019-06-19 17:09:06 +02:00
2019-06-05 17:36:37 +02:00
2019-06-19 17:09:06 +02:00
2019-08-10 19:52:45 +02:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:32 -07:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2019-07-13 16:08:36 -07:00
2019-06-15 07:29:32 -10:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:51:17 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2018-06-07 10:23:33 -07:00
2018-06-03 20:43:33 +10:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:32 -07:00
2019-05-10 05:29:27 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2019-08-22 09:41:55 -07:00
2019-05-30 11:26:32 -07:00
2019-07-22 13:05:23 +10:00
2019-07-22 13:05:23 +10:00
2019-01-03 18:57:57 -08:00
2018-05-10 23:25:13 +10:00
2019-05-30 11:26:32 -07:00
2019-03-02 14:43:05 +11:00
2019-06-14 10:48:56 +02:00
2019-06-19 20:05:07 +10:00
2019-06-19 17:11:22 +02:00
2019-06-19 17:11:22 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2018-05-25 12:04:44 +10:00
2019-05-30 11:26:32 -07:00
2019-07-02 21:39:49 +10:00
2019-07-08 21:48:15 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2018-05-25 12:04:46 +10:00
2019-05-03 01:58:11 +10:00
2019-02-23 21:04:32 +11:00
2019-04-30 11:31:02 +10:00