From 3b6b5fb6627651dbd3a65e422ed0a6b668916abc Mon Sep 17 00:00:00 2001 From: Qian Wang Date: Sun, 27 Sep 2020 17:25:57 +0800 Subject: [PATCH] hv: add FIX-ME for wbinvd emulation Add a fix-me for wbinvd emulation. Tracked-On: #5330 Signed-off-by: Qian Wang --- hypervisor/include/arch/x86/mmu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hypervisor/include/arch/x86/mmu.h b/hypervisor/include/arch/x86/mmu.h index cfaccb598..a138b7c06 100644 --- a/hypervisor/include/arch/x86/mmu.h +++ b/hypervisor/include/arch/x86/mmu.h @@ -150,6 +150,9 @@ void flush_address_space(void *addr, uint64_t size); */ void invept(const void *eptp); +/* FIX-ME: + * this is an workaround for pSRAM protection. We should implement full emulation for WBINVD + */ extern volatile bool psram_is_initialized; static inline void cache_flush_invalidate_all(void) {