Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 913659 | Differences between
and this patch

Collapse All | Expand All

(-)a/gen_configkernel.sh (-7 / +10 lines)
Lines 991-1001 config_kernel() { Link Here
991
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode+=( 'CONFIG_MICROCODE_EARLY' )
991
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode+=( 'CONFIG_MICROCODE_EARLY' )
992
992
993
			# Intel
993
			# Intel
994
			kconfigs_microcode_intel+=( 'CONFIG_MICROCODE_INTEL' )
994
			[ ${KV_NUMERIC} -ge 6006 ] && kconfigs_microcode_intel+=( 'CONFIG_CPU_SUP_INTEL' )
995
			[ ${KV_NUMERIC} -lt 6006 ] && kconfigs_microcode_intel+=( 'CONFIG_MICROCODE_INTEL' )
995
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode_intel+=( 'CONFIG_MICROCODE_INTEL_EARLY' )
996
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode_intel+=( 'CONFIG_MICROCODE_INTEL_EARLY' )
996
997
997
			# AMD
998
			# AMD
998
			kconfigs_microcode_amd=( 'CONFIG_MICROCODE_AMD' )
999
			[ ${KV_NUMERIC} -ge 6006 ] && kconfigs_microcode_amd+=( 'CONFIG_CPU_SUP_AMD' )
1000
			[ ${KV_NUMERIC} -lt 6006 ] && kconfigs_microcode_amd+=( 'CONFIG_MICROCODE_AMD' )
999
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode_amd+=( 'CONFIG_MICROCODE_AMD_EARLY' )
1001
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode_amd+=( 'CONFIG_MICROCODE_AMD_EARLY' )
1000
1002
1001
			[[ "${MICROCODE}" == all ]]   && kconfigs_microcode+=( ${kconfigs_microcode_amd[@]} ${kconfigs_microcode_intel[@]} )
1003
			[[ "${MICROCODE}" == all ]]   && kconfigs_microcode+=( ${kconfigs_microcode_amd[@]} ${kconfigs_microcode_intel[@]} )
Lines 1016-1029 config_kernel() { Link Here
1016
			required_kernel_options+=( 'CONFIG_MICROCODE' )
1018
			required_kernel_options+=( 'CONFIG_MICROCODE' )
1017
			case "${MICROCODE}" in
1019
			case "${MICROCODE}" in
1018
				amd)
1020
				amd)
1019
					required_kernel_options+=( 'CONFIG_MICROCODE_AMD' )
1021
					[ ${KV_NUMERIC} -ge 6006 ] && required_kernel_options+=( 'CONFIG_CPU_SUP_AMD' )
1022
					[ ${KV_NUMERIC} -lt 6006 ] && required_kernel_options+=( 'CONFIG_MICROCODE_AMD' )
1020
					;;
1023
					;;
1021
				intel)
1024
				intel)
1022
					required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' )
1025
					[ ${KV_NUMERIC} -ge 6006 ] && required_kernel_options+=( 'CONFIG_CPU_SUP_INTEL' )
1026
					[ ${KV_NUMERIC} -lt 6006 ] && required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' )
1023
					;;
1027
					;;
1024
				all)
1028
				all)
1025
					required_kernel_options+=( 'CONFIG_MICROCODE_AMD' )
1029
					[ ${KV_NUMERIC} -ge 6006 ] && required_kernel_options+=( 'CONFIG_CPU_SUP_AMD' 'CONFIG_CPU_SUP_INTEL' )
1026
					required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' )
1030
					[ ${KV_NUMERIC} -lt 6006 ] && required_kernel_options+=( 'CONFIG_MICROCODE_AMD' 'CONFIG_MICROCODE_INTEL' )
1027
					;;
1031
					;;
1028
			esac
1032
			esac
1029
		else
1033
		else
1030
- 

Return to bug 913659