1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: architecture/x86-64/linux.conf.sh
5 # Copyright (C) 2004 - 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
17 define(`INTEL', `Intel X86 PCs')dnl
25 linux_arch=MK8 # default to orig. AMD
26 for x in "generic GENERIC_CPU" \
31 "sandybridge MCORE2" \
36 "skylake-avx512 MCORE2" \
41 [[ "$SDECFG_X8664_OPT" = $1 ]] && linux_arch=$2
44 for x in GENERIC_CPU MK8 MPSC MCORE2 ATOM
46 if [ "$linux_arch" != "$x" ]
47 then echo "# CONFIG_$x is not set"
48 else echo "CONFIG_$x=y" ; fi
58 CONFIG_TRANSPARENT_HUGEPAGE=y
61 CONFIG_IA32_EMULATION=y
64 dnl Other useful stuff
66 include(`linux-x86.conf.m4')
67 include(`linux-common.conf.m4')
68 include(`linux-block.conf.m4')
69 include(`linux-net.conf.m4')
70 include(`linux-fs.conf.m4')
73 # CONFIG_NUMA_BALANCING=y
74 CONFIG_PREEMPT_VOLUNTARY=y
78 CONFIG_INTEL_IOMMU_SVM=y
79 CONFIG_HYPERV_IOMMU_SVM=y
80 CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y
82 dnl Support for latest low level clocks, gpio, and i2c glue
84 CONFIG_X86_AMD_PLATFORM_DEVICE=y
85 CONFIG_X86_INTEL_LPSS=m
86 CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
87 CONFIG_PMIC_OPREGION=y
88 CONFIG_INTEL_SOC_PMIC=y
90 } | m4 -I $base/architecture/$arch -I $base/architecture/x86 -I $base/architecture/share