| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
acpi/power: add return for _STA method For linux acpi, it must use return for _STA method. (cherry picked from commit 8d33da774c5cfa9eecab2fd6368cf0ce12df30f8) | 4 天前 | |
OHCamera: re-align camera format/frame hierarchy with UVC compliance Updated list_format to properly nest CameraFrame under CameraFormatList. Previously, each frame was incorrectly treated as a unique format. Signed-off-by: Fei Xu <xufei30@huawei.com> | 4 个月前 | |
Migration: vcpu and vgic save/restore is adapted to different hypervisor Due to the significant differences in vcpu and vgic implementations among some hypervisors, it is necessary to sink the specific implementation of save/restore to the specific hypervisor. Signed-off-by: Mingwang Li <limingwang@huawei.com> | 4 个月前 | |
devices: Add I8042 PS/2 controller device for x86_64 This is a minimal implementation that: - Allows guest OS to trigger machine reset via port 0x64 with command 0xFE. - Port 0x61 always returns bit 5 set (0x20) to avoid pit_calibrate_tsc() hang in Linux kernel. Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Signed-off-by: Fei Xu <xufei30@huawei.com> | 2 个月前 | |
virtio-snd: support state query Support state query for playback and capture. This patch also unifies the keywords used by scream and virtio-snd. Signed-off-by: chaisong <chai_song@126.com> (cherry picked from commit 449768c55c36cf6229f8316f353ef55e5f9874c1) | 4 天前 | |
usb: split base and storage features 1. Split the previous USB feature gate into usb_base and usb_storage across the root crate and dependent subcrates. 2. Gate devices::usb exports and XHCI PCI registration with usb_base, and gate usb storage implementation with usb_storage. 3. Keep USB device dispatch unified in machine add_devices and standard hotplug paths while letting add_usb_device enforce feature availability. 4. Update machine_manager type listing to reflect the new USB feature boundaries and validate the supported feature combinations with cargo build. (cherry picked from commit 3eb7b5b7e60e4c36e02ae2cd419793819eea0300) | 4 天前 | |
scsi: add LBA boundary check for all read/write commands Previously only READ_10/WRITE_10 had LBA boundary validation in ScsiRequest::new(), leaving READ_6/12/16, WRITE_6/12/16, and WRITE_VERIFY_10/12/16 vulnerable to out-of-bounds access. Extend the check to cover all NON_EMULATE_SCSI_OPS (except SYNCHRONIZE_CACHE which doesn't use LBA-based addressing) and extract it into ScsiCommand::check_lba_invalid() for clarity. Fixes: 88c2490f ("scsi-bus: check read/write buffer size to avoid out of range") Signed-off-by: liuxiangdong <liuxiangdong5@huawei.com> (cherry picked from commit 6b2c38cc1dfe9f27b831bc3f35215eb63c627bf2) | 4 天前 | |
machine/x86: Load ACPI and SMBIOS for x86 stdmachine direct kernel boot 1. ACPI and SMBIOS's pointer and checksum should update by hand now. 2. For standard machine, load ACPI and SMBIOS to memory when has no fwcfg. Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Signed-off-by: Fei Xu <xufei30@huawei.com> | 2 个月前 | |
devices: Add I8042 PS/2 controller device for x86_64 This is a minimal implementation that: - Allows guest OS to trigger machine reset via port 0x64 with command 0xFE. - Port 0x61 always returns bit 5 set (0x20) to avoid pit_calibrate_tsc() hang in Linux kernel. Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Signed-off-by: Fei Xu <xufei30@huawei.com> | 2 个月前 | |
camera: fix deadlock during concurrent device detach and vm pause There is an ABBA deadlock issue when a usb camera is being detached at the exact same time the VM is paused. The deadlock happens in the following sequence: 1. xHCI detach process: acquire the Camera device lock, then calls unregister_vm_pause_notifier, waiting for the global NOTIFIER_MANAGER lock. 2. vm pause process: holds the global NOTIFIER_MANAGER lock, iterates through callbacks, and attemps to acquire the Camera device lock inside the closure to pause the backend. This commit breaks the circular lock dependency by narrowing the lock granularity. Instead of moving the cloned Camera into the pause closure, we now only clone and capture the camera_backend. Signed-off-by: Fan Xuan Zhe <fanxuanzhe@huawei.com> (cherry picked from commit dd5b9520c86b04a980bb7c0eec46e0ac7a062434) | 4 天前 | |
usb: split base and storage features 1. Split the previous USB feature gate into usb_base and usb_storage across the root crate and dependent subcrates. 2. Gate devices::usb exports and XHCI PCI registration with usb_base, and gate usb storage implementation with usb_storage. 3. Keep USB device dispatch unified in machine add_devices and standard hotplug paths while letting add_usb_device enforce feature availability. 4. Update machine_manager type listing to reflect the new USB feature boundaries and validate the supported feature combinations with cargo build. (cherry picked from commit 3eb7b5b7e60e4c36e02ae2cd419793819eea0300) | 4 天前 |