diff options
author | Prarit Bhargava <prarit@redhat.com> | 2018-02-07 18:49:23 -0500 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2018-02-17 09:40:45 +0100 |
commit | 63e708f826bb21470155d37b103a75d8a9e25b18 (patch) | |
tree | 3b19fd5aaf85dd3a5bd11d6b0da019ffa9be56e5 /drivers/xen/pvcalls-front.c | |
parent | 29fee6eed2811ff1089b30fc579a2d19d78016ab (diff) | |
download | linux-63e708f826bb21470155d37b103a75d8a9e25b18.tar.bz2 |
x86/xen: Calculate __max_logical_packages on PV domains
The kernel panics on PV domains because native_smp_cpus_done() is
only called for HVM domains.
Calculate __max_logical_packages for PV domains.
Fixes: b4c0a7326f5d ("x86/smpboot: Fix __max_logical_packages estimate")
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Tested-and-reported-by: Simon Gaiser <simon@invisiblethingslab.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: xen-devel@lists.xenproject.org
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/pvcalls-front.c')
0 files changed, 0 insertions, 0 deletions