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 1162884150.435786.961370643810.qpush@grosgo

Versions newest first

  1. v1 Latest31 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31ibmveth: Remove ibmveth "liobn" fielddrivers/net/ibmveth.c drivers/net/ibmveth.h+0 -50 replies
2/31Call platform_notify_remove laterdrivers/base/core.c+2 -10 replies
3/31Driver core: add notification of bus eventsdrivers/base/bus.c drivers/base/core.c drivers/base/dd.c +1 more+61 -10 replies
4/31arch provides generic iomap missing accessorslib/iomap.c+28 -40 replies
5/31powerpc: 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 -1830 replies
6/31powerpc: 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
7/31powerpc: Generic DCR infrastructurearch/powerpc/Kconfig arch/powerpc/kernel/Makefile arch/powerpc/sysdev/Makefile +6 more+337 -20 replies
8/31powerpc: Make EMAC use generic DCR access methodsdrivers/net/ibm_emac/ibm_emac_mal.h+4 -20 replies
9/31powerpc: Support for DCR based MPICarch/powerpc/sysdev/mpic.c include/asm-powerpc/mpic.h+132 -410 replies
10/31powerpc: Improve MPIC driver auto-configuration from DTarch/powerpc/sysdev/mpic.c include/asm-powerpc/mpic.h+39 -150 replies
11/31powerpc: Native cell support for MPIC in southbridgearch/powerpc/Kconfig arch/powerpc/platforms/cell/setup.c+45 -00 replies
12/31powerpc: 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
13/31powerpc: Hook of_platform_bus_probe with cellarch/powerpc/platforms/cell/setup.c+9 -00 replies
14/31powerpc: Refactor 64 bits DMA operationsarch/powerpc/kernel/Makefile arch/powerpc/kernel/dma_64.c arch/powerpc/kernel/ibmebus.c +23 more+580 -5920 replies
15/31powerpc: PCI use new bus device notifierarch/powerpc/kernel/pci_64.c arch/powerpc/kernel/setup_64.c+26 -250 replies
16/31powerpc: Add DMA ops support for of_plaform_device to Cellarch/powerpc/platforms/cell/setup.c+42 -30 replies
17/31powerpc: Resolve the parent address of a PCI bus rangearch/powerpc/kernel/pci_64.c+1 -50 replies
18/31powerpc: Resolve the BUID fir RTAS PCI config space accessesarch/powerpc/kernel/rtas_pci.c+4 -230 replies
19/31powerpc: 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
20/31powerpc: 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
21/31powerpc: Cell fixup DMA offset for new southbridgearch/powerpc/platforms/cell/iommu.c arch/powerpc/platforms/cell/iommu.h+16 -60 replies
22/31powerpc: Allow hooking of PCI MMIO & PIO accessors on 64 bitsarch/powerpc/Kconfig arch/powerpc/kernel/Makefile arch/powerpc/kernel/io.c +10 more+697 -6040 replies
23/31powerpc: Cell "Spider" MMIO workaroundsarch/powerpc/Kconfig arch/powerpc/platforms/cell/Makefile arch/powerpc/platforms/cell/io-workarounds.c+349 -12 replies
24/31powerpc: spider uses low level BE MMIO accessorsdrivers/net/spider_net.c+10 -80 replies
25/31powerpc: Add an optional offset to direct DMA on 64 bitsarch/powerpc/kernel/dma_64.c include/asm-powerpc/dma-mapping.h+10 -30 replies
26/31powerpc: Make direct DMA use node local allocationsarch/powerpc/kernel/dma_64.c+13 -50 replies
27/31powerpc: Make cell use direct DMA opsarch/powerpc/platforms/cell/iommu.c+6 -730 replies
28/31powerpc: Cell iommu supportarch/powerpc/kernel/prom_init.c arch/powerpc/kernel/setup_64.c arch/powerpc/platforms/cell/iommu.c +4 more+609 -4780 replies
29/31powerpc: remove ioremap64 and fixup_bigphys_addrarch/powerpc/Kconfig arch/powerpc/mm/pgtable_32.c arch/powerpc/platforms/85xx/misc.c+1 -250 replies
30/31powerpc: 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
31/31powerpc: EMAC of_platform_device support for Cell using Axonarch/powerpc/Kconfig drivers/net/Kconfig drivers/net/ibm_emac/ibm_emac.h +13 more+978 -3460 replies

Reviews trailers per patch

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

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

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/31] My current serie of patches for 2.6.20 for review

[ I'm re-posting it today as there have been a number of significant
changes. I expect that unless I get a lot of feedback, however, your mailboxes will be safe from such another flood for the next few days as I'll be working on a couple of other things I have pending and I'm fairly happy with the patches in their current shape
]

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 4 ones require specific comments:

- powerpc-ibmveth-remove-liobn.diff should already be queued with Jeff Garzik

- platform-notify-remove-change.diff
- device-notifier.diff should both be already queued with Greg KH

- iomap-arch-accessors.diff 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.

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)