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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <yhlu.kernel@...>
Cc: Rafael J. Wysocki <rjw@...>, Linux Kernel Mailing List <linux-kernel@...>, Jeff Garzik <jeff@...>, Tejun Heo <htejun@...>, Ingo Molnar <mingo@...>, David Witbrodt <dawitbro@...>, Andrew Morton <akpm@...>, Kernel Testers <kernel-testers@...>
Date: Friday, August 29, 2008 - 11:10 pm

On Fri, 29 Aug 2008, Yinghai Lu wrote:

Except it's still a horrible patch that special-cases all the wrong things
(ie random resources that we just happen to know that ACPI etc cares
about).

There's no way to know in general if ACPI might care deeply where some
random resource is (say, graphics memory) and it might be done with a BAR.

So that's why I think the approach stinks.

> BTW, insert_resource_expand_to_fit need to be replaced with

Well, we should probably just remove the IORESOURCE_BUSY part.

Again, that comes from the fact that the e820 resources used to _override_
everything - they were inserted first, and nothing else was _ever_ allowed
to allocate in that region.

But if we're changing that, then the whole IORESOURCE_BUSY part doesn't
make sense.

In fact, in general, IORESOURCE_BUSY doesn't much make sense any more in
general, because it was actually more of an ISA-timeframe locking model
saying "you can't touch this region". But if the whole point is that we
now try to allow PCI device BAR's and the e820 maps to co-exist, then the
whole - and only - reason for IORESOURCE_BUSY for them goes away..

Linus
--

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

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