aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshish Kalra <ashish.kalra@amd.com>2022-10-12 18:02:40 +0000
committerAshish Kalra <ashish.kalra@amd.com>2022-10-12 18:02:40 +0000
commit447652560fc9883407827dbe925c06b0bc2b66a3 (patch)
treecdb2460dcb5e63e1fe19add27b48594f37c0cd0b
parent113b662200a6654fc3f29b3896480d41be4d405b (diff)
downloadcachepc-amdsev-447652560fc9883407827dbe925c06b0bc2b66a3.tar.gz
cachepc-amdsev-447652560fc9883407827dbe925c06b0bc2b66a3.zip
Using CONFIG_PREEMPT_VOLUNTARY=y and CONFIG_PREEMPT=n for SNP host
kernel build. Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
-rwxr-xr-xcommon.sh4
1 files changed, 4 insertions, 0 deletions
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