x86/microcode: Early load microcode
Subsystems (3)
cover x86/microcode: Early load microcode
From: Fenghua Yu <[email protected]>
The problem in current microcode loading method is that we load a microcode way, way too late; ideally we should load it before turning paging on. This may only be practical on 32 bits since we can't get to 64-bit mode without paging on, but we should still do it as early as at all possible.
Similarly, we should load the microcode update as early as possible during AP bringup and when processors are brought back online after hotplug or S3/S4.
In order to do that, the microcode patch needs to be permanently present in kernel memory. Each individual patch is fairly small, so that is OK, but the entire blob with support for each CPU is too big. Since only CPU's with same model can be in the same platform, we store microcode with the same model as BSP. Later on AP's can upload microcode from the saved microcodep patches.
Note, however, that Linux users have gotten used to being able to install a microcode patch in the field without having a reboot; we support that model too.
Fenghua Yu (11):
Documentation/x86: Early load microcode
x86/lib/cpio.c: Find cpio data by its file name x86/microcode_intel.h: Define functions and macros for early load
ucode
x86/microcode_core_early.c: Define interfaces for early load ucode x86/microcode_intel_lib.c: Early update ucode on Intel's CPU x86/microcode_intel_early.c: Early update ucode on Intel's CPU x86/head_32.S: Early update ucode in 32-bit x86/head64.c: Early update ucode in 64-bit x86/smpboot.c: Early update ucode on AP
x86/mm/init.c: Copy ucode from initrd image to memory x86/Kconfig: Configurations to enable/disable the feature
Documentation/x86/earlyucode.txt | 43 +++ arch/x86/Kconfig | 22 ++ arch/x86/include/asm/cpio.h | 10 + arch/x86/include/asm/microcode.h | 23 ++ arch/x86/include/asm/microcode_intel.h | 103 +++++++ arch/x86/kernel/Makefile | 3 + arch/x86/kernel/head64.c | 6 + arch/x86/kernel/head_32.S | 6 + arch/x86/kernel/microcode_core.c | 7 +- arch/x86/kernel/microcode_core_early.c | 74 +++++ arch/x86/kernel/microcode_intel.c | 185 +------------ arch/x86/kernel/microcode_intel_early.c | 482 +++++++++++++++++++++++++++++++ arch/x86/kernel/microcode_intel_lib.c | 163 +++++++++++ arch/x86/kernel/smpboot.c | 7 + arch/x86/lib/Makefile | 2 + arch/x86/lib/cpio.c | 179 ++++++++++++ arch/x86/mm/init.c | 10 + 17 files changed, 1144 insertions(+), 181 deletions(-) create mode 100644 Documentation/x86/earlyucode.txt create mode 100644 arch/x86/include/asm/cpio.h create mode 100644 arch/x86/include/asm/microcode_intel.h create mode 100644 arch/x86/kernel/microcode_core_early.c create mode 100644 arch/x86/kernel/microcode_intel_early.c create mode 100644 arch/x86/kernel/microcode_intel_lib.c create mode 100644 arch/x86/lib/cpio.c
Signature · 1 line
1.7.2
PATCH 5/11 x86/microcode_intel_lib.c: Early update ucode on Intel's CPU
From: Fenghua Yu <[email protected]>
Define interfaces microcode_sanity_check() and get_matching_microcode(). They are called both in early boot time and in microcode Intel driver.
--- arch/x86/kernel/microcode_intel_lib.c | 163 +++++++++++++++++++++++++++++++++ 1 files changed, 163 insertions(+), 0 deletions(-) create mode 100644 arch/x86/kernel/microcode_intel_lib.c
arch/x86/kernel/microcode_intel_lib.c new file +163 -0
@@ -0,0 +1,163 @@ +/* +* Intel CPU Microcode Update Driver for Linux +* +* Copyright (C) 2012 Fenghua Yu <[email protected]> +* H Peter Anvin" <[email protected]> +* +* This driver allows to upgrade microcode on Intel processors +* belonging to IA-32 family - PentiumPro, Pentium II, +* Pentium III, Xeon, Pentium 4, etc. +* +* Reference: Section 8.11 of Volume 3a, IA-32 Intel? Architecture +* Software Developer's Manual +* Order Number 253668 or free download from: +* +* http://developer.intel.com/Assets/PDF/manual/253668.pdf +* +* For more information, go to http://www.urbanmyth.org/microcode +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version +* 2 of the License, or (at your option) any later version. +* +*/ +#include <linux/firmware.h> +#include <linux/uaccess.h> +#include <linux/kernel.h> +#include <linux/module.h> + +#include <asm/microcode_intel.h> +#include <asm/processor.h> +#include <asm/msr.h> + +static inline int +update_match_cpu (unsigned int csig,unsigned int cpf, +unsigned int sig,unsigned int pf) +{ +return (!sigmatch (sig, csig, pf, cpf)) ?0 :1 ; +} + +static inline int +update_match_revision (struct microcode_header_intel *mc_header,int rev) +{ +return (mc_header->rev <= rev) ?0 :1 ; +} + +int microcode_sanity_check (void *mc,int print_err) +{ +unsigned long total_size, data_size, ext_table_size; +struct microcode_header_intel *mc_header = mc; +struct extended_sigtable *ext_header =NULL ; +int sum, orig_sum, ext_sigcount =0 , i; +struct extended_signature *ext_sig; + + total_size =get_totalsize (mc_header); + data_size =get_datasize (mc_header); + +if (data_size +MC_HEADER_SIZE > total_size) { +if (print_err) +pr_err ("error! Bad data size in microcode data file\n" ); +return -EINVAL ; + } + +if (mc_header->ldrver !=1 || mc_header->hdrver !=1 ) { +if (print_err) +pr_err ("error! Unknown microcode update format\n" ); +return -EINVAL ; + } + ext_table_size = total_size - (MC_HEADER_SIZE + data_size); +if (ext_table_size) { +if ((ext_table_size <EXT_HEADER_SIZE ) + || ((ext_table_size -EXT_HEADER_SIZE ) %EXT_SIGNATURE_SIZE )) { +if (print_err) +pr_err ("error! Small exttable size in microcode data file\n" ); +return -EINVAL ; + } + ext_header = mc +MC_HEADER_SIZE + data_size; +if (ext_table_size !=exttable_size (ext_header)) { +if (print_err) +pr_err ("error! Bad exttable size in microcode data file\n" ); +return -EFAULT ; + } + ext_sigcount = ext_header->count; + } + +/* check extended table checksum */ +if (ext_table_size) { +int ext_table_sum =0 ; +int *ext_tablep = (int *)ext_header; + + i = ext_table_size /DWSIZE ; +while (i--) + ext_table_sum += ext_tablep[i]; +if (ext_table_sum) { +if (print_err) +pr_warn ("aborting, bad extended signature table checksum\n" ); +return -EINVAL ; + } + } + +/* calculate the checksum */ + orig_sum =0 ; + i = (MC_HEADER_SIZE + data_size) /DWSIZE ; +while (i--) + orig_sum += ((int *)mc)[i]; +if (orig_sum) { +if (print_err) +pr_err ("aborting, bad checksum\n" ); +return -EINVAL ; + } +if (!ext_table_size) +return 0 ; +/* check extended signature checksum */ +for (i =0 ; i < ext_sigcount; i++) { + ext_sig = (void *)ext_header +EXT_HEADER_SIZE + +EXT_SIGNATURE_SIZE * i; + sum = orig_sum + - (mc_header->sig + mc_header->pf + mc_header->cksum) + + (ext_sig->sig + ext_sig->pf + ext_sig->cksum); +if (sum) { +if (print_err) +pr_err ("aborting, bad checksum\n" ); +return -EINVAL ; + } + } +return 0 ; +} +EXPORT_SYMBOL_GPL (microcode_sanity_check); + +/* +* return 0 - no update found +* return 1 - found update +*/ +int get_matching_microcode (unsigned int csig,int cpf,void *mc,int rev) +{ +struct microcode_header_intel *mc_header = mc; +struct extended_sigtable *ext_header; +unsigned long total_size =get_totalsize (mc_header); +int ext_sigcount, i; +struct extended_signature *ext_sig; + +if (!update_match_revision (mc_header, rev)) +return 0 ; + +if (update_match_cpu (csig, cpf, mc_header->sig, mc_header->pf)) +return 1 ; + +/* Look for ext. headers: */ +if (total_size <=get_datasize (mc_header) +MC_HEADER_SIZE ) +return 0 ; + + ext_header = mc +get_datasize (mc_header) +MC_HEADER_SIZE ; + ext_sigcount = ext_header->count; + ext_sig = (void *)ext_header +EXT_HEADER_SIZE ; + +for (i =0 ; i < ext_sigcount; i++) { +if (update_match_cpu (csig, cpf, ext_sig->sig, ext_sig->pf)) +return 1 ; + ext_sig++; + } +return 0 ; +} +EXPORT_SYMBOL_GPL (get_matching_microcode);
Signature · 1 line
1.7.2
PATCH 4/11 x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
Define interfaces load_ucode_bsp() and load_ucode_ap() to load ucode on BSP and AP in early boot time. These are generic interfaces. Internally they call vendor specific implementations.
--- arch/x86/include/asm/microcode.h | 23 ++++++++++ arch/x86/kernel/microcode_core_early.c | 74 ++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+), 0 deletions(-) create mode 100644 arch/x86/kernel/microcode_core_early.c
arch/x86/include/asm/microcode.h +23 -0
@@ -63,4 +63,27 @@ static inline struct microcode_ops * __init init_amd_microcode(void) static inline void __exit exit_amd_microcode(void) {}#endif +struct mc_saved_data { +unsigned int mc_saved_count; +struct microcode_intel **mc_saved; +struct ucode_cpu_info *ucode_cpu_info; +}; +#ifdef CONFIG_MICROCODE_EARLY +#define MAX_UCODE_COUNT 128 +extern struct ucode_cpu_info ucode_cpu_info_early[NR_CPUS ]; +extern struct microcode_intel __initdata *mc_saved_in_initrd[MAX_UCODE_COUNT ]; +extern struct mc_saved_data mc_saved_data; +extern void __init load_ucode_bsp (char *real_mode_data); +extern __init void load_ucode_ap (void ); +extern void __init +save_microcode_in_initrd (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd); +#else +static inline void __init load_ucode_bsp (char *real_mode_data) {} +static inline __init void load_ucode_ap (void ) {} +static inline void __init +save_microcode_in_initrd (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd) {} +#endif +#endif /* _ASM_X86_MICROCODE_H */
arch/x86/kernel/microcode_core_early.c new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
1.7.2
PATCH 7/11 x86/head_32.S: Early update ucode in 32-bit
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
This updates ucode in 32-bit kernel. At this point, there is no paging and no virtual address yet.
--- arch/x86/kernel/head_32.S | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
arch/x86/kernel/head_32.S +6 -0
@@ -144,6 +144,12 @@ ENTRY(startup_32) movl %eax, pa(olpc_ofw_pgd) #endif +#ifdef CONFIG_MICROCODE_EARLY + /* Early load ucode on BSP. */ + movl $pa(boot_params), %eax + call load_ucode_bsp +#endif + /* * Initialize page tables. This creates a PDE and a set of page * tables, which are located immediately beyond __brk_base. The variable
Signature · 1 line
1.7.2
PATCH 6/11 x86/microcode_intel_early.c: Early update ucode on Intel's CPU
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
Implementation of early update ucode on Intel's CPU.
load_ucode_intel_bsp() scans ucode in initrd image file which is a cpio format ucode followed by ordinary initrd image file. The binary ucode file is stored in kernel/x86/microcode/GenuineIntel/microcode.hex in the cpio data. All ucode patches with the same model as BSP are saved in memory. A matching ucode patch is updated on BSP.
load_ucode_intel_ap() reads saved ucoded patches and updates ucode on AP.
--- arch/x86/kernel/microcode_intel_early.c | 482 +++++++++++++++++++++++++++++++ 1 files changed, 482 insertions(+), 0 deletions(-) create mode 100644 arch/x86/kernel/microcode_intel_early.c
arch/x86/kernel/microcode_intel_early.c new file +482 -0
@@ -0,0 +1,482 @@ +/* +* Intel CPU Microcode Update Driver for Linux +* +* Copyright (C) 2012 Fenghua Yu <[email protected]> +* H Peter Anvin" <[email protected]> +* +* This driver allows to early upgrade microcode on Intel processors +* belonging to IA-32 family - PentiumPro, Pentium II, +* Pentium III, Xeon, Pentium 4, etc. +* +* Reference: Section 9.11 of Volume 3, IA-32 Intel Architecture +* Software Developer's Manual. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version +* 2 of the License, or (at your option) any later version. +*/ +#include <linux/module.h> +#include <linux/vmalloc.h> +#include <linux/mm.h> +#include <asm/msr.h> +#include <asm/microcode_intel.h> +#include <asm/processor.h> +#include <asm/cpio.h> + +struct microcode_intel __initdata *mc_saved_in_initrd[MAX_UCODE_COUNT ]; +struct mc_saved_data mc_saved_data; + +static inline int +update_match_cpu (unsigned int csig,unsigned int cpf, +unsigned int sig,unsigned int pf) +{ +return (!sigmatch (sig, csig, pf, cpf)) ?0 :1 ; +} + +static inline int +update_match_revision (struct microcode_header_intel *mc_header,int rev) +{ +return (mc_header->rev <= rev) ?0 :1 ; +} + +/* +* return 0 - no update found +* return 1 - found update +*/ +static int +get_matching_sig (unsigned int csig,int cpf,void *mc,int rev) +{ +struct microcode_header_intel *mc_header = mc; +struct extended_sigtable *ext_header; +unsigned long total_size =get_totalsize (mc_header); +int ext_sigcount, i; +struct extended_signature *ext_sig; + +if (update_match_cpu (csig, cpf, mc_header->sig, mc_header->pf)) +return 1 ; + +/* Look for ext. headers: */ +if (total_size <=get_datasize (mc_header) +MC_HEADER_SIZE ) +return 0 ; + + ext_header = mc +get_datasize (mc_header) +MC_HEADER_SIZE ; + ext_sigcount = ext_header->count; + ext_sig = (void *)ext_header +EXT_HEADER_SIZE ; + +for (i =0 ; i < ext_sigcount; i++) { +if (update_match_cpu (csig, cpf, ext_sig->sig, ext_sig->pf)) +return 1 ; + ext_sig++; + } +return 0 ; +} + +enum ucode_state +generic_load_microcode_early (int cpu,struct microcode_intel **mc_saved_p, +unsigned int mc_saved_count, +struct ucode_cpu_info *uci) +{ +struct microcode_intel *ucode_ptr, *new_mc =NULL ; +int new_rev = uci->cpu_sig.rev; +enum ucode_state state =UCODE_OK ; +unsigned int mc_size; +struct microcode_header_intel *mc_header; +unsigned int csig = uci->cpu_sig.sig; +unsigned int cpf = uci->cpu_sig.pf; +int i; + +for (i =0 ; i < mc_saved_count; i++) { + ucode_ptr = mc_saved_p[i]; + mc_header = (struct microcode_header_intel *)ucode_ptr; + mc_size =get_totalsize (mc_header); +if (get_matching_microcode (csig, cpf, ucode_ptr, new_rev)) { + new_rev = mc_header->rev; + new_mc = ucode_ptr; + } + } + +if (!new_mc) { + state =UCODE_NFOUND ; + goto out; + } + + uci->mc = (struct microcode_intel *)new_mc; +out: +return state; +} +EXPORT_SYMBOL_GPL (generic_load_microcode_early); + +static enum ucode_state __init +load_microcode (struct mc_saved_data *mc_saved_data,int cpu) +{ +struct ucode_cpu_info *uci = mc_saved_data->ucode_cpu_info + cpu; + +return generic_load_microcode_early (cpu, mc_saved_data->mc_saved, + mc_saved_data->mc_saved_count, uci); +} + +static u8 get_x86_family (unsigned long sig) +{ +u8 x86; + + x86 = (sig >>8 ) &0xf ; + +if (x86 ==0xf ) + x86 += (sig >>20 ) &0xff ; + +return x86; +} + +static u8 get_x86_model (unsigned long sig) +{ +u8 x86, x86_model; + + x86 =get_x86_family (sig); + x86_model = (sig >>4 ) &0xf ; + +if (x86 ==0x6 || x86 ==0xf ) + x86_model += ((sig >>16 ) &0xf ) <<4 ; + +return x86_model; +} + +static enum ucode_state +matching_model_microcode (struct microcode_header_intel *mc_header, +unsigned long sig) +{ +u8 x86, x86_model; +u8 x86_ucode, x86_model_ucode; + + x86 =get_x86_family (sig); + x86_model =get_x86_model (sig); + + x86_ucode =get_x86_family (mc_header->sig); + x86_model_ucode =get_x86_model (mc_header->sig); + +if (x86 != x86_ucode || x86_model != x86_model_ucode) +return UCODE_ERROR ; + +return UCODE_OK ; +} + +static void +save_microcode (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_src, +unsigned int mc_saved_count) +{ +int i; +struct microcode_intel **mc_saved_p; + +if (!mc_saved_count) +return ; + + mc_saved_p =vmalloc (mc_saved_count*sizeof (struct microcode_intel *)); +if (!mc_saved_p) +return ; + +for (i =0 ; i < mc_saved_count; i++) { +struct microcode_intel *mc = mc_saved_src[i]; +struct microcode_header_intel *mc_header = &mc->hdr; +unsigned long mc_size =get_totalsize (mc_header); + mc_saved_p[i] =vmalloc (mc_size); +if (mc_saved_src[i]) +memcpy (mc_saved_p[i], mc, mc_size); + } + + mc_saved_data->mc_saved = mc_saved_p; +} + +/* +* Get microcode matching with BSP's model. Only CPU's with the same model as +* BSP can stay in the platform. +*/ +enum ucode_state +get_matching_model_microcode (int cpu,void *data,size_t size, +struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd, +enum system_states system_state) +{ +u8 *ucode_ptr = data; +unsigned int leftover = size; +enum ucode_state state =UCODE_OK ; +unsigned int mc_size; +struct microcode_header_intel *mc_header; +struct microcode_intel *mc_saved_tmp[MAX_UCODE_COUNT ]; +size_t mc_saved_size; +size_t mem_size; +unsigned int mc_saved_count = mc_saved_data->mc_saved_count; +struct ucode_cpu_info *uci = mc_saved_data->ucode_cpu_info + cpu; +int found =0 ; +int i; + +if (mc_saved_count) { + mem_size = mc_saved_count *sizeof (struct microcode_intel *); +memcpy (mc_saved_tmp, mc_saved_data->mc_saved, mem_size); + } + +while (leftover) { + mc_header = (struct microcode_header_intel *)ucode_ptr; + + mc_size =get_totalsize (mc_header); +if (!mc_size || mc_size > leftover || +microcode_sanity_check (ucode_ptr,0 ) <0 ) +break ; + + leftover -= mc_size; +if (matching_model_microcode (mc_header, uci->cpu_sig.sig) != +UCODE_OK ) { + ucode_ptr += mc_size; +continue ; + } + + found =0 ; +for (i =0 ; i < mc_saved_count; i++) { +unsigned int sig, pf; +unsigned int new_rev; +struct microcode_header_intel *mc_saved_header = + (struct microcode_header_intel *)mc_saved_tmp[i]; + sig = mc_saved_header->sig; + pf = mc_saved_header->pf; + new_rev = mc_header->rev; + +if (get_matching_sig (sig, pf, ucode_ptr, new_rev)) { + found =1 ; +if (update_match_revision (mc_header, new_rev)) { +/* +* Found an older ucode saved before. +* Replace the older one with this newer +* one. +*/ + mc_saved_tmp[i] = + (struct microcode_intel *)ucode_ptr; +break ; + } + } + } +if (i >= mc_saved_count && !found) +/* +* This ucode is first time discovered in ucode file. +* Save it to memory. +*/ + mc_saved_tmp[mc_saved_count++] = + (struct microcode_intel *)ucode_ptr; + + ucode_ptr += mc_size; + } + +if (leftover) { + state =UCODE_ERROR ; + goto out; + } + +if (mc_saved_count ==0 ) { + state =UCODE_NFOUND ; + goto out; + } + +if (system_state ==SYSTEM_RUNNING ) { +vfree (mc_saved_data->mc_saved); +save_microcode (mc_saved_data, mc_saved_tmp, mc_saved_count); + }else { + mc_saved_size =sizeof (struct microcode_intel *) * + mc_saved_count; +memcpy (mc_saved_in_initrd, mc_saved_tmp, mc_saved_size); + mc_saved_data->mc_saved = mc_saved_in_initrd; + } + + mc_saved_data->mc_saved_count = mc_saved_count; +out: +return state; +} +EXPORT_SYMBOL_GPL (get_matching_model_microcode); + +#define native_rdmsr (msr, val1, val2) \ +do { \ + u64 __val = native_read_msr((msr)); \ + (void)((val1) = (u32)__val); \ + (void)((val2) = (u32)(__val >> 32)); \ +} while (0) + +#define native_wrmsr (msr, low, high) \ + native_write_msr(msr, low, high); + +static int __cpuinit collect_cpu_info_early (struct ucode_cpu_info *uci) +{ +unsigned int val[2 ]; +u8 x86, x86_model; +struct cpu_signature csig = {0 ,0 ,0 }; +unsigned int eax, ebx, ecx, edx; + +memset (uci,0 ,sizeof (*uci)); + + eax =0x00000001 ; + ecx =0 ; +native_cpuid (&eax, &ebx, &ecx, &edx); + csig.sig = eax; + + x86 =get_x86_family (csig.sig); + x86_model =get_x86_model (csig.sig); + +if ((x86_model >=5 ) || (x86 >6 )) { +/* get processor flags from MSR 0x17 */ +native_rdmsr (MSR_IA32_PLATFORM_ID , val[0 ], val[1 ]); + csig.pf =1 << ((val[1 ] >>18 ) &7 ); + } + +/* get the current revision from MSR 0x8B */ +native_rdmsr (MSR_IA32_UCODE_REV , val[0 ], val[1 ]); + + csig.rev = val[1 ]; + + uci->cpu_sig = csig; + uci->valid =1 ; + +return 0 ; +} + +static __init enum ucode_state +scan_microcode (unsigned long start,unsigned long end, +struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd) +{ +unsigned int size = end - start +1 ; +struct cpio_data cd = {0 ,0 }; +char ucode_name[] ="kernel/x86/microcode/GenuineIntel/microcode.hex" ; + + cd =find_cpio_data (ucode_name, (void *)start, size); +if (!cd.data) +return UCODE_ERROR ; + +return get_matching_model_microcode (0 , cd.data, cd.size, mc_saved_data, + mc_saved_in_initrd,SYSTEM_BOOTING ); +} + +static int __init +apply_microcode_early (struct mc_saved_data *mc_saved_data,int cpu) +{ +struct ucode_cpu_info *uci = mc_saved_data->ucode_cpu_info + cpu; +struct microcode_intel *mc_intel; +unsigned int val[2 ]; + +/* We should bind the task to the CPU */ + mc_intel = uci->mc; +if (mc_intel ==NULL ) +return 0 ; + +/* write microcode via MSR 0x79 */ +native_wrmsr (MSR_IA32_UCODE_WRITE , + (unsigned long ) mc_intel->bits, + (unsigned long ) mc_intel->bits >>16 >>16 ); +native_wrmsr (MSR_IA32_UCODE_REV ,0 ,0 ); + +/* As documented in the SDM: Do a CPUID 1 here */ +sync_core (); + +/* get the current revision from MSR 0x8B */ +native_rdmsr (MSR_IA32_UCODE_REV , val[0 ], val[1 ]); +if (val[1 ] != mc_intel->hdr.rev) +return -1 ; + + uci->cpu_sig.rev = val[1 ]; + +return 0 ; +} + +#ifdef CONFIG_X86_32 +static void __init map_mc_saved (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd) +{ +int i; + +if (mc_saved_data->mc_saved) { +for (i =0 ; i < mc_saved_data->mc_saved_count; i++) + mc_saved_data->mc_saved[i] = +__va (mc_saved_data->mc_saved[i]); + + mc_saved_data->mc_saved =__va (mc_saved_data->mc_saved); + } + +if (mc_saved_data->ucode_cpu_info->mc) + mc_saved_data->ucode_cpu_info->mc = +__va (mc_saved_data->ucode_cpu_info->mc); + mc_saved_data->ucode_cpu_info =__va (mc_saved_data->ucode_cpu_info); +} +#else +static inline void __init map_mc_saved (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd) +{ +} +#endif + +void __init save_microcode_in_initrd (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd) +{ +unsigned int count = mc_saved_data->mc_saved_count; + +save_microcode (mc_saved_data, mc_saved_in_initrd, count); +} + +static void __init +_load_ucode_intel_bsp (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd, +unsigned long initrd_start,unsigned long initrd_end) +{ +int cpu =0 ; + +#ifdef CONFIG_X86_64 + mc_saved_data->ucode_cpu_info = ucode_cpu_info_early; +#else + mc_saved_data->ucode_cpu_info = + (struct ucode_cpu_info *)__pa (ucode_cpu_info_early); +#endif +collect_cpu_info_early (mc_saved_data->ucode_cpu_info + cpu); +scan_microcode (initrd_start, initrd_end, mc_saved_data, + mc_saved_in_initrd); +load_microcode (mc_saved_data, cpu); +apply_microcode_early (mc_saved_data, cpu); +map_mc_saved (mc_saved_data, mc_saved_in_initrd); +} + +void __init +load_ucode_intel_bsp (char *real_mode_data) +{ +u64 ramdisk_image, ramdisk_size, ramdisk_end; +unsigned long initrd_start, initrd_end; +struct boot_params *boot_params; + + boot_params = (struct boot_params *)real_mode_data; + ramdisk_image = boot_params->hdr.ramdisk_image; + ramdisk_size = boot_params->hdr.ramdisk_size; + +#ifdef CONFIG_X86_64 + ramdisk_end =PAGE_ALIGN (ramdisk_image + ramdisk_size); + initrd_start = ramdisk_image +PAGE_OFFSET ; + initrd_end = initrd_start + ramdisk_size; +_load_ucode_intel_bsp (&mc_saved_data, mc_saved_in_initrd, + initrd_start, initrd_end); +#else + ramdisk_end = ramdisk_image + ramdisk_size; + initrd_start = ramdisk_image; + initrd_end = initrd_start + ramdisk_size; +_load_ucode_intel_bsp ((struct mc_saved_data *)__pa (&mc_saved_data), + (struct microcode_intel **)__pa (mc_saved_in_initrd), + initrd_start, initrd_end); +#endif +} + +void __cpuinit load_ucode_intel_ap (void ) +{ +int cpu =smp_processor_id (); + +/* +* If BSP doesn't find valid ucode and save it in memory, no need to +* update ucode on this AP. +*/ +if (!mc_saved_data.mc_saved) +return ; + +collect_cpu_info_early (mc_saved_data.ucode_cpu_info + cpu); +load_microcode (&mc_saved_data, cpu); +apply_microcode_early (&mc_saved_data, cpu); +}
Signature · 1 line
1.7.2
PATCH 3/11 x86/microcode_intel.h: Define functions and macros for early load ucode
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
Define some functions and macros that will be used in early load ucode. Some of them are moved from microcode_intel.c driver in order to be called in early boot phase before module can be called.
--- arch/x86/include/asm/microcode_intel.h | 103 ++++++++++++++++++ arch/x86/kernel/Makefile | 3 + arch/x86/kernel/microcode_core.c | 7 +- arch/x86/kernel/microcode_intel.c | 185 ++------------------------------ 4 files changed, 117 insertions(+), 181 deletions(-) create mode 100644 arch/x86/include/asm/microcode_intel.h
arch/x86/include/asm/microcode_intel.h new file +103 -0
@@ -0,0 +1,103 @@ +#ifndef _ASM_X86_MICROCODE_INTEL_H +#define _ASM_X86_MICROCODE_INTEL_H + +#include <asm/microcode.h> + +struct microcode_header_intel { +unsigned int hdrver; +unsigned int rev; +unsigned int date; +unsigned int sig; +unsigned int cksum; +unsigned int ldrver; +unsigned int pf; +unsigned int datasize; +unsigned int totalsize; +unsigned int reserved[3 ]; +}; + +struct microcode_intel { +struct microcode_header_intel hdr; +unsigned int bits[0 ]; +}; + +/* microcode format is extended from prescott processors */ +struct extended_signature { +unsigned int sig; +unsigned int pf; +unsigned int cksum; +}; + +struct extended_sigtable { +unsigned int count; +unsigned int cksum; +unsigned int reserved[3 ]; +struct extended_signature sigs[0 ]; +}; + +#define DEFAULT_UCODE_DATASIZE (2000) +#define MC_HEADER_SIZE (sizeof(struct microcode_header_intel)) +#define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE) +#define EXT_HEADER_SIZE (sizeof(struct extended_sigtable)) +#define EXT_SIGNATURE_SIZE (sizeof(struct extended_signature)) +#define DWSIZE (sizeof(u32)) + +#define get_totalsize (mc) \ + (((struct microcode_intel *)mc)->hdr.totalsize ? \ + ((struct microcode_intel *)mc)->hdr.totalsize : \ + DEFAULT_UCODE_TOTALSIZE) + +#define get_datasize (mc) \ + (((struct microcode_intel *)mc)->hdr.datasize ? \ + ((struct microcode_intel *)mc)->hdr.datasize : DEFAULT_UCODE_DATASIZE) + +#define sigmatch (s1, s2, p1, p2) \ + (((s1) == (s2)) && (((p1) & (p2)) || (((p1) == 0) && ((p2) == 0)))) + +#define exttable_size (et) ((et)->count * EXT_SIGNATURE_SIZE + EXT_HEADER_SIZE) + +extern int +get_matching_microcode (unsigned int csig,int cpf,void *mc,int rev); +extern int microcode_sanity_check (void *mc,int print_err); + +#ifdef CONFIG_MICROCODE_INTEL_EARLY +extern enum ucode_state +get_matching_model_microcode (int cpu,void *data,size_t size, +struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd, +enum system_states system_state); +extern enum ucode_state +generic_load_microcode_early (int cpu,struct microcode_intel **mc_saved_p, +unsigned int mc_saved_count, +struct ucode_cpu_info *uci); +extern void __init +load_ucode_intel_bsp (char *real_mode_data); +extern void __init load_ucode_intel_ap (void ); +#else +static inline enum ucode_state +get_matching_model_microcode (int cpu,void *data,size_t size, +struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd, +enum system_states system_state) +{ +return UCODE_ERROR ; +} +enum ucode_state +generic_load_microcode_early (int cpu,struct microcode_intel **mc_saved_p, +unsigned int mc_saved_count, +struct ucode_cpu_info *uci) +{ +return UCODE_ERROR ; +} +void __init +load_ucode_intel_bsp (char *real_mode_data) +{ +} +__init void +load_ucode_intel_ap (struct ucode_cpu_info *uci, +struct mc_saved_data *mc_saved_data) +{ +} +#endif + +#endif /* _ASM_X86_MICROCODE_INTEL_H */
arch/x86/kernel/Makefile +3 -0
@@ -89,6 +89,9 @@ obj-$(CONFIG_PARAVIRT_CLOCK) += pvclock.o obj-$(CONFIG_PCSPKR_PLATFORM) += pcspeaker.o +obj-$(CONFIG_MICROCODE_EARLY) += microcode_core_early.o +obj-$(CONFIG_MICROCODE_INTEL_EARLY) += microcode_intel_early.o +obj-$(CONFIG_MICROCODE_INTEL_LIB) += microcode_intel_lib.o microcode-y := microcode_core.o microcode-$(CONFIG_MICROCODE_INTEL) += microcode_intel.o microcode-$(CONFIG_MICROCODE_AMD) += microcode_amd.o
arch/x86/kernel/microcode_core.c +4 -3
@@ -362,10 +362,7 @@ static struct attribute_group mc_attr_group = {static void microcode_fini_cpu (int cpu) { -struct ucode_cpu_info *uci = ucode_cpu_info + cpu; - microcode_ops->microcode_fini_cpu (cpu); - uci->valid =0 ; }static enum ucode_state microcode_resume_cpu (int cpu)
@@ -384,6 +381,10 @@ static enum ucode_state microcode_resume_cpu(int cpu)static enum ucode_state microcode_init_cpu (int cpu) {enum ucode_state ustate; +struct ucode_cpu_info *uci = ucode_cpu_info + cpu; + +if (uci && uci->valid) +return UCODE_OK ;if (collect_cpu_info (cpu))return UCODE_ERROR ;
arch/x86/kernel/microcode_intel.c +7 -178
218 lines not on this page · raw message
Signature · 1 line
1.7.2
PATCH 9/11 x86/smpboot.c: Early update ucode on AP
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
This updates ucode on AP. At this point, BSP should store some valid ucode patches in memory if it finds the ucode patches in initrd. AP searches the stored ucode and uploads the ucode.
--- arch/x86/kernel/smpboot.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
arch/x86/kernel/smpboot.c +7 -0
@@ -76,6 +76,7 @@#include <asm/i8259.h> #include <asm/realmode.h> +#include <asm/microcode.h> /* State of each CPU */ DEFINE_PER_CPU(int, cpu_state) = { 0 };
@@ -239,6 +240,12 @@ notrace static void __cpuinit start_secondary(void *unused)* most necessary things. */ cpu_init (); +/* +* Load microcode on this cpu if a valid microcode is available. +* This is early microcode loading procedure. +*/ +load_ucode_ap (); + x86_cpuinit.early_percpu_clock_init ();preempt_disable ();smp_callin ();
Signature · 1 line
1.7.2
PATCH 8/11 x86/head64.c: Early update ucode in 64-bit
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
This updates ucode in 64-bit mode. Paging and virtual address are working now.
--- arch/x86/kernel/head64.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
arch/x86/kernel/head64.c +6 -0
@@ -25,6 +25,7 @@#include <asm/kdebug.h> #include <asm/e820.h> #include <asm/bios_ebda.h> +#include <asm/microcode.h> static void __init zap_identity_mappings (void ) {
@@ -73,6 +74,11 @@ void __init x86_64_start_kernel(char * real_mode_data)/* clear bss before set_intr_gate with early_idt_handler */ clear_bss (); +/* +* Load microcode early on BSP. +*/ +load_ucode_bsp (real_mode_data); +/* Make NULL pointers segfault */ zap_identity_mappings ();
Signature · 1 line
1.7.2
PATCH 10/11 x86/mm/init.c: Copy ucode from initrd image to memory
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
Before initrd image is freed, copy valid ucode patches from initrd image to kernel virtual memory. The saved ucode will be used to update AP in resume.
--- arch/x86/mm/init.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
arch/x86/mm/init.c +10 -0
@@ -16,6 +16,7 @@#include <asm/tlb.h> #include <asm/proto.h> #include <asm/dma.h> /* for MAX_DMA_PFN */ +#include <asm/microcode.h> unsigned long __initdata pgt_buf_start;unsigned long __meminitdata pgt_buf_end;
@@ -387,6 +388,15 @@ void free_initmem(void)#ifdef CONFIG_BLK_DEV_INITRD void __init free_initrd_mem (unsigned long start,unsigned long end) { +#ifdef CONFIG_MICROCODE_EARLY +/* +* Remember, initrd memory may contain microcode or other useful things. +* Before we lose initrd mem, we need to find a place to hold them +* now that normal virtual memory is enabled. +*/ +save_microcode_in_initrd (&mc_saved_data, mc_saved_in_initrd); +#endif +/* * end could be not aligned, and We can not align that, * decompresser could be confused by aligned initrd_end
Signature · 1 line
1.7.2
PATCH 1/11 Documentation/x86: Early load microcode
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
Documenation for early load microcode methodology.
--- Documentation/x86/earlyucode.txt | 43 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 Documentation/x86/earlyucode.txt
Documentation/x86/earlyucode.txt new file +43 -0
@@ -0,0 +1,43 @@ +Early load microcode +==================== +By Fenghua Yu <[email protected]> + +Kernel can update microcode in early phase of boot time. Loading microcode early +can fix CPU issues before they are observed during kernel boot time. + +Microcode is stored in initrd file. The microcode is read from the initrd file +and loaded to CPU's during boot time. + +The format of the combined initrd image is microcode in cpio format followed by +initrd image (maybe compressed). Kernel parses the combined initrd image during +boot time. The microcode file in cpio name space is: +kernel/x86/microcode/GenuineIntel/microcode.hex + +During BSP boot (before SMP starts), if kernel finds the microcode file in the +initrd file, it parses the microcode and saves matching microcode in memory. +If matching microcode is found, it will be uploaded in BSP and later on in all +AP's. + +The saved microcode in memory will be used to upload micorcode when system +resumes from sleep. + +In the past, user can issue command to load microcode during run time. There are +two user space interfaces to load microcode, either through /dev/cpu/microcode +interface or through reload file in sysfs. + +Now user can choose any of the three methods to update microcode during boot +time or later during run time. + +The following sample script shows how to generate a new combined initrd file in +/boot/initrd-3.5.0.ucode.img with original microcode microcode.hex and +original initrd image /boot/initrd-3.5.0.img. + +mkdir initrd +cd initrd +cp ../microcode.hex kernel/x86/microcode/GenuineIntel/microcode.hex +find .|cpio -oc >../ucode.cpio +cd .. +cat ucode.cpio /boot/initrd-3.5.0.img >/boot/initrd-3.5.0.ucode.img + +The generated /boot/initrd-3.5.0.ucode.img can be used as initrd file to load +microcode during early boot time.
Signature · 1 line
1.7.2
PATCH 2/11 x86/lib/cpio.c: Find cpio data by its file name
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
Given a file's name, find its starting point in a cpio formated area. This will be used to find microcode in combined initrd image. But this function is generic and could be used in other places.
--- arch/x86/include/asm/cpio.h | 10 +++ arch/x86/lib/Makefile | 2 + arch/x86/lib/cpio.c | 179 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 191 insertions(+), 0 deletions(-) create mode 100644 arch/x86/include/asm/cpio.h create mode 100644 arch/x86/lib/cpio.c
arch/x86/include/asm/cpio.h new file +10 -0
@@ -0,0 +1,10 @@ +#include <stddef.h> +#include <stdbool.h> + +struct cpio_data { +void *data; +unsigned long size; +}; + +extern struct cpio_data +find_cpio_data (const char *name,const void *data,size_t len);
arch/x86/lib/Makefile +2 -0
@@ -45,3 +45,5 @@ else lib-y += copy_user_64.o copy_user_nocache_64.o lib-y += cmpxchg16b_emu.o endif + +obj-y += cpio.o
arch/x86/lib/cpio.c new file +179 -0
179 lines not on this page · raw message
Signature · 1 line
1.7.2
PATCH 11/11 x86/Kconfig: Configurations to enable/disable the feature
In reply to Fenghua YuFrom: Fenghua Yu <[email protected]>
MICROCODE_INTEL_LIB, MICROCODE_INTEL_EARLY, and MICROCODE_EARLY are three new configurations to enable or disable the feature.
--- arch/x86/Kconfig | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-)
arch/x86/Kconfig +22 -0
@@ -1035,6 +1035,7 @@ config MICROCODE_INTEL depends on MICROCODE default MICROCODE select FW_LOADER + select MICROCODE_INTEL_LIB ---help--- This options enables microcode patch loading support for Intel processors.
@@ -1055,6 +1056,27 @@ config MICROCODE_OLD_INTERFACE def_bool y depends on MICROCODE +config MICROCODE_EARLY + def_bool y + depends on MICROCODE_INTEL_EARLY + +config MICROCODE_INTEL_LIB + def_bool y + depends on MICROCODE_INTEL_EARLY + +config MICROCODE_INTEL_EARLY + bool "Early load microcode" + depends on MICROCODE_INTEL && BLK_DEV_INITRD + default y + select FW_LOADER + select MICROCODE_EARLY + select MICROCODE_INTEL_LIB + help + This option provides functionality to read additional microcode data + at the beginning of initrd image. The data tells kernel to load + microcode to CPU's as early as possible. No functional change if no + microcode data is glued to the initrd, therefore it's safe to say Y. + config X86_MSR tristate "/dev/cpu/*/msr - Model-specific register support" ---help---
Signature · 1 line
1.7.2
Re: [PATCH 02/11] x86/lib/cpio.c: Find cpio data by its file name
In reply to Fenghua YuQuoted 3 lines · Fenghua Yu
Given a file's name, find its starting point in a cpio formated area. This will be used to find microcode in combined initrd image. But this function is generic and could be used in other places.
Shouldn't this (very useful) feature get its own documentation in Documentation/ ?
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Re: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Fenghua Yuarch/x86/kernel/microcode_core_early.c line 33
Quoted 1 line · Fenghua Yu
arch/x86/kernel/microcode_core_early.c new file +1
-0+char ucode_name[] ="kernel/x86/microcode/GenuineIntel/microcode.hex" ;
Why name it ".hex" when you're loading binary data? I suggest ".bin". It is confusing to have .hex there, since you're not dealing with the Intel HEX format, nor anything text-like.
Quoted 17 lines
arch/x86/kernel/microcode_core_early.c new file +17
-0+void __init load_ucode_bsp (char *real_mode_data) +{ +u64 ramdisk_image, ramdisk_size, ramdisk_end; +unsigned long initrd_start, initrd_end; +struct boot_params *boot_params; + + boot_params = (struct boot_params *)real_mode_data; + ramdisk_image = boot_params->hdr.ramdisk_image; + ramdisk_size = boot_params->hdr.ramdisk_size; + +#ifdef CONFIG_X86_64 + ramdisk_end =PAGE_ALIGN (ramdisk_image + ramdisk_size); + initrd_start = ramdisk_image +PAGE_OFFSET ; +#else + ramdisk_end = ramdisk_image + ramdisk_size; + initrd_start = ramdisk_image; +#endif
arch/x86/kernel/microcode_core_early.c line 68
Quoted 10 lines
arch/x86/kernel/microcode_core_early.c new file +10
-0+ initrd_end = initrd_start + ramdisk_size; + +/* +* It's early to get CPU vendor info at this point. +* By searching initrd to find right name for vendor's microcode, +* it's relative easier to get CPU vendor info. +*/ +if (find_ucode_intel (initrd_start, initrd_end) ==UCODE_OK ) +load_ucode_intel_bsp (real_mode_data); +}
I'd say something down the load_ucode_intel_bsp() chain better check the CPU vendor to make sure the Intel driver won't attempt to load microcode on some other vendor's processor.
Or are cpu signatures a global namespace and x86 cpu vendors make sure (past, present and future) to never use the same cpu signature as someone else is going to use? Anyway, it would still might be a good thing to do the vendor check somewhere to avoid wasting time going over every microcode of the wrong vendor on generic boot images that have both AMD and Intel microcode.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
RE: [PATCH 02/11] x86/lib/cpio.c: Find cpio data by its file name
In reply to Henrique de Moraes HolschuhQuoted 10 lines
-----Original Message-----
From: Henrique de Moraes Holschuh [mailto:[email protected]]
Sent: Saturday, August 18, 2012 3:13 PM
To: Yu, Fenghua
Cc: H Peter Anvin; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann; Borislav Petkov; linux-kernel; x86
Subject: Re: [PATCH 02/11]x86/lib/cpio.c: Find cpio data by its file nameOn Sat, 18 Aug 2012, Fenghua Yu wrote:
Quoted 8 lines
Quoted 1 line
Given a file's name, find its starting point in a cpio formated area.
This will
Quoted 1 line
be used to find microcode in combined initrd image. But this function
is
Quoted 1 line
generic and could be used in other places.
Shouldn't this (very useful) feature get its own documentation in
Documentation/?
Yes, I can document the feature. And if it's generic and useful, this function could be put in generic kernel instead of in x86 arch.
Thanks.
-Fenghua
RE: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Henrique de Moraes HolschuhQuoted 53 lines
-----Original Message-----
From: Henrique de Moraes Holschuh [mailto:[email protected]]
Sent: Saturday, August 18, 2012 3:45 PM
To: Yu, Fenghua
Cc: H Peter Anvin; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann; Borislav Petkov; linux-kernel; x86
Subject: Re: [PATCH 04/11]x86/microcode_core_early.c: Define interfaces for early load ucodeReview
Quoted 1 line · Fenghua Yu
(quoted diff) +1
-0+ char ucode_name[] ="
kernel/x86/microcode/GenuineIntel/microcode.hex";Why name it ".hex" when you're loading binary data? I suggest ".bin". It
is confusing to have .hex there, since you're not dealing with the Intel HEX
format, nor anything text-like.Quoted 17 lines
arch/x86/kernel/microcode_core_early.c new file +17
-0+void __init load_ucode_bsp (char *real_mode_data) +{ +u64 ramdisk_image, ramdisk_size, ramdisk_end; +unsigned long initrd_start, initrd_end; +struct boot_params *boot_params; + + boot_params = (struct boot_params *)real_mode_data; + ramdisk_image = boot_params->hdr.ramdisk_image; + ramdisk_size = boot_params->hdr.ramdisk_size; + +#ifdef CONFIG_X86_64 + ramdisk_end =PAGE_ALIGN (ramdisk_image + ramdisk_size); + initrd_start = ramdisk_image +PAGE_OFFSET ; +#else + ramdisk_end = ramdisk_image + ramdisk_size; + initrd_start = ramdisk_image; +#endif arch/x86/kernel/microcode_core_early.c line 68
Quoted 10 lines
arch/x86/kernel/microcode_core_early.c new file +10
-0+ initrd_end = initrd_start + ramdisk_size; + +/* +* It's early to get CPU vendor info at this point. +* By searching initrd to find right name for vendor's microcode, +* it's relative easier to get CPU vendor info. +*/ +if (find_ucode_intel (initrd_start, initrd_end) ==UCODE_OK ) +load_ucode_intel_bsp (real_mode_data); +}I'd say something down the
load_ucode_intel_bsp()chain better check the CPU
vendor to make sure the Intel driver won't attempt to load microcode on some
other vendor's processor.
Quoted 10 lines
Or are cpu signatures a global namespace and x86 cpu vendors make sure (past, present and future) to never use the same cpu signature as someone
else is going to use? Anyway, it would still might be a good thing to do
the vendor check somewhere to avoid wasting time going over every microcode
of the wrong vendor on generic boot images that have both AMD and Intel microcode.
In this early phase, detecting vendor in initrd is much simpler code. Otherwise, detecting vendor by cpuid (and without cpuid) needs similar but different code as existing functions and coding would be awkward.
I fully thought and agreed the usage complexity you describe here. It might be good thing to do a bit ugly but more practical coding here.
Thanks.
-Fenghua
Re: [PATCH 02/11] x86/lib/cpio.c: Find cpio data by its file name
In reply to Yu, FenghuaQuoted 5 lines · Fenghua
Quoted 5 lines
From: Henrique de Moraes Holschuh [mailto:[email protected]] On Sat, 18 Aug
Quoted 1 line · Fenghua Yu
Given a file's name, find its starting point in a cpio formated area.
This will
Quoted 1 line
be used to find microcode in combined initrd image. But this function
Quoted 8 lines
Quoted 5 lines
is
Quoted 1 line
generic and could be used in other places.
Shouldn't this (very useful) feature get its own documentation in
Documentation/?Yes, I can document the feature. And if it's generic and useful, this function could be put in generic kernel instead of in x86 arch.
It is useful to override/fix all sort of critical firmware-provided tables, for example. ACPI table overrides should use this new cpio-based scheme as well, and I recall someone wrote something about device tree overrides in a past thread...
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Re: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Yu, FenghuaQuoted 56 lines · Fenghua
Quoted 45 lines
From: Henrique de Moraes Holschuh [mailto:[email protected]]
Review
Quoted 1 line · Fenghua Yu
(quoted diff) +1
-0+ char ucode_name[] ="
kernel/x86/microcode/GenuineIntel/microcode.hex";Why name it ".hex" when you're loading binary data? I suggest ".bin". It
is confusing to have .hex there, since you're not dealing with the Intel HEX
format, nor anything text-like.Quoted 17 lines
arch/x86/kernel/microcode_core_early.c new file +17
-0+void __init load_ucode_bsp (char *real_mode_data) +{ +u64 ramdisk_image, ramdisk_size, ramdisk_end; +unsigned long initrd_start, initrd_end; +struct boot_params *boot_params; + + boot_params = (struct boot_params *)real_mode_data; + ramdisk_image = boot_params->hdr.ramdisk_image; + ramdisk_size = boot_params->hdr.ramdisk_size; + +#ifdef CONFIG_X86_64 + ramdisk_end =PAGE_ALIGN (ramdisk_image + ramdisk_size); + initrd_start = ramdisk_image +PAGE_OFFSET ; +#else + ramdisk_end = ramdisk_image + ramdisk_size; + initrd_start = ramdisk_image; +#endif arch/x86/kernel/microcode_core_early.c line 68
Quoted 10 lines
arch/x86/kernel/microcode_core_early.c new file +10
-0+ initrd_end = initrd_start + ramdisk_size; + +/* +* It's early to get CPU vendor info at this point. +* By searching initrd to find right name for vendor's microcode, +* it's relative easier to get CPU vendor info. +*/ +if (find_ucode_intel (initrd_start, initrd_end) ==UCODE_OK ) +load_ucode_intel_bsp (real_mode_data); +}I'd say something down the
load_ucode_intel_bsp()chain better check the CPU
vendor to make sure the Intel driver won't attempt to load microcode on some
other vendor's processor.Quoted 10 lines
Or are cpu signatures a global namespace and x86 cpu vendors make sure (past, present and future) to never use the same cpu signature as someone
else is going to use? Anyway, it would still might be a good thing to do
the vendor check somewhere to avoid wasting time going over every microcode
of the wrong vendor on generic boot images that have both AMD and Intel microcode.
Quoted 3 lines
In this early phase, detecting vendor in initrd is much simpler code. Otherwise, detecting vendor by cpuid (and without cpuid) needs similar but different code as existing functions and coding would be awkward.
I fully thought and agreed the usage complexity you describe here. It might be good thing to do a bit ugly but more practical coding here.
Sure, there is no harm in defering the implementation of this check to later versions of the patch set. As long as the final patch set doesn't risk loading microcode on the wrong vendor or waste a lot of milliseconds trying to match intel microcode to a non-intel cpu, I have no objections :-)
But what about the ".hex" naming for the microcode bundle (container) name? I find it confusing, since the file contains binary data, not structured text representing binary data using base 16... this is also something that is of minor importance, but at least it is a very easy thing to change at this point.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
H. Peter Anvin
reviewerRe: [PATCH 02/11] x86/lib/cpio.c: Find cpio data by its file name
In reply to Henrique de Moraes HolschuhQuoted 12 lines · Henrique de Moraes Holschuh
Quoted 11 lines · Fenghua
Quoted 10 lines
From: Henrique de Moraes Holschuh [mailto:[email protected]] On Sat, 18 Aug
Quoted 1 line · Fenghua Yu
Given a file's name, find its starting point in a cpio formated area.
This will
Quoted 1 line
be used to find microcode in combined initrd image. But this function
is
Quoted 1 line
generic and could be used in other places.
Shouldn't this (very useful) feature get its own documentation in
Documentation/?
Quoted 8 lines
Quoted 2 lines
Yes, I can document the feature. And if it's generic and useful, this function could be put in generic kernel instead of in x86 arch.
It is useful to override/fix all sort of critical firmware-provided tables, for example. ACPI table overrides should use this new cpio-based scheme as well, and I recall someone wrote something about device tree overrides in a past thread...
Indeed, we already have those two users already identified.
-hpa
H. Peter Anvin
reviewerRe: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Yu, FenghuaQuoted 6 lines · Fenghua
In this early phase, detecting vendor in initrd is much simpler code. Otherwise, detecting vendor by cpuid (and without cpuid) needs similar but different code as existing functions and coding would be awkward.
I'm confused by this statement. Getting the vendor from CPUID is a few lines of code, and non-CPUID processors don't support microcode loading.
Quoted 3 lines
Why name it ".hex" when you're loading binary data? I suggest ".bin". It is confusing to have .hex there, since you're not dealing with the Intel HEX format, nor anything text-like.
Actually I think we can also skip one level of indirection here... no need to mention "microcode" twice.
kernel/x86/microcode/GenuineIntel or GenuineIntel.bin seems good enough... the idea here of course is that the string can come from CPUID.
-hpa
RE: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
Quoted 12 lines
-----Original Message-----
From: H. Peter Anvin [mailto:[email protected]]
Sent: Saturday, August 18, 2012 10:25 PM
To: Yu, Fenghua
Cc: Henrique de Moraes Holschuh; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann; Borislav Petkov; linux- kernel; x86
Subject: Re: [PATCH 04/11]x86/microcode_core_early.c: Define interfaces for early load ucodeQuoted 1 line · Fenghua
Quoted 9 lines
Quoted 5 lines
In this early phase, detecting vendor in initrd is much simpler code. Otherwise, detecting vendor by cpuid (and without cpuid) needs similar but different code as existing functions and coding would be awkward.
I'm confused by this statement. Getting the vendor from CPUID is a few lines of code, and non-CPUID processors don't support microcode loading.
Will checking vendor info from CPUID in next version.
Quoted 4 lines
Quoted 1 line
Why name it ".hex" when you're loading binary data? I suggest ".bin".
It
Quoted 1 line
is confusing to have .hex there, since you're not dealing with the
Intel HEX
Quoted 8 lines
Quoted 1 line
format, nor anything text-like.
Actually I think we can also skip one level of indirection here... no need to mention "microcode" twice.
kernel/x86/microcode/GenuineIntelor GenuineIntel.bin seems good enough... the idea here of course is that the string can come from CPUID.
That's right. Will do this.
Thanks.
-Fenghua
Re: [PATCH 01/11] Documentation/x86: Early load microcode
In reply to Fenghua YuDocumentation/x86/earlyucode.txt
Quoted 15 lines · Fenghua Yu
From: Fenghua Yu <[email protected]>
Documenation for early load microcode methodology.
Signed-off-by Fenghua Yu <[email protected]>--- Documentation/x86/earlyucode.txt | 43 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 Documentation/x86/earlyucode.txtDocumentation/x86/earlyucode.txt new file +0
-0
Let's call the doc file "early-microcode.txt" like the rest of the microcode-related files in the tree.
Documentation/x86/earlyucode.txt line 8
Quoted 9 lines
Documentation/x86/earlyucode.txt new file +8
-0@@ -0,0 +1,43 @@ +Early load microcode +==================== +By Fenghua Yu <[email protected]> + +Kernel can update microcode in early phase of boot time. Loading microcode early +can fix CPU issues before they are observed during kernel boot time. + +Microcode is stored in initrd file. The microcode is read from the initrd file
^ an
Documentation/x86/earlyucode.txt line 9
Quoted 1 line
Documentation/x86/earlyucode.txt new file +1
-0+and loaded to CPU's during boot time.
I think you mean the plural "CPUs" here.
Documentation/x86/earlyucode.txt line 12
Quoted 3 lines
Documentation/x86/earlyucode.txt new file +3
-0+ +The format of the combined initrd image is microcode in cpio format followed by +initrd image (maybe compressed). Kernel parses the combined initrd image during
^
the
Documentation/x86/earlyucode.txt line 13
Quoted 1 line
Documentation/x86/earlyucode.txt new file +1
-0+boot time. The microcode file in cpio name space is:
Here and below, can we call the microcode file the "microcode container" to differentiate from the other "file" types?
s/time//
Documentation/x86/earlyucode.txt line 16
Quoted 3 lines
Documentation/x86/earlyucode.txt new file +3
-0+kernel/x86/microcode/GenuineIntel/microcode.hex + +During BSP boot (before SMP starts), if kernel finds the microcode file in the
^ the
Documentation/x86/earlyucode.txt line 17
Quoted 1 line
Documentation/x86/earlyucode.txt new file +1
-0+initrd file, it parses the microcode and saves matching microcode in memory.
s/the microcode/it/
Documentation/x86/earlyucode.txt line 18
Quoted 1 line
Documentation/x86/earlyucode.txt new file +1
-0+If matching microcode is found, it will be uploaded in BSP and later on in all
I guess "uploaded to the BSP" is more fitting here...
Documentation/x86/earlyucode.txt line 19
Quoted 1 line
Documentation/x86/earlyucode.txt new file +1
-0+AP's.
APs.
Documentation/x86/earlyucode.txt line 22
Quoted 3 lines
Documentation/x86/earlyucode.txt new file +3
-0+ +The saved microcode in memory will be used to upload micorcode when system +resumes from sleep.
Simplify:
"The cached microcode patch is applied when the CPU resumes from a sleep state."
Documentation/x86/earlyucode.txt line 24
Quoted 2 lines
Documentation/x86/earlyucode.txt new file +2
-0+ +In the past, user can issue command to load microcode during run time.
Delete that sentence, it is not needed.
Documentation/x86/earlyucode.txt line 26
Quoted 2 lines
Documentation/x86/earlyucode.txt new file +2
-0+There are two user space interfaces to load microcode, either through +/dev/cpu/microcode interface or through reload file in sysfs.
s/interface//
"... or through /sys/devices/system/cpu/microcode/reload."
Documentation/x86/earlyucode.txt line 29
Quoted 3 lines
Documentation/x86/earlyucode.txt new file +3
-0+ +Now user can choose any of the three methods to update microcode during boot +time or later during run time.
That sounds strange, maybe say something like:
"In addition to those two, the early loading method described here is the third method with which microcode can be uploaded to a system's CPUs."
Documentation/x86/earlyucode.txt line 31
Quoted 2 lines
Documentation/x86/earlyucode.txt new file +2
-0+ +The following sample script shows how to generate a new combined initrd file in
s/sample/example/
Documentation/x86/earlyucode.txt line 32
Quoted 1 line
Documentation/x86/earlyucode.txt new file +1
-0+/boot/initrd-3.5.0.ucode.img with original microcode microcode.hex and
^ in
Documentation/x86/earlyucode.txt line 42
Quoted 10 lines
Documentation/x86/earlyucode.txt new file +10
-0+original initrd image /boot/initrd-3.5.0.img. + +mkdir initrd +cd initrd +cp ../microcode.hex kernel/x86/microcode/GenuineIntel/microcode.hex +find .|cpio -oc >../ucode.cpio +cd .. +cat ucode.cpio /boot/initrd-3.5.0.img >/boot/initrd-3.5.0.ucode.img + +The generated /boot/initrd-3.5.0.ucode.img can be used as initrd file to load
^ an
Documentation/x86/earlyucode.txt line 43
Quoted 1 line
Documentation/x86/earlyucode.txt new file +1
-0+microcode during early boot time.
Thanks.
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Re: [PATCH 02/11] x86/lib/cpio.c: Find cpio data by its file name
In reply to Fenghua YuQuoted 3 lines · Fenghua Yu
From: Fenghua Yu <[email protected]>
Given a file's name, find its starting point in a cpio formated area. This will
s/file's/file/ cpio-formatted
Quoted 44 lines
be used to find microcode in combined initrd image. But this function is generic and could be used in other places.
Signed-off-by Fenghua Yu <[email protected]>--- arch/x86/include/asm/cpio.h | 10 +++ arch/x86/lib/Makefile | 2 + arch/x86/lib/cpio.c | 179 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 191 insertions(+), 0 deletions(-) create mode 100644 arch/x86/include/asm/cpio.h create mode 100644 arch/x86/lib/cpio.carch/x86/include/asm/cpio.h new file +10
-0@@ -0,0 +1,10 @@ +#include <stddef.h> +#include <stdbool.h> + +struct cpio_data { +void *data; +unsigned long size; +}; + +extern struct cpio_data +find_cpio_data (const char *name,const void *data,size_t len);arch/x86/lib/Makefile +2
-0@@ -45,3 +45,5 @@ else lib-y += copy_user_64.o copy_user_nocache_64.o lib-y += cmpxchg16b_emu.o endif + +obj-y += cpio.oarch/x86/lib/cpio.c new file +0
-0
arch/x86/lib/cpio.c line 6
Quoted 6 lines
arch/x86/lib/cpio.c new file +6
-0@@ -0,0 +1,179 @@ +/* +* findcpio.c +* +* Find a specific cpio member; must precede any compressed content. +* +* Copyright (C) 2012 H Peter Anvin" <[email protected]>
stray "
Quoted 22 lines
arch/x86/lib/cpio.c new file +22
-0+* Fenghua Yu <[email protected]> +*/ +#include <linux/module.h> +#include <linux/mm.h> +#include <linux/swap.h> +#include <linux/slab.h> +#include <linux/sysctl.h> +#include <linux/bitmap.h> +#include <linux/signal.h> +#include <linux/printk.h> +#include <linux/proc_fs.h> +#include <linux/security.h> +#include <linux/ctype.h> +#include <linux/kmemcheck.h> +#include <linux/fs.h> +#include <linux/init.h> +#include <linux/kernel.h> +#include <linux/kobject.h> +#include <linux/net.h> +#include <linux/sysrq.h> +#include <linux/highuid.h> +#include <linux/writeback.h>
arch/x86/lib/cpio.c line 38
Quoted 10 lines
arch/x86/lib/cpio.c new file +10
-0+#include <linux/ratelimit.h> +#include <linux/compaction.h> +#include <linux/hugetlb.h> +#include <linux/initrd.h> +#include <linux/key.h> +#include <linux/times.h> +#include <linux/limits.h> +#include <linux/dcache.h> +#include <linux/dnotify.h> +#include <linux/syscalls.h>
Why all those includes?
Quoted 31 lines
arch/x86/lib/cpio.c new file +31
-0+#include <asm/cpio.h> + +enum cpio_fields { +C_MAGIC , +C_INO , +C_MODE , +C_UID , +C_GID , +C_NLINK , +C_MTIME , +C_FILESIZE , +C_MAJ , +C_MIN , +C_RMAJ , +C_RMIN , +C_NAMESIZE , +C_CHKSUM , +C_NFIELDS +}; + +#if defined(__i386__) || defined(__x86_64__) +static size_t cpio_strlen (const char *name) +{ +size_t n =-1 ; + + asm("repne; scasb" + :"+D" (name),"+c" (n) + :"a" (0 )); + +return -2 - n; +}
arch/x86/lib/cpio.c line 79
Quoted 10 lines
arch/x86/lib/cpio.c new file +10
-0+ +static int cpio_memcmp (const void *p1,const void *p2,size_t n) +{ +unsigned char rv; + + asm("repe; cmpsb; setne %0" + :"=r" (rv),"+S" (p1),"+D" (p2),"+c" (n)); + +return rv; +}
I guess those are speed optimizations on x86, right? In any case, can we reuse some of the already present ones like memcmp in <arch/x86/boot/compressed/string.c> and strlen in <arch/x86/lib/string_32.c>...
Quoted 15 lines
arch/x86/lib/cpio.c new file +15
-0+#else +static size_t cpio_strlen (const char *name) +{ +size_t n =0 ; + +while (*name++) + n++; + +return n; +} + +static int cpio_memcmp (const void *p1,const void *p2,size_t n) +{ +const unsigned char *u1 = p1; +const unsigned char *u2 = p2;
arch/x86/lib/cpio.c line 104
Quoted 10 lines
arch/x86/lib/cpio.c new file +10
-0+int d; + +while (n--) { + d = *u2++ - *u1++; +if (d) +return d; + } + return 0; +} +#endif
and, similarly the generic ones in lib/string.c?
Quoted 14 lines
arch/x86/lib/cpio.c new file +14
-0+ +#define ALIGN4 (p) ((void *)(((size_t)p + 3) & ~3)) + +struct cpio_data find_cpio_data (const char *name,const void *data,size_t len) +{ +const size_t cpio_header_len =8 *C_NFIELDS -2 ; +struct cpio_data cd = {NULL ,0 }; +const char *p, *dptr, *nptr; +unsigned int ch[C_NFIELDS ], *chp, v; +unsigned char c, x; +size_t mynamesize =cpio_strlen (name) +1 ; +int i, j; + + p = data;
arch/x86/lib/cpio.c line 128
Quoted 10 lines
arch/x86/lib/cpio.c new file +10
-0+ +while (len > cpio_header_len) { +if (!*p) { +/* All cpio headers need to be 4-byte aligned */ + p +=4 ; + len -=4 ; +continue ; + } + + j =6 ;/* The magic field is only 6 characters */
Maybe put all comments above the line they refer to, like above instead of them trailing?
Quoted 55 lines
arch/x86/lib/cpio.c new file +51
-0+ chp = ch; +for (i =C_NFIELDS ; i; i--) { + v =0 ; +while (j--) { + v <<=4 ; + c = *p++; + + x = c -'0' ; +if (x <10 ) { + v += x; +continue ; + } + + x = (c |0x20 ) -'a' ; +if (x <6 ) { + v += x +10 ; +continue ; + } + + goto quit;/* Invalid hexadecimal */ + } + *chp++ = v; + j =8 ;/* All other fields are 8 characters */ + } + +if ((ch[C_MAGIC ] -0x070701 ) >1 ) + goto quit;/* Invalid magic */ + + len -= cpio_header_len; + + dptr =ALIGN4 (p + ch[C_NAMESIZE ]); + nptr =ALIGN4 (dptr + ch[C_FILESIZE ]); + +if (nptr > p + len || dptr < p || nptr < dptr) + goto quit;/* Buffer overrun */ + +if ((ch[C_MODE ] &0170000 ) ==0100000 && + ch[C_NAMESIZE ] == mynamesize && + !cpio_memcmp (p, name, mynamesize)) { + cd.data = (void *)dptr; + cd.size = ch[C_FILESIZE ]; +return cd;/* Found it! */ + } + + len -= (nptr - p); + p = nptr; + } + +quit: +return cd; +}Signature · 1 line
1.7.2
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Re: [PATCH 03/11] x86/microcode_intel.h: Define functions and macros for early load ucode
In reply to Fenghua YuQuoted 13 lines · Fenghua Yu
From: Fenghua Yu <[email protected]>
Define some functions and macros that will be used in early load ucode. Some of them are moved from
microcode_intel.cdriver in order to be called in early boot phase before module can be called.Signed-off-by Fenghua Yu <[email protected]>--- arch/x86/include/asm/microcode_intel.h | 103 ++++++++++++++++++ arch/x86/kernel/Makefile | 3 + arch/x86/kernel/microcode_core.c | 7 +- arch/x86/kernel/microcode_intel.c | 185 ++------------------------------ 4 files changed, 117 insertions(+), 181 deletions(-)
[ … ]
Quoted 64 lines
arch/x86/kernel/microcode_intel.c +0
-64-static int microcode_sanity_check (void *mc) -{ -unsigned long total_size, data_size, ext_table_size; -struct microcode_header_intel *mc_header = mc; -struct extended_sigtable *ext_header =NULL ; -int sum, orig_sum, ext_sigcount =0 , i; -struct extended_signature *ext_sig; - - total_size =get_totalsize (mc_header); - data_size =get_datasize (mc_header); - -if (data_size +MC_HEADER_SIZE > total_size) { -pr_err ("error! Bad data size in microcode data file\n" ); -return -EINVAL ; - } - -if (mc_header->ldrver !=1 || mc_header->hdrver !=1 ) { -pr_err ("error! Unknown microcode update format\n" ); -return -EINVAL ; - } - ext_table_size = total_size - (MC_HEADER_SIZE + data_size); -if (ext_table_size) { -if ((ext_table_size <EXT_HEADER_SIZE ) - || ((ext_table_size -EXT_HEADER_SIZE ) %EXT_SIGNATURE_SIZE )) { -pr_err ("error! Small exttable size in microcode data file\n" ); -return -EINVAL ; - } - ext_header = mc +MC_HEADER_SIZE + data_size; -if (ext_table_size !=exttable_size (ext_header)) { -pr_err ("error! Bad exttable size in microcode data file\n" ); -return -EFAULT ; - } - ext_sigcount = ext_header->count; - } - -/* check extended table checksum */ -if (ext_table_size) { -int ext_table_sum =0 ; -int *ext_tablep = (int *)ext_header; - - i = ext_table_size /DWSIZE ; -while (i--) - ext_table_sum += ext_tablep[i]; -if (ext_table_sum) { -pr_warning ("aborting, bad extended signature table checksum\n" ); -return -EINVAL ; - } - } - -/* calculate the checksum */ - orig_sum =0 ; - i = (MC_HEADER_SIZE + data_size) /DWSIZE ; -while (i--) - orig_sum += ((int *)mc)[i]; -if (orig_sum) { -pr_err ("aborting, bad checksum\n" ); -return -EINVAL ; - } -if (!ext_table_size) -return 0 ; -/* check extended signature checksum */ -for (i =0 ; i < ext_sigcount; i++) { - ext_sig = (void *)ext_header +EXT_HEADER_SIZE + -EXT_SIGNATURE_SIZE * i;
arch/x86/kernel/microcode_intel.c static int collect_cpu_info(int cpu_num, struct cpu_signature *csig) · line 249
Quoted 10 lines
arch/x86/kernel/microcode_intel.c +0
-10- sum = orig_sum - - (mc_header->sig + mc_header->pf + mc_header->cksum) - + (ext_sig->sig + ext_sig->pf + ext_sig->cksum); -if (sum) { -pr_err ("aborting, bad checksum\n" ); -return -EINVAL ; - } - } -return 0 ; -}
This patch introduces a build error:
In file included from arch/x86/kernel/microcode_intel.c:82:0:/usr/src/linux/linux-2.6/arch/x86/include/asm/microcode_intel.h:81:14: warning: ‘struct mc_saved_data’ declared inside parameter list [enabled by default] /usr/src/linux/linux-2.6/arch/x86/include/asm/microcode_intel.h:81:14: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] /usr/src/linux/linux-2.6/arch/x86/include/asm/microcode_intel.h:98:14: warning: ‘struct mc_saved_data’ declared inside parameter list [enabled by default]
ERROR: "get_matching_microcode" [arch/x86/kernel/microcode.ko] undefined!
ERROR: "microcode_sanity_check" [arch/x86/kernel/microcode.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
due to the removal of the two functions.
Quoted 69 lines
arch/x86/kernel/microcode_intel.c +6
-39- -/* -* return 0 - no update found -* return 1 - found update -*/ -static int -get_matching_microcode (struct cpu_signature *cpu_sig,void *mc,int rev) -{ -struct microcode_header_intel *mc_header = mc; -struct extended_sigtable *ext_header; -unsigned long total_size =get_totalsize (mc_header); -int ext_sigcount, i; -struct extended_signature *ext_sig; - -if (!update_match_revision (mc_header, rev)) -return 0 ; - -if (update_match_cpu (cpu_sig, mc_header->sig, mc_header->pf)) -return 1 ; - -/* Look for ext. headers: */ -if (total_size <=get_datasize (mc_header) +MC_HEADER_SIZE ) -return 0 ; - - ext_header = mc +get_datasize (mc_header) +MC_HEADER_SIZE ; - ext_sigcount = ext_header->count; - ext_sig = (void *)ext_header +EXT_HEADER_SIZE ; - -for (i =0 ; i < ext_sigcount; i++) { -if (update_match_cpu (cpu_sig, ext_sig->sig, ext_sig->pf)) -return 1 ; - ext_sig++; - } -return 0 ; -} - -static int apply_microcode (int cpu) +int apply_microcode (int cpu) {struct microcode_intel *mc_intel;struct ucode_cpu_info *uci;@@ -338,6 +164,7 @@ static enum ucode_state generic_load_microcode(int cpu, void *data, size_t size,unsigned int leftover = size;enum ucode_state state =UCODE_OK ;unsigned int curr_mc_size =0 ; +unsigned int csig, cpf;while (leftover) {struct microcode_header_intel mc_header;@@ -362,11 +189,13 @@ static enum ucode_state generic_load_microcode(int cpu, void *data, size_t size, }if (get_ucode_data (mc, ucode_ptr, mc_size) || -microcode_sanity_check (mc) <0 ) { +microcode_sanity_check (mc,1 ) <0 ) {break ; } -if (get_matching_microcode (&uci->cpu_sig, mc, new_rev)) { + csig = uci->cpu_sig.sig; + cpf = uci->cpu_sig.pf; +if (get_matching_microcode (csig, cpf, mc, new_rev)) {vfree (new_mc); new_rev = mc_header.rev; new_mc = mc;Signature · 1 line
1.7.2
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Re: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Fenghua YuQuoted 11 lines · Fenghua Yu
From: Fenghua Yu <[email protected]>
Define interfaces
load_ucode_bsp()andload_ucode_ap()to load ucode on BSP and AP in early boot time. These are generic interfaces. Internally they call vendor specific implementations.Signed-off-by Fenghua Yu <[email protected]>--- arch/x86/include/asm/microcode.h | 23 ++++++++++ arch/x86/kernel/microcode_core_early.c | 74 ++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+), 0 deletions(-)
Still the same build error:
ERROR: "get_matching_microcode" [arch/x86/kernel/microcode.ko] undefined!
ERROR: "microcode_sanity_check" [arch/x86/kernel/microcode.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
Quoted 40 lines
create mode 100644 arch/x86/kernel/microcode_core_early.carch/x86/include/asm/microcode.h +23
-0@@ -63,4 +63,27 @@ static inline struct microcode_ops * __init init_amd_microcode(void) static inline void __exit exit_amd_microcode(void) {}#endif +struct mc_saved_data { +unsigned int mc_saved_count; +struct microcode_intel **mc_saved; +struct ucode_cpu_info *ucode_cpu_info; +}; +#ifdef CONFIG_MICROCODE_EARLY +#define MAX_UCODE_COUNT 128 +extern struct ucode_cpu_info ucode_cpu_info_early[NR_CPUS ]; +extern struct microcode_intel __initdata *mc_saved_in_initrd[MAX_UCODE_COUNT ]; +extern struct mc_saved_data mc_saved_data; +extern void __init load_ucode_bsp (char *real_mode_data); +extern __init void load_ucode_ap (void ); +extern void __init +save_microcode_in_initrd (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd); +#else +static inline void __init load_ucode_bsp (char *real_mode_data) {} +static inline __init void load_ucode_ap (void ) {} +static inline void __init +save_microcode_in_initrd (struct mc_saved_data *mc_saved_data, +struct microcode_intel **mc_saved_in_initrd) {} +#endif +#endif /* _ASM_X86_MICROCODE_H */ arch/x86/kernel/microcode_core_early.c new file +0
-0
arch/x86/kernel/microcode_core_early.c line 9
Quoted 9 lines
arch/x86/kernel/microcode_core_early.c new file +9
-0@@ -0,0 +1,74 @@ +/* +* X86 CPU microcode early update for Linux +* +* Copyright (C) 2012 Fenghua Yu <[email protected]> +* H Peter Anvin" <[email protected]> +* +* This driver allows to early upgrade microcode on Intel processors +* belonging to IA-32 family - PentiumPro, Pentium II, +* Pentium III, Xeon, Pentium 4, etc.
Can we drop the vendor-specific text from generic x86 code pls? This belongs into microcode_intel_* AFAICT.
Quoted 21 lines
arch/x86/kernel/microcode_core_early.c new file +21
-0+* +* Reference: Section 9.11 of Volume 3, IA-32 Intel Architecture +* Software Developer's Manual. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version +* 2 of the License, or (at your option) any later version. +*/ +#include <linux/module.h> +#include <linux/mm.h> +#include <asm/microcode_intel.h> +#include <asm/processor.h> +#include <asm/cpio.h> + +struct ucode_cpu_info ucode_cpu_info_early[NR_CPUS ]; +EXPORT_SYMBOL_GPL (ucode_cpu_info_early); + +static __init enum ucode_state +find_ucode_intel (unsigned long start,unsigned long end) +{
arch/x86/kernel/microcode_core_early.c line 40
Quoted 10 lines
arch/x86/kernel/microcode_core_early.c new file +10
-0+unsigned int size = end - start +1 ; +struct cpio_data cd = {0 ,0 }; +char ucode_name[] ="kernel/x86/microcode/GenuineIntel/microcode.hex" ; + + cd =find_cpio_data (ucode_name, (void *)start, size); +if (cd.data) +return UCODE_OK ; + +return UCODE_ERROR ; +}
This function can be made generic by giving the ucode_name down as an arg, for example, so that other vendors can use it too.
Quoted 38 lines
arch/x86/kernel/microcode_core_early.c new file +34
-0+ +void __init load_ucode_bsp (char *real_mode_data) +{ +u64 ramdisk_image, ramdisk_size, ramdisk_end; +unsigned long initrd_start, initrd_end; +struct boot_params *boot_params; + + boot_params = (struct boot_params *)real_mode_data; + ramdisk_image = boot_params->hdr.ramdisk_image; + ramdisk_size = boot_params->hdr.ramdisk_size; + +#ifdef CONFIG_X86_64 + ramdisk_end =PAGE_ALIGN (ramdisk_image + ramdisk_size); + initrd_start = ramdisk_image +PAGE_OFFSET ; +#else + ramdisk_end = ramdisk_image + ramdisk_size; + initrd_start = ramdisk_image; +#endif + initrd_end = initrd_start + ramdisk_size; + +/* +* It's early to get CPU vendor info at this point. +* By searching initrd to find right name for vendor's microcode, +* it's relative easier to get CPU vendor info. +*/ +if (find_ucode_intel (initrd_start, initrd_end) ==UCODE_OK ) +load_ucode_intel_bsp (real_mode_data); +} + +void __cpuinit load_ucode_ap (void ) +{ +if (boot_cpu_data.x86_vendor ==X86_VENDOR_INTEL ) +load_ucode_intel_ap (); +}Signature · 1 line
1.7.2
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Re: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Yu, FenghuaQuoted 7 lines · Fenghua
Quoted 6 lines
Actually I think we can also skip one level of indirection here... no need to mention "microcode" twice.
kernel/x86/microcode/GenuineIntelor GenuineIntel.bin seems good enough... the idea here of course is that the string can come from CPUID.That's right. Will do this.
Or,
in case we want to supply more vendor-specific stuff early at boot, we could do:
kernel/x86/<vendor>/microcode...
|-> bios_overrides |-> ...
and have this layout extensible from the beginning...
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Re: [PATCH 05/11] x86/microcode_intel_lib.c: Early update ucode on Intel's CPU
In reply to Fenghua YuQuoted 6 lines · Fenghua Yu
From: Fenghua Yu <[email protected]>
Define interfaces
microcode_sanity_check()andget_matching_microcode(). They are called both in early boot time and in microcode Intel driver.Signed-off-by Fenghua Yu <[email protected]>
Actually,
this one should be merged with 3/11 to kill the build error.
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Quoted 5 lines · Fenghua Yu
Documentation/x86/earlyucode.txt | 43 +++ arch/x86/Kconfig | 22 ++ arch/x86/include/asm/cpio.h | 10 + arch/x86/include/asm/microcode.h | 23 ++ arch/x86/include/asm/microcode_intel.h | 103 +++++++
Quoted 8 lines
arch/x86/kernel/Makefile | 3 + arch/x86/kernel/head64.c | 6 + arch/x86/kernel/head_32.S | 6 + arch/x86/kernel/microcode_core.c | 7 +- arch/x86/kernel/microcode_core_early.c | 74 +++++ arch/x86/kernel/microcode_intel.c | 185 +------------ arch/x86/kernel/microcode_intel_early.c | 482 +++++++++++++++++++++++++++++++ arch/x86/kernel/microcode_intel_lib.c | 163 +++++++++++
One more thing:
This screams for adding a directory called "microcode" in the kernel sources and moving all the microcode-related files there. IOW:
arch/x86/kernel/cpu/microcode/core.carch/x86/kernel/cpu/microcode/core_early.carch/x86/kernel/cpu/microcode/intel.carch/x86/kernel/cpu/microcode/amd.c
...
And yes, they should be under "cpu" too.
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Quoted 29 lines
-----Original Message-----
From: Borislav Petkov [mailto:[email protected]]
Sent: Monday, August 20, 2012 8:39 AM
To: Yu, Fenghua
Cc: H Peter Anvin; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann; Borislav Petkov; linux-kernel; x86
Subject: Re: [PATCH 00/11] x86/microcode: Early load microcodeQuoted 4 lines · Fenghua Yu
Documentation/x86/earlyucode.txt | 43 +++ arch/x86/Kconfig | 22 ++ arch/x86/include/asm/cpio.h | 10 + arch/x86/include/asm/microcode.h | 23 ++Quoted 8 lines
arch/x86/include/asm/microcode_intel.h | 103 +++++++ arch/x86/kernel/Makefile | 3 + arch/x86/kernel/head64.c | 6 + arch/x86/kernel/head_32.S | 6 + arch/x86/kernel/microcode_core.c | 7 +- arch/x86/kernel/microcode_core_early.c | 74 +++++ arch/x86/kernel/microcode_intel.c | 185 +------------ arch/x86/kernel/microcode_intel_early.c | 482+++++++++++++++++++++++++++++++
Quoted 1 line
arch/x86/kernel/microcode_intel_lib.c | 163 +++++++++++One more thing:
This screams for adding a directory called "microcode" in the kernel sources and moving all the microcode-related files there. IOW:
Quoted 7 lines
arch/x86/kernel/cpu/microcode/core.carch/x86/kernel/cpu/microcode/core_early.carch/x86/kernel/cpu/microcode/intel.carch/x86/kernel/cpu/microcode/amd.c
...And yes, they should be under "cpu" too.
That's right.
Thanks.
-Fenghua
Re: [PATCH 05/11] x86/microcode_intel_lib.c: Early update ucode on Intel's CPU
In reply to Borislav PetkovQuoted 11 lines · Borislav Petkov
Quoted 6 lines · Fenghua Yu
From: Fenghua Yu <[email protected]>
Define interfaces
microcode_sanity_check()andget_matching_microcode(). They are called both in early boot time and in microcode Intel driver.Signed-off-by Fenghua Yu <[email protected]>Actually,
this one should be merged with 3/11 to kill the build error.
This still doesn't suffice:
ERROR: "get_matching_microcode" [arch/x86/kernel/microcode.ko] undefined!
ERROR: "microcode_sanity_check" [arch/x86/kernel/microcode.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
.config attached.
And by quickly grepping through it, none of the new options are there:
obj-$(CONFIG_MICROCODE_EARLY) += microcode_core_early.o
obj-$(CONFIG_MICROCODE_INTEL_EARLY) += microcode_intel_early.o
obj-$(CONFIG_MICROCODE_INTEL_LIB) += microcode_intel_lib.o
microcode-y := microcode_core.o
which most probably causes the build error. AFAICT, you need to pull up the arch/x86/Kconfig changes from 11/11 too.
HTH.
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.6.0-rc2 Kernel Configuration
#CONFIG_64BIT=y
# CONFIG_X86_32 is not setCONFIG_X86_64=yCONFIG_X86=yCONFIG_INSTRUCTION_DECODER=yCONFIG_OUTPUT_FORMAT="elf64-x86-64"CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"CONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=yCONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_NEED_DMA_MAP_STATE=yCONFIG_NEED_SG_DMA_LENGTH=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_BUG_RELATIVE_POINTERS=yCONFIG_GENERIC_HWEIGHT=yCONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not setCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_GENERIC_CALIBRATE_DELAY=yCONFIG_ARCH_HAS_CPU_RELAX=yCONFIG_ARCH_HAS_DEFAULT_IDLE=yCONFIG_ARCH_HAS_CACHE_LINE_SIZE=yCONFIG_ARCH_HAS_CPU_AUTOPROBE=yCONFIG_HAVE_SETUP_PER_CPU_AREA=yCONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=yCONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=yCONFIG_ARCH_HIBERNATION_POSSIBLE=yCONFIG_ARCH_SUSPEND_POSSIBLE=yCONFIG_ZONE_DMA32=yCONFIG_AUDIT_ARCH=yCONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=yCONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=yCONFIG_X86_64_SMP=yCONFIG_X86_HT=yCONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" CONFIG_ARCH_CPU_PROBE_RELEASE=yCONFIG_ARCH_SUPPORTS_UPROBES=yCONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"CONFIG_HAVE_IRQ_WORK=yCONFIG_IRQ_WORK=yCONFIG_BUILDTIME_EXTABLE_SORT=y
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not setCONFIG_DEFAULT_HOSTNAME="(none)"CONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_BSD_PROCESS_ACCT_V3=y
# CONFIG_FHANDLE is not setCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=yCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_AUDIT_WATCH=yCONFIG_AUDIT_TREE=y
# CONFIG_AUDIT_LOGINUID_IMMUTABLE is not setCONFIG_HAVE_GENERIC_HARDIRQS=y
#
# IRQ subsystem
#CONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_GENERIC_IRQ_SHOW=yCONFIG_GENERIC_PENDING_IRQ=yCONFIG_IRQ_FORCED_THREADING=yCONFIG_SPARSE_IRQ=yCONFIG_CLOCKSOURCE_WATCHDOG=yCONFIG_ARCH_CLOCKSOURCE_DATA=yCONFIG_GENERIC_TIME_VSYSCALL=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_GENERIC_CLOCKEVENTS_BUILD=yCONFIG_GENERIC_CLOCKEVENTS_BROADCAST=yCONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=yCONFIG_GENERIC_CMOS_UPDATE=y
#
# Timers subsystem
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y
#
# RCU Subsystem
#CONFIG_TREE_PREEMPT_RCU=yCONFIG_PREEMPT_RCU=yCONFIG_RCU_FANOUT=64CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_RCU_FAST_NO_HZ is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_RCU_BOOST is not setCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_LOG_BUF_SHIFT=16CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not setCONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_NET_NS is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not setCONFIG_RELAY=yCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=yCONFIG_RD_BZIP2=yCONFIG_RD_LZMA=yCONFIG_RD_XZ=yCONFIG_RD_LZO=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not setCONFIG_SYSCTL=yCONFIG_ANON_INODES=y
# CONFIG_EXPERT is not setCONFIG_UID16=y
# CONFIG_SYSCTL_SYSCALL is not setCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_HAVE_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=y
# CONFIG_EMBEDDED is not setCONFIG_HAVE_PERF_EVENTS=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not setCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=yCONFIG_COMPAT_BRK=yCONFIG_SLAB=y
# CONFIG_SLUB is not setCONFIG_PROFILING=yCONFIG_TRACEPOINTS=yCONFIG_OPROFILE=m
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not setCONFIG_HAVE_OPROFILE=yCONFIG_OPROFILE_NMI_TIMER=y
# CONFIG_KPROBES is not set
# CONFIG_JUMP_LABEL is not setCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_USER_RETURN_NOTIFIER=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_OPTPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_USE_GENERIC_SMP_HELPERS=yCONFIG_GENERIC_SMP_IDLE_THREAD=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_MIXED_BREAKPOINTS_REGS=yCONFIG_HAVE_USER_RETURN_NOTIFIER=yCONFIG_HAVE_PERF_EVENTS_NMI=yCONFIG_HAVE_ARCH_JUMP_LABEL=yCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=yCONFIG_HAVE_CMPXCHG_LOCAL=yCONFIG_HAVE_CMPXCHG_DOUBLE=yCONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=yCONFIG_ARCH_WANT_OLD_COMPAT_IPC=yCONFIG_HAVE_ARCH_SECCOMP_FILTER=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not setCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not setCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not setCONFIG_STOP_MACHINE=yCONFIG_BLOCK=yCONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not setCONFIG_MSDOS_PARTITION=yCONFIG_BLOCK_COMPAT=y
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_DEADLINE is not set CONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set CONFIG_UNINLINE_SPIN_UNLOCK=y
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set # CONFIG_INLINE_READ_UNLOCK is not set
# CONFIG_INLINE_READ_UNLOCK_BH is not set # CONFIG_INLINE_READ_UNLOCK_IRQ is not set # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set # CONFIG_INLINE_WRITE_UNLOCK is not set
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set CONFIG_FREEZER=y
#
# Processor type and features
#CONFIG_ZONE_DMA=yCONFIG_SMP=yCONFIG_X86_MPPARSE=y CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_VSMP is not set CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_KVMTOOL_TEST_ENABLE is not set
# CONFIG_PARAVIRT_GUEST is not set CONFIG_NO_BOOTMEM=y
# CONFIG_MEMTEST is not setCONFIG_MK8=y
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
# CONFIG_GENERIC_CPU is not set CONFIG_X86_INTERNODE_CACHE_SHIFT=6 CONFIG_X86_CMPXCHG=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_X86_XADD=yCONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_TSC=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_CMOV=y CONFIG_X86_MINIMUM_CPU_FAMILY=64 CONFIG_X86_DEBUGCTLMSR=y CONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_AMD=y CONFIG_CPU_SUP_CENTAUR=yCONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=yCONFIG_DMI=yCONFIG_GART_IOMMU=y
# CONFIG_CALGARY_IOMMU is not set CONFIG_SWIOTLB=yCONFIG_IOMMU_HELPER=y
# CONFIG_MAXSMP is not setCONFIG_NR_CPUS=8
# CONFIG_SCHED_SMT is not set CONFIG_SCHED_MC=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=yCONFIG_PREEMPT_COUNT=y CONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=y
# CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS is not set CONFIG_X86_MCE=y
# CONFIG_X86_MCE_INTEL is not set CONFIG_X86_MCE_AMD=y CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set
# CONFIG_I8K is not setCONFIG_MICROCODE=mCONFIG_MICROCODE_INTEL=y CONFIG_MICROCODE_AMD=y CONFIG_MICROCODE_OLD_INTERFACE=y CONFIG_X86_MSR=yCONFIG_X86_CPUID=y CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_ARCH_DMA_ADDR_T_64BIT=y CONFIG_DIRECT_GBPAGES=y
# CONFIG_NUMA is not set CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_PROC_KCORE_TEXT=y CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 CONFIG_SELECT_MEMORY_MODEL=y CONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=y CONFIG_HAVE_MEMORY_PRESENT=y CONFIG_SPARSEMEM_EXTREME=y CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y CONFIG_SPARSEMEM_VMEMMAP=y CONFIG_HAVE_MEMBLOCK=y CONFIG_HAVE_MEMBLOCK_NODE_MAP=y CONFIG_ARCH_DISCARD_MEMBLOCK=y
# CONFIG_MEMORY_HOTPLUG is not set CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=999999
# CONFIG_COMPACTION is not set CONFIG_PHYS_ADDR_T_64BIT=y CONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_MMU_NOTIFIER=y
# CONFIG_KSM is not set CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
# CONFIG_TRANSPARENT_HUGEPAGE is not set CONFIG_CROSS_MEMORY_ATTACH=y
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set CONFIG_X86_RESERVE_LOW=64CONFIG_MTRR=yCONFIG_MTRR_SANITIZER=y CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 CONFIG_X86_PAT=y CONFIG_ARCH_USES_PG_UNCACHED=y CONFIG_ARCH_RANDOM=y
# CONFIG_EFI is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not setCONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set CONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not set CONFIG_PHYSICAL_ALIGN=0x1000000 CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
#
# Power management and ACPI options
#CONFIG_ARCH_HIBERNATION_HEADER=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=yCONFIG_HIBERNATE_CALLBACKS=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION="/dev/sda2"CONFIG_PM_SLEEP=yCONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not setCONFIG_PM_RUNTIME=yCONFIG_PM=y
# CONFIG_PM_DEBUG is not setCONFIG_ACPI=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_PROCFS=yCONFIG_ACPI_PROCFS_POWER=y
# CONFIG_ACPI_EC_DEBUGFS is not setCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=mCONFIG_ACPI_BATTERY=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_FAN=mCONFIG_ACPI_DOCK=yCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not setCONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_CUSTOM_DSDT is not setCONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not setCONFIG_X86_PM_TIMER=yCONFIG_ACPI_CONTAINER=mCONFIG_ACPI_SBS=m
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_BGRT is not set
# CONFIG_ACPI_APEI is not set
# CONFIG_SFI is not set
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=y CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=m CONFIG_CPU_FREQ_GOV_ONDEMAND=m CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
#
# x86 CPU frequency scaling drivers # # CONFIG_X86_PCC_CPUFREQ is not set # CONFIG_X86_ACPI_CPUFREQ is not set CONFIG_X86_POWERNOW_K8=m # CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_P4_CLOCKMOD is not set
#
# shared options # # CONFIG_X86_SPEEDSTEP_LIB is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y # CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set # CONFIG_INTEL_IDLE is not set
#
# Memory power savings
#
# CONFIG_I7300_IDLE is not set
#
# Bus options (PCI etc.)
#CONFIG_PCI=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=yCONFIG_PCI_DOMAINS=y
# CONFIG_PCI_CNB20LE_QUIRK is not setCONFIG_PCIEPORTBUS=yCONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
# CONFIG_PCIEAER_INJECT is not setCONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not setCONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not setCONFIG_PCIE_PME=yCONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not setCONFIG_HT_IRQ=yCONFIG_PCI_ATS=y
# CONFIG_PCI_IOV is not setCONFIG_PCI_PRI=yCONFIG_PCI_PASID=yCONFIG_PCI_IOAPIC=yCONFIG_PCI_LABEL=yCONFIG_ISA_DMA_API=yCONFIG_AMD_NB=y
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set
# CONFIG_RAPIDIO is not set
#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=yCONFIG_COMPAT_BINFMT_ELF=yCONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
# CONFIG_HAVE_AOUT is not setCONFIG_BINFMT_MISC=mCONFIG_IA32_EMULATION=yCONFIG_IA32_AOUT=y
# CONFIG_X86_X32 is not setCONFIG_COMPAT=yCONFIG_COMPAT_FOR_U64_ALIGNMENT=yCONFIG_SYSVIPC_COMPAT=yCONFIG_KEYS_COMPAT=yCONFIG_HAVE_TEXT_POKE_SMP=yCONFIG_X86_DEV_DMA_OPS=yCONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_XFRM_USER is not set
# CONFIG_NET_KEY is not setCONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_ROUTE_CLASSID=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_ARPD is not setCONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set CONFIG_INET_TUNNEL=m
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set CONFIG_INET_LRO=y
# CONFIG_INET_DIAG is not set CONFIG_TCP_CONG_ADVANCED=y CONFIG_TCP_CONG_BIC=yCONFIG_TCP_CONG_CUBIC=m CONFIG_TCP_CONG_WESTWOOD=m CONFIG_TCP_CONG_HTCP=m CONFIG_TCP_CONG_HSTCP=m CONFIG_TCP_CONG_HYBLA=m CONFIG_TCP_CONG_VEGAS=m CONFIG_TCP_CONG_SCALABLE=m CONFIG_TCP_CONG_LP=mCONFIG_TCP_CONG_VENO=mCONFIG_TCP_CONG_YEAH=m CONFIG_TCP_CONG_ILLINOIS=m CONFIG_DEFAULT_BIC=y
# CONFIG_DEFAULT_RENO is not set CONFIG_DEFAULT_TCP_CONG="bic"
# CONFIG_TCP_MD5SIG is not setCONFIG_IPV6=yCONFIG_IPV6_PRIVACY=y
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set CONFIG_INET6_TUNNEL=m
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set # CONFIG_INET6_XFRM_MODE_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_BEET is not set
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set CONFIG_IPV6_SIT=m
# CONFIG_IPV6_SIT_6RD is not set CONFIG_IPV6_NDISC_NODETYPE=y CONFIG_IPV6_TUNNEL=m CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=y
# CONFIG_IPV6_MROUTE is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set CONFIG_NETFILTER_ADVANCED=y
#
# Core Netfilter Configuration
#CONFIG_NETFILTER_NETLINK=mCONFIG_NETFILTER_NETLINK_ACCT=mCONFIG_NETFILTER_NETLINK_QUEUE=mCONFIG_NETFILTER_NETLINK_LOG=mCONFIG_NF_CONNTRACK=mCONFIG_NF_CONNTRACK_MARK=yCONFIG_NF_CONNTRACK_PROCFS=yCONFIG_NF_CONNTRACK_EVENTS=y
# CONFIG_NF_CONNTRACK_TIMEOUT is not set
# CONFIG_NF_CONNTRACK_TIMESTAMP is not set
# CONFIG_NF_CT_PROTO_DCCP is not setCONFIG_NF_CT_PROTO_GRE=mCONFIG_NF_CT_PROTO_SCTP=mCONFIG_NF_CT_PROTO_UDPLITE=mCONFIG_NF_CONNTRACK_AMANDA=mCONFIG_NF_CONNTRACK_FTP=mCONFIG_NF_CONNTRACK_H323=mCONFIG_NF_CONNTRACK_IRC=mCONFIG_NF_CONNTRACK_BROADCAST=mCONFIG_NF_CONNTRACK_NETBIOS_NS=m
# CONFIG_NF_CONNTRACK_SNMP is not setCONFIG_NF_CONNTRACK_PPTP=mCONFIG_NF_CONNTRACK_SANE=mCONFIG_NF_CONNTRACK_SIP=mCONFIG_NF_CONNTRACK_TFTP=mCONFIG_NF_CT_NETLINK=m
# CONFIG_NF_CT_NETLINK_TIMEOUT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE_CT is not set
# CONFIG_NETFILTER_TPROXY is not setCONFIG_NETFILTER_XTABLES=m
#
# Xtables combined modules
#CONFIG_NETFILTER_XT_MARK=mCONFIG_NETFILTER_XT_CONNMARK=m
#
# Xtables targets
#
# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set # CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
# CONFIG_NETFILTER_XT_TARGET_CT is not set CONFIG_NETFILTER_XT_TARGET_DSCP=m CONFIG_NETFILTER_XT_TARGET_HL=m CONFIG_NETFILTER_XT_TARGET_HMARK=m
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set # CONFIG_NETFILTER_XT_TARGET_LOG is not set CONFIG_NETFILTER_XT_TARGET_MARK=m CONFIG_NETFILTER_XT_TARGET_NFLOG=m CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set # CONFIG_NETFILTER_XT_TARGET_TEE is not set CONFIG_NETFILTER_XT_TARGET_TRACE=m CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
#
# Xtables matches
#
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not setCONFIG_NETFILTER_XT_MATCH_COMMENT=mCONFIG_NETFILTER_XT_MATCH_CONNBYTES=mCONFIG_NETFILTER_XT_MATCH_CONNLIMIT=mCONFIG_NETFILTER_XT_MATCH_CONNMARK=mCONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
# CONFIG_NETFILTER_XT_MATCH_CPU is not setCONFIG_NETFILTER_XT_MATCH_DCCP=m
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not setCONFIG_NETFILTER_XT_MATCH_DSCP=mCONFIG_NETFILTER_XT_MATCH_ECN=mCONFIG_NETFILTER_XT_MATCH_ESP=mCONFIG_NETFILTER_XT_MATCH_HASHLIMIT=mCONFIG_NETFILTER_XT_MATCH_HELPER=mCONFIG_NETFILTER_XT_MATCH_HL=m
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not setCONFIG_NETFILTER_XT_MATCH_LENGTH=mCONFIG_NETFILTER_XT_MATCH_LIMIT=mCONFIG_NETFILTER_XT_MATCH_MAC=mCONFIG_NETFILTER_XT_MATCH_MARK=mCONFIG_NETFILTER_XT_MATCH_MULTIPORT=mCONFIG_NETFILTER_XT_MATCH_NFACCT=m
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
# CONFIG_NETFILTER_XT_MATCH_OWNER is not setCONFIG_NETFILTER_XT_MATCH_PKTTYPE=mCONFIG_NETFILTER_XT_MATCH_QUOTA=m
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not setCONFIG_NETFILTER_XT_MATCH_REALM=m
# CONFIG_NETFILTER_XT_MATCH_RECENT is not setCONFIG_NETFILTER_XT_MATCH_SCTP=mCONFIG_NETFILTER_XT_MATCH_STATE=mCONFIG_NETFILTER_XT_MATCH_STATISTIC=mCONFIG_NETFILTER_XT_MATCH_STRING=mCONFIG_NETFILTER_XT_MATCH_TCPMSS=mCONFIG_NETFILTER_XT_MATCH_TIME=mCONFIG_NETFILTER_XT_MATCH_U32=m
# CONFIG_IP_SET is not set
# CONFIG_IP_VS is not set
#
# IP: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV4=mCONFIG_NF_CONNTRACK_IPV4=mCONFIG_NF_CONNTRACK_PROC_COMPAT=yCONFIG_IP_NF_QUEUE=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_MATCH_AH=mCONFIG_IP_NF_MATCH_ECN=m
# CONFIG_IP_NF_MATCH_RPFILTER is not setCONFIG_IP_NF_MATCH_TTL=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=mCONFIG_IP_NF_TARGET_ULOG=mCONFIG_NF_NAT=mCONFIG_NF_NAT_NEEDED=yCONFIG_IP_NF_TARGET_MASQUERADE=mCONFIG_IP_NF_TARGET_NETMAP=mCONFIG_IP_NF_TARGET_REDIRECT=mCONFIG_NF_NAT_PROTO_GRE=mCONFIG_NF_NAT_PROTO_UDPLITE=mCONFIG_NF_NAT_PROTO_SCTP=mCONFIG_NF_NAT_FTP=mCONFIG_NF_NAT_IRC=mCONFIG_NF_NAT_TFTP=mCONFIG_NF_NAT_AMANDA=mCONFIG_NF_NAT_PPTP=mCONFIG_NF_NAT_H323=mCONFIG_NF_NAT_SIP=mCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_CLUSTERIP=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_TTL=mCONFIG_IP_NF_RAW=mCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=mCONFIG_IP_NF_ARP_MANGLE=m
#
# IPv6: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV6=mCONFIG_NF_CONNTRACK_IPV6=mCONFIG_IP6_NF_IPTABLES=mCONFIG_IP6_NF_MATCH_AH=mCONFIG_IP6_NF_MATCH_EUI64=mCONFIG_IP6_NF_MATCH_FRAG=mCONFIG_IP6_NF_MATCH_OPTS=mCONFIG_IP6_NF_MATCH_HL=mCONFIG_IP6_NF_MATCH_IPV6HEADER=mCONFIG_IP6_NF_MATCH_MH=m
# CONFIG_IP6_NF_MATCH_RPFILTER is not setCONFIG_IP6_NF_MATCH_RT=mCONFIG_IP6_NF_TARGET_HL=mCONFIG_IP6_NF_FILTER=mCONFIG_IP6_NF_TARGET_REJECT=mCONFIG_IP6_NF_MANGLE=mCONFIG_IP6_NF_RAW=m
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not setCONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not setCONFIG_RPS=yCONFIG_RFS_ACCEL=yCONFIG_XPS=yCONFIG_BQL=y
# CONFIG_BPF_JIT is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not setCONFIG_FIB_RULES=y
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not setCONFIG_HAVE_BPF_JIT=y
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_DEVTMPFS is not setCONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not setCONFIG_DMA_SHARED_BUFFER=y
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_PARPORT is not setCONFIG_PNP=yCONFIG_PNP_DEBUG_MESSAGES=y
#
# Protocols
#CONFIG_PNPACPI=yCONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_LOOP_MIN_COUNT=8CONFIG_BLK_DEV_CRYPTOLOOP=m
#
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected #
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
# CONFIG_BLK_DEV_RAM is not set CONFIG_CDROM_PKTCDVD=mCONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_BLK_DEV_HD is not set
# CONFIG_BLK_DEV_RBD is not set
#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_INTEL_MID_PTI is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_VMWARE_BALLOON is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_PCH_PHUB is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_C2PORT is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_CB710_CORE is not set
#
# Texas Instruments shared transport line discipline #
# CONFIG_SENSORS_LIS3_I2C is not set
#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not setCONFIG_HAVE_IDE=yCONFIG_IDE=y
#
# Please see Documentation/ide/ide.txt for help/info on IDE drives #CONFIG_IDE_XFER_MODE=yCONFIG_IDE_TIMINGS=yCONFIG_IDE_ATAPI=y
# CONFIG_BLK_DEV_IDE_SATA is not setCONFIG_IDE_GD=yCONFIG_IDE_GD_ATA=y
# CONFIG_IDE_GD_ATAPI is not setCONFIG_BLK_DEV_IDECD=m CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y CONFIG_BLK_DEV_IDETAPE=mCONFIG_BLK_DEV_IDEACPI=yCONFIG_IDE_TASK_IOCTL=yCONFIG_IDE_PROC_FS=y
#
# IDE chipset support/bugfixes
#
# CONFIG_IDE_GENERIC is not set
# CONFIG_BLK_DEV_PLATFORM is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not setCONFIG_BLK_DEV_IDEDMA_SFF=y
#
# PCI IDE chipsets support
#CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_PCIBUS_ORDER is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not setCONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not setCONFIG_BLK_DEV_AMD74XX=y
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_JMICRON is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_IT8172 is not set
# CONFIG_BLK_DEV_IT8213 is not set
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_BLK_DEV_TC86C001 is not setCONFIG_BLK_DEV_IDEDMA=y
#
# SCSI device support
#CONFIG_SCSI_MOD=yCONFIG_RAID_ATTRS=mCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_SCSI_TGT=m
# CONFIG_SCSI_NETLINK is not setCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=yCONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not setCONFIG_BLK_DEV_SR=mCONFIG_BLK_DEV_SR_VENDOR=yCONFIG_CHR_DEV_SG=mCONFIG_CHR_DEV_SCH=mCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not setCONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not setCONFIG_ATA_VERBOSE_ERROR=yCONFIG_ATA_ACPI=yCONFIG_SATA_PMP=y
#
# Controllers with non-SFF native interface
#CONFIG_SATA_AHCI=y
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not setCONFIG_ATA_SFF=y
#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not setCONFIG_ATA_BMDMA=y
#
# SATA SFF controllers with BMDMA
#CONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not setCONFIG_SATA_NV=y
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not setCONFIG_PATA_ATIIXP=y
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5536 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not setCONFIG_PATA_JMICRON=y
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SCH is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set
#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_RZ1000 is not set
#
# Generic fallback / legacy drivers
#
# CONFIG_PATA_ACPI is not set
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_LEGACY is not setCONFIG_MD=y
# CONFIG_BLK_DEV_MD is not setCONFIG_BLK_DEV_DM=m
# CONFIG_DM_DEBUG is not setCONFIG_DM_CRYPT=m
# CONFIG_DM_SNAPSHOT is not set
# CONFIG_DM_THIN_PROVISIONING is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_RAID is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_UEVENT is not set
# CONFIG_DM_FLAKEY is not set
# CONFIG_DM_VERITY is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set
#
# IEEE 1394 (FireWire) support
#CONFIG_FIREWIRE=mCONFIG_FIREWIRE_OHCI=mCONFIG_FIREWIRE_SBP2=m
# CONFIG_FIREWIRE_NET is not set
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_I2O is not set
# CONFIG_MACINTOSH_DRIVERS is not setCONFIG_NETDEVICES=yCONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_FC is not setCONFIG_MII=y
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not setCONFIG_NETCONSOLE=yCONFIG_NETCONSOLE_DYNAMIC=yCONFIG_NETPOLL=y
# CONFIG_NETPOLL_TRAP is not setCONFIG_NET_POLL_CONTROLLER=y
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_ARCNET is not set
#
# CAIF transport drivers
#CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not setCONFIG_NET_VENDOR_ADAPTEC=y
# CONFIG_ADAPTEC_STARFIRE is not setCONFIG_NET_VENDOR_ALTEON=y
# CONFIG_ACENIC is not setCONFIG_NET_VENDOR_AMD=y
# CONFIG_AMD8111_ETH is not set
# CONFIG_PCNET32 is not setCONFIG_NET_VENDOR_ATHEROS=y
# CONFIG_ATL2 is not set
# CONFIG_ATL1 is not set
# CONFIG_ATL1E is not set
# CONFIG_ATL1C is not setCONFIG_NET_VENDOR_BROADCOM=y
# CONFIG_B44 is not set
# CONFIG_BNX2 is not set
# CONFIG_CNIC is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2X is not setCONFIG_NET_VENDOR_BROCADE=y
# CONFIG_BNA is not set
# CONFIG_NET_CALXEDA_XGMAC is not setCONFIG_NET_VENDOR_CHELSIO=y
# CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_CHELSIO_T4 is not set
# CONFIG_CHELSIO_T4VF is not setCONFIG_NET_VENDOR_CISCO=y
# CONFIG_ENIC is not set
# CONFIG_DNET is not setCONFIG_NET_VENDOR_DEC=y
# CONFIG_NET_TULIP is not setCONFIG_NET_VENDOR_DLINK=y
# CONFIG_DL2K is not set
# CONFIG_SUNDANCE is not setCONFIG_NET_VENDOR_EMULEX=y
# CONFIG_BE2NET is not setCONFIG_NET_VENDOR_EXAR=y
# CONFIG_S2IO is not set
# CONFIG_VXGE is not setCONFIG_NET_VENDOR_HP=y
# CONFIG_HP100 is not setCONFIG_NET_VENDOR_INTEL=y
# CONFIG_E100 is not set
# CONFIG_E1000 is not set
# CONFIG_E1000E is not set
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGB is not set
# CONFIG_IXGBE is not setCONFIG_NET_VENDOR_I825XX=y
# CONFIG_ZNET is not set
# CONFIG_IP1000 is not set
# CONFIG_JME is not setCONFIG_NET_VENDOR_MARVELL=y
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not setCONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
# CONFIG_MLX4_CORE is not setCONFIG_NET_VENDOR_MICREL=y
# CONFIG_KS8851_MLL is not set
# CONFIG_KSZ884X_PCI is not setCONFIG_NET_VENDOR_MYRI=y
# CONFIG_MYRI10GE is not set
# CONFIG_FEALNX is not setCONFIG_NET_VENDOR_NATSEMI=y
# CONFIG_NATSEMI is not set
# CONFIG_NS83820 is not setCONFIG_NET_VENDOR_8390=y
# CONFIG_NE2K_PCI is not setCONFIG_NET_VENDOR_NVIDIA=yCONFIG_FORCEDETH=mCONFIG_NET_VENDOR_OKI=y
# CONFIG_PCH_GBE is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_PACKET_ENGINE is not setCONFIG_NET_VENDOR_QLOGIC=y
# CONFIG_QLA3XXX is not set
# CONFIG_QLCNIC is not set
# CONFIG_QLGE is not set
# CONFIG_NETXEN_NIC is not setCONFIG_NET_VENDOR_REALTEK=yCONFIG_8139CP=yCONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not setCONFIG_8139TOO_TUNE_TWISTER=yCONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not setCONFIG_R8169=mCONFIG_NET_VENDOR_RDC=y
# CONFIG_R6040 is not setCONFIG_NET_VENDOR_SEEQ=y
# CONFIG_SEEQ8005 is not setCONFIG_NET_VENDOR_SILAN=y
# CONFIG_SC92031 is not setCONFIG_NET_VENDOR_SIS=y
# CONFIG_SIS900 is not set
# CONFIG_SIS190 is not set
# CONFIG_SFC is not setCONFIG_NET_VENDOR_SMSC=y
# CONFIG_EPIC100 is not set
# CONFIG_SMSC9420 is not setCONFIG_NET_VENDOR_STMICRO=y
# CONFIG_STMMAC_ETH is not setCONFIG_NET_VENDOR_SUN=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NIU is not setCONFIG_NET_VENDOR_TEHUTI=y
# CONFIG_TEHUTI is not setCONFIG_NET_VENDOR_TI=y
# CONFIG_TLAN is not setCONFIG_NET_VENDOR_VIA=y
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_VELOCITY is not setCONFIG_NET_VENDOR_WIZNET=y
# CONFIG_WIZNET_W5100 is not set
# CONFIG_WIZNET_W5300 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not setCONFIG_PHYLIB=m
#
# MII PHY device drivers
#
# CONFIG_AMD_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_MDIO_BITBANG is not setCONFIG_PPP=mCONFIG_PPP_BSDCOMP=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_FILTER=yCONFIG_PPP_MPPE=mCONFIG_PPP_MULTILINK=yCONFIG_PPPOE=mCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_SLIP=mCONFIG_SLHC=mCONFIG_SLIP_COMPRESSED=y
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set
#
# USB Network Adapters
#CONFIG_USB_CATC=mCONFIG_USB_KAWETH=mCONFIG_USB_PEGASUS=mCONFIG_USB_RTL8150=mCONFIG_USB_USBNET=mCONFIG_USB_NET_AX8817X=mCONFIG_USB_NET_CDCETHER=m
# CONFIG_USB_NET_CDC_EEM is not setCONFIG_USB_NET_CDC_NCM=mCONFIG_USB_NET_DM9601=m
# CONFIG_USB_NET_SMSC75XX is not set
# CONFIG_USB_NET_SMSC95XX is not setCONFIG_USB_NET_GL620A=mCONFIG_USB_NET_NET1080=mCONFIG_USB_NET_PLUSB=mCONFIG_USB_NET_MCS7830=mCONFIG_USB_NET_RNDIS_HOST=mCONFIG_USB_NET_CDC_SUBSET=mCONFIG_USB_ALI_M5632=yCONFIG_USB_AN2720=yCONFIG_USB_BELKIN=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_KC2190=yCONFIG_USB_NET_ZAURUS=m
# CONFIG_USB_NET_CX82310_ETH is not set
# CONFIG_USB_NET_KALMIA is not set
# CONFIG_USB_NET_QMI_WWAN is not set
# CONFIG_USB_NET_INT51X1 is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_USB_SIERRA_NET is not set
# CONFIG_USB_VL600 is not set
# CONFIG_WLAN is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers #
# CONFIG_WAN is not set
# CONFIG_VMXNET3 is not set
# CONFIG_ISDN is not set
#
# Input device support
#CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not setCONFIG_INPUT_POLLDEV=m
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not setCONFIG_INPUT_MOUSEDEV_SCREEN_X=1600CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1200
# CONFIG_INPUT_JOYDEV is not setCONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not setCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_XTKBD is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_LIFEBOOK=yCONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not setCONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_EGALAX is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not setCONFIG_TOUCHSCREEN_USB_COMPOSITE=yCONFIG_TOUCHSCREEN_USB_EGALAX=yCONFIG_TOUCHSCREEN_USB_PANJIT=yCONFIG_TOUCHSCREEN_USB_3M=yCONFIG_TOUCHSCREEN_USB_ITM=yCONFIG_TOUCHSCREEN_USB_ETURBO=yCONFIG_TOUCHSCREEN_USB_GUNZE=yCONFIG_TOUCHSCREEN_USB_DMC_TSC10=yCONFIG_TOUCHSCREEN_USB_IRTOUCH=yCONFIG_TOUCHSCREEN_USB_IDEALTEK=yCONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=yCONFIG_TOUCHSCREEN_USB_GOTOP=yCONFIG_TOUCHSCREEN_USB_JASTEC=yCONFIG_TOUCHSCREEN_USB_ELO=yCONFIG_TOUCHSCREEN_USB_E2I=yCONFIG_TOUCHSCREEN_USB_ZYTRONIC=yCONFIG_TOUCHSCREEN_USB_ETT_TC45USB=yCONFIG_TOUCHSCREEN_USB_NEXIO=yCONFIG_TOUCHSCREEN_USB_EASYTOUCH=y
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=mCONFIG_SERIO_CT82C710=mCONFIG_SERIO_PCIPS2=mCONFIG_SERIO_LIBPS2=yCONFIG_SERIO_RAW=m
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not setCONFIG_GAMEPORT=mCONFIG_GAMEPORT_NS558=mCONFIG_GAMEPORT_L4=mCONFIG_GAMEPORT_EMU10K1=mCONFIG_GAMEPORT_FM801=m
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_VT_CONSOLE_SLEEP=yCONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not setCONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not setCONFIG_DEVKMEM=y
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_PCI=yCONFIG_SERIAL_8250_PNP=yCONFIG_SERIAL_8250_NR_UARTS=32CONFIG_SERIAL_8250_RUNTIME_UARTS=4CONFIG_SERIAL_8250_EXTENDED=yCONFIG_SERIAL_8250_MANY_PORTS=yCONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not setCONFIG_SERIAL_8250_RSA=y
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MFD_HSU is not setCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_SERIAL_JSM=m
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_PCH_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not setCONFIG_NVRAM=mCONFIG_RTC=y
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not setCONFIG_HANGCHECK_TIMER=m
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not setCONFIG_DEVPORT=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=y
# CONFIG_I2C_CHARDEV is not set
# CONFIG_I2C_MUX is not setCONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_ALGOBIT=y
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set
#
# I2C system bus drivers (mostly embedded / system-on-chip) #
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EG20T is not set
# CONFIG_I2C_INTEL_MID is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set
#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set
#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set
# CONFIG_HSI is not set
#
# PPS support
#
# CONFIG_PPS is not set
#
# PPS generators support
#
#
# PTP clock support
#
#
# Enable Device Drivers -> PPS to see the PTP clock options. #CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not setCONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_POWER_AVS is not setCONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not setCONFIG_SENSORS_FAM15H_POWER=m
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6642 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH56XX_COMMON is not set
# CONFIG_SENSORS_ADS1015 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_APPLESMC is not set
#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not setCONFIG_THERMAL=yCONFIG_THERMAL_HWMON=y
# CONFIG_WATCHDOG is not setCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not setCONFIG_BCMA_POSSIBLE=y
#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set
#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_MFD_SEC_CORE is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_CS5535 is not set
# CONFIG_LPC_SCH is not set
# CONFIG_LPC_ICH is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set
#
# Graphics support
#CONFIG_AGP=yCONFIG_AGP_AMD64=y
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not setCONFIG_VGA_ARB=yCONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VGA_SWITCHEROO is not setCONFIG_DRM=yCONFIG_DRM_KMS_HELPER=m
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not setCONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not setCONFIG_DRM_RADEON=mCONFIG_DRM_RADEON_KMS=y
# CONFIG_DRM_NOUVEAU is not set
#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_STUB_POULSBO is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not setCONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not setCONFIG_FB_DDC=m
# CONFIG_FB_BOOT_VESA_SUPPORT is not setCONFIG_FB_CFB_FILLRECT=mCONFIG_FB_CFB_COPYAREA=mCONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_WMT_GE_ROPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not setCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not setCONFIG_FB_RADEON=mCONFIG_FB_RADEON_I2C=yCONFIG_FB_RADEON_BACKLIGHT=y
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_EXYNOS_VIDEO is not setCONFIG_BACKLIGHT_LCD_SUPPORT=yCONFIG_LCD_CLASS_DEVICE=m
# CONFIG_LCD_PLATFORM is not setCONFIG_BACKLIGHT_CLASS_DEVICE=yCONFIG_BACKLIGHT_GENERIC=y
# CONFIG_BACKLIGHT_PROGEAR is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LP855X is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_LOGO is not setCONFIG_SOUND=mCONFIG_SOUND_OSS_CORE=y
# CONFIG_SOUND_OSS_CORE_PRECLAIM is not setCONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_RAWMIDI=mCONFIG_SND_SEQUENCER=mCONFIG_SND_SEQ_DUMMY=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_HRTIMER is not setCONFIG_SND_RTCTIMER=mCONFIG_SND_SEQ_RTCTIMER_DEFAULT=yCONFIG_SND_DYNAMIC_MINORS=yCONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not setCONFIG_SND_VMASTER=yCONFIG_SND_KCTL_JACK=yCONFIG_SND_DMA_SGBUF=yCONFIG_SND_RAWMIDI_SEQ=m
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not setCONFIG_SND_MPU401_UART=mCONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not setCONFIG_SND_DUMMY=m
# CONFIG_SND_ALOOP is not setCONFIG_SND_VIRMIDI=mCONFIG_SND_MTPAV=mCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MPU401=mCONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not setCONFIG_SND_HDA_INTEL=mCONFIG_SND_HDA_PREALLOC_SIZE=64
# CONFIG_SND_HDA_HWDEP is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_INPUT_JACK is not set
# CONFIG_SND_HDA_PATCH_LOADER is not setCONFIG_SND_HDA_CODEC_REALTEK=yCONFIG_SND_HDA_CODEC_ANALOG=yCONFIG_SND_HDA_CODEC_SIGMATEL=yCONFIG_SND_HDA_CODEC_VIA=yCONFIG_SND_HDA_CODEC_HDMI=yCONFIG_SND_HDA_CODEC_CIRRUS=yCONFIG_SND_HDA_CODEC_CONEXANT=yCONFIG_SND_HDA_CODEC_CA0110=yCONFIG_SND_HDA_CODEC_CA0132=yCONFIG_SND_HDA_CODEC_CMEDIA=yCONFIG_SND_HDA_CODEC_SI3054=yCONFIG_SND_HDA_GENERIC=yCONFIG_SND_HDA_POWER_SAVE=yCONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_USB is not set
# CONFIG_SND_FIREWIRE is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set
#
# HID support
#CONFIG_HID=yCONFIG_HID_BATTERY_STRENGTH=y
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not setCONFIG_HID_GENERIC=y
#
# Special HID drivers
#CONFIG_HID_A4TECH=m
# CONFIG_HID_ACRUX is not setCONFIG_HID_APPLE=m
# CONFIG_HID_AUREAL is not setCONFIG_HID_BELKIN=mCONFIG_HID_CHERRY=mCONFIG_HID_CHICONY=m
# CONFIG_HID_PRODIKEYS is not setCONFIG_HID_CYPRESS=m
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not setCONFIG_HID_EZKEY=m
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not setCONFIG_HID_KYE=m
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_TWINHAN is not setCONFIG_HID_KENSINGTON=m
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO_TPKBD is not setCONFIG_HID_LOGITECH=mCONFIG_HID_LOGITECH_DJ=m
# CONFIG_LOGITECH_FF is not set
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
# CONFIG_LOGIWHEELS_FF is not setCONFIG_HID_MICROSOFT=mCONFIG_HID_MONTEREY=m
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SONY is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
#
# USB HID support
#CONFIG_USB_HID=m
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not setCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB_ARCH_HAS_XHCI=yCONFIG_USB_SUPPORT=yCONFIG_USB_COMMON=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
#
# Miscellaneous USB options
#
# CONFIG_USB_DYNAMIC_MINORS is not setCONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not setCONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_HCD_DEBUGGING is not setCONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_ROOT_HUB_TT=yCONFIG_USB_EHCI_TT_NEWSCHED=y
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not setCONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_HCD_PLATFORM is not set
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not setCONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_CHIPIDEA is not set
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_REALTEK is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_ONETOUCH is not set # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set # CONFIG_USB_STORAGE_ENE_UB6250 is not set # CONFIG_USB_UAS is not set # CONFIG_USB_LIBUSUAL is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
#
# USB Physical Layer drivers
#
# CONFIG_USB_ISP1301 is not set
# CONFIG_USB_GADGET is not set
#
# OTG and related infrastructure
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not setCONFIG_EDAC=y
#
# Reporting subsystems
#CONFIG_EDAC_LEGACY_SYSFS=yCONFIG_EDAC_DEBUG=yCONFIG_EDAC_DECODE_MCE=y
# CONFIG_EDAC_MCE_INJ is not setCONFIG_EDAC_MM_EDAC=mCONFIG_EDAC_AMD64=mCONFIG_EDAC_AMD64_ERROR_INJECTION=y
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82975X is not set
# CONFIG_EDAC_I3000 is not set
# CONFIG_EDAC_I3200 is not set
# CONFIG_EDAC_X38 is not set
# CONFIG_EDAC_I5400 is not set
# CONFIG_EDAC_I5000 is not set
# CONFIG_EDAC_I5100 is not set
# CONFIG_EDAC_I7300 is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
#
# Virtio drivers
#
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_BALLOON is not set
# CONFIG_VIRTIO_MMIO is not set
#
# Microsoft Hyper-V guest support
#
# CONFIG_HYPERV is not set
# CONFIG_STAGING is not set
# CONFIG_X86_PLATFORM_DEVICES is not set
#
# Hardware Spinlock drivers
#CONFIG_CLKEVT_I8253=yCONFIG_I8253_LOCK=yCONFIG_CLKBLD_I8253=y
# CONFIG_IOMMU_SUPPORT is not set
#
# Remoteproc drivers (EXPERIMENTAL)
#
#
# Rpmsg drivers (EXPERIMENTAL)
#
# CONFIG_VIRT_DRIVERS is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_VME_BUS is not set
# CONFIG_PWM is not set
#
# Firmware Drivers
#CONFIG_EDD=m
# CONFIG_EDD_OFF is not setCONFIG_FIRMWARE_MEMMAP=yCONFIG_DELL_RBU=mCONFIG_DCDBAS=mCONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
# CONFIG_ISCSI_IBFT_FIND is not set
# CONFIG_GOOGLE_FIRMWARE is not set
#
# File systems
#CONFIG_DCACHE_WORD_ACCESS=yCONFIG_EXT2_FS=mCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=yCONFIG_EXT2_FS_SECURITY=y
# CONFIG_EXT2_FS_XIP is not setCONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not setCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=yCONFIG_EXT4_FS_XATTR=yCONFIG_EXT4_FS_POSIX_ACL=yCONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not setCONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not setCONFIG_FS_POSIX_ACL=yCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=y
# CONFIG_DNOTIFY is not setCONFIG_INOTIFY_USER=y
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
# CONFIG_AUTOFS4_FS is not setCONFIG_FUSE_FS=m
# CONFIG_CUSE is not setCONFIG_GENERIC_ACL=y
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_UDF_FS=mCONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not setCONFIG_NTFS_RW=y
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_TMPFS_XATTR=yCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=yCONFIG_CONFIGFS_FS=y
# CONFIG_MISC_FILESYSTEMS is not setCONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=mCONFIG_NFS_V2=mCONFIG_NFS_V3=mCONFIG_NFS_V3_ACL=yCONFIG_NFS_V4=m
# CONFIG_NFS_SWAP is not set
# CONFIG_NFS_V4_1 is not set
# CONFIG_NFS_USE_LEGACY_DNS is not setCONFIG_NFS_USE_KERNEL_DNS=y
# CONFIG_NFSD is not setCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_NFS_ACL_SUPPORT=mCONFIG_NFS_COMMON=yCONFIG_SUNRPC=mCONFIG_SUNRPC_GSS=m
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=mCONFIG_NLS_CODEPAGE_737=mCONFIG_NLS_CODEPAGE_775=mCONFIG_NLS_CODEPAGE_850=mCONFIG_NLS_CODEPAGE_852=mCONFIG_NLS_CODEPAGE_855=mCONFIG_NLS_CODEPAGE_857=mCONFIG_NLS_CODEPAGE_860=mCONFIG_NLS_CODEPAGE_861=mCONFIG_NLS_CODEPAGE_862=mCONFIG_NLS_CODEPAGE_863=mCONFIG_NLS_CODEPAGE_864=mCONFIG_NLS_CODEPAGE_865=mCONFIG_NLS_CODEPAGE_866=mCONFIG_NLS_CODEPAGE_869=mCONFIG_NLS_CODEPAGE_936=mCONFIG_NLS_CODEPAGE_950=mCONFIG_NLS_CODEPAGE_932=mCONFIG_NLS_CODEPAGE_949=mCONFIG_NLS_CODEPAGE_874=mCONFIG_NLS_ISO8859_8=mCONFIG_NLS_CODEPAGE_1250=mCONFIG_NLS_CODEPAGE_1251=mCONFIG_NLS_ASCII=mCONFIG_NLS_ISO8859_1=mCONFIG_NLS_ISO8859_2=mCONFIG_NLS_ISO8859_3=mCONFIG_NLS_ISO8859_4=mCONFIG_NLS_ISO8859_5=mCONFIG_NLS_ISO8859_6=mCONFIG_NLS_ISO8859_7=mCONFIG_NLS_ISO8859_9=mCONFIG_NLS_ISO8859_13=mCONFIG_NLS_ISO8859_14=mCONFIG_NLS_ISO8859_15=mCONFIG_NLS_KOI8_R=mCONFIG_NLS_KOI8_U=mCONFIG_NLS_MAC_ROMAN=mCONFIG_NLS_MAC_CELTIC=mCONFIG_NLS_MAC_CENTEURO=mCONFIG_NLS_MAC_CROATIAN=mCONFIG_NLS_MAC_CYRILLIC=mCONFIG_NLS_MAC_GAELIC=mCONFIG_NLS_MAC_GREEK=mCONFIG_NLS_MAC_ICELAND=mCONFIG_NLS_MAC_INUIT=mCONFIG_NLS_MAC_ROMANIAN=mCONFIG_NLS_MAC_TURKISH=mCONFIG_NLS_UTF8=m
# CONFIG_DLM is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_PRINTK_TIME=yCONFIG_DEFAULT_MESSAGE_LOGLEVEL=4CONFIG_ENABLE_WARN_DEPRECATED=yCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=2048CONFIG_MAGIC_SYSRQ=y
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not setCONFIG_UNUSED_SYMBOLS=yCONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not setCONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_SHIRQ=y
# CONFIG_LOCKUP_DETECTOR is not set
# CONFIG_HARDLOCKUP_DETECTOR is not set
# CONFIG_PANIC_ON_OOPS is not setCONFIG_PANIC_ON_OOPS_VALUE=0CONFIG_DETECT_HUNG_TASK=yCONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not setCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0CONFIG_SCHED_DEBUG=yCONFIG_SCHEDSTATS=yCONFIG_TIMER_STATS=y
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_KMEMLEAK is not setCONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not setCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_LOCK_ALLOC=yCONFIG_PROVE_LOCKING=y
# CONFIG_PROVE_RCU is not set
# CONFIG_SPARSE_RCU_POINTER is not setCONFIG_LOCKDEP=y
# CONFIG_LOCK_STAT is not setCONFIG_DEBUG_LOCKDEP=yCONFIG_TRACE_IRQFLAGS=y
# CONFIG_DEBUG_ATOMIC_SLEEP is not setCONFIG_DEBUG_LOCKING_API_SELFTESTS=yCONFIG_STACKTRACE=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_KOBJECT is not setCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_INFO=yCONFIG_DEBUG_INFO_REDUCED=y
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_WRITECOUNT is not setCONFIG_DEBUG_MEMORY_INIT=yCONFIG_DEBUG_LIST=y
# CONFIG_TEST_LIST_SORT is not setCONFIG_DEBUG_SG=y
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=y
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not setCONFIG_RCU_CPU_STALL_TIMEOUT=60CONFIG_RCU_CPU_STALL_VERBOSE=y
# CONFIG_RCU_CPU_STALL_INFO is not set
# CONFIG_RCU_TRACE is not setCONFIG_BACKTRACE_SELF_TEST=m
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_LKDTM is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not setCONFIG_LATENCYTOP=y
# CONFIG_DEBUG_PAGEALLOC is not setCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_HAVE_C_RECORDMCOUNT=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=yCONFIG_EVENT_POWER_TRACING_DEPRECATED=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_RING_BUFFER_ALLOW_SWAP=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not setCONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not setCONFIG_BLK_DEV_IO_TRACE=y
# CONFIG_UPROBE_EVENT is not set
# CONFIG_PROBE_EVENTS is not set
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_DMA_API_DEBUG is not setCONFIG_ATOMIC64_SELFTEST=y
# CONFIG_SAMPLES is not setCONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not setCONFIG_HAVE_ARCH_KMEMCHECK=y
# CONFIG_KMEMCHECK is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not setCONFIG_X86_VERBOSE_BOOTUP=yCONFIG_EARLY_PRINTK=y
# CONFIG_EARLY_PRINTK_DBGP is not setCONFIG_DEBUG_STACKOVERFLOW=y
# CONFIG_X86_PTDUMP is not setCONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_SET_MODULE_RONX is not setCONFIG_DEBUG_NX_TEST=mCONFIG_DEBUG_TLBFLUSH=y
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not setCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not setCONFIG_DEFAULT_IO_DELAY_TYPE=0CONFIG_DEBUG_BOOT_PARAMS=y
# CONFIG_CPA_DEBUG is not set
# CONFIG_OPTIMIZE_INLINING is not set
# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
#
# Security options
#CONFIG_KEYS=y
# CONFIG_ENCRYPTED_KEYS is not set
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not setCONFIG_DEFAULT_SECURITY_DAC=yCONFIG_DEFAULT_SECURITY=""CONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=mCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=mCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=mCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not setCONFIG_CRYPTO_MANAGER_DISABLE_TESTS=yCONFIG_CRYPTO_GF128MUL=mCONFIG_CRYPTO_NULL=m
# CONFIG_CRYPTO_PCRYPT is not setCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CRYPTD=mCONFIG_CRYPTO_AUTHENC=mCONFIG_CRYPTO_TEST=mCONFIG_CRYPTO_ABLK_HELPER_X86=mCONFIG_CRYPTO_GLUE_HELPER_X86=m
#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set
#
# Block modes
#CONFIG_CRYPTO_CBC=m
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not setCONFIG_CRYPTO_ECB=mCONFIG_CRYPTO_LRW=mCONFIG_CRYPTO_PCBC=mCONFIG_CRYPTO_XTS=m
#
# Hash modes
#CONFIG_CRYPTO_HMAC=yCONFIG_CRYPTO_XCBC=m
# CONFIG_CRYPTO_VMAC is not set
#
# Digest
#CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_GHASH is not setCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=m
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not setCONFIG_CRYPTO_SHA1=m
# CONFIG_CRYPTO_SHA1_SSSE3 is not setCONFIG_CRYPTO_SHA256=mCONFIG_CRYPTO_SHA512=mCONFIG_CRYPTO_TGR192=mCONFIG_CRYPTO_WP512=m
# CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL is not set
#
# Ciphers
#CONFIG_CRYPTO_AES=mCONFIG_CRYPTO_AES_X86_64=m
# CONFIG_CRYPTO_AES_NI_INTEL is not setCONFIG_CRYPTO_ANUBIS=mCONFIG_CRYPTO_ARC4=mCONFIG_CRYPTO_BLOWFISH=mCONFIG_CRYPTO_BLOWFISH_COMMON=m
# CONFIG_CRYPTO_BLOWFISH_X86_64 is not setCONFIG_CRYPTO_CAMELLIA=m
# CONFIG_CRYPTO_CAMELLIA_X86_64 is not setCONFIG_CRYPTO_CAST5=mCONFIG_CRYPTO_CAST6=mCONFIG_CRYPTO_DES=mCONFIG_CRYPTO_FCRYPT=mCONFIG_CRYPTO_KHAZAD=m
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_X86_64 is not setCONFIG_CRYPTO_SEED=mCONFIG_CRYPTO_SERPENT=mCONFIG_CRYPTO_SERPENT_SSE2_X86_64=mCONFIG_CRYPTO_SERPENT_AVX_X86_64=mCONFIG_CRYPTO_TEA=mCONFIG_CRYPTO_TWOFISH=mCONFIG_CRYPTO_TWOFISH_COMMON=mCONFIG_CRYPTO_TWOFISH_X86_64=mCONFIG_CRYPTO_TWOFISH_X86_64_3WAY=mCONFIG_CRYPTO_TWOFISH_AVX_X86_64=m
#
# Compression
#CONFIG_CRYPTO_DEFLATE=m
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set
#
# Random Number Generation
#CONFIG_CRYPTO_ANSI_CPRNG=m
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not setCONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_PADLOCK is not setCONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_HAVE_KVM_EVENTFD=yCONFIG_KVM_APIC_ARCHITECTURE=yCONFIG_KVM_MMIO=yCONFIG_KVM_ASYNC_PF=yCONFIG_HAVE_KVM_MSI=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=m
# CONFIG_KVM_INTEL is not setCONFIG_KVM_AMD=m
# CONFIG_KVM_MMU_AUDIT is not set
# CONFIG_VHOST_NET is not setCONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_STRNCPY_FROM_USER=yCONFIG_GENERIC_STRNLEN_USER=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_PCI_IOMAP=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_IO=yCONFIG_CRC_CCITT=mCONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not setCONFIG_CRC_ITU_T=mCONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not setCONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not setCONFIG_CRC7=mCONFIG_LIBCRC32C=m
# CONFIG_CRC8 is not setCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=mCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_XZ_DEC=yCONFIG_XZ_DEC_X86=yCONFIG_XZ_DEC_POWERPC=yCONFIG_XZ_DEC_IA64=yCONFIG_XZ_DEC_ARM=yCONFIG_XZ_DEC_ARMTHUMB=yCONFIG_XZ_DEC_SPARC=yCONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not setCONFIG_DECOMPRESS_GZIP=yCONFIG_DECOMPRESS_BZIP2=yCONFIG_DECOMPRESS_LZMA=yCONFIG_DECOMPRESS_XZ=yCONFIG_DECOMPRESS_LZO=yCONFIG_TEXTSEARCH=yCONFIG_TEXTSEARCH_KMP=mCONFIG_TEXTSEARCH_BM=mCONFIG_TEXTSEARCH_FSM=mCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_CPU_RMAP=yCONFIG_DQL=yCONFIG_NLATTR=yCONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
# CONFIG_AVERAGE is not set
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
H. Peter Anvin
reviewerQuoted 20 lines · Borislav Petkov
Quoted 5 lines · Fenghua Yu
Documentation/x86/earlyucode.txt | 43 +++ arch/x86/Kconfig | 22 ++ arch/x86/include/asm/cpio.h | 10 + arch/x86/include/asm/microcode.h | 23 ++ arch/x86/include/asm/microcode_intel.h | 103 +++++++Quoted 8 lines
arch/x86/kernel/Makefile | 3 + arch/x86/kernel/head64.c | 6 + arch/x86/kernel/head_32.S | 6 + arch/x86/kernel/microcode_core.c | 7 +- arch/x86/kernel/microcode_core_early.c | 74 +++++ arch/x86/kernel/microcode_intel.c | 185 +------------ arch/x86/kernel/microcode_intel_early.c | 482 +++++++++++++++++++++++++++++++ arch/x86/kernel/microcode_intel_lib.c | 163 +++++++++++One more thing:
This screams for adding a directory called "microcode" in the kernel sources and moving all the microcode-related files there. IOW:
Quoted 8 lines
arch/x86/kernel/cpu/microcode/core.carch/x86/kernel/cpu/microcode/core_early.carch/x86/kernel/cpu/microcode/intel.carch/x86/kernel/cpu/microcode/amd.c
...And yes, they should be under "cpu" too.
Not really, but that isn't even Fenghua's fault.
The cpu directory was originally for cpu detection. The whole kernel/ directory, of course, is a morass that might as well be called "misc". Some things are legitimately there -- mainly the syscall table and things that mirror the global kernel/ -- but a ton of stuff doesn't make any sense there.
Reorganizing the kernel/ directory and promoting cpu up one level would make that make more sense. The pci and irq code are examples of things that could use their own directories.
-hpa
Quoted 1 line · H. Peter Anvin
Not really, but that isn't even Fenghua's fault.
Of course it isn't - I was simply pointing out that this is something that should be fixed at some point in time, when someone needs a project over an otherwise eventless weekend :-).
Quoted 7 lines
The cpu directory was originally for cpu detection. The whole
kernel/directory, of course, is a morass that might as well be called "misc". Some things are legitimately there -- mainly the syscall table and things that mirror the globalkernel/-- but a ton of stuff doesn't make any sense there.Reorganizing the
kernel/directory and promoting cpu up one level would
Yep, arch/x86/cpu, should contain all cpu-related stuff.
Quoted 2 lines
make that make more sense. The pci and irq code are examples of things that could use their own directories.
Yep.
Thanks.
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
H. Peter Anvin
reviewerRe: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Borislav PetkovQuoted 12 lines · Borislav Petkov
Or,
in case we want to supply more vendor-specific stuff early at boot, we could do:
kernel/x86/<vendor>/microcode...
|-> bios_overrides |-> ...and have this layout extensible from the beginning...
Does that make sense, though? I'm a bit concerned about having multiple files named microcode.bin by default; the pathname isn't as sticky as the filename when people move things around...
-hpa
Re: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
Quoted 7 lines · H. Peter Anvin
Quoted 6 lines · Borislav Petkov
Or,
in case we want to supply more vendor-specific stuff early at boot, we could do:
Quoted 7 lines
Quoted 6 lines
kernel/x86/<vendor>/microcode...
|-> bios_overrides |-> ...and have this layout extensible from the beginning...
Does that make sense, though?
Only time will tell. I was simply saying that we should leave ourselves the door opened, should we need functionality like that in the future.
Quoted 3 lines
I'm a bit concerned about having multiple files named microcode.bin by default; the pathname isn't as sticky as the filename when people move things around...
Ok, I see.
How about the following scheme then:
kernel/x86/<vendor>-microcode.bin
kernel/x86/<vendor>-bios-overrides.blob
...
?
All I'm saying is maybe we should impose some sanity rules now before people go crazy with this and things get out of hands...
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Re: [PATCH 11/11] x86/Kconfig: Configurations to enable/disable the feature
In reply to Fenghua YuFenghua,
I have a few comments, that were triggered by scanning just this patch (they also assume I remember the kconfig language correctly).
Quoted 15 lines · Fenghua Yu
From: Fenghua Yu <[email protected]>
MICROCODE_INTEL_LIB,MICROCODE_INTEL_EARLY, andMICROCODE_EARLYare three new configurations to enable or disable the feature.Signed-off-by Fenghua Yu <[email protected]>--- arch/x86/Kconfig | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-)arch/x86/Kconfig +0
-0
arch/x86/Kconfig config MICROCODE_INTEL · line 1038
Quoted 4 lines
arch/x86/Kconfig +1
-0@@ -1035,6 +1035,7 @@ config MICROCODE_INTEL depends on MICROCODE default MICROCODE select FW_LOADER + select MICROCODE_INTEL_LIB
MICROCODE_INTEL_LIB depends on MICROCODE_INTEL_EARLY. MICROCODE_INTEL_EARLY itself also selects MICROCODE_INTEL_LIB. So can't this kconfig entry be made to select MICROCODE_INTEL_EARLY instead?
If it can't select MICROCODE_INTEL_EARLY (because of that symbol's dependency on BLK_DEV_INITRD) it seems this select could be dropped.
arch/x86/Kconfig config MICROCODE_OLD_INTERFACE · line 1062
Quoted 11 lines
arch/x86/Kconfig +4
-0---help--- This options enables microcode patch loading support for Intel processors.@@ -1055,6 +1056,27 @@ config MICROCODE_OLD_INTERFACE def_bool y depends on MICROCODE +config MICROCODE_EARLY + def_bool y + depends on MICROCODE_INTEL_EARLY +
MICROCODE_INTEL_EARLY selects this kconfig symbol. Doesn't that mean that this entry can be simplified to:
config MICROCODE_EARLY
bool
arch/x86/Kconfig config MICROCODE_OLD_INTERFACE · line 1065
Quoted 3 lines
arch/x86/Kconfig +3
-0+config MICROCODE_INTEL_LIB + def_bool y + depends on MICROCODE_INTEL_EARLY
If MICROCODE_INTEL could be made to select MICROCODE_INTEL_EARLY (see above) it seems this could also be shortened:
config MICROCODE_INTEL_LIB
bool
arch/x86/Kconfig config MICROCODE_OLD_INTERFACE · line 1069
Quoted 3 lines
arch/x86/Kconfig +3
-0+config MICROCODE_INTEL_EARLY + bool "Early load microcode" + depends on MICROCODE_INTEL && BLK_DEV_INITRD
If MICROCODE_INTEL could be made to select this kconfig symbol than the dependency on MICROCODE_INTEL could be dropped. But the dependency on BLK_DEV_INITRD might make that impossible.
arch/x86/Kconfig config MICROCODE_OLD_INTERFACE · line 1082
Quoted 13 lines
arch/x86/Kconfig +10
-0+ default y + select FW_LOADER + select MICROCODE_EARLY + select MICROCODE_INTEL_LIB + help + This option provides functionality to read additional microcode data + at the beginning of initrd image. The data tells kernel to load + microcode to CPU's as early as possible. No functional change if no + microcode data is glued to the initrd, therefore it's safe to say Y. + config X86_MSR tristate "/dev/cpu/*/msr - Model-specific register support" ---help---
Paul Bolle
RE: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Borislav PetkovQuoted 40 lines
-----Original Message-----
From: Borislav Petkov [mailto:[email protected]]
Sent: Monday, August 20, 2012 1:20 PM
To: H. Peter Anvin
Cc: Yu, Fenghua; Henrique de Moraes Holschuh; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann; Borislav Petkov; linux-kernel; x86
Subject: Re: [PATCH 04/11]x86/microcode_core_early.c: Define interfaces for early load ucodeQuoted 5 lines · H. Peter Anvin
Quoted 4 lines · Borislav Petkov
Or,
in case we want to supply more vendor-specific stuff early at boot,
we
Quoted 9 lines
Quoted 8 lines
could do:
kernel/x86/<vendor>/microcode...
|-> bios_overrides |-> ...and have this layout extensible from the beginning...
Does that make sense, though?
Only time will tell. I was simply saying that we should leave ourselves the door opened, should we need functionality like that in the future.
Quoted 1 line
I'm a bit concerned about having multiple files named microcode.bin
by
Quoted 1 line
default; the pathname isn't as sticky as the filename when people
move
Quoted 1 line
things around...
Ok, I see.
How about the following scheme then:
Quoted 8 lines
kernel/x86/<vendor>-microcode.bin
kernel/x86/<vendor>-bios-overrides.blob
...?
All I'm saying is maybe we should impose some sanity rules now before people go crazy with this and things get out of hands...
We might name the cpio directory as:
kernel/x86/microcode/GenuineIntel.binkernel/x86/microcode/AuthenticAMD.binkernel/x86/acpi/...
etc.
This is expendable for the future usage.
Plus I will add a doc on the cpio directory, supported directory names and how to add new stuffs in the directory.
Thanks.
-Fenghua
Thanks.
-Fenghua
H. Peter Anvin
reviewerRe: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
Quoted 12 lines · Fenghua
We might name the cpio directory as:
kernel/x86/microcode/GenuineIntel.binkernel/x86/microcode/AuthenticAMD.binkernel/x86/acpi/...
etc.This is expendable for the future usage.
Plus I will add a doc on the cpio directory, supported directory names and how to add new stuffs in the directory.
I believe that was exactly my original proposal. I think it makes sense... most things aren't going to be inherently CPU-specific in this way.
I don't know what Borislav was suggesting with "BIOS overrides", is that another CPU-specific thing?
-hpa
Re: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
Quoted 2 lines · H. Peter Anvin
I don't know what Borislav was suggesting with "BIOS overrides", is that another CPU-specific thing?
Not CPU- but rather platform-specific. It is Thomas Renninger's mechanism to override BIOS tables.
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
RE: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
Quoted 10 lines
-----Original Message-----
From: Borislav Petkov [mailto:[email protected]]
Sent: Tuesday, August 21, 2012 1:49 PM
To: H. Peter Anvin
Cc: Yu, Fenghua; Henrique de Moraes Holschuh; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann; Borislav Petkov; linux-kernel; x86
Subject: Re: [PATCH 04/11]x86/microcode_core_early.c: Define interfaces for early load ucode
Quoted 6 lines
Quoted 2 lines · H. Peter Anvin
I don't know what Borislav was suggesting with "BIOS overrides", is that another CPU-specific thing?
Not CPU- but rather platform-specific. It is Thomas Renninger's mechanism to override BIOS tables.
That's ACPI override. I think the ACPI tables could be put in kernel/x86/acpi/.
Thanks.
-Fenghua
H. Peter Anvin
reviewerRe: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Borislav PetkovQuoted 7 lines · Borislav Petkov
Quoted 2 lines · H. Peter Anvin
I don't know what Borislav was suggesting with "BIOS overrides", is that another CPU-specific thing?
Not CPU- but rather platform-specific. It is Thomas Renninger's mechanism to override BIOS tables.
s/BIOS/ACPI/... Yes, so really it doesn't have any meaningful reason to live under the CPU vendor.
-hpa
H. Peter Anvin
reviewerRe: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
In reply to Yu, FenghuaQuoted 10 lines · Fenghua
Quoted 10 lines
-----Original Message-----
From: Borislav Petkov [mailto:[email protected]]
Sent: Tuesday, August 21, 2012 1:49 PM
To: H. Peter Anvin
Cc: Yu, Fenghua; Henrique de Moraes Holschuh; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann; Borislav Petkov; linux-kernel; x86
Subject: Re: [PATCH 04/11]x86/microcode_core_early.c: Define interfaces for early load ucode
Quoted 9 lines
Quoted 6 lines · H. Peter Anvin
Quoted 2 lines
I don't know what Borislav was suggesting with "BIOS overrides", is that another CPU-specific thing?
Not CPU- but rather platform-specific. It is Thomas Renninger's mechanism to override BIOS tables.
That's ACPI override. I think the ACPI tables could be put in
kernel/x86/acpi/.
kernel/acpi... ACPI is not x86-specific.
-hpa
RE: [PATCH 04/11] x86/microcode_core_early.c: Define interfaces for early load ucode
Quoted 26 lines
-----Original Message-----
From: H. Peter Anvin [mailto:[email protected]]
Sent: Tuesday, August 21, 2012 1:54 PM
To: Yu, Fenghua
Cc: Borislav Petkov; Henrique de Moraes Holschuh; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann; Borislav Petkov; linux-kernel; x86
Subject: Re: [PATCH 04/11]x86/microcode_core_early.c: Define interfaces for early load ucodeQuoted 6 lines · Fenghua
Quoted 6 lines
-----Original Message-----
From: Borislav Petkov [mailto:[email protected]]
Sent: Tuesday, August 21, 2012 1:49 PM
To: H. Peter Anvin
Cc: Yu, Fenghua; Henrique de Moraes Holschuh; Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian; Andreas Herrmann;Borislav
Quoted 8 lines
Quoted 8 lines
Petkov; linux-kernel; x86
Subject: Re: [PATCH 04/11]x86/microcode_core_early.c: Define interfaces for early load ucodeQuoted 2 lines · H. Peter Anvin
I don't know what Borislav was suggesting with "BIOS overrides", is that another CPU-specific thing?
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Not CPU- but rather platform-specific. It is Thomas Renninger's mechanism to override BIOS tables.
That's ACPI override. I think the ACPI tables could be put in
kernel/x86/acpi/.Quoted 1 line
kernel/acpi... ACPI is not x86-specific.
That's right.
Thanks.
-Fenghua