xen/events: Remove disfunct affinity spreading
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:26:01 +0000 (20:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:35 +0000 (16:19 +0100)
commit67473b8194bc3ecc42d60a4f5dc1ed479f28ed6e
tree9f6f8533a93212f53f051a3a5b4d5d3c7e3af17a
parent3bd5371a4da68613fb3d4aaf961ed8244bcbd741
xen/events: Remove disfunct affinity spreading

This function can only ever work when the event channels:

  - are already established
  - interrupts assigned to them
  - the affinity has been set by user space already

because any newly set up event channel is forced to be bound to CPU0 and
the affinity mask of the interrupt is forced to contain cpumask_of(0).

As the CPU0 enforcement was in place _before_ this was implemented it's
entirely unclear how that can ever have worked at all.

Remove it as preparation for doing it proper.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/20201210194045.065115500@linutronix.de
drivers/xen/events/events_base.c
drivers/xen/evtchn.c