]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Add a platform hook after probe and before resource survey
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 6 Nov 2011 18:55:57 +0000 (18:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Nov 2011 03:32:53 +0000 (14:32 +1100)
commitf0c9da9590d5a7b4a5d2870cdf186b462a6d8d23
treed8eee6224d4f517bfcb0d3ae9ee1b24615e9bb0f
parent080ff202572012cb3d2fcb48ba0cf9355861e538
powerpc/pci: Add a platform hook after probe and before resource survey

Some platforms need to perform resource allocation using a custom algorithm
due to HW constraints, or may want to tweak things globally below a host
bridge. For example OPAL support for IODA will need to perform a
resource allocation pass that applies IODA specific segmentation
constraints to MMIO which cannot be done simply using the kernel generic
resource management code.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/machdep.h
arch/powerpc/kernel/pci-common.c