Home
last modified time | relevance | path

Searched hist:f6635f873a605576fa1983c605655a8721475c22 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/riscv/mm/
H A Dcontext.cf6635f873a605576fa1983c605655a8721475c22 Tue Mar 26 19:41:29 CDT 2019 Gary Guo <gary@garyguo.net> riscv: move switch_mm to its own file

switch_mm is an expensive operations that has two users.
flush_icache_deferred is only called within switch_mm and can be moved
together. The function is expected to be more complicated when ASID
support is added, so clean up eagerly.

By moving them to a separate file we also removes some excessive
dependency of tlbflush.h and cacheflush.h.

Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
H A DMakefilediff f6635f873a605576fa1983c605655a8721475c22 Tue Mar 26 19:41:29 CDT 2019 Gary Guo <gary@garyguo.net> riscv: move switch_mm to its own file

switch_mm is an expensive operations that has two users.
flush_icache_deferred is only called within switch_mm and can be moved
together. The function is expected to be more complicated when ASID
support is added, so clean up eagerly.

By moving them to a separate file we also removes some excessive
dependency of tlbflush.h and cacheflush.h.

Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
/openbmc/linux/arch/riscv/include/asm/
H A Dmmu_context.hdiff f6635f873a605576fa1983c605655a8721475c22 Tue Mar 26 19:41:29 CDT 2019 Gary Guo <gary@garyguo.net> riscv: move switch_mm to its own file

switch_mm is an expensive operations that has two users.
flush_icache_deferred is only called within switch_mm and can be moved
together. The function is expected to be more complicated when ASID
support is added, so clean up eagerly.

By moving them to a separate file we also removes some excessive
dependency of tlbflush.h and cacheflush.h.

Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>