]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hv: allocate synic pages for all present CPUs
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 7 Dec 2016 09:16:25 +0000 (01:16 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 20:46:40 +0000 (21:46 +0100)
commit421b8f20d3c381b215f988b42428f56fc3b82405
tree52205e1a89f420e9eec51715de7720eedb271ab1
parentc0bb03924f1a80e7f65900e36c8e6b3dc167c5f8
hv: allocate synic pages for all present CPUs

It may happen that not all CPUs are online when we do hv_synic_alloc() and
in case more CPUs come online later we may try accessing these allocated
structures.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv.c