Skip to content

Commit ad0500c

Browse files
committed
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: "Two UV platform fixes, and a kbuild fix" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/platform/UV: Fix critical UV MMR address error x86/platform/uv/BAU: Add APIC idt entry x86/purgatory: Avoid creating stray .<pid>.d files, remove -MD from KBUILD_CFLAGS
2 parents 93e04d4 + bd47a85 commit ad0500c

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

arch/x86/include/asm/hw_irq.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ extern asmlinkage void kvm_posted_intr_wakeup_ipi(void);
3636
extern asmlinkage void kvm_posted_intr_nested_ipi(void);
3737
extern asmlinkage void error_interrupt(void);
3838
extern asmlinkage void irq_work_interrupt(void);
39+
extern asmlinkage void uv_bau_message_intr1(void);
3940

4041
extern asmlinkage void spurious_interrupt(void);
4142
extern asmlinkage void thermal_interrupt(void);

arch/x86/include/asm/uv/uv_mmrs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3833,7 +3833,7 @@ union uvh_rh_gam_mmioh_overlay_config0_mmr_u {
38333833
#define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR uv_undefined("UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR")
38343834
#define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR uv_undefined("UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR")
38353835
#define UV3H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR 0x1603000UL
3836-
#define UV4H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR 0x483000UL
3836+
#define UV4H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR 0x484000UL
38373837
#define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR ( \
38383838
is_uv1_hub() ? UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR : \
38393839
is_uv2_hub() ? UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG1_MMR : \

arch/x86/kernel/idt.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ static const __initconst struct idt_data apic_idts[] = {
140140
# ifdef CONFIG_IRQ_WORK
141141
INTG(IRQ_WORK_VECTOR, irq_work_interrupt),
142142
# endif
143+
#ifdef CONFIG_X86_UV
144+
INTG(UV_BAU_MESSAGE, uv_bau_message_intr1),
145+
#endif
143146
INTG(SPURIOUS_APIC_VECTOR, spurious_interrupt),
144147
INTG(ERROR_APIC_VECTOR, error_interrupt),
145148
#endif

arch/x86/platform/uv/tlb_uv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,8 +2255,6 @@ static int __init uv_bau_init(void)
22552255
init_uvhub(uvhub, vector, uv_base_pnode);
22562256
}
22572257

2258-
alloc_intr_gate(vector, uv_bau_message_intr1);
2259-
22602258
for_each_possible_blade(uvhub) {
22612259
if (uv_blade_nr_possible_cpus(uvhub)) {
22622260
unsigned long val;

arch/x86/purgatory/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ KCOV_INSTRUMENT := n
1616
# in turn leaves some undefined symbols like __fentry__ in purgatory and not
1717
# sure how to relocate those. Like kexec-tools, use custom flags.
1818

19-
KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -MD -Os -mcmodel=large
19+
KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -Os -mcmodel=large
2020
KBUILD_CFLAGS += -m$(BITS)
2121
KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
2222

0 commit comments

Comments
 (0)