]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tile: convert uses of "inv" to "finv"
authorChris Metcalf <cmetcalf@tilera.com>
Tue, 23 Jul 2013 21:32:04 +0000 (17:32 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 23 Jul 2013 21:32:04 +0000 (17:32 -0400)
commit9ae8480f9f1425652ba5c0137bad8d4ab55250df
treeb249cabfb4eacc18b7ac87a068c6a4e020e313d5
parent74fc82211c80793eaebb6ed6b1fc4c05401ca72e
tile: convert uses of "inv" to "finv"

The "inv" (invalidate) instruction is generally less safe than "finv"
(flush and invalidate), as it will drop dirty data from the cache.
It turns out we have almost no need for "inv" (other than for the
older 32-bit architecture in some limited cases), so convert to
"finv" where possible and delete the extra "inv" infrastructure.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/cacheflush.h
arch/tile/include/asm/uaccess.h
arch/tile/include/uapi/asm/cachectl.h
arch/tile/kernel/head_32.S
arch/tile/kernel/head_64.S
arch/tile/lib/cacheflush.c
arch/tile/lib/exports.c
arch/tile/lib/usercopy_32.S
arch/tile/lib/usercopy_64.S