Commit 35cba926 authored by Samuel Holland's avatar Samuel Holland Committed by Anup Patel
Browse files

lib: sbi_tlb: Check tlb_range_flush_limit only once per request



The tlb_update() callback is called for each destination hart.
Move the size check earlier, so it is executed only once.

Signed-off-by: default avatarSamuel Holland <samuel.holland@sifive.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 6112d584
Supports Markdown
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