* MCFG ACPI patch in git-x86 causes boot regression
@ 2008-01-07 22:47 Andi Kleen
[not found] ` <200801071452.15045.jbarnes@virtuousgeek.org>
0 siblings, 1 reply; 9+ messages in thread
From: Andi Kleen @ 2008-01-07 22:47 UTC (permalink / raw)
To: Robert Hancock
Cc: mingo, tglx, linux-kernel, akpm, jbarnes, rajesh.shah, greg
This patch
commit c5182babd1d0706f1294af7b8dbf64e378b066bb
Author: Robert Hancock <hancockr@shaw.ca>
Date: Sat Jan 5 13:26:32 2008 +0100
x86: validate against ACPI motherboard resources
...
recently added to git-x86 causes one of my Intel test systems to not boot
unless I specify pci=conf1.
...
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: MCFG configuration 0: base 4026531840 segment 0 buses 0 - 127
PCI: MCFG area at f0000000 reserved in ACPI motherboard resources
PCI: Using MMCONFIG at f0000000 - f7ffffff
ACPI: PCI Root Bridge [PCI0] (0000:00)
<hang>
The system is a SDV, but I believe production level.
DSDT is available at http://firstfloor.org/~andi/dsdt.dsl
On previous kernels the MCFG was rejected because it wasn't e820 reserved:
ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
Also I'm a little surprised to find my Signed-off-by on that patch.
-Andi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: MCFG ACPI patch in git-x86 causes boot regression
[not found] ` <200801071452.15045.jbarnes@virtuousgeek.org>
@ 2008-01-07 23:31 ` Robert Hancock
2008-01-08 1:01 ` Andi Kleen
2008-01-08 8:13 ` Ingo Molnar
1 sibling, 1 reply; 9+ messages in thread
From: Robert Hancock @ 2008-01-07 23:31 UTC (permalink / raw)
To: Jesse Barnes
Cc: Andi Kleen, mingo, tglx, linux-kernel, akpm, rajesh.shah, greg
Jesse Barnes wrote:
> On Monday, January 07, 2008 2:47 Andi Kleen wrote:
>> This patch
>>
>> commit c5182babd1d0706f1294af7b8dbf64e378b066bb
>> Author: Robert Hancock <hancockr@shaw.ca>
>> Date: Sat Jan 5 13:26:32 2008 +0100
>>
>> x86: validate against ACPI motherboard resources
>>
>> ...
>>
>> recently added to git-x86 causes one of my Intel test systems to not
>> boot unless I specify pci=conf1.
>>
>> ...
>> ACPI: EC: Look up EC in DSDT
>> ACPI: Interpreter enabled
>> ACPI: (supports S0 S3 S4 S5)
>> ACPI: Using IOAPIC for interrupt routing
>> PCI: MCFG configuration 0: base 4026531840 segment 0 buses 0 - 127
>> PCI: MCFG area at f0000000 reserved in ACPI motherboard resources
>> PCI: Using MMCONFIG at f0000000 - f7ffffff
>> ACPI: PCI Root Bridge [PCI0] (0000:00)
>> <hang>
>>
>> The system is a SDV, but I believe production level.
>> DSDT is available at http://firstfloor.org/~andi/dsdt.dsl
>>
>> On previous kernels the MCFG was rejected because it wasn't e820
>> reserved:
>
> Yep, this patch (as was stated many times) requires other fixes to PCI
> probing--either disabling decode, not using mmconfig unless absolutely
> required, or one of the other discussed changes. I'm not sure why it
> was pushed before one of those changes went in.
I believe that such a change is in Greg KH's tree. So -mm (with both
trees) would probably work.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: MCFG ACPI patch in git-x86 causes boot regression
2008-01-07 23:31 ` Robert Hancock
@ 2008-01-08 1:01 ` Andi Kleen
2008-01-08 1:03 ` Robert Hancock
0 siblings, 1 reply; 9+ messages in thread
From: Andi Kleen @ 2008-01-08 1:01 UTC (permalink / raw)
To: Robert Hancock
Cc: Jesse Barnes, Andi Kleen, mingo, tglx, linux-kernel, akpm,
rajesh.shah, greg
On Mon, Jan 07, 2008 at 05:31:58PM -0600, Robert Hancock wrote:
> Jesse Barnes wrote:
Hmm -- I didn't see Jesse's mail?
> I believe that such a change is in Greg KH's tree. So -mm (with both
> trees) would probably work.
Yes 2.6.24-rc6-mm1 works, but plain git-x86 does not:
PCI: MCFG configuration 0: base 4026531840 segment 0 buses 0 - 127
PCI: MCFG area at f0000000 reserved in ACPI motherboard resources
PCI: Using MMCONFIG at f0000000 - f7ffffff
-Andi
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: MCFG ACPI patch in git-x86 causes boot regression
2008-01-08 1:01 ` Andi Kleen
@ 2008-01-08 1:03 ` Robert Hancock
2008-01-08 8:15 ` Ingo Molnar
0 siblings, 1 reply; 9+ messages in thread
From: Robert Hancock @ 2008-01-08 1:03 UTC (permalink / raw)
To: Andi Kleen
Cc: Jesse Barnes, mingo, tglx, linux-kernel, akpm, rajesh.shah, greg
Andi Kleen wrote:
> On Mon, Jan 07, 2008 at 05:31:58PM -0600, Robert Hancock wrote:
>> Jesse Barnes wrote:
>
> Hmm -- I didn't see Jesse's mail?
>
>> I believe that such a change is in Greg KH's tree. So -mm (with both
>> trees) would probably work.
>
> Yes 2.6.24-rc6-mm1 works, but plain git-x86 does not:
>
> PCI: MCFG configuration 0: base 4026531840 segment 0 buses 0 - 127
> PCI: MCFG area at f0000000 reserved in ACPI motherboard resources
> PCI: Using MMCONFIG at f0000000 - f7ffffff
At least, I thought it was in Greg's tree, not sure now.. This is the
patch in -mm:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/broken-out/pci-disable-decoding-during-sizing-of-bars.patch
Without this change a bunch of machines fail to boot even without the
MCFG change (since their MCFG was E820 reserved and so the old
validation check passed).
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: MCFG ACPI patch in git-x86 causes boot regression
[not found] ` <200801071452.15045.jbarnes@virtuousgeek.org>
2008-01-07 23:31 ` Robert Hancock
@ 2008-01-08 8:13 ` Ingo Molnar
1 sibling, 0 replies; 9+ messages in thread
From: Ingo Molnar @ 2008-01-08 8:13 UTC (permalink / raw)
To: Jesse Barnes
Cc: Andi Kleen, Robert Hancock, tglx, linux-kernel, akpm, rajesh.shah,
greg
* Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> > On previous kernels the MCFG was rejected because it wasn't e820
> > reserved:
>
> Yep, this patch (as was stated many times) requires other fixes to PCI
> probing--either disabling decode, not using mmconfig unless absolutely
> required, or one of the other discussed changes. I'm not sure why it
> was pushed before one of those changes went in.
yeah - we try to pick up patches early into x86.git, so that integration
issues can be found as early as possible. But this patch should live in
Greg's tree - just sent it back.
Ingo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: MCFG ACPI patch in git-x86 causes boot regression
2008-01-08 1:03 ` Robert Hancock
@ 2008-01-08 8:15 ` Ingo Molnar
2008-01-08 16:14 ` Andi Kleen
0 siblings, 1 reply; 9+ messages in thread
From: Ingo Molnar @ 2008-01-08 8:15 UTC (permalink / raw)
To: Robert Hancock
Cc: Andi Kleen, Jesse Barnes, tglx, linux-kernel, akpm, rajesh.shah,
greg
* Robert Hancock <hancockr@shaw.ca> wrote:
> At least, I thought it was in Greg's tree, not sure now.. This is the
> patch in -mm:
>
> http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/broken-out/pci-disable-decoding-during-sizing-of-bars.patch
>
> Without this change a bunch of machines fail to boot even without the
> MCFG change (since their MCFG was E820 reserved and so the old
> validation check passed).
Andi, can you confirm that your box boots fine with that patch applied?
Ingo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: MCFG ACPI patch in git-x86 causes boot regression
2008-01-08 8:15 ` Ingo Molnar
@ 2008-01-08 16:14 ` Andi Kleen
2008-01-08 16:27 ` Ingo Molnar
0 siblings, 1 reply; 9+ messages in thread
From: Andi Kleen @ 2008-01-08 16:14 UTC (permalink / raw)
To: Ingo Molnar
Cc: Robert Hancock, Andi Kleen, Jesse Barnes, tglx, linux-kernel,
akpm, rajesh.shah, greg
On Tue, Jan 08, 2008 at 09:15:43AM +0100, Ingo Molnar wrote:
>
> * Robert Hancock <hancockr@shaw.ca> wrote:
>
> > At least, I thought it was in Greg's tree, not sure now.. This is the
> > patch in -mm:
> >
> > http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/broken-out/pci-disable-decoding-during-sizing-of-bars.patch
> >
> > Without this change a bunch of machines fail to boot even without the
> > MCFG change (since their MCFG was E820 reserved and so the old
> > validation check passed).
>
> Andi, can you confirm that your box boots fine with that patch applied?
Yes it does.
-Andi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: MCFG ACPI patch in git-x86 causes boot regression
2008-01-08 16:14 ` Andi Kleen
@ 2008-01-08 16:27 ` Ingo Molnar
2008-01-08 19:02 ` Jesse Barnes
0 siblings, 1 reply; 9+ messages in thread
From: Ingo Molnar @ 2008-01-08 16:27 UTC (permalink / raw)
To: Andi Kleen
Cc: Robert Hancock, Jesse Barnes, tglx, linux-kernel, akpm,
rajesh.shah, greg
* Andi Kleen <andi@firstfloor.org> wrote:
> > > http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/broken-out/pci-disable-decoding-during-sizing-of-bars.patch
> > >
> > > Without this change a bunch of machines fail to boot even without
> > > the MCFG change (since their MCFG was E820 reserved and so the old
> > > validation check passed).
> >
> > Andi, can you confirm that your box boots fine with that patch
> > applied?
>
> Yes it does.
thanks for testing it. (and thanks for finding & reporting the problem)
I've added that patch to x86.git, right before:
Subject: x86: validate against ACPI motherboard resources
this should be the only dependency AFAICS.
Ingo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: MCFG ACPI patch in git-x86 causes boot regression
2008-01-08 16:27 ` Ingo Molnar
@ 2008-01-08 19:02 ` Jesse Barnes
0 siblings, 0 replies; 9+ messages in thread
From: Jesse Barnes @ 2008-01-08 19:02 UTC (permalink / raw)
To: Ingo Molnar
Cc: Andi Kleen, Robert Hancock, tglx, linux-kernel, akpm, rajesh.shah,
greg
On Tuesday, January 08, 2008 8:27 Ingo Molnar wrote:
> * Andi Kleen <andi@firstfloor.org> wrote:
> > > > http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/
> > > >2.6.24-rc6/2.6.24-rc6-mm1/broken-out/pci-disable-decoding-during
> > > >-sizing-of-bars.patch
> > > >
> > > > Without this change a bunch of machines fail to boot even
> > > > without the MCFG change (since their MCFG was E820 reserved and
> > > > so the old validation check passed).
> > >
> > > Andi, can you confirm that your box boots fine with that patch
> > > applied?
> >
> > Yes it does.
>
> thanks for testing it. (and thanks for finding & reporting the
> problem) I've added that patch to x86.git, right before:
>
> Subject: x86: validate against ACPI motherboard resources
>
> this should be the only dependency AFAICS.
Yeah, that should work afaik, thanks for sorting this out.
Jesse
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-01-09 1:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07 22:47 MCFG ACPI patch in git-x86 causes boot regression Andi Kleen
[not found] ` <200801071452.15045.jbarnes@virtuousgeek.org>
2008-01-07 23:31 ` Robert Hancock
2008-01-08 1:01 ` Andi Kleen
2008-01-08 1:03 ` Robert Hancock
2008-01-08 8:15 ` Ingo Molnar
2008-01-08 16:14 ` Andi Kleen
2008-01-08 16:27 ` Ingo Molnar
2008-01-08 19:02 ` Jesse Barnes
2008-01-08 8:13 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).