diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-13 16:19:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-13 16:19:59 -0400 |
commit | 5945fba8c596546a075382c42cf35141d1ae6eca (patch) | |
tree | 81bf2d12cd361401244a43d3468317dda00ed574 | |
parent | 8f74bc5ff0eb20a055e4cb8d390669164ca15cb3 (diff) | |
parent | d8eb8940417559808fdd0180a4d50f8f0281b822 (diff) |
Merge branch 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 build changes from Ingo Molnar:
"Small cleanups and fixes"
* 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/kexec: Cleanup KEXEC_VERIFY_SIG Kconfig help text
x86/build/defconfig: Enable USB_EHCI_TT_NEWSCHED=y
x86/build: Fix mkcapflags.sh bash-ism
x86/Kconfig: Simplify X86_UP_APIC handling
x86/Kconfig: Simplify X86_IO_APIC dependencies
x86/Kconfig: Avoid issuing pointless turned off entries to .config
-rw-r--r-- | arch/x86/Kconfig | 34 | ||||
-rw-r--r-- | arch/x86/configs/i386_defconfig | 2 | ||||
-rw-r--r-- | arch/x86/configs/x86_64_defconfig | 2 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mkcapflags.sh | 2 |
4 files changed, 16 insertions, 24 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b7d31ca55187..867bc5bea8dc 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -235,12 +235,10 @@ config ARCH_WANT_GENERAL_HUGETLB | |||
235 | def_bool y | 235 | def_bool y |
236 | 236 | ||
237 | config ZONE_DMA32 | 237 | config ZONE_DMA32 |
238 | bool | 238 | def_bool y if X86_64 |
239 | default X86_64 | ||
240 | 239 | ||
241 | config AUDIT_ARCH | 240 | config AUDIT_ARCH |
242 | bool | 241 | def_bool y if X86_64 |
243 | default X86_64 | ||
244 | 242 | ||
245 | config ARCH_SUPPORTS_OPTIMIZED_INLINING | 243 | config ARCH_SUPPORTS_OPTIMIZED_INLINING |
246 | def_bool y | 244 | def_bool y |
@@ -891,7 +889,8 @@ config UP_LATE_INIT | |||
891 | depends on !SMP && X86_LOCAL_APIC | 889 | depends on !SMP && X86_LOCAL_APIC |
892 | 890 | ||
893 | config X86_UP_APIC | 891 | config X86_UP_APIC |
894 | bool "Local APIC support on uniprocessors" | 892 | bool "Local APIC support on uniprocessors" if !PCI_MSI |
893 | default PCI_MSI | ||
895 | depends on X86_32 && !SMP && !X86_32_NON_STANDARD | 894 | depends on X86_32 && !SMP && !X86_32_NON_STANDARD |
896 | ---help--- | 895 | ---help--- |
897 | A local APIC (Advanced Programmable Interrupt Controller) is an | 896 | A local APIC (Advanced Programmable Interrupt Controller) is an |
@@ -903,10 +902,6 @@ config X86_UP_APIC | |||
903 | performance counters), and the NMI watchdog which detects hard | 902 | performance counters), and the NMI watchdog which detects hard |
904 | lockups. | 903 | lockups. |
905 | 904 | ||
906 | config X86_UP_APIC_MSI | ||
907 | def_bool y | ||
908 | select X86_UP_APIC if X86_32 && !SMP && !X86_32_NON_STANDARD && PCI_MSI | ||
909 | |||
910 | config X86_UP_IOAPIC | 905 | config X86_UP_IOAPIC |
911 | bool "IO-APIC support on uniprocessors" | 906 | bool "IO-APIC support on uniprocessors" |
912 | depends on X86_UP_APIC | 907 | depends on X86_UP_APIC |
@@ -925,8 +920,8 @@ config X86_LOCAL_APIC | |||
925 | select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ | 920 | select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ |
926 | 921 | ||
927 | config X86_IO_APIC | 922 | config X86_IO_APIC |
928 | def_bool X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_IOAPIC | 923 | def_bool y |
929 | depends on X86_LOCAL_APIC | 924 | depends on X86_LOCAL_APIC || X86_UP_IOAPIC |
930 | select IRQ_DOMAIN | 925 | select IRQ_DOMAIN |
931 | 926 | ||
932 | config X86_REROUTE_FOR_BROKEN_BOOT_IRQS | 927 | config X86_REROUTE_FOR_BROKEN_BOOT_IRQS |
@@ -1145,10 +1140,10 @@ config MICROCODE_OLD_INTERFACE | |||
1145 | depends on MICROCODE | 1140 | depends on MICROCODE |
1146 | 1141 | ||
1147 | config MICROCODE_INTEL_EARLY | 1142 | config MICROCODE_INTEL_EARLY |
1148 | def_bool n | 1143 | bool |
1149 | 1144 | ||
1150 | config MICROCODE_AMD_EARLY | 1145 | config MICROCODE_AMD_EARLY |
1151 | def_bool n | 1146 | bool |
1152 | 1147 | ||
1153 | config MICROCODE_EARLY | 1148 | config MICROCODE_EARLY |
1154 | bool "Early load microcode" | 1149 | bool "Early load microcode" |
@@ -1747,14 +1742,11 @@ config KEXEC_VERIFY_SIG | |||
1747 | depends on KEXEC_FILE | 1742 | depends on KEXEC_FILE |
1748 | ---help--- | 1743 | ---help--- |
1749 | This option makes kernel signature verification mandatory for | 1744 | This option makes kernel signature verification mandatory for |
1750 | kexec_file_load() syscall. If kernel is signature can not be | 1745 | the kexec_file_load() syscall. |
1751 | verified, kexec_file_load() will fail. | 1746 | |
1752 | 1747 | In addition to that option, you need to enable signature | |
1753 | This option enforces signature verification at generic level. | 1748 | verification for the corresponding kernel image type being |
1754 | One needs to enable signature verification for type of kernel | 1749 | loaded in order for this to work. |
1755 | image being loaded to make sure it works. For example, enable | ||
1756 | bzImage signature verification option to be able to load and | ||
1757 | verify signatures of bzImage. Otherwise kernel loading will fail. | ||
1758 | 1750 | ||
1759 | config KEXEC_BZIMAGE_VERIFY_SIG | 1751 | config KEXEC_BZIMAGE_VERIFY_SIG |
1760 | bool "Enable bzImage signature verification support" | 1752 | bool "Enable bzImage signature verification support" |
diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index 419819d6dab3..aaa1118bf01e 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig | |||
@@ -248,7 +248,7 @@ CONFIG_USB=y | |||
248 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | 248 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y |
249 | CONFIG_USB_MON=y | 249 | CONFIG_USB_MON=y |
250 | CONFIG_USB_EHCI_HCD=y | 250 | CONFIG_USB_EHCI_HCD=y |
251 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | 251 | CONFIG_USB_EHCI_TT_NEWSCHED=y |
252 | CONFIG_USB_OHCI_HCD=y | 252 | CONFIG_USB_OHCI_HCD=y |
253 | CONFIG_USB_UHCI_HCD=y | 253 | CONFIG_USB_UHCI_HCD=y |
254 | CONFIG_USB_PRINTER=y | 254 | CONFIG_USB_PRINTER=y |
diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index 4c311ddd973b..315b86106572 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig | |||
@@ -243,7 +243,7 @@ CONFIG_USB=y | |||
243 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | 243 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y |
244 | CONFIG_USB_MON=y | 244 | CONFIG_USB_MON=y |
245 | CONFIG_USB_EHCI_HCD=y | 245 | CONFIG_USB_EHCI_HCD=y |
246 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | 246 | CONFIG_USB_EHCI_TT_NEWSCHED=y |
247 | CONFIG_USB_OHCI_HCD=y | 247 | CONFIG_USB_OHCI_HCD=y |
248 | CONFIG_USB_UHCI_HCD=y | 248 | CONFIG_USB_UHCI_HCD=y |
249 | CONFIG_USB_PRINTER=y | 249 | CONFIG_USB_PRINTER=y |
diff --git a/arch/x86/kernel/cpu/mkcapflags.sh b/arch/x86/kernel/cpu/mkcapflags.sh index 36d99a337b49..3f20710a5b23 100644 --- a/arch/x86/kernel/cpu/mkcapflags.sh +++ b/arch/x86/kernel/cpu/mkcapflags.sh | |||
@@ -6,7 +6,7 @@ | |||
6 | IN=$1 | 6 | IN=$1 |
7 | OUT=$2 | 7 | OUT=$2 |
8 | 8 | ||
9 | function dump_array() | 9 | dump_array() |
10 | { | 10 | { |
11 | ARRAY=$1 | 11 | ARRAY=$1 |
12 | SIZE=$2 | 12 | SIZE=$2 |