Commit 398d844d authored by Juergen Gross's avatar Juergen Gross Committed by Yang Yingliang
Browse files

xen/events: use a common cpu hotplug hook for event channels



mainline inclusion
from mainline-v5.10
commit 7beb290c
category: bugfix
bugzilla: NA
CVE: CVE-2020-27673

Prepare for fixing CVE-2020-27673
--------------------------------

Today only fifo event channels have a cpu hotplug callback. In order
to prepare for more percpu (de)init work move that callback into
events_base.c and add percpu_init() and percpu_deinit() hooks to
struct evtchn_ops.

This is part of XSA-332.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
Reviewed-by: default avatarJan Beulich <jbeulich@suse.com>
Reviewed-by: default avatarWei Liu <wl@xen.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent e4c2f965
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment