acrn-hypervisor/hypervisor/include
Zide Chen aeb3690b6f hv: simplify is_lapic_pt_enabled()
is_lapic_pt_enabled() is called at least twice in one loop of the vCPU
thread, and it's called in vmexit_handler() frequently if LAPIC is not
pass-through.  Thus the efficiency of this function has direct
impact to the system performance.

Since the LAPIC mode is not changed in run time, we don't have to
calculate it on the fly in is_lapic_pt_enabled().

BTW, removed the unused lapic_mask from struct acrn_vcpu_arch.

Tracked-On: #6289
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2021-08-26 09:52:10 +08:00
..
arch/x86/asm hv: simplify is_lapic_pt_enabled() 2021-08-26 09:52:10 +08:00
common config_tools: add a new entry MAX_EFI_MMAP_ENTRIES 2021-08-20 09:50:39 +08:00
debug hv: debug: Add hv console callback to VM-exit event 2021-07-22 10:08:23 +08:00
dm hv: mmiodev: a minor bug fix about refine acrn_mmiodev data structure 2021-08-19 12:01:35 +08:00
hw hv: add max payload to vrp 2021-06-15 08:53:53 +08:00
lib hv: Move uuid_is_equal to util.h 2021-08-26 09:24:50 +08:00
public hv && config-tool: Rename GUEST_FLAG_TPM2_FIXUP 2021-08-26 09:24:50 +08:00