]> git.baikalelectronics.ru Git - kernel.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>
Wed, 31 Jul 2013 15:51:19 +0000 (11:51 -0400)
commit76555f1c50730670a1b735a069754ffa1f6b386b
tree7147fe5e0b3815443eea608d3dd0950ba53bb47d
parent9de44de8f0aa456e27d33db381fe0256235f4973
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