Contributors: 14
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Thomas Gleixner |
55 |
27.64% |
15 |
38.46% |
Yinghai Lu |
54 |
27.14% |
5 |
12.82% |
Ingo Molnar |
29 |
14.57% |
4 |
10.26% |
Andi Kleen |
18 |
9.05% |
1 |
2.56% |
Suresh B. Siddha |
17 |
8.54% |
5 |
12.82% |
Linus Torvalds |
10 |
5.03% |
1 |
2.56% |
Michael S. Tsirkin |
3 |
1.51% |
1 |
2.56% |
Eric W. Biedermann |
3 |
1.51% |
1 |
2.56% |
Masahiro Yamada |
2 |
1.01% |
1 |
2.56% |
Jan Kiszka |
2 |
1.01% |
1 |
2.56% |
Randy Dunlap |
2 |
1.01% |
1 |
2.56% |
Jan Beulich |
2 |
1.01% |
1 |
2.56% |
Kees Cook |
1 |
0.50% |
1 |
2.56% |
Paul Gortmaker |
1 |
0.50% |
1 |
2.56% |
Total |
199 |
|
39 |
|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2004 James Cleverdon, IBM.
*
* Flat APIC subarch code.
*
* Hacked for x86-64 by James Cleverdon from i386 architecture code by
* Martin Bligh, Andi Kleen, James Bottomley, John Stultz, and
* James Cleverdon.
*/
#include <linux/export.h>
#include <asm/apic.h>
#include "local.h"
static u32 physflat_get_apic_id(u32 x)
{
return (x >> 24) & 0xFF;
}
static int physflat_probe(void)
{
return 1;
}
static int physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
{
return 1;
}
static struct apic apic_physflat __ro_after_init = {
.name = "physical flat",
.probe = physflat_probe,
.acpi_madt_oem_check = physflat_acpi_madt_oem_check,
.dest_mode_logical = false,
.disable_esr = 0,
.cpu_present_to_apicid = default_cpu_present_to_apicid,
.max_apic_id = 0xFE,
.get_apic_id = physflat_get_apic_id,
.calc_dest_apicid = apic_default_calc_apicid,
.send_IPI = default_send_IPI_single_phys,
.send_IPI_mask = default_send_IPI_mask_sequence_phys,
.send_IPI_mask_allbutself = default_send_IPI_mask_allbutself_phys,
.send_IPI_allbutself = default_send_IPI_allbutself,
.send_IPI_all = default_send_IPI_all,
.send_IPI_self = default_send_IPI_self,
.nmi_to_offline_cpu = true,
.read = native_apic_mem_read,
.write = native_apic_mem_write,
.eoi = native_apic_mem_eoi,
.icr_read = native_apic_icr_read,
.icr_write = native_apic_icr_write,
.wait_icr_idle = apic_mem_wait_icr_idle,
.safe_wait_icr_idle = apic_mem_wait_icr_idle_timeout,
};
apic_driver(apic_physflat);
struct apic *apic __ro_after_init = &apic_physflat;
EXPORT_SYMBOL_GPL(apic);