commit | 6747430197ed414be37e843064a7f365f4d1fd57 | [log] [tgz] |
---|---|---|
author | Pekka Enberg <penberg@kernel.org> | Tue Aug 25 19:42:54 2020 +0300 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Tue Sep 15 18:46:04 2020 -0700 |
tree | c375d5ab5f89bd62656e5467cde41e121c940bb4 | |
parent | 7a75f3d47a0b1be6eeb67d14e4003b2b91f8aa59 [diff] |
riscv/mm/fault: Move FAULT_FLAG_WRITE handling in do_page_fault() Let's handle the translation of EXC_STORE_PAGE_FAULT to FAULT_FLAG_WRITE once before looking up the VMA. This makes it easier to extract access error logic in the next patch. Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>