diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-28 21:17:30 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-28 21:17:30 +0300 |
commit | 81eef8909d171bdca6af37028a11a24e011ed312 (patch) | |
tree | daf29a77666fa7ba1876cf3cba5104002e96ab85 /include/uapi | |
parent | e62e26d3e9ab89a0d40f94b237676b7e540d6d5c (diff) | |
parent | c04e9894846c663f3278a414f34416e6e45bbe68 (diff) | |
download | linux-81eef8909d171bdca6af37028a11a24e011ed312.tar.xz |
Merge tag 'for-linus-6.5a-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from Juergen Gross:
- A fix for a performance problem in QubesOS, adding a way to drain the
queue of grants experiencing delayed unmaps faster
- A patch enabling the use of static event channels from user mode,
which was omitted when introducing supporting static event channels
- A fix for a problem where Xen related code didn't check properly for
running in a Xen environment, resulting in a WARN splat
* tag 'for-linus-6.5a-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
xen: speed up grant-table reclaim
xen/evtchn: Introduce new IOCTL to bind static evtchn
xenbus: check xen_domain in xenbus_probe_initcall
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/xen/evtchn.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/xen/evtchn.h b/include/uapi/xen/evtchn.h index 7fbf732f168f..aef2b75f3413 100644 --- a/include/uapi/xen/evtchn.h +++ b/include/uapi/xen/evtchn.h @@ -101,4 +101,13 @@ struct ioctl_evtchn_restrict_domid { domid_t domid; }; +/* + * Bind statically allocated @port. + */ +#define IOCTL_EVTCHN_BIND_STATIC \ + _IOC(_IOC_NONE, 'E', 7, sizeof(struct ioctl_evtchn_bind)) +struct ioctl_evtchn_bind { + unsigned int port; +}; + #endif /* __LINUX_PUBLIC_EVTCHN_H__ */ |