login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
26
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources below BIOS_END
view
thread
Previous message: [
thread
] [
date
] [author]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: jacob pan
Subject:
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources below BIOS_END
Date: Monday, April 26, 2010 - 2:44 pm
H. Peter Anvin Mon, 26 Apr 2010 14:12:35 -0700
quoted text
>> On Mon, 26 Apr 2010 14:27:56 -0600 >> Bjorn Helgaas <bjorn.helgaas@hp.com> wrote: >>> I'm a little concerned that those patches are a sledgehammer approach. >>> Previously, IORESOURCE_BUSY has basically been used for mutual exclusion >>> between drivers that would otherwise claim the same resource. It hasn't >>> been used to guide resource assignment in the PCI/PNP/etc core. Maybe >>> it's a good idea to also use IORESOURCE_BUSY there, but I'm not sure. >>> Right now it feels like undesirable overloading to me. >> >> I guess that's true, removing those regions from the pool entirely >> might be better? Or some other, clear way of expressing that the >> regions aren't available to drivers. Maybe we need a new IO resource >> type for platform ranges. >> >>> I think it also leads to at least one problem: Guenter's machine has no >>> VGA but has a PCI device that lives at 0xa0000. The driver for that >>> device won't be able to request that region if the arch code has marked >>> it busy. >> >> Ah good point, so we'll want another approach at any rate. Yinghai? > >What we need is to keep track of the areas available for address space >allocation by dynamically addressed devices, as distinct from address >space that is in use by a kernel-known device. There is an in-between, >which one can call "here there be dragons" space, which should never be >used for dynamic device allocation, but if a platform device or >pre-assigned device uses that space then it should be allowed to be >allocated. > >In the case of x86, anything that is E820_RESERVED, *or* in the legacy >region (below 1 MB) and is not RAM, is "here there be dragons" space. > > -hpa >
Moorestown has a similar situation where one of the PCI devices have a BAR below 1MB. Moorestown also has the option not to have VGA. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [author]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] x86: Reserve legacy VGA MMIO area for x86_64 as we ...
, Bjorn Helgaas
, (Wed Apr 7, 2:06 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Wed Apr 7, 3:45 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Bjorn Helgaas
, (Wed Apr 7, 4:05 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Wed Apr 7, 4:22 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Wed Apr 7, 4:43 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Wed Apr 7, 5:19 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Bjorn Helgaas
, (Wed Apr 7, 8:24 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Wed Apr 7, 9:42 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Wed Apr 7, 10:00 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Bjorn Helgaas
, (Thu Apr 8, 6:04 am)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Thu Apr 8, 2:40 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Bjorn Helgaas
, (Fri Apr 9, 9:04 am)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Fri Apr 9, 9:44 am)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Fri Apr 9, 10:22 am)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Fri Apr 9, 11:23 am)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Guenter Roeck
, (Fri Apr 9, 11:55 am)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Fri Apr 9, 12:55 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Fri Apr 9, 1:11 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Guenter Roeck
, (Fri Apr 9, 1:31 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Fri Apr 9, 1:44 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Guenter Roeck
, (Fri Apr 9, 2:01 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Fri Apr 9, 3:21 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai Lu
, (Fri Apr 9, 3:27 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Fri Apr 9, 3:35 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Fri Apr 9, 3:42 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Alan Cox
, (Fri Apr 9, 3:42 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Fri Apr 9, 3:44 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Alan Cox
, (Fri Apr 9, 3:51 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Alan Cox
, (Fri Apr 9, 3:54 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Fri Apr 9, 3:54 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Fri Apr 9, 3:55 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, H. Peter Anvin
, (Fri Apr 9, 3:55 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Fri Apr 9, 4:01 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Fri Apr 9, 5:00 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Fri Apr 9, 6:10 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Fri Apr 9, 6:43 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Fri Apr 9, 6:48 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Fri Apr 9, 6:57 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Fri Apr 9, 7:46 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Mon Apr 12, 11:54 am)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Yinghai
, (Mon Apr 12, 12:34 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Mon Apr 12, 12:48 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, yinghai.lu@oracle.com
, (Mon Apr 12, 12:55 pm)
Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 a ...
, Andy Isaacson
, (Mon Apr 12, 1:02 pm)
[PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e820 map
, Yinghai
, (Mon Apr 12, 3:32 pm)
[PATCH -v2 2/2] x86,pci, acpi: Inherent BUSY flag when set ...
, Yinghai
, (Mon Apr 12, 3:33 pm)
Re: [PATCH -v2 2/2] x86,pci, acpi: Inherent BUSY flag when ...
, Jesse Barnes
, (Mon Apr 12, 3:44 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Bjorn Helgaas
, (Tue Apr 13, 2:02 pm)
Re: [PATCH -v2 2/2] x86,pci, acpi: Inherent BUSY flag when ...
, Bjorn Helgaas
, (Tue Apr 13, 2:02 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 2:08 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, H. Peter Anvin
, (Tue Apr 13, 2:09 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 2:11 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, H. Peter Anvin
, (Tue Apr 13, 2:18 pm)
[PATCH -v3 1/3] x86: Reserve [0xa0000, 0x100000] in e820 map
, Yinghai
, (Tue Apr 13, 2:22 pm)
[PATCH -v3 2/3] x86,pci, acpi: host bridge windows inherit ...
, Yinghai
, (Tue Apr 13, 2:23 pm)
[PATCH -v3 3/3] pci: don't allocate from a BUSY bus resource
, Yinghai
, (Tue Apr 13, 2:24 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 2:42 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, H. Peter Anvin
, (Tue Apr 13, 2:58 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 3:29 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 3:39 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, H. Peter Anvin
, (Tue Apr 13, 3:41 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 3:58 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, H. Peter Anvin
, (Tue Apr 13, 4:02 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, H. Peter Anvin
, (Tue Apr 13, 4:03 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 4:03 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, H. Peter Anvin
, (Tue Apr 13, 4:07 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 4:09 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Tue Apr 13, 5:57 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Bjorn Helgaas
, (Wed Apr 14, 9:55 am)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai Lu
, (Wed Apr 14, 10:21 am)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Andy Isaacson
, (Wed Apr 14, 12:25 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Wed Apr 14, 12:27 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Andy Isaacson
, (Wed Apr 14, 12:43 pm)
Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Yinghai
, (Wed Apr 14, 12:49 pm)
[PATCH -v4 1/3] x86: Reserve [0xa0000, 0x100000] in e820 map
, Yinghai
, (Tue Apr 20, 10:33 pm)
[PATCH 2/3] x86, resource: Add reserve_region_with_split_c ...
, Yinghai
, (Tue Apr 20, 10:34 pm)
[PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, Yinghai
, (Tue Apr 20, 10:35 pm)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, Bjorn Helgaas
, (Wed Apr 21, 8:21 am)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, Yinghai Lu
, (Wed Apr 21, 9:45 am)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, Bjorn Helgaas
, (Wed Apr 21, 9:59 am)
Re: [PATCH -v4 1/3] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Andy Isaacson
, (Wed Apr 21, 12:31 pm)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, H. Peter Anvin
, (Wed Apr 21, 3:33 pm)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, Bjorn Helgaas
, (Wed Apr 21, 4:04 pm)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, H. Peter Anvin
, (Wed Apr 21, 4:10 pm)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, Yinghai
, (Wed Apr 21, 4:43 pm)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, H. Peter Anvin
, (Wed Apr 21, 5:02 pm)
Re: [PATCH 3/3] x86,pci,acpi: Handle invalid _CRS
, Yinghai
, (Wed Apr 21, 5:06 pm)
[PATCH] x86/PCI: never allocate PCI MMIO resources below B ...
, Bjorn Helgaas
, (Fri Apr 23, 4:05 pm)
Re: [PATCH -v3 1/3] x86: Reserve [0xa0000, 0x100000] in e8 ...
, H. Peter Anvin
, (Fri Apr 23, 4:30 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, H. Peter Anvin
, (Fri Apr 23, 4:44 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Yinghai Lu
, (Fri Apr 23, 5:36 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, R. Andrew Bailey
, (Mon Apr 26, 5:50 am)
Re: [PATCH -v3 1/3] x86: Reserve [0xa0000, 0x100000] in e8 ...
, Jesse Barnes
, (Mon Apr 26, 8:35 am)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Bjorn Helgaas
, (Mon Apr 26, 8:40 am)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Andy Isaacson
, (Mon Apr 26, 11:34 am)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Jesse Barnes
, (Mon Apr 26, 12:31 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Bjorn Helgaas
, (Mon Apr 26, 1:27 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Jesse Barnes
, (Mon Apr 26, 1:37 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Yinghai
, (Mon Apr 26, 2:07 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, H. Peter Anvin
, (Mon Apr 26, 2:12 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, H. Peter Anvin
, (Mon Apr 26, 2:19 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Jesse Barnes
, (Mon Apr 26, 2:25 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, H. Peter Anvin
, (Mon Apr 26, 2:44 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, jacob pan
, (Mon Apr 26, 2:44 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Jesse Barnes
, (Mon Apr 26, 2:53 pm)
Re: [PATCH] x86/PCI: never allocate PCI MMIO resources bel ...
, Yinghai Lu
, (Mon Apr 26, 2:59 pm)
[PATCH -v5] reserve a0000 - 0x10000
, Yinghai
, (Mon Apr 26, 3:04 pm)
[PATCH -v5 1/3] x86: Reserve [0xa0000, 0x100000] in e820 map
, Yinghai
, (Mon Apr 26, 3:04 pm)
[PATCH -v5 2/3] x86: Remove probe_roms for 32bit
, Yinghai
, (Mon Apr 26, 3:04 pm)
[PATCH -v5 3/3] x86, resource: Add reserve_region_with_spl ...
, Yinghai
, (Mon Apr 26, 3:04 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11409] build issue #564 for v2.6.27-rc4 : undefined reference to `NS8390p_in...
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Andrew Morton
2.6.23-rc6-mm1
Con Kolivas
Re: [PATCH] sched: staircase deadline misc fixes
Jeremy Fitzhardinge
[PATCH 33 of 36] x86_64: ia32entry: replace privileged instructions with pvops
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
Jeff Garzik
Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
git
:
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Gabriel
[PATCH] When a remote is added but not fetched, tell the user.
openbsd-misc
:
Jason Dixon
Re: any web management gui for pf ?
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Marco Peereboom
Re: Singularity OS
linux-kvm
:
Harald Braumann
Windows guest freezes with black screen
Huang Ying
Re: [PATCH] Ignore SRAO MCE if another MCE is being processed
Alex Williamson
Re: [RFC PATCH 5/6] savevm: Migrate RAM based on name/offset
Alexander Graf
[PATCH 23/27] KVM: PPC: PV assembler helpers
Anthony Liguori
Re: [Qemu-devel] [PATCH] Vmchannel PCI device.
Colocation donated by:
Syndicate