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>
Wed, 31 Jul 2013 15:51:19 +0000 (11:51 -0400)
commitdd78bc11fb2050b6a3990d0421feca4c68ca4335
tree7147fe5e0b3815443eea608d3dd0950ba53bb47d
parent7d937719e3c5c6c9ad00584f6b62230d2ef7f9f1
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