linux/arch/x86/mm
Ingo Molnar 38cb47ba01 x86: relax RAM check in ioremap()
Kevin Winchester reported the loss of direct rendering, due to:

[    0.588184] agpgart: Detected AGP bridge 0
[    0.588184] agpgart: unable to get memory for graphics translation table.
[    0.588184] agpgart: agp_backend_initialize() failed.
[    0.588207] agpgart-amd64: probe of 0000:00:00.0 failed with error -12

and bisected it down to:

  commit 266b9f8727
  Author: Thomas Gleixner <tglx@linutronix.de>
  Date:   Wed Jan 30 13:34:06 2008 +0100

      x86: fix ioremap RAM check

this check was too strict and caused an ioremap() failure.

the problem is due to the somewhat unclean way of how the GART code
reserves a memory range for its aperture, and how it utilizes it
later on.

Allow RAM pages to be ioremap()-ed too, as long as they are reserved.

Bisected-by: Kevin Winchester <kjwinchester@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Kevin Winchester <kjwinchester@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-02-04 16:47:54 +01:00
..
discontig_32.c x86: make NUMA work on 32-bit 2008-01-30 13:33:25 +01:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault.c x86: fixes for lookup_address args 2008-02-01 17:49:43 +01:00
highmem_32.c x86: kmap_atomic() debugging 2008-01-30 13:30:47 +01:00
hugetlbpage.c x86: demacro asm-x86/pgalloc_32.h 2008-01-30 13:33:39 +01:00
init_32.c suspend: cleanup reference to swsusp_pg_dir[] 2008-02-01 18:30:59 -05:00
init_64.c x86_64: make bootmap_start page align v6 2008-02-01 17:49:41 +01:00
ioremap.c x86: relax RAM check in ioremap() 2008-02-04 16:47:54 +01:00
k8topology_64.c x86: add PCI IDs to k8topology_64.c 2008-01-30 13:34:12 +01:00
Makefile x86_64: move mm 2007-10-11 11:17:18 +02:00
Makefile_32 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
Makefile_64 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c x86: remove unneeded round_up 2008-02-01 17:49:42 +01:00
pageattr-test.c x86: fixes for lookup_address args 2008-02-01 17:49:43 +01:00
pageattr.c x86: change_page_attr_clear fix 2008-01-31 22:05:43 +01:00
pgtable_32.c x86: uninline __pte_free_tlb() and __pmd_free_tlb() 2008-01-31 22:05:48 +01:00
srat_64.c x86: fix section mismatch warning in srat_64.c 2008-01-30 13:33:37 +01:00