linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [git pull] Please pull powerpc.git of-pci branch
Date: Fri, 22 Jul 2011 13:44:13 +1000	[thread overview]
Message-ID: <1311306253.25044.568.camel@pasglop> (raw)

Hi Linus !

This branch contains some rework and consolidation of the code
to establish the mapping between device-tree nodes for PCI 
devices (if they exist) and the corresponding Linux struct device.

It moves it all to generic code in a way that is a lot cleaner
than any of the previous implementations. It specifically allows
me to get rid of a two subtly different ways of doing the same
thing I had in powerpc between 32-bit and 64-bit, and updates
microblaze and x86 to use that common code as well.

This has been in -next for a while with no complaints so far
and is completely orthogonal to the powerpc changes I will send
you in a couple of days (I want to wait for some other trees
to go in first to address a couple of known collisions).

Cheers,
Ben.

The following changes since commit 620917de59eeb934b9f8cf35cc2d95c1ac8ed0fc:

  Linux 3.0-rc7 (2011-07-11 16:51:52 -0700)

are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git of-pci

Benjamin Herrenschmidt (6):
      pci/of: Match PCI devices to OF nodes dynamically
      microblaze/pci: Remove powermac originated cruft
      microblaze/pci: Move the remains of pci_32.c to pci-common.c
      x86/devicetree: Use generic PCI <-> OF matching
      pci/of: Consolidate pci_device_to_OF_node()
      pci/of: Consolidate pci_bus_to_OF_node()

 arch/microblaze/include/asm/pci-bridge.h |   13 -
 arch/microblaze/include/asm/pci.h        |    3 +-
 arch/microblaze/include/asm/prom.h       |   15 -
 arch/microblaze/pci/Makefile             |    2 +-
 arch/microblaze/pci/pci-common.c         |  112 ++++++++
 arch/microblaze/pci/pci_32.c             |  432 ------------------------------
 arch/powerpc/include/asm/pci-bridge.h    |   29 +--
 arch/powerpc/include/asm/pci.h           |    3 +-
 arch/powerpc/include/asm/prom.h          |   14 -
 arch/powerpc/kernel/pci-common.c         |   11 +-
 arch/powerpc/kernel/pci_32.c             |  150 +----------
 arch/powerpc/kernel/pci_dn.c             |   47 ----
 arch/powerpc/kernel/pci_of_scan.c        |    9 +-
 arch/powerpc/platforms/powermac/pci.c    |    3 +-
 arch/sparc/include/asm/pci_32.h          |    3 -
 arch/sparc/include/asm/pci_64.h          |    3 -
 arch/sparc/kernel/pci.c                  |    8 +-
 arch/sparc/kernel/pcic.c                 |    8 -
 arch/x86/include/asm/prom.h              |   11 -
 arch/x86/kernel/devicetree.c             |   60 ++---
 drivers/of/Kconfig                       |    8 +-
 drivers/of/Makefile                      |    1 +
 drivers/of/of_pci.c                      |  112 ++------
 drivers/of/of_pci_irq.c                  |   92 +++++++
 drivers/pci/Makefile                     |    2 +
 drivers/pci/hotplug/rpadlpar_core.c      |    2 +-
 drivers/pci/of.c                         |   61 +++++
 drivers/pci/probe.c                      |    7 +-
 include/linux/of_pci.h                   |    5 +
 include/linux/pci.h                      |   28 ++
 30 files changed, 395 insertions(+), 859 deletions(-)
 delete mode 100644 arch/microblaze/pci/pci_32.c
 create mode 100644 drivers/of/of_pci_irq.c
 create mode 100644 drivers/pci/of.c

                 reply	other threads:[~2011-07-22  3:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311306253.25044.568.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).