[PATCH 0/3] driver core: Add ability for arch code to setup pdev_archdata
Kumar Gala
galak at kernel.crashing.org
Fri Aug 6 01:15:44 EST 2010
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
More information about the Linuxppc-dev
mailing list