]> git.baikalelectronics.ru Git - kernel.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)
commite616569d10cf5fe4106232058464c40607de22d9
treebd7aa413caa2e839b3c4f5ad42b7365f3ab7c6b8
parent6627ec4c33f4a92d09446429b35ecdac322fb347
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