Skip to content

My current serie of patches for 2.6.20 for review

Benjamin Herrenschmidt linuxppc-dev 1 version In review

Get series with b4
b4 am 1163144683.554182.685908332811.qpush@grosgo

Versions newest first

  1. v1 Latest32 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/32ibmveth: Remove ibmveth "liobn" fielddrivers/net/ibmveth.c drivers/net/ibmveth.h+0 -50 replies
2/32Call platform_notify_remove laterdrivers/base/core.c+2 -10 replies
3/32Driver core: add notification of bus eventsdrivers/base/bus.c drivers/base/core.c drivers/base/dd.c +1 more+61 -10 replies
4/32arch provides generic iomap missing accessorslib/iomap.c+28 -40 replies
5/32Add arch specific dev_sysdata to struct deviceinclude/asm-alpha/device.h include/asm-arm/device.h include/asm-arm26/device.h +24 more+367 -00 replies
6/32Change ACPI to use dev_sysdata instead of firmware_datadrivers/acpi/glue.c include/acpi/acpi_bus.h include/asm-i386/device.h +3 more+21 -120 replies
7/32powerpc: Make pci_read_irq_line the defaultarch/powerpc/kernel/pci_32.c arch/powerpc/kernel/pci_64.c arch/powerpc/platforms/82xx/mpc82xx_ads.c +24 more+58 -1832 replies
8/32powerpc: Remove ppc_md.pci_map_irq & ppc_swizzle for ARCH=powerpcarch/powerpc/kernel/pci_32.c arch/powerpc/platforms/83xx/mpc832x_mds.c arch/powerpc/platforms/83xx/mpc8360e_pb.c +1 more+0 -310 replies
9/32powerpc: Generic DCR infrastructurearch/powerpc/Kconfig arch/powerpc/kernel/Makefile arch/powerpc/sysdev/Makefile +6 more+337 -20 replies
10/32powerpc: Make EMAC use generic DCR access methodsdrivers/net/ibm_emac/ibm_emac_mal.h+4 -20 replies
11/32powerpc: Support for DCR based MPICarch/powerpc/sysdev/mpic.c include/asm-powerpc/mpic.h+132 -410 replies
12/32powerpc: Improve MPIC driver auto-configuration from DTarch/powerpc/sysdev/mpic.c include/asm-powerpc/mpic.h+39 -150 replies
13/32powerpc: Native cell support for MPIC in southbridgearch/powerpc/Kconfig arch/powerpc/platforms/cell/setup.c+45 -00 replies
14/32powerpc: Souped-up of_platform_device supportarch/powerpc/kernel/Makefile arch/powerpc/kernel/of_device.c arch/powerpc/kernel/of_platform.c +8 more+476 -1870 replies
15/32powerpc: Hook of_platform_bus_probe with cellarch/powerpc/platforms/cell/setup.c+9 -00 replies
16/32powerpc: Refactor 64 bits DMA operationsarch/powerpc/kernel/Makefile arch/powerpc/kernel/dma_64.c arch/powerpc/kernel/ibmebus.c +22 more+440 -5970 replies
17/32powerpc: Add DMA ops support for of_plaform_device to Cellarch/powerpc/platforms/cell/setup.c+34 -30 replies
18/32powerpc: Resolve the parent address of a PCI bus rangearch/powerpc/kernel/pci_64.c+1 -50 replies
19/32powerpc: Resolve the BUID fir RTAS PCI config space accessesarch/powerpc/kernel/rtas_pci.c+4 -230 replies
20/32powerpc: Add "parent" struct device for PCI host bridgesarch/powerpc/kernel/pci_32.c arch/powerpc/kernel/pci_64.c include/asm-powerpc/pci-bridge.h +1 more+7 -20 replies
21/32powerpc: Generic OF platform driver for PCI host bridges.arch/powerpc/Kconfig arch/powerpc/kernel/of_platform.c arch/powerpc/kernel/pci_64.c +5 more+134 -100 replies
22/32powerpc: Cell fixup DMA offset for new southbridgearch/powerpc/platforms/cell/iommu.c arch/powerpc/platforms/cell/iommu.h+16 -60 replies
23/32powerpc: Allow hooking of PCI MMIO & PIO accessors on 64 bitsarch/powerpc/Kconfig arch/powerpc/kernel/Makefile arch/powerpc/kernel/io.c +11 more+703 -6100 replies
24/32powerpc: Cell "Spider" MMIO workaroundsarch/powerpc/Kconfig arch/powerpc/platforms/cell/Makefile arch/powerpc/platforms/cell/io-workarounds.c+349 -10 replies
25/32powerpc: spider uses low level BE MMIO accessorsdrivers/net/spider_net.c+10 -80 replies
26/32powerpc: Add an optional offset to direct DMA on 64 bitsarch/powerpc/kernel/dma_64.c include/asm-powerpc/dma-mapping.h+10 -30 replies
27/32powerpc: Make direct DMA use node local allocationsarch/powerpc/kernel/dma_64.c+9 -50 replies
28/32powerpc: Make cell use direct DMA opsarch/powerpc/platforms/cell/iommu.c+6 -730 replies
29/32powerpc: Cell iommu supportarch/powerpc/kernel/prom_init.c arch/powerpc/kernel/setup_64.c arch/powerpc/platforms/cell/iommu.c +4 more+660 -4710 replies
30/32powerpc: remove ioremap64 and fixup_bigphys_addrarch/powerpc/Kconfig arch/powerpc/mm/pgtable_32.c arch/powerpc/platforms/85xx/misc.c+1 -250 replies
31/32powerpc: Merge 32 and 64 bits asm-powerpc/io.harch/powerpc/kernel/Makefile arch/powerpc/kernel/io.c arch/powerpc/kernel/iomap.c +13 more+366 -2120 replies
32/32powerpc: Fix a typo in new style SPE mapping codearch/powerpc/platforms/cell/spu_base.c+33 -80 replies

Reviews trailers per patch

None of the 32 patches has a Reviewed-by or Acked-by.

PatchBenjamin Herrenschmidt
1/32
2/32
3/32
4/32More-or-less-tested-by
5/32
6/32
7/32
8/32
9/32
10/32
11/32
12/32
13/32
14/32
15/32
16/32
17/32
18/32
19/32
20/32
21/32
22/32
23/32
24/32
25/32
26/32
27/32
28/32
29/32
30/32
31/32
32/32

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/32] My current serie of patches for 2.6.20 for review

This should be ready for merge in powerpc tree

This is the whole of my current patch set that I intend to merge as soon as 2.6.20 merge window opens. I'm posting them here for review, some of them already had a few iterations on the list by their own, some didn't show up publically at all yet.

Note that the first 5 ones require specific comments:

* ibmveth: Remove ibmveth "liobn" field

is already queued with Jeff Garzik and will get in 2.6.20 via his merge tree

* Call platform_notify_remove later

is queued in -mm and Andrew sent it to Greg, I expect greg to merge it in 2.6.20

* Driver core: add notification of bus events

is queued in Greg's tree and scheduled for merge in 2.6.20

* arch provides generic iomap missing accessors

was written by Linus but is not merged yet. He asked me to resend it when needed, so I'll include it with the other patches when the merge window opens.

* Add arch specific dev_sysdata to struct device

this is under discussion. I haven't had much comment yet, a few postitives though. I hope it will make 2.6.20 without problem, but we'll know in the upcoming couple of days.

* Change ACPI to use dev_sysdata instead of firmware_data

this is a patch that goes along the previous one (though not actually necessary). It doesn't actually need to go in powerpc.git nor 2.6.20, I included it in this serie for completeness

This patch set started its life as the support for the new "Axon" southbridge for cell (which includes such things as MMIO mapped DCR and 4xx-type devices). However, as things evolved, I ended up doing a lot more than just the basic support. Among other highlights of this patch serie are:

- Generic DCR support for both 4xx-type DCRs and MMIO mapped DCR and
MPIC & EMAC changes to work with that

- Souped up of_platform_driver to make it easier to register entire
trees of devices at once, along with PCI host bridge detection support for 64 bits architectures. Note that some name changes might break compile of some platforms. I hope to have fixed everything before I merge but don't forget to tell me if I missed something.

- Completely reworked 64 bits DMA operations

- Possibility to "hook" on PCI MMIO and PCI operations from the platform
code for use by iSeries, Cell and possibly others who have to deal with weird hypervisor or PCI host bridge erratas. Currently supported only on 64 bits but would be easy to make it work on 32 bits if ever needed.

- Merged 32 and 64 bits io.h. ARCH=powerpc now uses asm-powerpc/io.h
for both. ARCH=ppc still uses the old one in asm-ppc as I really don't feel like dealing with some of the cruft in there.

- As a consequence of the 2 above, new accessors are available that match
what is done by other architectures: {read,write}{w,l,q}_be for big endian PCI MMIO accesses, {read,write}s{b,w,l} for MMIO "repeat" operations, and a significant cleanup of the EEH stuff.

- Cell IOMMU support (mostly written by Jeremy Kerr)

And more ...