From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Bastian Blank <waldi@debian.org>
Cc: Konrad Rzeszutek <konrad@darnok.org>, xen-devel@lists.xensource.com
Subject: Re: pvops: i915 kms crashs with corrupt page table
Date: Wed, 24 Feb 2010 11:23:37 -0800 [thread overview]
Message-ID: <4B857CB9.8090804@goop.org> (raw)
In-Reply-To: <20100224175555.GA6353@wavehammer.waldi.eu.org>
On 02/24/2010 09:55 AM, Bastian Blank wrote:
> Hi
>
> I run a 2.6.32 dom0 kernel (the Debian distribution config). If I enable
> KMS in the intel driver, Xorg crashs with corrupt page table.
>
Does this help?
From d36d7863f86b2d7a786abf60ea37c75438b448d5 Mon Sep 17 00:00:00 2001
From: Jeremy Fitzhardinge<jeremy.fitzhardinge@citrix.com>
Date: Wed, 24 Feb 2010 11:10:45 -0800
Subject: [PATCH] agp: use DMA API when compiled for Xen as well
Xen guests need translation between pseudo-physical and real machine
physical addresses when accessing graphics devices, so use the DMA API
in that case too.
Signed-off-by: Jeremy Fitzhardinge<jeremy.fitzhardinge@citrix.com>
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index 3cb56a0..efa7213 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -15,8 +15,12 @@
* an Intel IOMMU. So make the correct use of the PCI DMA API contingent
* on the Intel IOMMU support (CONFIG_DMAR).
* Only newer chipsets need to bother with this, of course.
+ *
+ * Xen guests accessing graphics hardware also need proper translation
+ * between pseudo-physical addresses and real machine addresses, which
+ * is also achieved by using the DMA API.
*/
-#ifdef CONFIG_DMAR
+#if defined(CONFIG_DMAR) || defined(CONFIG_XEN)
#define USE_PCI_DMA_API 1
#endif
next prev parent reply other threads:[~2010-02-24 19:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-24 17:55 pvops: i915 kms crashs with corrupt page table Bastian Blank
2010-02-24 19:23 ` Jeremy Fitzhardinge [this message]
2010-02-25 10:06 ` Bastian Blank
2010-02-25 10:32 ` Bastian Blank
2010-02-26 0:37 ` Jeremy Fitzhardinge
2010-02-26 12:44 ` Bastian Blank
2010-02-26 17:29 ` Jeremy Fitzhardinge
[not found] ` <20100226180545.GC21871@wavehammer.waldi.eu.org>
[not found] ` <4B880EC0.8000803@goop.org>
2010-02-27 0:45 ` Bastian Blank
2010-02-27 1:17 ` Jeremy Fitzhardinge
2010-02-28 12:27 ` Bastian Blank
2010-03-01 8:43 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B857CB9.8090804@goop.org \
--to=jeremy@goop.org \
--cc=konrad@darnok.org \
--cc=waldi@debian.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.