[PATCH] AGP fix for Xen VMM
authorKeir Fraser <Keir.Fraser@cl.cam.ac.uk>
Wed, 30 Mar 2005 21:17:04 +0000 (13:17 -0800)
committerDave Jones <davej@redhat.com>
Tue, 7 Jun 2005 19:35:43 +0000 (12:35 -0700)
commit07eee78ea8ba2d0b7b20551c35a3e7dd158d50bb
treea11d2e705253faaa9779cfd83bb8ca9de311b195
parente29b545cb153f230fbd8ff4c19bc98ab950f9f5c
[PATCH] AGP fix for Xen VMM

When Linux is running on the Xen virtual machine monitor, physical
addresses are virtualised and cannot be directly referenced by the AGP
GART.  This patch fixes the GART driver for Xen by adding a layer of
abstraction between physical addresses and 'GART addresses'.

Architecture-specific functions are also defined for allocating and freeing
the GATT.  Xen requires this to ensure that table really is contiguous from
the point of view of the GART.

These extra interface functions are defined as 'no-ops' for all existing
architectures that use the GART driver.

Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
20 files changed:
drivers/char/agp/agp.h
drivers/char/agp/ali-agp.c
drivers/char/agp/amd-k7-agp.c
drivers/char/agp/amd64-agp.c
drivers/char/agp/ati-agp.c
drivers/char/agp/backend.c
drivers/char/agp/efficeon-agp.c
drivers/char/agp/generic.c
drivers/char/agp/hp-agp.c
drivers/char/agp/i460-agp.c
drivers/char/agp/intel-agp.c
drivers/char/agp/sworks-agp.c
drivers/char/agp/uninorth-agp.c
include/asm-alpha/agp.h
include/asm-i386/agp.h
include/asm-ia64/agp.h
include/asm-ppc/agp.h
include/asm-ppc64/agp.h
include/asm-sparc64/agp.h
include/asm-x86_64/agp.h