Skip to content

Commit fd26159

Browse files
committed
Merge branches 'core-objtool-for-linus', 'x86-cleanups-for-linus' and 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 objtool, cleanup, and apic updates from Ingo Molnar: "Objtool: - Fix a gawk 5.0 incompatibility in gen-insn-attr-x86.awk. Most distros are still on gawk 4.2.x. Cleanup: - Misc cleanups, plus the removal of obsolete code such as Calgary IOMMU support, which code hasn't seen any real testing in a long time and there's no known users left. apic: - Two changes: a cleanup and a fix for an (old) race for oneshot threaded IRQ handlers" * 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/insn: Fix awk regexp warnings * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86: Remove unused asm/rio.h x86: Fix typos in comments x86/pci: Remove #ifdef __KERNEL__ guard from <asm/pci.h> x86/pci: Remove pci_64.h x86: Remove the calgary IOMMU driver x86/apic, x86/uprobes: Correct parameter names in kernel-doc comments x86/kdump: Remove the unused crash_copy_backup_region() x86/nmi: Remove stale EDAC include leftover * 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/ioapic: Rename misnamed functions x86/ioapic: Prevent inconsistent state when moving an interrupt
4 parents be2eca9 + 700c101 + b41d622 + 2579a4e commit fd26159

File tree

21 files changed

+24
-2029
lines changed

21 files changed

+24
-2029
lines changed

MAINTAINERS

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,16 +3649,6 @@ L: [email protected] (moderated for non-subscribers)
36493649
S: Maintained
36503650
F: net/sched/sch_cake.c
36513651

3652-
CALGARY x86-64 IOMMU
3653-
M: Muli Ben-Yehuda <[email protected]>
3654-
M: Jon Mason <[email protected]>
3655-
3656-
S: Maintained
3657-
F: arch/x86/kernel/pci-calgary_64.c
3658-
F: arch/x86/kernel/tce_64.c
3659-
F: arch/x86/include/asm/calgary.h
3660-
F: arch/x86/include/asm/tce.h
3661-
36623652
CAN NETWORK DRIVERS
36633653
M: Wolfgang Grandegger <[email protected]>
36643654
M: Marc Kleine-Budde <[email protected]>

arch/x86/Kconfig

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -932,36 +932,6 @@ config GART_IOMMU
932932

933933
If unsure, say Y.
934934

935-
config CALGARY_IOMMU
936-
bool "IBM Calgary IOMMU support"
937-
select IOMMU_HELPER
938-
select SWIOTLB
939-
depends on X86_64 && PCI
940-
---help---
941-
Support for hardware IOMMUs in IBM's xSeries x366 and x460
942-
systems. Needed to run systems with more than 3GB of memory
943-
properly with 32-bit PCI devices that do not support DAC
944-
(Double Address Cycle). Calgary also supports bus level
945-
isolation, where all DMAs pass through the IOMMU. This
946-
prevents them from going anywhere except their intended
947-
destination. This catches hard-to-find kernel bugs and
948-
mis-behaving drivers and devices that do not use the DMA-API
949-
properly to set up their DMA buffers. The IOMMU can be
950-
turned off at boot time with the iommu=off parameter.
951-
Normally the kernel will make the right choice by itself.
952-
If unsure, say Y.
953-
954-
config CALGARY_IOMMU_ENABLED_BY_DEFAULT
955-
def_bool y
956-
prompt "Should Calgary be enabled by default?"
957-
depends on CALGARY_IOMMU
958-
---help---
959-
Should Calgary be enabled by default? if you choose 'y', Calgary
960-
will be used (if it exists). If you choose 'n', Calgary will not be
961-
used even if it exists. If you choose 'n' and would like to use
962-
Calgary anyway, pass 'iommu=calgary' on the kernel command line.
963-
If unsure, say Y.
964-
965935
config MAXSMP
966936
bool "Enable Maximum number of SMP Processors and NUMA Nodes"
967937
depends on X86_64 && SMP && DEBUG_KERNEL

arch/x86/configs/x86_64_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ CONFIG_MODULES=y
2525
CONFIG_MODULE_UNLOAD=y
2626
CONFIG_MODULE_FORCE_UNLOAD=y
2727
CONFIG_SMP=y
28-
CONFIG_CALGARY_IOMMU=y
2928
CONFIG_NR_CPUS=64
3029
CONFIG_SCHED_SMT=y
3130
CONFIG_PREEMPT_VOLUNTARY=y

arch/x86/include/asm/calgary.h

Lines changed: 0 additions & 57 deletions
This file was deleted.

arch/x86/include/asm/crash.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define _ASM_X86_CRASH_H
44

55
int crash_load_segments(struct kimage *image);
6-
int crash_copy_backup_region(struct kimage *image);
76
int crash_setup_memmap_entries(struct kimage *image,
87
struct boot_params *params);
98
void crash_smp_send_stop(void);

arch/x86/include/asm/pci.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#include <asm/pat.h>
1313
#include <asm/x86_init.h>
1414

15-
#ifdef __KERNEL__
16-
1715
struct pci_sysdata {
1816
int domain; /* PCI domain */
1917
int node; /* NUMA node */
@@ -118,11 +116,6 @@ void native_restore_msi_irqs(struct pci_dev *dev);
118116
#define native_setup_msi_irqs NULL
119117
#define native_teardown_msi_irq NULL
120118
#endif
121-
#endif /* __KERNEL__ */
122-
123-
#ifdef CONFIG_X86_64
124-
#include <asm/pci_64.h>
125-
#endif
126119

127120
/* generic pci stuff */
128121
#include <asm-generic/pci.h>

arch/x86/include/asm/pci_64.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

arch/x86/include/asm/rio.h

Lines changed: 0 additions & 64 deletions
This file was deleted.

arch/x86/include/asm/tce.h

Lines changed: 0 additions & 35 deletions
This file was deleted.

arch/x86/kernel/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ ifeq ($(CONFIG_X86_64),y)
146146
obj-$(CONFIG_AUDIT) += audit_64.o
147147

148148
obj-$(CONFIG_GART_IOMMU) += amd_gart_64.o aperture_64.o
149-
obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary_64.o tce_64.o
150149

151150
obj-$(CONFIG_MMCONF_FAM10H) += mmconf-fam10h_64.o
152151
obj-y += vsmp_64.o

0 commit comments

Comments
 (0)