Unsigned int x2apic_get_apic_id(unsigned long id) * x2apic MSRs are special and need a special fence: */ unsigned long cfg = _prepare_ICR(which, vector, 0) void _x2apic_send_IPI_shorthand(int vector, u32 which) Static void -123,15 +123,6 void _x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest) Static u32 x2apic_calc_apicid(unsigned int cpu)ĭiff -git a/arch/x86/kernel/apic/x2apic_phys.c b/arch/x86/kernel/apic/x2apic_phys.c + _x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLINC) _x2apic_send_IPI_shorthand(vector, APIC_DEST_ALLINC) Static void x2apic_send_IPI_all(int vector) + _x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT) _x2apic_send_IPI_shorthand(vector, APIC_DEST_ALLBUT) Static void x2apic_send_IPI_allbutself(int vector) +++ -90,12 +90,12 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) a/arch/x86/kernel/apic/x2apic_cluster.c void _x2apic_send_IPI_shorthand(int vector, u32 which) ĭiff -git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c Int x2apic_phys_pkg_id(int initial_apicid, int index_msb) +++ -24,7 +24,6 unsigned int x2apic_get_apic_id(unsigned long id) Attached the kernelĪrch/x86/kernel/apic/x2apic_cluster.c | 4 ++-Īrch/x86/kernel/apic/x2apic_phys.c | 13 ++-ģ files changed, 4 insertions(+), 14 deletions(-)ĭiff -git a/arch/x86/kernel/apic/local.h b/arch/x86/kernel/apic/local.h This is reproduced stably on kvm guest with Fedora. With tick_periodic() call trace, I will report it in another mail. On some systems, there's another random hang Systems, kdump kernel randomly failed, not sure if it's the same issueĪs the one on kvm guest. On several systems, kdump kernel can always succeed. Tried on several bare metal systems, this issue can't be stably The problem will disappear if removing 'nr_cpus=2' from normal kerne's Implement IPI shorthands support") can fix it. Kernel's cmdline, and triggering crash to jump to kdump kernel, kdump On kvm guest with 4 cpus deployed, when adding 'nr_cpus=2' to normal To: linux-kernel, Thomas Gleixner +Cc: x86, kexec ` (2 more replies) 0 siblings, 3 replies 15+ messages in thread 5:41 ` kdump kernel randomly hang with tick_periodic call trace on bare metal system Baoquan He Revert "x86/apic/x2apic: Implement IPI shorthands support" LKML Archive on help / color / mirror / Atom feed * Revert "x86/apic/x2apic: Implement IPI shorthands support" 5:34 Baoquan He
0 Comments
Leave a Reply. |