]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xen/events: modify internal [un]bind interfaces
authorJuergen Gross <jgross@suse.com>
Thu, 28 Sep 2023 07:09:52 +0000 (09:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:34:58 +0000 (13:34 +0100)
commit636ac94cee721c7030f54c9e8134bdaa74780fa3
tree0ab5ba25240676cd8b9df72a6d937669a1963321
parent40f14760da839620d5a1d257205a514aac0ac2b1
xen/events: modify internal [un]bind interfaces

[ Upstream commit 3fcdaf3d7634338c3f5cbfa7451eb0b6b0024844 ]

Modify the internal bind- and unbind-interfaces to take a struct
irq_info parameter. When allocating a new IRQ pass the pointer from
the allocating function further up.

This will reduce the number of info_for_irq() calls and make the code
more efficient.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Stable-dep-of: fa765c4b4aed ("xen/events: close evtchn after mapping cleanup")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/xen/events/events_base.c