Messages in this thread | | | From | Kumar Gala <> | Subject | [PATCH 0/3] driver core: Add ability for arch code to setup pdev_archdata | Date | Thu, 5 Aug 2010 10:15:44 -0500 |
| |
On PPC we need to set the dma_mask pointer for platform_devices to point to the pdev_archdata. We can't wait for a bus_notifier as we need the dma_mask setup before the platform_device_add happens so that the bus_notifiers can check the dma_mask to determine if we need things like the SWIOTLB dma_ops.
The patch series introduces an arch specific call out (arch_setup_pdev_archdata) and provide an implementation on PPC to handle our specific issue.
- k
| |