diff options
| -rw-r--r-- | arch/x86/include/asm/apic.h | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/apic_flat_64.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/apic_noop.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/apic_numachip.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/bigsmp_32.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 16 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/probe_32.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/x2apic_cluster.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/x2apic_phys.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/x2apic_uv_x.c | 1 |
10 files changed, 0 insertions, 26 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index e1c0c2d4a961..d8da5fc6a54d 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h | |||
| @@ -300,7 +300,6 @@ struct apic { | |||
| 300 | void (*ioapic_phys_id_map)(physid_mask_t *phys_map, physid_mask_t *retmap); | 300 | void (*ioapic_phys_id_map)(physid_mask_t *phys_map, physid_mask_t *retmap); |
| 301 | 301 | ||
| 302 | void (*setup_apic_routing)(void); | 302 | void (*setup_apic_routing)(void); |
| 303 | int (*multi_timer_check)(int apic, int irq); | ||
| 304 | int (*cpu_present_to_apicid)(int mps_cpu); | 303 | int (*cpu_present_to_apicid)(int mps_cpu); |
| 305 | void (*apicid_to_cpu_present)(int phys_apicid, physid_mask_t *retmap); | 304 | void (*apicid_to_cpu_present)(int phys_apicid, physid_mask_t *retmap); |
| 306 | void (*setup_portio_remap)(void); | 305 | void (*setup_portio_remap)(void); |
diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index a8ed9ac1259b..f23b5e8d1bbb 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c | |||
| @@ -174,7 +174,6 @@ static struct apic apic_flat = { | |||
| 174 | 174 | ||
| 175 | .ioapic_phys_id_map = NULL, | 175 | .ioapic_phys_id_map = NULL, |
| 176 | .setup_apic_routing = NULL, | 176 | .setup_apic_routing = NULL, |
| 177 | .multi_timer_check = NULL, | ||
| 178 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 177 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
| 179 | .apicid_to_cpu_present = NULL, | 178 | .apicid_to_cpu_present = NULL, |
| 180 | .setup_portio_remap = NULL, | 179 | .setup_portio_remap = NULL, |
| @@ -285,7 +284,6 @@ static struct apic apic_physflat = { | |||
| 285 | 284 | ||
| 286 | .ioapic_phys_id_map = NULL, | 285 | .ioapic_phys_id_map = NULL, |
| 287 | .setup_apic_routing = NULL, | 286 | .setup_apic_routing = NULL, |
| 288 | .multi_timer_check = NULL, | ||
| 289 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 287 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
| 290 | .apicid_to_cpu_present = NULL, | 288 | .apicid_to_cpu_present = NULL, |
| 291 | .setup_portio_remap = NULL, | 289 | .setup_portio_remap = NULL, |
diff --git a/arch/x86/kernel/apic/apic_noop.c b/arch/x86/kernel/apic/apic_noop.c index c480dac40f90..66a91e5fc23d 100644 --- a/arch/x86/kernel/apic/apic_noop.c +++ b/arch/x86/kernel/apic/apic_noop.c | |||
| @@ -130,7 +130,6 @@ struct apic apic_noop = { | |||
| 130 | 130 | ||
| 131 | .ioapic_phys_id_map = default_ioapic_phys_id_map, | 131 | .ioapic_phys_id_map = default_ioapic_phys_id_map, |
| 132 | .setup_apic_routing = NULL, | 132 | .setup_apic_routing = NULL, |
| 133 | .multi_timer_check = NULL, | ||
| 134 | 133 | ||
| 135 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 134 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
| 136 | .apicid_to_cpu_present = physid_set_mask_of_physid, | 135 | .apicid_to_cpu_present = physid_set_mask_of_physid, |
diff --git a/arch/x86/kernel/apic/apic_numachip.c b/arch/x86/kernel/apic/apic_numachip.c index b49eb4047ef6..3d7f6b2e312d 100644 --- a/arch/x86/kernel/apic/apic_numachip.c +++ b/arch/x86/kernel/apic/apic_numachip.c | |||
| @@ -223,7 +223,6 @@ static const struct apic apic_numachip __refconst = { | |||
| 223 | 223 | ||
| 224 | .ioapic_phys_id_map = NULL, | 224 | .ioapic_phys_id_map = NULL, |
| 225 | .setup_apic_routing = NULL, | 225 | .setup_apic_routing = NULL, |
| 226 | .multi_timer_check = NULL, | ||
| 227 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 226 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
| 228 | .apicid_to_cpu_present = NULL, | 227 | .apicid_to_cpu_present = NULL, |
| 229 | .setup_portio_remap = NULL, | 228 | .setup_portio_remap = NULL, |
diff --git a/arch/x86/kernel/apic/bigsmp_32.c b/arch/x86/kernel/apic/bigsmp_32.c index 163ad45331d8..fa99280ee90e 100644 --- a/arch/x86/kernel/apic/bigsmp_32.c +++ b/arch/x86/kernel/apic/bigsmp_32.c | |||
| @@ -169,7 +169,6 @@ static struct apic apic_bigsmp = { | |||
| 169 | 169 | ||
| 170 | .ioapic_phys_id_map = bigsmp_ioapic_phys_id_map, | 170 | .ioapic_phys_id_map = bigsmp_ioapic_phys_id_map, |
| 171 | .setup_apic_routing = bigsmp_setup_apic_routing, | 171 | .setup_apic_routing = bigsmp_setup_apic_routing, |
| 172 | .multi_timer_check = NULL, | ||
| 173 | .cpu_present_to_apicid = bigsmp_cpu_present_to_apicid, | 172 | .cpu_present_to_apicid = bigsmp_cpu_present_to_apicid, |
| 174 | .apicid_to_cpu_present = physid_set_mask_of_physid, | 173 | .apicid_to_cpu_present = physid_set_mask_of_physid, |
| 175 | .setup_portio_remap = NULL, | 174 | .setup_portio_remap = NULL, |
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index a44dce8cc559..29290f554e79 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
| @@ -3882,14 +3882,6 @@ int mp_irqdomain_map(struct irq_domain *domain, unsigned int virq, | |||
| 3882 | struct mp_pin_info *info = mp_pin_info(ioapic, hwirq); | 3882 | struct mp_pin_info *info = mp_pin_info(ioapic, hwirq); |
| 3883 | struct io_apic_irq_attr attr; | 3883 | struct io_apic_irq_attr attr; |
| 3884 | 3884 | ||
| 3885 | /* | ||
| 3886 | * Skip the timer IRQ if there's a quirk handler installed and if it | ||
| 3887 | * returns 1: | ||
| 3888 | */ | ||
| 3889 | if (apic->multi_timer_check && | ||
| 3890 | apic->multi_timer_check(ioapic, virq)) | ||
| 3891 | return 0; | ||
| 3892 | |||
| 3893 | /* Get default attribute if not set by caller yet */ | 3885 | /* Get default attribute if not set by caller yet */ |
| 3894 | if (!info->set) { | 3886 | if (!info->set) { |
| 3895 | u32 gsi = mp_pin_to_gsi(ioapic, hwirq); | 3887 | u32 gsi = mp_pin_to_gsi(ioapic, hwirq); |
| @@ -3919,14 +3911,6 @@ void mp_irqdomain_unmap(struct irq_domain *domain, unsigned int virq) | |||
| 3919 | int ioapic = (int)(long)domain->host_data; | 3911 | int ioapic = (int)(long)domain->host_data; |
| 3920 | int pin = (int)data->hwirq; | 3912 | int pin = (int)data->hwirq; |
| 3921 | 3913 | ||
| 3922 | /* | ||
| 3923 | * Skip the timer IRQ if there's a quirk handler installed and if it | ||
| 3924 | * returns 1: | ||
| 3925 | */ | ||
| 3926 | if (apic->multi_timer_check && | ||
| 3927 | apic->multi_timer_check(ioapic, virq)) | ||
| 3928 | return; | ||
| 3929 | |||
| 3930 | ioapic_mask_entry(ioapic, pin); | 3914 | ioapic_mask_entry(ioapic, pin); |
| 3931 | __remove_pin_from_irq(cfg, ioapic, pin); | 3915 | __remove_pin_from_irq(cfg, ioapic, pin); |
| 3932 | WARN_ON(cfg->irq_2_pin != NULL); | 3916 | WARN_ON(cfg->irq_2_pin != NULL); |
diff --git a/arch/x86/kernel/apic/probe_32.c b/arch/x86/kernel/apic/probe_32.c index 4d92ef883499..a445842f24fe 100644 --- a/arch/x86/kernel/apic/probe_32.c +++ b/arch/x86/kernel/apic/probe_32.c | |||
| @@ -94,7 +94,6 @@ static struct apic apic_default = { | |||
| 94 | 94 | ||
| 95 | .ioapic_phys_id_map = default_ioapic_phys_id_map, | 95 | .ioapic_phys_id_map = default_ioapic_phys_id_map, |
| 96 | .setup_apic_routing = setup_apic_flat_routing, | 96 | .setup_apic_routing = setup_apic_flat_routing, |
| 97 | .multi_timer_check = NULL, | ||
| 98 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 97 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
| 99 | .apicid_to_cpu_present = physid_set_mask_of_physid, | 98 | .apicid_to_cpu_present = physid_set_mask_of_physid, |
| 100 | .setup_portio_remap = NULL, | 99 | .setup_portio_remap = NULL, |
diff --git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c index d7bbe89b18da..88eeaa90c91c 100644 --- a/arch/x86/kernel/apic/x2apic_cluster.c +++ b/arch/x86/kernel/apic/x2apic_cluster.c | |||
| @@ -255,7 +255,6 @@ static struct apic apic_x2apic_cluster = { | |||
| 255 | 255 | ||
| 256 | .ioapic_phys_id_map = NULL, | 256 | .ioapic_phys_id_map = NULL, |
| 257 | .setup_apic_routing = NULL, | 257 | .setup_apic_routing = NULL, |
| 258 | .multi_timer_check = NULL, | ||
| 259 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 258 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
| 260 | .apicid_to_cpu_present = NULL, | 259 | .apicid_to_cpu_present = NULL, |
| 261 | .setup_portio_remap = NULL, | 260 | .setup_portio_remap = NULL, |
diff --git a/arch/x86/kernel/apic/x2apic_phys.c b/arch/x86/kernel/apic/x2apic_phys.c index e23bec9ecd71..29614ae682e7 100644 --- a/arch/x86/kernel/apic/x2apic_phys.c +++ b/arch/x86/kernel/apic/x2apic_phys.c | |||
| @@ -109,7 +109,6 @@ static struct apic apic_x2apic_phys = { | |||
| 109 | 109 | ||
| 110 | .ioapic_phys_id_map = NULL, | 110 | .ioapic_phys_id_map = NULL, |
| 111 | .setup_apic_routing = NULL, | 111 | .setup_apic_routing = NULL, |
| 112 | .multi_timer_check = NULL, | ||
| 113 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 112 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
| 114 | .apicid_to_cpu_present = NULL, | 113 | .apicid_to_cpu_present = NULL, |
| 115 | .setup_portio_remap = NULL, | 114 | .setup_portio_remap = NULL, |
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index 633732f10d5a..53760128fd2b 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c | |||
| @@ -371,7 +371,6 @@ static struct apic __refdata apic_x2apic_uv_x = { | |||
| 371 | 371 | ||
| 372 | .ioapic_phys_id_map = NULL, | 372 | .ioapic_phys_id_map = NULL, |
| 373 | .setup_apic_routing = NULL, | 373 | .setup_apic_routing = NULL, |
| 374 | .multi_timer_check = NULL, | ||
| 375 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 374 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
| 376 | .apicid_to_cpu_present = NULL, | 375 | .apicid_to_cpu_present = NULL, |
| 377 | .setup_portio_remap = NULL, | 376 | .setup_portio_remap = NULL, |
