hw/loongarch/boot.c | 5 +- include/standard-headers/drm/drm_fourcc.h | 43 +++ include/standard-headers/linux/const.h | 17 ++ include/standard-headers/linux/ethtool.h | 226 ++++++++++++++ include/standard-headers/linux/fuse.h | 22 +- include/standard-headers/linux/input-event-codes.h | 2 + include/standard-headers/linux/pci_regs.h | 41 ++- include/standard-headers/linux/virtio_balloon.h | 16 +- include/standard-headers/linux/virtio_gpu.h | 1 + linux-headers/asm-arm64/mman.h | 9 + linux-headers/asm-arm64/unistd.h | 25 +- linux-headers/asm-arm64/unistd_64.h | 324 ++++++++++++++++++++ linux-headers/asm-generic/unistd.h | 6 +- linux-headers/asm-loongarch/kvm.h | 24 ++ linux-headers/asm-loongarch/kvm_para.h | 21 ++ linux-headers/asm-loongarch/unistd.h | 4 +- linux-headers/asm-loongarch/unistd_64.h | 320 ++++++++++++++++++++ linux-headers/asm-riscv/kvm.h | 7 + linux-headers/asm-riscv/unistd.h | 41 +-- linux-headers/asm-riscv/unistd_32.h | 315 ++++++++++++++++++++ linux-headers/asm-riscv/unistd_64.h | 325 +++++++++++++++++++++ linux-headers/asm-x86/kvm.h | 2 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 1 + linux-headers/linux/bits.h | 3 + linux-headers/linux/const.h | 17 ++ linux-headers/linux/iommufd.h | 143 +++++++-- linux-headers/linux/kvm.h | 23 +- linux-headers/linux/mman.h | 1 + linux-headers/linux/psp-sev.h | 28 ++ scripts/update-linux-headers.sh | 7 + target/loongarch/cpu.c | 43 +++ target/loongarch/cpu.h | 23 ++ target/loongarch/kvm/kvm.c | 225 +++++++++++++- target/loongarch/loongarch-qmp-cmds.c | 2 +- target/loongarch/machine.c | 30 +- 36 files changed, 2243 insertions(+), 100 deletions(-) create mode 100644 linux-headers/asm-arm64/unistd_64.h create mode 100644 linux-headers/asm-loongarch/kvm_para.h create mode 100644 linux-headers/asm-loongarch/unistd_64.h create mode 100644 linux-headers/asm-riscv/unistd_32.h create mode 100644 linux-headers/asm-riscv/unistd_64.h