Re: [PATCH] x86/pci: don't use crs for root if we only have oneroot bus

From: Gary Hade
Date: Wed Jun 24 2009 - 20:00:25 EST


On Wed, Jun 24, 2009 at 04:09:36PM -0700, Linus Torvalds wrote:
>
> Should we not just revert 9e9f46c44e487af0a82eb61b624553e2f7118f5b?
>
> The thing says:
>
> "At this point, it seems to solve more problems than it causes, so let's
> try using it by default. It's an easy revert if it ends up causing
> trouble."
>
> and it clearly does _not_ solve more problems than it causes, and the
> whole message in that commit implies we should revert it.
>
> I'm happy to apply various patches to fix it up, but regardless, I thinkwe
> should revert that commit as bogus. We can try making it the default again
> next round, when maybe it will be true that it doesn't cause issues.
>
> What did it even ever help with?

In our case it is needed on some of our systems for PCI hotplug to
avoid MCKs due to a device under one root bus getting a resource
during hotplug that can only be used by devices under a different
root bus. If the user does not intend to use PCI hotplug, the
function isn't needed (i.e. 'pci=use_crs' can be omitted) because
resources are properly directed to the installed cards via BIOS
pre-assignment.

Gary

--
Gary Hade
System x Enablement
IBM Linux Technology Center
503-578-4503 IBM T/L: 775-4503
garyhade@xxxxxxxxxx
http://www.ibm.com/linux/ltc

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/