From cb29f94b400c5c0846cc9c1197e27a99e0b11498 Mon Sep 17 00:00:00 2001 From: Shuo A Liu Date: Thu, 26 Dec 2019 15:41:29 +0800 Subject: [PATCH] hv: Use HLT as the default idle action of service OS This patch overwrites the idle driver of service OS for industry, sdc, sdc2 scenarios. HLT will be used as the default idle action. Tracked-On: #4329 Signed-off-by: Shuo A Liu Acked-by: Eddie Dong --- hypervisor/scenarios/industry/vm_configurations.h | 2 +- hypervisor/scenarios/sdc/vm_configurations.h | 2 +- hypervisor/scenarios/sdc2/vm_configurations.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hypervisor/scenarios/industry/vm_configurations.h b/hypervisor/scenarios/industry/vm_configurations.h index 482801afd..633dab4b1 100644 --- a/hypervisor/scenarios/industry/vm_configurations.h +++ b/hypervisor/scenarios/industry/vm_configurations.h @@ -25,7 +25,7 @@ "i915.nuclear_pageflip=1 " \ "i915.avail_planes_per_pipe=0x01010F " \ "i915.domain_plane_owners=0x011111110000 " \ - "i915.enable_gvt=1 " \ + "i915.enable_gvt=1 idle=halt " \ SOS_BOOTARGS_DIFF #define VM1_CONFIG_VCPU_AFFINITY {AFFINITY_CPU(1U)} diff --git a/hypervisor/scenarios/sdc/vm_configurations.h b/hypervisor/scenarios/sdc/vm_configurations.h index 436e931a6..2814259f0 100644 --- a/hypervisor/scenarios/sdc/vm_configurations.h +++ b/hypervisor/scenarios/sdc/vm_configurations.h @@ -25,7 +25,7 @@ "i915.nuclear_pageflip=1 " \ "i915.avail_planes_per_pipe=0x01010F " \ "i915.domain_plane_owners=0x011111110000 " \ - "i915.enable_gvt=1 " \ + "i915.enable_gvt=1 idle=halt " \ SOS_BOOTARGS_DIFF #if CONFIG_MAX_KATA_VM_NUM > 0 diff --git a/hypervisor/scenarios/sdc2/vm_configurations.h b/hypervisor/scenarios/sdc2/vm_configurations.h index 96e069d9e..5701a412e 100644 --- a/hypervisor/scenarios/sdc2/vm_configurations.h +++ b/hypervisor/scenarios/sdc2/vm_configurations.h @@ -25,7 +25,7 @@ "i915.nuclear_pageflip=1 " \ "i915.avail_planes_per_pipe=0x01010F " \ "i915.domain_plane_owners=0x011111110000 " \ - "i915.enable_gvt=1 " \ + "i915.enable_gvt=1 idle=halt " \ SOS_BOOTARGS_DIFF #define VM1_CONFIG_VCPU_AFFINITY {AFFINITY_CPU(1U)}