Re: Linux 2.6.27-rc5: System boot regression caused by commit a2bd7274b47124d2fc4dfdb8c0591f545ba749dd

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Friday, August 29, 2008 - 6:30 pm

On Fri, Aug 29, 2008 at 6:11 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:

we reverted the commit , David's problem still happen.

the root cause is:
before 2.6.26, call init_apic_mapping and will insert_resource for
lapic address.
and then call e820_resource_resouce (with request_resource) to
register e820 entries.
so the lapic entry in the resource tree will prevent some entry in
e820 to be registered.
later request_resource for BAR res (==hpet) will succeed.

from 2.6.26. we move lapic address registering to late_initcall, so
the entry is reserved in e820 getting into resource tree at first.
and later pci_resource_survey::request_resource for BAR res (==hpet,
0xfed00000) will fail. so pci_assign_unsigned... will get new
res for the BAR, so it messed up hpet setting.

solutions will be
1. use quirk to protect hpet in BAR, Ingo said it is not generic.
2. or the one you are reverted... check_bar_with_valid. (hpet, ioapic,
mmconfig) --> happenly reveal another problem with Rafael's
system/chipset.
3. or sticky resource... , but could have particallly overlapping
4. or don't register reserved entries in e820.. Eric, Nacked.
5. or you sugges, regiser some reserved entries later...., and have
insert_resource_expand_to_fit...

YH
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.27-rc5, Linus Torvalds, (Thu Aug 28, 4:26 pm)
cpu time oddity (was Re: Linux 2.6.27-rc5), Alistair John Strachan, (Fri Aug 29, 8:42 am)
Re: cpu time oddity (was Re: Linux 2.6.27-rc5), Alistair John Strachan, (Fri Aug 29, 8:56 am)
Re: Linux 2.6.27-rc5, Rafael J. Wysocki, (Fri Aug 29, 10:13 am)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Fri Aug 29, 12:57 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Fri Aug 29, 3:30 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Fri Aug 29, 3:31 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Fri Aug 29, 3:32 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Fri Aug 29, 3:47 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Yinghai Lu, (Fri Aug 29, 6:30 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Sat Aug 30, 6:32 am)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Sat Aug 30, 10:14 am)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Sat Aug 30, 12:20 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Sat Aug 30, 12:29 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Sat Aug 30, 12:51 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Sat Aug 30, 1:46 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Sat Aug 30, 2:34 pm)
Re: Linux 2.6.27-rc5: System boot regression caused by com ..., Rafael J. Wysocki, (Sun Aug 31, 5:27 am)
Re: Linux 2.6.27-rc5, J.A. , (Sun Aug 31, 4:27 pm)