On Tue, Sep 13, 2016 at 09:21:47AM -0600, Keith Busch wrote: > This patch removes creating a fake pci device in MIPS early config > access and instead just uses the pci bus to get the same functionality. > The struct pci_dev is too large to allocate on the stack, and was relying > on compiler optimizations to remove its usage. > > Signed-off-by: Keith Busch <keith.busch@xxxxxxxxx> > --- > > While I don't have any hardware to test this, the change should be > exactly the same as before, taking the direct route to the config read > instead of letting the compiler optimize this. > > This patch is preparing to add surprise removed device handling to the > pci_read_config_*, which makes the compiler optimization that currently > removes the excessive stack usage impossible. Looks ok so I've applied it. Atsushi? Ralf