diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-03-18 14:26:12 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-03-18 14:26:12 -0600 |
commit | 707d4eefbdb31f8e588277157056b0ce637d6c68 (patch) | |
tree | 55472345ce233593ba40dce3bc06b3b071013549 /net/ipv6 | |
parent | ac93ac7403493f8707b7734de9f40d5cb5db9045 (diff) | |
download | op-kernel-dev-707d4eefbdb31f8e588277157056b0ce637d6c68.zip op-kernel-dev-707d4eefbdb31f8e588277157056b0ce637d6c68.tar.gz |
Revert "[PATCH] Insert GART region into resource map"
This reverts commit 56dd669a138c, which makes the GART visible in
/proc/iomem. This fixes a regression: e501b3d87f00 ("agp: Support 64-bit
APBASE") exposed an existing problem with a conflict between the GART
region and a PCI BAR region.
The GART addresses are bus addresses, not CPU addresses, and therefore
should not be inserted in iomem_resource.
On many machines, the GART region is addressable by the CPU as well as by
an AGP master, but CPU addressability is not required by the spec. On some
of these machines, the GART is mapped by a PCI BAR, and in that case, the
PCI core automatically inserts it into iomem_resource, just as it does for
all BARs.
Inserting it here means we'll have a conflict if the PCI core later tries
to claim the GART region, so let's drop the insertion here.
The conflict indirectly causes X failures, as reported by Jouni in the
bugzilla below. We detected the conflict even before e501b3d87f00, but
after it the AGP code (fix_northbridge()) uses the PCI resource (which is
zeroed because of the conflict) instead of reading the BAR again.
Conflicts:
arch/x86_64/kernel/aperture.c
Fixes: e501b3d87f00 agp: Support 64-bit APBASE
Link: https://bugzilla.kernel.org/show_bug.cgi?id=72201
Reported-and-tested-by: Jouni Mettälä <jtmettala@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions