summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2026-09-22 12:00:13 +0800
committerAlex Williamson <alex@shazbot.org>2026-09-29 16:50:41 -0600
commitb30b52c2fb82e6d38ee2845a4d85e8254b44f3d8 (patch)
treeb92ace407dab4381612e648c5bf93b93b7d11a8f /tools/perf/scripts/python
parent8b25b35840c15ecca14251f68079792531f1758f (diff)
downloadlinux-next-b30b52c2fb82e6d38ee2845a4d85e8254b44f3d8.tar.gz
linux-next-b30b52c2fb82e6d38ee2845a4d85e8254b44f3d8.zip
vfio/pci: Restore 8-byte ioeventfd support
Commit b44a06bd28f2 ("vfio/pci: Remove #ifdef iowrite64 and #ifdef ioread64") inadvertently converted a conditional 8-byte rejection into an unconditional one. Originally, 'count == 8' was rejected only if iowrite64 was undefined (#ifndef iowrite64). When iowrite64 became globally available via generic fallbacks, this rejection became dead code, allowing 8-byte ioeventfds. However, b44a06bd28f2 removed the #ifndef wrappers but left the nested 'if (count == 8) return -EINVAL;' intact, breaking all 8-byte registrations. Drop the unconditional check to restore 8-byte ioeventfd support, matching the original intent. Fixes: b44a06bd28f2 ("vfio/pci: Remove #ifdef iowrite64 and #ifdef ioread64") Cc: stable@vger.kernel.org Signed-off-by: Li RongQing <lirongqing@baidu.com> Link: https://lore.kernel.org/r/20260922040013.2188-1-lirongqing@baidu.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions