Re: [RFC/PATCH, 1/4] readX_check() performance evaluation

From: Andi Kleen
Date: Wed Jan 28 2004 - 16:40:11 EST


On Wed, 28 Jan 2004 13:14:05 -0800
Grant Grundler <iod00d@xxxxxx> wrote:

>
> > I believe ppc64 has adopted it too. Of course most drivers don't
> > use it yet.
>
> <search 2.6.2-rc2 source tree>
> grundler <502>find -name '*.[chS]' | xargs fgrep pci_dma_error
> ./include/asm-x86_64/pci.h:#define pci_dma_error(x) ((x) ==
> bad_dma_address)
> grundler <503>
>
> That explains why most drivers don't use it yet.
> It's only supported on one arch.
> Maybe propose this to linux-pci mailing list?

It was discussed on linux-arch and ppc64 at least agreed on it.
The other architectures can get it via a comptibility #define that
is always 0.

There was a patch for that somewhere, but apparently it was never merged
or not merged yet.

Anton, what was the state of that?

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/