linux/arch/ia64
Bjorn Helgaas 32e62c636a [IA64] rework memory attribute aliasing
This closes a couple holes in our attribute aliasing avoidance scheme:

  - The current kernel fails mmaps of some /dev/mem MMIO regions because
    they don't appear in the EFI memory map.  This keeps X from working
    on the Intel Tiger box.

  - The current kernel allows UC mmap of the 0-1MB region of
    /sys/.../legacy_mem even when the chipset doesn't support UC
    access.  This causes an MCA when starting X on HP rx7620 and rx8620
    boxes in the default configuration.

There's more detail in the Documentation/ia64/aliasing.txt file this
adds, but the general idea is that if a region might be covered by
a granule-sized kernel identity mapping, any access via /dev/mem or
mmap must use the same attribute as the identity mapping.

Otherwise, we fall back to using an attribute that is supported
according to the EFI memory map, or to using UC if the EFI memory
map doesn't mention the region.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2006-05-08 16:32:05 -07:00
..
configs [IA64] update sn2 defconfig 2006-04-27 14:38:03 -07:00
dig [IA64] cleanup dig_irq_init 2006-03-24 13:12:46 -08:00
hp [PATCH] kill _INLINE_ 2006-03-23 07:38:16 -08:00
ia32 [IA64] eliminate compile time warnings 2006-04-20 17:06:35 -07:00
kernel [IA64] rework memory attribute aliasing 2006-05-08 16:32:05 -07:00
lib [IA64] strcpy returns NULL pointer and not destination pointer 2006-05-05 11:34:55 -07:00
mm [IA64] rework memory attribute aliasing 2006-05-08 16:32:05 -07:00
oprofile [PATCH] remove gcc-2 checks 2006-01-08 20:14:02 -08:00
pci [IA64] rework memory attribute aliasing 2006-05-08 16:32:05 -07:00
scripts
sn [IA64-SGI] fix SGI Altix tioce_reserve_m32() bug 2006-04-27 14:32:07 -07:00
defconfig [IA64] Increase max node count on SN platforms 2006-03-24 13:15:03 -08:00
install.sh
Kconfig [IA64] IOC4 config option ordering 2006-04-21 10:59:00 -07:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
module.lds