diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-06-06 15:03:48 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-06-15 06:54:27 +0300 |
commit | e2c3f01af4329aa7e9009edee13b7cfdf379071f (patch) | |
tree | 9b4b0d6ecd076ef0f14c514433a251a8bb64487d /lib/utils | |
parent | 32f87e5a8668445097473d4ad3ab5a0de7b1dd6f (diff) | |
download | opensbi-e2c3f01af4329aa7e9009edee13b7cfdf379071f.tar.xz |
lib: Fix __sbi_hfence_gvma_vmid_gpa() and __sbi_hfence_vvma_asid_va()
The arguments/parameters of __sbi_hfence_gvma_vmid_gpa() and
__sbi_hfence_vvma_asid_va() functions are swapped so we fix it.
Currently, we did not face any issues because QEMU does a full
TLB flush for all HFENCE instructions.
We also improve documentation of HFENCE.GVMA and HFENCE.VVMA
instruction encoding.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions