]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
arch/arm64: Fix `ukarch_tlb_flush_entry` 1149/head
authorRobert Kuban <robert.kuban@opensynergy.com>
Fri, 27 Oct 2023 13:51:29 +0000 (15:51 +0200)
committerRobert Kuban <robert.kuban@opensynergy.com>
Fri, 27 Oct 2023 14:11:49 +0000 (16:11 +0200)
commit34a614aae0515a08faefa88507e23726ef9051c0
tree9d178a5e47b224dbcd921308d600d8ce52feffe9
parent97523b55ac9e1327f7294da1feec8d4869da534d
arch/arm64: Fix `ukarch_tlb_flush_entry`

Fix a bug in `ukarch_tlb_flush_entry` that leads to the TLB entry
not being invalidated on arm64.

The argument `X` of `tlbi vaae1is, X` is not the virtual address,
but a field that contains the bits 55:12 of the virtual address in
the bits 43:0. The remaining bits of this field (RES0,TTL) are valid
being set to 0.

Store the virtual address at the proper location in the argument.

Signed-off-by: Robert Kuban <robert.kuban@opensynergy.com>
arch/arm/arm64/include/uk/asm/paging.h