xen/events: Implement irq distribution
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:26:05 +0000 (20:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:38 +0000 (16:19 +0100)
commit88f0a9d066443118261adf7e049781476f09dac1
tree8d3ee4c74499570f6fd1bdb4b61abb41e4da1b2d
parent62ebcda8a8dfa4aeaa3288020a082787910afebc
xen/events: Implement irq distribution

Keep track of the assignments of event channels to CPUs and select the
online CPU with the least assigned channels in the affinity mask which is
handed to irq_chip::irq_set_affinity() from the core code.

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.457218278@linutronix.de
drivers/xen/events/events_base.c