From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Date: Wed, 28 Jan 2004 21:39:05 +0000 Subject: Re: [RFC/PATCH, 1/4] readX_check() performance evaluation Message-Id: <20040128223905.2ecfb683.ak@suse.de> List-Id: References: <00a201c3e541$c0e7d680$2987110a@lsd.css.fujitsu.com> <20040128172004.GB5494@cup.hp.com> <20040128184137.616b6425.ak@suse.de> <20040128190923.GA6333@cup.hp.com> <20040128201701.045670db.ak@suse.de> <20040128211405.GG5722@cup.hp.com> In-Reply-To: <20040128211405.GG5722@cup.hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Grant Grundler Cc: ishii.hironobu@jp.fujitsu.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, anton@samba.org On Wed, 28 Jan 2004 13:14:05 -0800 Grant Grundler wrote: > > > I believe ppc64 has adopted it too. Of course most drivers don't > > use it yet. > > > 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