Skip to content

Commit 7a56688

Browse files
committed
Merge tag 'x86-urgent-2025-02-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: - Fix conflicts between devicetree and ACPI SMP discovery & setup - Fix a warm-boot lockup on AMD SC1100 SoC systems - Fix a W=1 build warning related to x86 IRQ trace event setup - Fix a kernel-doc warning * tag 'x86-urgent-2025-02-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/entry: Fix kernel-doc warning x86/irq: Define trace events conditionally x86/CPU: Fix warm boot hang regression on AMD SC1100 SoC systems x86/of: Don't use DTB for SMP setup if ACPI is enabled
2 parents d203484 + 0f6750b commit 7a56688

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

arch/x86/entry/common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ static __always_inline bool int80_is_external(void)
190190

191191
/**
192192
* do_int80_emulation - 32-bit legacy syscall C entry from asm
193+
* @regs: syscall arguments in struct pt_args on the stack.
193194
*
194195
* This entry point can be used by 32-bit and 64-bit programs to perform
195196
* 32-bit system calls. Instances of INT $0x80 can be found inline in

arch/x86/kernel/cpu/cyrix.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ static void geode_configure(void)
153153
u8 ccr3;
154154
local_irq_save(flags);
155155

156-
/* Suspend on halt power saving and enable #SUSP pin */
157-
setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x88);
156+
/* Suspend on halt power saving */
157+
setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x08);
158158

159159
ccr3 = getCx86(CX86_CCR3);
160160
setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10); /* enable MAPEN */

arch/x86/kernel/devicetree.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/*
33
* Architecture specific OF callbacks.
44
*/
5+
#include <linux/acpi.h>
56
#include <linux/export.h>
67
#include <linux/io.h>
78
#include <linux/interrupt.h>
@@ -313,6 +314,6 @@ void __init x86_flattree_get_config(void)
313314
if (initial_dtb)
314315
early_memunmap(dt, map_len);
315316
#endif
316-
if (of_have_populated_dt())
317+
if (acpi_disabled && of_have_populated_dt())
317318
x86_init.mpparse.parse_smp_cfg = x86_dtb_parse_smp_config;
318319
}

arch/x86/kernel/irq.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
#include <asm/posted_intr.h>
2626
#include <asm/irq_remapping.h>
2727

28+
#if defined(CONFIG_X86_LOCAL_APIC) || defined(CONFIG_X86_THERMAL_VECTOR)
2829
#define CREATE_TRACE_POINTS
2930
#include <asm/trace/irq_vectors.h>
31+
#endif
3032

3133
DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
3234
EXPORT_PER_CPU_SYMBOL(irq_stat);

0 commit comments

Comments
 (0)