From mboxrd@z Thu Jan 1 00:00:00 1970 From: benh@kernel.crashing.org (Benjamin Herrenschmidt) Date: Sun, 02 Mar 2014 12:23:35 +1100 Subject: [PATCH v2 4/4] pci: Add support for creating a generic host_bridge from device tree In-Reply-To: <20140228095559.GU1692@e106497-lin.cambridge.arm.com> References: <1393506402-11474-1-git-send-email-Liviu.Dudau@arm.com> <1393506402-11474-5-git-send-email-Liviu.Dudau@arm.com> <18746655.qWHLpMg2Yy@wuerfel> <1393543924.14012.56.camel@pasglop> <20140228095559.GU1692@e106497-lin.cambridge.arm.com> Message-ID: <1393723415.12039.1.camel@pasglop> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 2014-02-28 at 09:55 +0000, Liviu Dudau wrote: > The next phase will be to see how much of the pci_controller structure can move > into the generic code and reduce its size. I do suffer from not having a PowerPC > platform where I can test the changes, but I can produce some compiled code that > someone can test. Ok, we can probably start from there. I think the right approach is to actually kill pci_controller by merging it with the new host bridge structure. Most of the resources are there now, we need to move the rest. We probably will need a way to attach platform specific bits to it though, and a few hooks to populate them but that isn't terribly hard. Cheers, Ben.