* updated blueman (2.3.5 -> 2.4.3)
[t2sde.git] / architecture / x86-64 / linux.conf.sh
blob74606751e4c19dfc743f7957333afcbb8771baa4
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/x86-64/linux.conf.sh
3 # Copyright (C) 2004 - 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
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 ---
13 cat <<- 'EOT'
14 define(`INTEL', `Intel X86 PCs')dnl
16 CONFIG_64BIT=y
18 dnl CPU configuration
19 dnl
20 EOT
22 linux_arch=MK8 # default to orig. AMD
23 for x in "generic GENERIC_CPU" \
24 "nocona MPSC" \
25 "core2 MCORE2" \
26 "hehalem MCORE2" \
27 "westmere MCORE2" \
28 "sandybridge MCORE2" \
29 "ivybridge MCORE2" \
30 "haswell MCORE2" \
31 "broadwell MCORE2" \
32 "skylake MCORE2" \
33 "skylake-avx512 MCORE2" \
34 "bonnel ATOM" \
35 "silvermont ATOM"
37 set $x
38 [[ "$SDECFG_X8664_OPT" = $1 ]] && linux_arch=$2
39 done
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
46 done
48 echo
49 cat <<- 'EOT'
50 dnl Other useful stuff
51 dnl
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')
58 CONFIG_NR_CPUS=128
60 CONFIG_HZ_300=y
62 CONFIG_TRANSPARENT_HUGEPAGE=y
63 CONFIG_HUGETLBFS=y
65 CONFIG_IA32_EMULATION=y
66 CONFIG_X86_X32=y
67 CONFIG_X86_X32_ABI=y
70 # CONFIG_NUMA=y
71 # CONFIG_NUMA_BALANCING=y
72 CONFIG_PREEMPT_VOLUNTARY=y
74 CONFIG_AMD_IOMMU=y
75 CONFIG_INTEL_IOMMU=y
76 CONFIG_INTEL_IOMMU_SVM=y
77 CONFIG_HYPERV_IOMMU_SVM=y
78 CONFIG_XEN_VIRTIO=y
80 dnl Support for latest low level clocks, gpio, and i2c glue
81 dnl
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
90 CONFIG_PINCTRL_AMD=y
91 EOT
92 } | m4 -I $base/architecture/$arch -I $base/architecture/x86 -I $base/architecture/share