From cfde82699d32eb8844da8b2f2538f45fa5a02f43 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Thu, 15 May 2025 14:16:07 +0200 Subject: tools/syz-query-subsystems: introduce the kvm-x86 subsystem Split off kvm-x86 from kvm for better coverage accounting. Both subsystems will still share the CC lists, so bugs in x86 code won't be emailed twice. While at this, also fix the tool name in the generated comment and regenerate pkg/subsystem/lists/linux.go on v6.14-rc7. --- pkg/subsystem/linux/rules.go | 25 +++++++++++++------------ pkg/subsystem/lists/linux.go | 18 ++++++++++++++---- 2 files changed, 27 insertions(+), 16 deletions(-) (limited to 'pkg') diff --git a/pkg/subsystem/linux/rules.go b/pkg/subsystem/linux/rules.go index 573df05d2..96de7e79d 100644 --- a/pkg/subsystem/linux/rules.go +++ b/pkg/subsystem/linux/rules.go @@ -89,18 +89,19 @@ var ( "tomoyo-users-en@lists.osdn.me": {}, }, extraSubsystems: map[string][]string{ - "bfs": {"BFS FILE SYSTEM"}, - "exfat": {"EXFAT FILE SYSTEM", "VFAT/FAT/MSDOS FILESYSTEM"}, - "fuse": {"FUSE: FILESYSTEM IN USERSPACE"}, - "hfs": {"HFS FILESYSTEM", "HFSPLUS FILESYSTEM"}, - "isofs": {"ISOFS FILESYSTEM"}, - "kernfs": {"KERNFS"}, - "udf": {"UDF FILESYSTEM"}, - "nfc": {"NFC SUBSYSTEM"}, - "iomap": {"FILESYSTEMS [IOMAP]"}, - "xfs": {"XFS FILESYSTEM"}, - "jffs2": {"JOURNALLING FLASH FILE SYSTEM V2 (JFFS2)"}, - "smc": {"SHARED MEMORY COMMUNICATIONS (SMC) SOCKETS"}, // See #5838. + "bfs": {"BFS FILE SYSTEM"}, + "exfat": {"EXFAT FILE SYSTEM", "VFAT/FAT/MSDOS FILESYSTEM"}, + "fuse": {"FUSE: FILESYSTEM IN USERSPACE"}, + "hfs": {"HFS FILESYSTEM", "HFSPLUS FILESYSTEM"}, + "isofs": {"ISOFS FILESYSTEM"}, + "kernfs": {"KERNFS"}, + "udf": {"UDF FILESYSTEM"}, + "nfc": {"NFC SUBSYSTEM"}, + "iomap": {"FILESYSTEMS [IOMAP]"}, + "xfs": {"XFS FILESYSTEM"}, + "jffs2": {"JOURNALLING FLASH FILE SYSTEM V2 (JFFS2)"}, + "smc": {"SHARED MEMORY COMMUNICATIONS (SMC) SOCKETS"}, // See #5838. + "kvm-x86": {"KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86)"}, }, noReminders: map[string]struct{}{ // Many misclassified bugs end up in `kernel`, so there's no sense diff --git a/pkg/subsystem/lists/linux.go b/pkg/subsystem/lists/linux.go index aacd423b4..27d8be5f6 100644 --- a/pkg/subsystem/lists/linux.go +++ b/pkg/subsystem/lists/linux.go @@ -1,4 +1,4 @@ -// Code generated by the syz-query-subsystem tool. DO NOT EDIT. +// Code generated by the syz-query-subsystems tool. DO NOT EDIT. // Commit 4701f33a10702d5fc577c32434eb62adde0a1ae1, "Linux 6.14-rc7" package lists @@ -131,6 +131,7 @@ func init() { // - kunit // - kvm // - kvm-riscv +// - kvm-x86 // - leds // - libertas // - linux1394 @@ -250,7 +251,7 @@ func init() { // - xen func subsystems_linux() []*Subsystem { - var ac100, accelerators, acpi, acpica, acrn, actions, afs, alpha, amdgfx, amlogic, apparmor, arch, arm, armmsm, armscmi, asahi, aspeed, ath10k, ath11k, ath12k, atm, audit, autofs, axis, b43, batman, bcache, bcachefs, bfs, block, bluetooth, bpf, brcm80211, bridge, broadcom, btrfs, can, ceph, cgroups, chrome, cifs, cirrus, clk, coco, coda, coresight, crypto, csky, cxl, damon, dccp, dell, devicetree, dm, dmaengine, drbd, dri, ecryptfs, edac, efi, erofs, etnaviv, exfat, ext4, f2fs, fbdev, fpga, freedreno, fs, fscrypt, fsi, fsverity, fuse, geode, gfs2, gpio, greybus, hams, hardening, hexagon, hfs, hwmon, hyperv, i2c, i3c, ide, iio, imx, input, integrity, intelgfx, intelgvt, intelwiredlan, intelxe, iouring, iomap, iommu, ipack, isdn4linux, isofs, jffs2, jfs, karma, kasan, kbuild, kernel, kernfs, kexec, keyrings, kgdb, kunit, kvm, kvmriscv, kvmarm, leds, libertas, lima, linux1394, linuxppc, linuxpps, livepatching, llvm, loongarch, lsm, lvs, m68k, mapletree, media, mediatek, megaraid, mhi, mips, mjpeg, mm, mmc, modules, mpi3, mptfusion, mptcp, mtd, nbd, net, netdrivers, netfilter, netfs, nfc, nfs, nilfs, nouveau, ntb, ntfs3, nvdimm, nvme, ocfs2, omap, optee, openiscsi, openbmc, openipmi, openrisc, openvswitch, openwrt, orangefs, ossdrivers, overlayfs, parisc, parport, pci, perf, phy, pm, ppp, pvrusb2, pwm, qat, raid, rcu, rdma, rds, remoteproc, renesassoc, riscv, rockchip, rpi, rtc, rust, s390, samsungsoc, scsi, sctp, selinux, serial, sgx, sh, smc, snpsarc, soc, sof, sound, sparclinux, speakup, spi, spice, squashfs, staging, stm32, sunxi, target, tegra, timestamp, tipc, tls, tomoyo, tqsystems, trace, udf, um, unisoc, usb, usbstorage, v9fs, video, virt, watchdog, wcn36xx, wireguard, wireless, wpan, x25, x86, x86drivers, xen, xfs Subsystem + var ac100, accelerators, acpi, acpica, acrn, actions, afs, alpha, amdgfx, amlogic, apparmor, arch, arm, armmsm, armscmi, asahi, aspeed, ath10k, ath11k, ath12k, atm, audit, autofs, axis, b43, batman, bcache, bcachefs, bfs, block, bluetooth, bpf, brcm80211, bridge, broadcom, btrfs, can, ceph, cgroups, chrome, cifs, cirrus, clk, coco, coda, coresight, crypto, csky, cxl, damon, dccp, dell, devicetree, dm, dmaengine, drbd, dri, ecryptfs, edac, efi, erofs, etnaviv, exfat, ext4, f2fs, fbdev, fpga, freedreno, fs, fscrypt, fsi, fsverity, fuse, geode, gfs2, gpio, greybus, hams, hardening, hexagon, hfs, hwmon, hyperv, i2c, i3c, ide, iio, imx, input, integrity, intelgfx, intelgvt, intelwiredlan, intelxe, iouring, iomap, iommu, ipack, isdn4linux, isofs, jffs2, jfs, karma, kasan, kbuild, kernel, kernfs, kexec, keyrings, kgdb, kunit, kvm, kvmriscv, kvmx86, kvmarm, leds, libertas, lima, linux1394, linuxppc, linuxpps, livepatching, llvm, loongarch, lsm, lvs, m68k, mapletree, media, mediatek, megaraid, mhi, mips, mjpeg, mm, mmc, modules, mpi3, mptfusion, mptcp, mtd, nbd, net, netdrivers, netfilter, netfs, nfc, nfs, nilfs, nouveau, ntb, ntfs3, nvdimm, nvme, ocfs2, omap, optee, openiscsi, openbmc, openipmi, openrisc, openvswitch, openwrt, orangefs, ossdrivers, overlayfs, parisc, parport, pci, perf, phy, pm, ppp, pvrusb2, pwm, qat, raid, rcu, rdma, rds, remoteproc, renesassoc, riscv, rockchip, rpi, rtc, rust, s390, samsungsoc, scsi, sctp, selinux, serial, sgx, sh, smc, snpsarc, soc, sof, sound, sparclinux, speakup, spi, spice, squashfs, staging, stm32, sunxi, target, tegra, timestamp, tipc, tls, tomoyo, tqsystems, trace, udf, um, unisoc, usb, usbstorage, v9fs, video, virt, watchdog, wcn36xx, wireguard, wireless, wpan, x25, x86, x86drivers, xen, xfs Subsystem ac100 = Subsystem{ Name: "ac100", @@ -2366,7 +2367,6 @@ func subsystems_linux() []*Subsystem { {IncludeRegexp: "^arch/s390/include/uapi/asm/virtio-ccw\\.h$|^drivers/s390/virtio/"}, {IncludeRegexp: "^arch/s390/kvm/pci[^/]*$|^drivers/vfio/pci/vfio_pci_zdev\\.c$|^include/uapi/linux/vfio_zdev\\.h$"}, {IncludeRegexp: "^arch/um/include/asm/kvm_para\\.h$|^arch/x86/include/asm/kvm_para\\.h$|^arch/x86/include/asm/pvclock-abi\\.h$|^arch/x86/include/uapi/asm/kvm_para\\.h$|^arch/x86/kernel/kvm\\.c$|^arch/x86/kernel/kvmclock\\.c$|^include/asm-generic/kvm_para\\.h$|^include/linux/kvm_para\\.h$|^include/uapi/asm-generic/kvm_para\\.h$|^include/uapi/linux/kvm_para\\.h$"}, - {IncludeRegexp: "^arch/x86/include/asm/kvm[^/]*$|^arch/x86/include/asm/svm\\.h$|^arch/x86/include/asm/vmx[^/]*\\.h$|^arch/x86/include/uapi/asm/kvm[^/]*$|^arch/x86/include/uapi/asm/svm\\.h$|^arch/x86/include/uapi/asm/vmx\\.h$|^arch/x86/kvm/|^arch/x86/kvm/[^/]*/"}, {IncludeRegexp: "^arch/x86/kvm/hyperv\\.[^/]*$|^arch/x86/kvm/kvm_onhyperv\\.[^/]*$|^arch/x86/kvm/svm/hyperv\\.[^/]*$|^arch/x86/kvm/svm/svm_onhyperv\\.[^/]*$|^arch/x86/kvm/vmx/hyperv\\.[^/]*$"}, {IncludeRegexp: "^arch/x86/kvm/xen\\.[^/]*$"}, {IncludeRegexp: "^drivers/s390/cio/vfio_ccw[^/]*$|^include/uapi/linux/vfio_ccw\\.h$"}, @@ -2400,6 +2400,16 @@ func subsystems_linux() []*Subsystem { }, } + kvmx86 = Subsystem{ + Name: "kvm-x86", + Lists: []string{"kvm@vger.kernel.org"}, + Maintainers: []string{"pbonzini@redhat.com", "seanjc@google.com"}, + Parents: []*Subsystem{&kernel}, + PathRules: []PathRule{ + {IncludeRegexp: "^arch/x86/include/asm/kvm[^/]*$|^arch/x86/include/asm/svm\\.h$|^arch/x86/include/asm/vmx[^/]*\\.h$|^arch/x86/include/uapi/asm/kvm[^/]*$|^arch/x86/include/uapi/asm/svm\\.h$|^arch/x86/include/uapi/asm/vmx\\.h$|^arch/x86/kvm/|^arch/x86/kvm/[^/]*/"}, + }, + } + kvmarm = Subsystem{ Name: "kvmarm", Lists: []string{"kvmarm@lists.linux.dev"}, @@ -4972,7 +4982,7 @@ func subsystems_linux() []*Subsystem { } return []*Subsystem{ - &ac100, &accelerators, &acpi, &acpica, &acrn, &actions, &afs, &alpha, &amdgfx, &amlogic, &apparmor, &arch, &arm, &armmsm, &armscmi, &asahi, &aspeed, &ath10k, &ath11k, &ath12k, &atm, &audit, &autofs, &axis, &b43, &batman, &bcache, &bcachefs, &bfs, &block, &bluetooth, &bpf, &brcm80211, &bridge, &broadcom, &btrfs, &can, &ceph, &cgroups, &chrome, &cifs, &cirrus, &clk, &coco, &coda, &coresight, &crypto, &csky, &cxl, &damon, &dccp, &dell, &devicetree, &dm, &dmaengine, &drbd, &dri, &ecryptfs, &edac, &efi, &erofs, &etnaviv, &exfat, &ext4, &f2fs, &fbdev, &fpga, &freedreno, &fs, &fscrypt, &fsi, &fsverity, &fuse, &geode, &gfs2, &gpio, &greybus, &hams, &hardening, &hexagon, &hfs, &hwmon, &hyperv, &i2c, &i3c, &ide, &iio, &imx, &input, &integrity, &intelgfx, &intelgvt, &intelwiredlan, &intelxe, &iouring, &iomap, &iommu, &ipack, &isdn4linux, &isofs, &jffs2, &jfs, &karma, &kasan, &kbuild, &kernel, &kernfs, &kexec, &keyrings, &kgdb, &kunit, &kvm, &kvmriscv, &kvmarm, &leds, &libertas, &lima, &linux1394, &linuxppc, &linuxpps, &livepatching, &llvm, &loongarch, &lsm, &lvs, &m68k, &mapletree, &media, &mediatek, &megaraid, &mhi, &mips, &mjpeg, &mm, &mmc, &modules, &mpi3, &mptfusion, &mptcp, &mtd, &nbd, &net, &netdrivers, &netfilter, &netfs, &nfc, &nfs, &nilfs, &nouveau, &ntb, &ntfs3, &nvdimm, &nvme, &ocfs2, &omap, &optee, &openiscsi, &openbmc, &openipmi, &openrisc, &openvswitch, &openwrt, &orangefs, &ossdrivers, &overlayfs, &parisc, &parport, &pci, &perf, &phy, &pm, &ppp, &pvrusb2, &pwm, &qat, &raid, &rcu, &rdma, &rds, &remoteproc, &renesassoc, &riscv, &rockchip, &rpi, &rtc, &rust, &s390, &samsungsoc, &scsi, &sctp, &selinux, &serial, &sgx, &sh, &smc, &snpsarc, &soc, &sof, &sound, &sparclinux, &speakup, &spi, &spice, &squashfs, &staging, &stm32, &sunxi, &target, &tegra, ×tamp, &tipc, &tls, &tomoyo, &tqsystems, &trace, &udf, &um, &unisoc, &usb, &usbstorage, &v9fs, &video, &virt, &watchdog, &wcn36xx, &wireguard, &wireless, &wpan, &x25, &x86, &x86drivers, &xen, &xfs, + &ac100, &accelerators, &acpi, &acpica, &acrn, &actions, &afs, &alpha, &amdgfx, &amlogic, &apparmor, &arch, &arm, &armmsm, &armscmi, &asahi, &aspeed, &ath10k, &ath11k, &ath12k, &atm, &audit, &autofs, &axis, &b43, &batman, &bcache, &bcachefs, &bfs, &block, &bluetooth, &bpf, &brcm80211, &bridge, &broadcom, &btrfs, &can, &ceph, &cgroups, &chrome, &cifs, &cirrus, &clk, &coco, &coda, &coresight, &crypto, &csky, &cxl, &damon, &dccp, &dell, &devicetree, &dm, &dmaengine, &drbd, &dri, &ecryptfs, &edac, &efi, &erofs, &etnaviv, &exfat, &ext4, &f2fs, &fbdev, &fpga, &freedreno, &fs, &fscrypt, &fsi, &fsverity, &fuse, &geode, &gfs2, &gpio, &greybus, &hams, &hardening, &hexagon, &hfs, &hwmon, &hyperv, &i2c, &i3c, &ide, &iio, &imx, &input, &integrity, &intelgfx, &intelgvt, &intelwiredlan, &intelxe, &iouring, &iomap, &iommu, &ipack, &isdn4linux, &isofs, &jffs2, &jfs, &karma, &kasan, &kbuild, &kernel, &kernfs, &kexec, &keyrings, &kgdb, &kunit, &kvm, &kvmriscv, &kvmx86, &kvmarm, &leds, &libertas, &lima, &linux1394, &linuxppc, &linuxpps, &livepatching, &llvm, &loongarch, &lsm, &lvs, &m68k, &mapletree, &media, &mediatek, &megaraid, &mhi, &mips, &mjpeg, &mm, &mmc, &modules, &mpi3, &mptfusion, &mptcp, &mtd, &nbd, &net, &netdrivers, &netfilter, &netfs, &nfc, &nfs, &nilfs, &nouveau, &ntb, &ntfs3, &nvdimm, &nvme, &ocfs2, &omap, &optee, &openiscsi, &openbmc, &openipmi, &openrisc, &openvswitch, &openwrt, &orangefs, &ossdrivers, &overlayfs, &parisc, &parport, &pci, &perf, &phy, &pm, &ppp, &pvrusb2, &pwm, &qat, &raid, &rcu, &rdma, &rds, &remoteproc, &renesassoc, &riscv, &rockchip, &rpi, &rtc, &rust, &s390, &samsungsoc, &scsi, &sctp, &selinux, &serial, &sgx, &sh, &smc, &snpsarc, &soc, &sof, &sound, &sparclinux, &speakup, &spi, &spice, &squashfs, &staging, &stm32, &sunxi, &target, &tegra, ×tamp, &tipc, &tls, &tomoyo, &tqsystems, &trace, &udf, &um, &unisoc, &usb, &usbstorage, &v9fs, &video, &virt, &watchdog, &wcn36xx, &wireguard, &wireless, &wpan, &x25, &x86, &x86drivers, &xen, &xfs, } } -- cgit mrf-deployment