: Kill SBUS device layer.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest49 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/49 | : sparc: Delete bare sbus char bpp driver, obsoletedarch/ arch/ arch/ +5 more | +0 | 0 replies | |
| 2/49 | : sparc: Kill videopix SBUS driver.arch/ arch/ drivers/ +5 more | +0 | 0 replies | |
| 3/49 | : sparc: Kill SBUS DVMA layer.arch/ arch/ arch/ +9 more | +246 | 0 replies | |
| 4/49 | : sparc32: Make IOMMU and IO-UNIT init work witharch/ arch/ arch/ +2 more | +45 | 0 replies | |
| 5/49 | : sparc: Propagate SBUS iommu archdata into realdrivers/ | +20 | 0 replies | |
| 6/49 | : sparc: Make SBUS DMA interfaces take struct device.arch/ arch/ arch/ +13 more | +152 | 0 replies | |
| 7/49 | : sparc32: Make mmu_{get,release}_*() take a structarch/ arch/ arch/ +1 more | +47 | 0 replies | |
| 8/49 | : sparc32: Implement more generic dma_*() interfaces.arch/ arch/ arch/ +2 more | +298 | 0 replies | |
| 9/49 | : sparc: Convert all SBUS drivers to dma_*()arch/ arch/ arch/ +11 more | +193 | 0 replies | |
| 10/49 | : sparc: Move SBUS DMA attribute interfaces out ofarch/ arch/ arch/ +9 more | +54 | 0 replies | |
| 11/49 | : myri_sbus: Convert to pure OF driver.drivers/ drivers/ | +2 | 0 replies | |
| 12/49 | : sunbmac: Convert to pure OF driver.drivers/ drivers/ | +70 | 0 replies | |
| 13/49 | : sunhme: Convert to pure OF driver.drivers/ drivers/ | +7 | 0 replies | |
| 14/49 | : sunlance: Convert to pure OF driver.drivers/ | +40 | 0 replies | |
| 15/49 | : sunqe: Convert to pure OF driver.drivers/ drivers/ | +7 | 0 replies | |
| 16/49 | : parport_sunbpp: Convert to pure OF driver.drivers/ | +20 | 0 replies | |
| 17/49 | : sun_esp: Convert to pure OF driver.drivers/ | +64 | 0 replies | |
| 18/49 | : qlogicpti: Convert to pure OF driver.drivers/ drivers/ | +56 | 0 replies | |
| 19/49 | : amd7930: Convert to pure OF driver.sound/ | +20 | 0 replies | |
| 20/49 | : dbri: Convert to pure OF driver.sound/ | +27 | 0 replies | |
| 21/49 | : cs4231: Use SNDRV_DMA_TYPE_DEV instead ofsound/ | +3 | 0 replies | |
| 22/49 | : alsa: Remove special SBUS dma support code.Documentation/ include/ include/ +1 more | +2 | 0 replies | |
| 23/49 | : cs4231: Convert SBUS side to OF driver.sound/ | +50 | 0 replies | |
| 24/49 | : fore200e: Convert over to pure OF driver.drivers/ drivers/ | +189 | 0 replies | |
| 25/49 | : sparc: Convert flash driver to OF device probing.drivers/ | +50 | 0 replies | |
| 26/49 | : sparc: Convert uctrl driver to OF driver.drivers/ drivers/ | +121 | 0 replies | |
| 27/49 | : sparc64: Convert SBUS floppy probing to use OFarch/ | +27 | 0 replies | |
| 28/49 | : sparc32: Kill mmu_translate_dvma() usage.arch/ | +1 | 0 replies | |
| 29/49 | : sparc32: Kill mmu_translate_dvma andarch/ arch/ arch/ +1 more | +0 | 0 replies | |
| 30/49 | : sparc32: Make mmu_map_dma_area andarch/ arch/ arch/ +2 more | +19 | 0 replies | |
| 31/49 | : sparc32: Convert apc to OF driver.arch/ | +38 | 0 replies | |
| 32/49 | : sparc32: Convert pmc to OF driver.arch/ | +28 | 0 replies | |
| 33/49 | : sparc32: Convert sun4d IRQ code to use genericarch/ | +48 | 0 replies | |
| 34/49 | : sparc: Kill SBUS layer IRQ hooks.arch/ arch/ arch/ +5 more | +0 | 0 replies | |
| 35/49 | : sparc: Remove SBUS layer resource and irq handling.arch/ arch/ arch/ +2 more | +1 | 0 replies | |
| 36/49 | : sparc: Remove dinky old-style SBUS probingarch/ arch/ arch/ +2 more | +0 | 0 replies | |
| 37/49 | :arch/ arch/ arch/ +3 more | +23 | 0 replies | |
| 38/49 | : sparc: Kill sbus_ioremap() and sbus_iounmap().arch/ arch/ arch/ +1 more | +0 | 0 replies | |
| 39/49 | : sparc: Kill sbus_devaddr() and sbus_dev_slot().arch/ arch/ | +0 | 0 replies | |
| 40/49 | : sparc: Kill OBP property members of sbus_dev andarch/ arch/ drivers/ | +1 | 0 replies | |
| 41/49 | : sparc32: Kill sbus_is_slave().arch/ | +0 | 0 replies | |
| 42/49 | : sparc: Kill sbus_arch_preinit().arch/ arch/ drivers/ | +3 | 0 replies | |
| 43/49 | : sparc: Add OF archdata propagation helper.arch/ arch/ arch/ | +46 | 0 replies | |
| 44/49 | : sparc: Remove generic SBUS probing layer.arch/ arch/ arch/ +6 more | +108 | 0 replies | |
| 45/49 | : sparc: Kill sbus_bus_type.arch/ arch/ arch/ | +0 | 0 replies | |
| 46/49 | : sparc32: Kill iounit_map_dma_*().arch/ arch/ arch/ | +0 | 0 replies | |
| 47/49 | : sparc: Kill now spurious includes of sbus.harch/ arch/ arch/ +11 more | +9 | 0 replies | |
| 48/49 | : sparc: Delete asm/sbus*.harch/ arch/ arch/ | +0 | 0 replies | |
| 49/49 | : sparc: Remove Documentation/sparc/sbus_drivers.txtDocumentation/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/49]: Kill SBUS device layer.
[ Stephen, I'm only going to CC: on this email not the
rest of the patch bomb, as I figured you'd have some at least cursory interest in this work. Thanks. ]
A long time ago in a galaxy far far away we had no generic device layer and generic OF device driver infrastructure. Thus I created a bunch of ad-hoc interfaces and datastructures to support SBUS device drivers.
Those days are gone but the rotting corpose of the SBUS device layer stays with us. It's time to end that :)
This patch series follows roughly the following sequence:
1) Kill ad-hoc SBUS DVMA driver, only ESP and SUNLANCE use this and they can do so with local code.
2) Make dma_map_*() work for SBUS devices.
3) Make SBUS drivers use dma_*() instead of sbus_*().
4) Convert SBUS drivers to use OF device driver style probing. This is probably the bulk of the patch series.
5) Add local IOMMU controller initialization and a OF node propagator helper routine so that the device->archdata.FOO fields get set on all child devices of a given bus where an IOMMU is discovered setup.
6) rm arch/sparc/include/sbus*.h drivers/sbus/*.c
7) Profit.
All of my testing was done on an Ultra2 with ESP, SUNHME, CS4231 audio, and an SBUS Flash device.
I plan to do the same for the EBUS bus layer as well. The only tricky case there is the CS4231 sound driver as it supports both EBUS and SBUS devices, but I have a plan to sort that out cleanly.
This work will also make converting sparc32 over to the generic IRQ layer much easier as well.
Anyways, after this sits for review for a day or two I'll push this into the sparc-next-2.6 tree.
Enjoy.