Skip to content
Commit aa8a49b6 authored by Dylan Jhong's avatar Dylan Jhong Committed by Greg Kroah-Hartman
Browse files

riscv: mm: Fix incorrect ASID argument when flushing TLB

commit 9a801afd upstream.

Currently, we pass the CONTEXTID instead of the ASID to the TLB flush
function. We should only take the ASID field to prevent from touching
the reserved bit field.

Fixes: 3f1e7829

 ("riscv: add ASID-based tlbflushing methods")
Signed-off-by: default avatarDylan Jhong <dylan@andestech.com>
Reviewed-by: default avatarSergey Matyukevich <sergey.matyukevich@syntacore.com>
Link: https://lore.kernel.org/r/20230313034906.2401730-1-dylan@andestech.com
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 75e10d7f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment