Thread: 2.6.25-rc5-mm1
View Single Post
  #110  
Old 03-28-2008, 11:20 PM
unix unix is offline
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: 2.6.25-rc5-mm1 sparc64 boot problems due to generic pci_enable_resources()

From: Mariusz Kozlowski
Date: Fri, 28 Mar 2008 23:52:10 +0100

> The gregkh-pci-pci-sparc64-use-generic-pci_enable_resources.patch which
> replaces arch-specific code with generic pci_enable_resources() makes my sparc64
> box unable to boot (that's what quilt bisection says). At first I see these messages:


Yes, that generic code won't work because of the NULL
r->parent check.

Alpha, ARM, V32, FRV, IA64, MIPS, MN10300, PARISC, PPC,
SH, V850, X86, and Xtensa are all likely to run into
problems because of this change.

The only platform that did the check as a test of r->parent
being NULL is Powerpc.

The rest either didn't check (like sparc64), or tested it by going:

if (!r->start && r->end)

So the amount of potential breakage from this change is enormous.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Reply With Quote