]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
xen/events: use a common cpu hotplug hook for event channels
authorJuergen Gross <jgross@suse.com>
Sun, 13 Sep 2020 12:23:02 +0000 (14:23 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 20 Oct 2020 08:22:14 +0000 (10:22 +0200)
commit7beb290caa2adb0a399e735a1e175db9aae0523a
treebd7aa413caa2e839b3c4f5ad42b7365f3ab7c6b8
parentc44b849cee8c3ac587da3b0980e01f77500d158c
xen/events: use a common cpu hotplug hook for event channels

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: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
drivers/xen/events/events_base.c
drivers/xen/events/events_fifo.c
drivers/xen/events/events_internal.h