1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/x86-64/linux.conf.sh
3 # Copyright (C) 2004 - 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
14 define(`INTEL', `Intel X86 PCs')dnl
22 linux_arch=MK8 # default to orig. AMD
23 for x in "generic GENERIC_CPU" \
28 "sandybridge MCORE2" \
33 "skylake-avx512 MCORE2" \
38 [[ "$SDECFG_X8664_OPT" = $1 ]] && linux_arch=$2
41 for x in GENERIC_CPU MK8 MPSC MCORE2 ATOM
43 if [ "$linux_arch" != "$x" ]
44 then echo "# CONFIG_$x is not set"
45 else echo "CONFIG_$x=y" ; fi
50 dnl Other useful stuff
52 include(`linux-common.conf.m4')
53 include(`linux-block.conf.m4')
54 include(`linux-net.conf.m4')
55 include(`linux-fs.conf.m4')
56 include(`linux-x86.conf.m4')
62 CONFIG_TRANSPARENT_HUGEPAGE=y
65 CONFIG_IA32_EMULATION=y
71 # CONFIG_NUMA_BALANCING=y
72 CONFIG_PREEMPT_VOLUNTARY=y
76 CONFIG_INTEL_IOMMU_SVM=y
77 CONFIG_HYPERV_IOMMU_SVM=y
80 dnl Support for latest low level clocks, gpio, and i2c glue
82 CONFIG_X86_AMD_PSTATE=y
83 CONFIG_X86_AMD_PLATFORM_DEVICE=y
84 CONFIG_X86_INTEL_LPSS=m
85 CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
86 CONFIG_I2C_DESIGNWARE_AMDPSP=y
87 CONFIG_I2C_DESIGNWARE_SLAVE=y
88 CONFIG_PMIC_OPREGION=y
89 CONFIG_INTEL_SOC_PMIC=y
92 } | m4 -I $base/architecture/$arch -I $base/architecture/x86 -I $base/architecture/share