-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
* git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: (78 commits) x86: fix RTC lockdep warning: potential hardirq recursion x86: cpa, micro-optimization x86: cpa, clean up code flow x86: cpa, eliminate CPA_ enum x86: cpa, cleanups x86: implement gbpages support in change_page_attr() x86: support gbpages in pagetable dump x86: add gbpages support to lookup_address x86: add pgtable accessor functions for gbpages x86: add PUD_PAGE_SIZE x86: add feature macros for the gbpages cpuid bit x86: switch direct mapping setup over to set_pte x86: fix page-present check in cpa_flush_range x86: remove cpa warning x86: remove now unused clear_kernel_mapping x86: switch pci-gart over to using set_memory_np() instead of clear_kernel_mapping() x86: cpa selftest, skip non present entries x86: CPA fix pagetable split x86: rename LARGE_PAGE_SIZE to PMD_PAGE_SIZE x86: cpa, fix lookup_address ...
- Loading branch information
Showing
68 changed files
with
821 additions
and
814 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
00-INDEX | ||
- This file | ||
boot-options.txt | ||
- AMD64-specific boot options. | ||
cpu-hotplug-spec | ||
- Firmware support for CPU hotplug under Linux/x86-64 | ||
fake-numa-for-cpusets | ||
- Using numa=fake and CPUSets for Resource Management | ||
kernel-stacks | ||
- Context-specific per-processor interrupt stacks. | ||
machinecheck | ||
- Configurable sysfs parameters for the x86-64 machine check code. | ||
mm.txt | ||
- Memory layout of x86-64 (4 level page tables, 46 bits physical). | ||
uefi.txt | ||
- Booting Linux via Unified Extensible Firmware Interface. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* ----------------------------------------------------------------------- * | ||
* | ||
* Copyright 2008 rPath, Inc. - All Rights Reserved | ||
* | ||
* This file is part of the Linux kernel, and is made available under | ||
* the terms of the GNU General Public License version 2 or (at your | ||
* option) any later version; incorporated herein by reference. | ||
* | ||
* ----------------------------------------------------------------------- */ | ||
|
||
/* | ||
* This is a host program to preprocess the CPU strings into a | ||
* compact format suitable for the setup code. | ||
*/ | ||
|
||
#include <stdio.h> | ||
|
||
#include "../kernel/cpu/feature_names.c" | ||
|
||
#if NCAPFLAGS > 8 | ||
# error "Need to adjust the boot code handling of CPUID strings" | ||
#endif | ||
|
||
int main(void) | ||
{ | ||
int i; | ||
const char *str; | ||
|
||
printf("static const char x86_cap_strs[] = \n"); | ||
|
||
for (i = 0; i < NCAPINTS*32; i++) { | ||
str = x86_cap_flags[i]; | ||
|
||
if (i == NCAPINTS*32-1) { | ||
/* The last entry must be unconditional; this | ||
also consumes the compiler-added null character */ | ||
if (!str) | ||
str = ""; | ||
printf("\t\"\\x%02x\"\"%s\"\n", i, str); | ||
} else if (str) { | ||
printf("#if REQUIRED_MASK%d & (1 << %d)\n" | ||
"\t\"\\x%02x\"\"%s\\0\"\n" | ||
"#endif\n", | ||
i >> 5, i & 31, i, str); | ||
} | ||
} | ||
printf("\t;\n"); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/* | ||
* Strings for the various x86 capability flags. | ||
* | ||
* This file must not contain any executable code. | ||
*/ | ||
|
||
#include "asm/cpufeature.h" | ||
|
||
/* | ||
* These flag bits must match the definitions in <asm/cpufeature.h>. | ||
* NULL means this bit is undefined or reserved; either way it doesn't | ||
* have meaning as far as Linux is concerned. Note that it's important | ||
* to realize there is a difference between this table and CPUID -- if | ||
* applications want to get the raw CPUID data, they should access | ||
* /dev/cpu/<cpu_nr>/cpuid instead. | ||
*/ | ||
const char * const x86_cap_flags[NCAPINTS*32] = { | ||
/* Intel-defined */ | ||
"fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce", | ||
"cx8", "apic", NULL, "sep", "mtrr", "pge", "mca", "cmov", | ||
"pat", "pse36", "pn", "clflush", NULL, "dts", "acpi", "mmx", | ||
"fxsr", "sse", "sse2", "ss", "ht", "tm", "ia64", "pbe", | ||
|
||
/* AMD-defined */ | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, "syscall", NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, "mp", "nx", NULL, "mmxext", NULL, | ||
NULL, "fxsr_opt", "pdpe1gb", "rdtscp", NULL, "lm", | ||
"3dnowext", "3dnow", | ||
|
||
/* Transmeta-defined */ | ||
"recovery", "longrun", NULL, "lrti", NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
|
||
/* Other (Linux-defined) */ | ||
"cxmmx", "k6_mtrr", "cyrix_arr", "centaur_mcr", | ||
NULL, NULL, NULL, NULL, | ||
"constant_tsc", "up", NULL, "arch_perfmon", | ||
"pebs", "bts", NULL, NULL, | ||
"rep_good", NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
|
||
/* Intel-defined (#2) */ | ||
"pni", NULL, NULL, "monitor", "ds_cpl", "vmx", "smx", "est", | ||
"tm2", "ssse3", "cid", NULL, NULL, "cx16", "xtpr", NULL, | ||
NULL, NULL, "dca", "sse4_1", "sse4_2", NULL, NULL, "popcnt", | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
|
||
/* VIA/Cyrix/Centaur-defined */ | ||
NULL, NULL, "rng", "rng_en", NULL, NULL, "ace", "ace_en", | ||
"ace2", "ace2_en", "phe", "phe_en", "pmm", "pmm_en", NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
|
||
/* AMD-defined (#2) */ | ||
"lahf_lm", "cmp_legacy", "svm", "extapic", | ||
"cr8_legacy", "abm", "sse4a", "misalignsse", | ||
"3dnowprefetch", "osvw", "ibs", "sse5", | ||
"skinit", "wdt", NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
|
||
/* Auxiliary (Linux-defined) */ | ||
"ida", NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||
}; | ||
|
||
const char *const x86_power_flags[32] = { | ||
"ts", /* temperature sensor */ | ||
"fid", /* frequency id control */ | ||
"vid", /* voltage id control */ | ||
"ttp", /* thermal trip */ | ||
"tm", | ||
"stc", | ||
"100mhzsteps", | ||
"hwpstate", | ||
"", /* tsc invariant mapped to constant_tsc */ | ||
/* nothing */ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.