lib: sbi_tlb: Use sbi_hartmask in sbi_tlb_info
authorAnup Patel <anup.patel@wdc.com>
Wed, 4 Mar 2020 08:51:42 +0000 (14:21 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 11 Mar 2020 09:59:57 +0000 (15:29 +0530)
commitd96316481dbc9a52e7e97c4cef70957507c2845f
treed786e665940f2cebd911be703fec3329fc0b6db2
parenta4a6a81b7d69b39f4d806e96e6b54a9e0e36d3f3
lib: sbi_tlb: Use sbi_hartmask in sbi_tlb_info

Instead of using single ulong as source mask for sbi_tlb_info,
we use sbi_hartmask. This way sbi_tlb_info can easily scale
for large number of HARTs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi/sbi_tlb.h
lib/sbi/sbi_tlb.c