]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Fix invalidate/flush vmap routines
authorJohn David Anglin <dave.anglin@bell.net>
Sat, 19 Mar 2022 19:04:15 +0000 (19:04 +0000)
committerHelge Deller <deller@gmx.de>
Mon, 21 Mar 2022 12:30:54 +0000 (13:30 +0100)
commit89c91e8ebca7592d1fe2074a47106104a0048044
tree1b02d6ee02e1669bf73edc090b7085718ab53f8a
parent31e80c281e522a19d6d514e60a875aac59402393
parisc: Fix invalidate/flush vmap routines

Cache move-in for virtual accesses is controlled by the TLB.  Thus,
we must generally purge TLB entries before flushing.  The flush routines
must use TLB entries that inhibit cache move-in.

V2: Load physical address prior to flushing TLB.  In flush_cache_page,
flush TLB when flushing and purging.

V3: Don't flush when start equals end.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/cache.c