From 447652560fc9883407827dbe925c06b0bc2b66a3 Mon Sep 17 00:00:00 2001 From: Ashish Kalra Date: Wed, 12 Oct 2022 18:02:40 +0000 Subject: Using CONFIG_PREEMPT_VOLUNTARY=y and CONFIG_PREEMPT=n for SNP host kernel build. Signed-off-by: Ashish Kalra --- common.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common.sh') diff --git a/common.sh b/common.sh index aea20d7..893a430 100755 --- a/common.sh +++ b/common.sh @@ -75,6 +75,10 @@ build_kernel() run_cmd ./scripts/config --disable SYSTEM_REVOCATION_KEYS run_cmd ./scripts/config --module SEV_GUEST run_cmd ./scripts/config --disable IOMMU_DEFAULT_PASSTHROUGH + run_cmd ./scripts/config --disable PREEMPT_COUNT + run_cmd ./scripts/config --disable PREEMPTION + run_cmd ./scripts/config --disable PREEMPT_DYNAMIC + run_cmd ./scripts/config --disable DEBUG_PREEMPT popd >/dev/null yes "" | $MAKE olddefconfig -- cgit v1.2.3-71-gd317