Re: [PATCH 2/2] acpi based pci gap caluculation v2

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Zhao Yakui <yakui.zhao@...>
Cc: <akataria@...>, <lenb@...>, Ingo Molnar <mingo@...>, linux-acpi <linux-acpi@...>, LKML <linux-kernel@...>
Date: Wednesday, June 25, 2008 - 12:17 am

On Tue, Jun 24, 2008 at 7:49 PM, Zhao Yakui <yakui.zhao@intel.com> wrote:

Hi Yakui,

What do you mean by the PCI0 _CRS being incorrect ? Why would the BIOS
give a incorrect _CRS object ?
Also we don't just take the value given from the _CRS method, we still
read the e820_map to search for an unallocated resource. So even if
(by chance) the _CRS method returns incorrect value we would still
figure out if there is a collision with an already allocated resource.


Yes pci_mem_start would be initialized in 2 different ways but we
still have to parse the e820_map the old way because there could be
systems without ACPI.


Yeah, The result is different in my case. Though my BIOS reserves
hotpluggable memory region, kernel doesn't respect that right now and
just parses the e820_map to calculate the gap and pci_mem_start value.
I have explained the problem in this mail.

http://marc.info/?l=linux-acpi&m=121391675711763&w=2

Maybe nobody has seen this problem yet, because there are no systems
out there with less than 4GB memory to start with and which allow
memory hotplug.

But still i don't understand what do you mean by, we can get incorrect
pci_mem_start, in which case ?

Thanks,
Alok
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2] acpi based pci gap caluculation v2, Alok Kataria, (Tue Jun 24, 2:48 pm)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Zhao Yakui, (Tue Jun 24, 10:49 pm)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Alok kataria, (Wed Jun 25, 12:17 am)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Zhao Yakui, (Wed Jun 25, 1:39 am)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Alok kataria, (Wed Jun 25, 2:04 am)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Zhao Yakui, (Wed Jun 25, 4:38 am)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Alok Kataria, (Wed Jun 25, 12:57 pm)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Zhao Yakui, (Wed Jun 25, 9:00 pm)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Alok Kataria, (Wed Jun 25, 9:18 pm)
Re: [PATCH 2/2] acpi based pci gap caluculation v2, Alok Kataria, (Wed Jun 25, 2:22 pm)