]> git.baikalelectronics.ru Git - kernel.git/commit
xen/events: add per-xenbus device event statistics and settings
authorJuergen Gross <jgross@suse.com>
Fri, 19 Feb 2021 15:40:28 +0000 (16:40 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 23 Feb 2021 16:07:11 +0000 (10:07 -0600)
commit6785ef1a4fc59eb03e27f2328a5a1c0e5b1de119
treee0004c9548d4612288b71f5fd541eab54fc63ead
parentec52e9627f88c8f9db754f9ca717d2f6723c3fbc
xen/events: add per-xenbus device event statistics and settings

Add syfs nodes for each xenbus device showing event statistics (number
of events and spurious events, number of associated event channels)
and for setting a spurious event threshold in case a frontend is
sending too many events without being rogue on purpose.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20210219154030.10892-7-jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Documentation/ABI/testing/sysfs-devices-xenbus [new file with mode: 0644]
drivers/xen/events/events_base.c
drivers/xen/xenbus/xenbus_probe.c
include/xen/xenbus.h