Skip to content
Unverified Commit 9a801afd authored by Dylan Jhong's avatar Dylan Jhong Committed by Palmer Dabbelt
Browse files

riscv: mm: Fix incorrect ASID argument when flushing TLB

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>
parent 47dd902a
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