]> 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)
commit37ea4dd6ea4806ee2a2032a72abb41fd46b143d8
treed8eee6224d4f517bfcb0d3ae9ee1b24615e9bb0f
parentda13c9904aefbc5668b04eae4935bde51c9e2041
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