Commit 77654908 authored by Linus Torvalds's avatar Linus Torvalds

Merge branches 'x86-ras-for-linus', 'x86-uv-for-linus' and...

Merge branches 'x86-ras-for-linus', 'x86-uv-for-linus' and 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 ras, uv and vdso fixlets from Ingo Molnar:
 "ras: tone down a kernel message to only occur during initial bootup,
    not during suspend/resume cycles.

  uv: a cleanup commit

  vdso: a fix to error checking"

* 'x86-ras-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/mce: Avoid showing repetitive message from intel_init_thermal()

* 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/apic/uv: Remove unnecessary #ifdef

* 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/vdso: Fix vdso2c's special_pages[] error checking
...@@ -204,7 +204,6 @@ EXPORT_SYMBOL(sn_rtc_cycles_per_second); ...@@ -204,7 +204,6 @@ EXPORT_SYMBOL(sn_rtc_cycles_per_second);
static int uv_wakeup_secondary(int phys_apicid, unsigned long start_rip) static int uv_wakeup_secondary(int phys_apicid, unsigned long start_rip)
{ {
#ifdef CONFIG_SMP
unsigned long val; unsigned long val;
int pnode; int pnode;
...@@ -223,7 +222,6 @@ static int uv_wakeup_secondary(int phys_apicid, unsigned long start_rip) ...@@ -223,7 +222,6 @@ static int uv_wakeup_secondary(int phys_apicid, unsigned long start_rip)
uv_write_global_mmr64(pnode, UVH_IPI_INT, val); uv_write_global_mmr64(pnode, UVH_IPI_INT, val);
atomic_set(&init_deasserted, 1); atomic_set(&init_deasserted, 1);
#endif
return 0; return 0;
} }
......
...@@ -498,8 +498,8 @@ void intel_init_thermal(struct cpuinfo_x86 *c) ...@@ -498,8 +498,8 @@ void intel_init_thermal(struct cpuinfo_x86 *c)
if ((l & MSR_IA32_MISC_ENABLE_TM1) && (h & APIC_DM_SMI)) { if ((l & MSR_IA32_MISC_ENABLE_TM1) && (h & APIC_DM_SMI)) {
printk(KERN_DEBUG if (system_state == SYSTEM_BOOTING)
"CPU%d: Thermal monitoring handled by SMI\n", cpu); printk(KERN_DEBUG "CPU%d: Thermal monitoring handled by SMI\n", cpu);
return; return;
} }
......
...@@ -109,16 +109,18 @@ static void BITSFUNC(go)(void *raw_addr, size_t raw_len, ...@@ -109,16 +109,18 @@ static void BITSFUNC(go)(void *raw_addr, size_t raw_len,
/* Validate mapping addresses. */ /* Validate mapping addresses. */
for (i = 0; i < sizeof(special_pages) / sizeof(special_pages[0]); i++) { for (i = 0; i < sizeof(special_pages) / sizeof(special_pages[0]); i++) {
if (!syms[i]) INT_BITS symval = syms[special_pages[i]];
if (!symval)
continue; /* The mapping isn't used; ignore it. */ continue; /* The mapping isn't used; ignore it. */
if (syms[i] % 4096) if (symval % 4096)
fail("%s must be a multiple of 4096\n", fail("%s must be a multiple of 4096\n",
required_syms[i].name); required_syms[i].name);
if (syms[sym_vvar_start] > syms[i] + 4096) if (symval + 4096 < syms[sym_vvar_start])
fail("%s underruns begin_vvar\n", fail("%s underruns vvar_start\n",
required_syms[i].name); required_syms[i].name);
if (syms[i] + 4096 > 0) if (symval + 4096 > 0)
fail("%s is on the wrong side of the vdso text\n", fail("%s is on the wrong side of the vdso text\n",
required_syms[i].name); required_syms[i].name);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment