mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-28 03:41:29 +00:00
HV: Fix split-locked access detection is disabled by default
The commit 'HV: Config Splitlock Detection to be disable' allows using CONFIG_ENFORCE_TURNOFF_AC to turn off splitlock #AC. If CONFIG_ENFORCE_TURNOFF_AC is not set, splitlock #AC should be turn on Tracked-On: #4962 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
This commit is contained in:
parent
70f7e2239f
commit
2100ef0b50
@ -100,7 +100,7 @@ uint64_t get_active_pcpu_bitmap(void)
|
||||
|
||||
static void enable_ac_for_splitlock(void)
|
||||
{
|
||||
#ifdef CONFIG_ENFORCE_TURNOFF_AC
|
||||
#ifndef CONFIG_ENFORCE_TURNOFF_AC
|
||||
uint64_t test_ctl;
|
||||
|
||||
if (has_core_cap(1U << 5U)) {
|
||||
|
Loading…
Reference in New Issue
Block a user