LKML Archive on
help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <>
To: Gerhard Pircher <>
Subject: Re: [BUG/RFC/PATCH] drm: Fix for non-coherent DMA PowerPC
Date: Mon, 03 Mar 2008 07:47:09 +1100	[thread overview]
Message-ID: <1204490829.15052.482.camel@pasglop> (raw)
In-Reply-To: <>

> Xorg (v7.1.1, Debian Etch) crashes with this patch (applied to 2.6.25-rc3)
> on my AmigaOne with a Radeon 9200 (PCIGART mode enabled). See the attached
> log file for the stack trace.

That doesn't look possible, which is weird... looks like we are passing
0 to clean_dcache_range().

Interestingly enough, I can -see- possible issues with the ppc32 DMA API
when trying to use HIGHMEM but that isn't the case here... 

Can you add printk's to ati_pcigart.c to print the arguments passed to

+               dma_sync_single_for_device(&dev->pdev->dev,
+                                          bus_address,
+                                          max_pages * sizeof(u32),
+                                          PCI_DMA_TODEVICE);

And also print the result of bus_to_virt(bus_address) ?


  reply	other threads:[~2008-03-02 20:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-25 23:41 [RFC/PATCH] " Benjamin Herrenschmidt
2008-03-02 11:05 ` [BUG/RFC/PATCH] " Gerhard Pircher
2008-03-02 20:47   ` Benjamin Herrenschmidt [this message]
2008-03-02 22:30     ` Gerhard Pircher
2008-03-02 22:54       ` Benjamin Herrenschmidt
2008-03-02 22:56       ` Benjamin Herrenschmidt
2008-03-03 19:51         ` Gerhard Pircher
2008-03-03 20:44           ` Benjamin Herrenschmidt
2008-03-03 21:37             ` Gerhard Pircher

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1204490829.15052.482.camel@pasglop \ \ \ \ \ \ \
    --subject='Re: [BUG/RFC/PATCH] drm: Fix for non-coherent DMA PowerPC' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).