Messages in this thread | | | From | Ingo Oeser <> | Subject | Re: _PAGE_PCD bit in DMAable memory | Date | Tue, 18 May 2004 22:29:20 +0200 |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 18 May 2004 21:03, you wrote: > Thanks much for the reply. I forgot to mention I am on > Linux 2.4.20. I looked into 2.6 and could see what you > described in your email. The comment on top of > consistent_alloc() for arm (2.4.20) says it will give > cache-coherent memory, but i am not able to see how > this is made possible for Xscale when if it doesn't > set the L_PTE_CACHEABLE to 0 (for 2.4.20, again).
There it is hidden in arch/arm/mm/ioremap.c
look at the L_ flags there and how L_PTE_CACHEABLE is missing there by default.
PS: This can be found easily with grep. Try this little Bash script to grep recursively through the kernel and answer your questions more quickly:
#!/bin/bash if [ $# -lt 2 ]; then PROGNAME=`basename $0` echo -e "$PROGNAME - find a string in a tree of *.c and *.h files" echo -e "Usage:\t$PROGNAME <start dir> <what>\n" exit 1 fi
DIR=$1 shift exec find "${DIR}" -type f -name '*.[ch]' -print0 |xargs -0 grep -A8 "$@"
Regards
Ingo Oeser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAqnIhU56oYWuOrkARAv6xAKCgcq/WebDhbLunZA9m/MnDhbKAVgCffZDE SPn4VpSWK57wFxjmdicyIok= =KjNv -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |