summaryrefslogtreecommitdiff
path: root/screen.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-08-19 12:58:51 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2020-08-19 13:16:51 +0200
commit3178ceb8c7e0a94ed29bbd1e277f03bb0d5a3d44 (patch)
treed3f2d24f5d7c137965ecf338619e42b73abe7467 /screen.h
parent0d5aa3246c20dad2d76165559fb575136b7216e8 (diff)
mausezahn: move variable definitions from mops.h to mops.c
Move variable definitions to avoid "multiple definition of symbol" linker errors with gcc-10. Updates #216 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'screen.h')
0 files changed, 0 insertions, 0 deletions
y're associated with. But when multiple vcpus from the same VM are being multiplexed on the same CPU, the TLBs are not private to the vcpus (and are actually shared across the VMID). Let's consider the following scenario: - vcpu-0 maps PA to VA - vcpu-1 maps PA' to VA If run on the same physical CPU, vcpu-1 can hit TLB entries generated by vcpu-0 accesses, and access the wrong physical page. The solution to this is to keep a per-VM map of which vcpu ran last on each given physical CPU, and invalidate local TLBs when switching to a different vcpu from the same VM. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'Documentation')