[Qemu-commits] [qemu/qemu] c25df5: Update version for 9.0.0 release
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: c25df57ae8f9fe1c72eee2dab37d76d904ac382e https://github.com/qemu/qemu/commit/c25df57ae8f9fe1c72eee2dab37d76d904ac382e Author: Peter Maydell Date: 2024-04-23 (Tue, 23 Apr 2024) Changed paths: M VERSION Log Message: --- Update version for 9.0.0 release Signed-off-by: Peter Maydell To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 62dbe5: Update version for v9.0.0-rc4 release
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 62dbe54c24dbf77051bafe1039c31ddc8f37602d https://github.com/qemu/qemu/commit/62dbe54c24dbf77051bafe1039c31ddc8f37602d Author: Peter Maydell Date: 2024-04-16 (Tue, 16 Apr 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc4 release Signed-off-by: Peter Maydell To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] f33274: hw/isa/vt82c686: Keep track of PIRQ/PINT pins sepa...
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: f33274265a242df5d9fdb00915fe72fbb1b2a3c4 https://github.com/qemu/qemu/commit/f33274265a242df5d9fdb00915fe72fbb1b2a3c4 Author: BALATON Zoltan Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hw/isa/vt82c686.c Log Message: --- hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately Move calculation of mask after the switch which sets the function number for PIRQ/PINT pins to make sure the state of these pins are kept track of separately and IRQ is raised if any of them is active. Cc: qemu-sta...@nongnu.org Fixes: 7e01bd80c1 hw/isa/vt82c686: Bring back via_isa_set_irq() Signed-off-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240410222543.0ea534e6...@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé Commit: 6e4aceba2079e3df42edc89d44f4ee02343bb09e https://github.com/qemu/qemu/commit/6e4aceba2079e3df42edc89d44f4ee02343bb09e Author: BALATON Zoltan Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hw/pci-host/ppc440_pcix.c Log Message: --- hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus Real 460EX SoC apparently does not expose a bridge device and having it appear on PCI bus confuses an AmigaOS file system driver that uses this to detect which machine it is running on. Cc: qemu-sta...@nongnu.org Signed-off-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240411192443.b4d644e6...@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé Commit: 0b96f75b71ef0a36f3e254545435a6cbcf4c8228 https://github.com/qemu/qemu/commit/0b96f75b71ef0a36f3e254545435a6cbcf4c8228 Author: Peter Maydell Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hw/isa/vt82c686.c M hw/pci-host/ppc440_pcix.c Log Message: --- Merge tag 'hw-misc-20240415' of https://github.com/philmd/qemu into staging Misc HW patch queue Fixes for hardware used by machines running AmigaOS. # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmYdP44ACgkQ4+MsLN6t # wN5nZw//enjS8WL5jRk77FogdJW8Xa4JIsfrsDgZrZJ+Pzj378ssq6oIJgELAgFg # 6h8CCP9hbS1TML984w907Psl0KP1dG/ar1Egu1yMaJT4c6HULwZeyKdzYpWm2E1R # e4CCip+Zh33wy8TGivyodSSCN0oQgOLv2h1IqFArZ4n3TKMirhTyK+otzXXbXmyw # U9ZlYVUxS3zljcFz6ZVoYISc9cNqbZe1GI6R6KvXqX/frvZI1KF/GLZovJiKR25H # IbF+wfCbD/4sTPX5AR/gY5XfKd3zthFtZlbBViRawmTs6BPlcV9p2BXa4V3eXMBP # +WXTNz+vRtGBUunEMSBlFWdz4ka4Q65MU+q7DLPdaCIOFOn9w3VDINotpL8oV8Nm # e4IsM2Du5sUf0QSRopPFsorFY70kW5mH+WkF1MTXfTqZTZy/I2meTD5s1OkZLJA5 # g9+o17bn25jtZvJnEmAilVdopBSBclmniAsR9A1sCGooyVjn3Byo5ylcLTNIQ+de # nScnyR0cvKqBjKkmMOLbDHo/sszH7jAYqedv7Aoh2dS8/uk3KuHtgi6GeLhSYF5Y # ZTCYbFnpuohQ8ueOL9oa3abYUCzQBu+UivgWdSVhgA7W97zihqIj2oWmorIwBpc9 # uuaZBOpTyzhGUafRS6/J6pSTxcWIL3HZqzAQMz9D1kGSGlXsS/s= # =xMfK # -END PGP SIGNATURE- # gpg: Signature made Mon 15 Apr 2024 15:54:06 BST # gpg:using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) " [full] # Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE * tag 'hw-misc-20240415' of https://github.com/philmd/qemu: hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/0c2a3807483b...0b96f75b71ef To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] f33274: hw/isa/vt82c686: Keep track of PIRQ/PINT pins sepa...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: f33274265a242df5d9fdb00915fe72fbb1b2a3c4 https://github.com/qemu/qemu/commit/f33274265a242df5d9fdb00915fe72fbb1b2a3c4 Author: BALATON Zoltan Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hw/isa/vt82c686.c Log Message: --- hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately Move calculation of mask after the switch which sets the function number for PIRQ/PINT pins to make sure the state of these pins are kept track of separately and IRQ is raised if any of them is active. Cc: qemu-sta...@nongnu.org Fixes: 7e01bd80c1 hw/isa/vt82c686: Bring back via_isa_set_irq() Signed-off-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240410222543.0ea534e6...@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé Commit: 6e4aceba2079e3df42edc89d44f4ee02343bb09e https://github.com/qemu/qemu/commit/6e4aceba2079e3df42edc89d44f4ee02343bb09e Author: BALATON Zoltan Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hw/pci-host/ppc440_pcix.c Log Message: --- hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus Real 460EX SoC apparently does not expose a bridge device and having it appear on PCI bus confuses an AmigaOS file system driver that uses this to detect which machine it is running on. Cc: qemu-sta...@nongnu.org Signed-off-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240411192443.b4d644e6...@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé Commit: 0b96f75b71ef0a36f3e254545435a6cbcf4c8228 https://github.com/qemu/qemu/commit/0b96f75b71ef0a36f3e254545435a6cbcf4c8228 Author: Peter Maydell Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hw/isa/vt82c686.c M hw/pci-host/ppc440_pcix.c Log Message: --- Merge tag 'hw-misc-20240415' of https://github.com/philmd/qemu into staging Misc HW patch queue Fixes for hardware used by machines running AmigaOS. # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmYdP44ACgkQ4+MsLN6t # wN5nZw//enjS8WL5jRk77FogdJW8Xa4JIsfrsDgZrZJ+Pzj378ssq6oIJgELAgFg # 6h8CCP9hbS1TML984w907Psl0KP1dG/ar1Egu1yMaJT4c6HULwZeyKdzYpWm2E1R # e4CCip+Zh33wy8TGivyodSSCN0oQgOLv2h1IqFArZ4n3TKMirhTyK+otzXXbXmyw # U9ZlYVUxS3zljcFz6ZVoYISc9cNqbZe1GI6R6KvXqX/frvZI1KF/GLZovJiKR25H # IbF+wfCbD/4sTPX5AR/gY5XfKd3zthFtZlbBViRawmTs6BPlcV9p2BXa4V3eXMBP # +WXTNz+vRtGBUunEMSBlFWdz4ka4Q65MU+q7DLPdaCIOFOn9w3VDINotpL8oV8Nm # e4IsM2Du5sUf0QSRopPFsorFY70kW5mH+WkF1MTXfTqZTZy/I2meTD5s1OkZLJA5 # g9+o17bn25jtZvJnEmAilVdopBSBclmniAsR9A1sCGooyVjn3Byo5ylcLTNIQ+de # nScnyR0cvKqBjKkmMOLbDHo/sszH7jAYqedv7Aoh2dS8/uk3KuHtgi6GeLhSYF5Y # ZTCYbFnpuohQ8ueOL9oa3abYUCzQBu+UivgWdSVhgA7W97zihqIj2oWmorIwBpc9 # uuaZBOpTyzhGUafRS6/J6pSTxcWIL3HZqzAQMz9D1kGSGlXsS/s= # =xMfK # -END PGP SIGNATURE- # gpg: Signature made Mon 15 Apr 2024 15:54:06 BST # gpg:using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) " [full] # Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE * tag 'hw-misc-20240415' of https://github.com/philmd/qemu: hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/0c2a3807483b...0b96f75b71ef To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 2ce6cf: virtio-pci: fix use of a released vector
ichael S. Tsirkin Tested-by: Cindy Lu Commit: 0c2a3807483b4ebe360cfa475dbfc9dfd2f6d16d https://github.com/qemu/qemu/commit/0c2a3807483b4ebe360cfa475dbfc9dfd2f6d16d Author: Peter Maydell Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hw/virtio/virtio-pci.c Log Message: --- Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging virtio: bugfix A last minute fix for a use of a vector after it's released. Signed-off-by: Michael S. Tsirkin # -BEGIN PGP SIGNATURE- # # iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAmYdBssPHG1zdEByZWRo # YXQuY29tAAoJECgfDbjSjVRpTHcH/Rtl2jNJ5myZOuEylw+T6/GSvyEne6CoreHK # zUNPxmXY+uJzCskXkJXyd4uIaci5iIH1JC9Tc0FzFYaYrTsoA1dlQridqoajKyN5 # E6zjKqepi3sLnvDE1VbZ1kVcNEX2xSAFX++iv4Rbn4HHO49yKR0jNajusTOsq505 # NObgNQXK/Yj1q0IXYrWDETV7xywpQqiiAzwnmhi6ac72+trqmPrUXnUulhitWR3K # iZBuGxAHn9c/ilW3J4FeSbqe6sC/AhqUz3RSM6dB+rkpvA0E675T526uVMWxND2H # auE+ou0kzZ8HNit3AHBg8316seHXzWP+ndVEZlifX33HoR1pltY= # =H3M5 # -END PGP SIGNATURE- # gpg: Signature made Mon 15 Apr 2024 11:51:55 BST # gpg:using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469 # gpg:issuer "m...@redhat.com" # gpg: Good signature from "Michael S. Tsirkin " [full] # gpg: aka "Michael S. Tsirkin " [full] # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17 0970 C350 3912 AFBE 8E67 # Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA 8A0D 281F 0DB8 D28D 5469 * tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu: virtio-pci: fix use of a released vector Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/824ebb92c399...0c2a3807483b To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 2ce6cf: virtio-pci: fix use of a released vector
ichael S. Tsirkin Tested-by: Cindy Lu Commit: 0c2a3807483b4ebe360cfa475dbfc9dfd2f6d16d https://github.com/qemu/qemu/commit/0c2a3807483b4ebe360cfa475dbfc9dfd2f6d16d Author: Peter Maydell Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hw/virtio/virtio-pci.c Log Message: --- Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging virtio: bugfix A last minute fix for a use of a vector after it's released. Signed-off-by: Michael S. Tsirkin # -BEGIN PGP SIGNATURE- # # iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAmYdBssPHG1zdEByZWRo # YXQuY29tAAoJECgfDbjSjVRpTHcH/Rtl2jNJ5myZOuEylw+T6/GSvyEne6CoreHK # zUNPxmXY+uJzCskXkJXyd4uIaci5iIH1JC9Tc0FzFYaYrTsoA1dlQridqoajKyN5 # E6zjKqepi3sLnvDE1VbZ1kVcNEX2xSAFX++iv4Rbn4HHO49yKR0jNajusTOsq505 # NObgNQXK/Yj1q0IXYrWDETV7xywpQqiiAzwnmhi6ac72+trqmPrUXnUulhitWR3K # iZBuGxAHn9c/ilW3J4FeSbqe6sC/AhqUz3RSM6dB+rkpvA0E675T526uVMWxND2H # auE+ou0kzZ8HNit3AHBg8316seHXzWP+ndVEZlifX33HoR1pltY= # =H3M5 # -END PGP SIGNATURE- # gpg: Signature made Mon 15 Apr 2024 11:51:55 BST # gpg:using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469 # gpg:issuer "m...@redhat.com" # gpg: Good signature from "Michael S. Tsirkin " [full] # gpg: aka "Michael S. Tsirkin " [full] # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17 0970 C350 3912 AFBE 8E67 # Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA 8A0D 281F 0DB8 D28D 5469 * tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu: virtio-pci: fix use of a released vector Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/824ebb92c399...0c2a3807483b To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 2786a3: target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT a...
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 2786a3f8d3a047cc21271380324c0b7d8217f238 https://github.com/qemu/qemu/commit/2786a3f8d3a047cc21271380324c0b7d8217f238 Author: Richard Henderson Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M target/sparc/helper.h M target/sparc/ldst_helper.c M target/sparc/translate.c Log Message: --- target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT Reads are done with execute access. It is not clear whether writes are legal at all -- for now, leave helper_st_asi unchanged, so that we continue to raise an mmu fault. This generalizes the exiting code for ASI_KERNELTXT to be usable for ASI_USERTXT as well, by passing down the MemOpIdx to use. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2281 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2059 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1609 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1166 Signed-off-by: Richard Henderson Acked-by: Mark Cave-Ayland Tested-by: M Bazz Commit: 824ebb92c39920a65b34a93d1bd462baf0d2d174 https://github.com/qemu/qemu/commit/824ebb92c39920a65b34a93d1bd462baf0d2d174 Author: Peter Maydell Date: 2024-04-13 (Sat, 13 Apr 2024) Changed paths: M target/sparc/helper.h M target/sparc/ldst_helper.c M target/sparc/translate.c Log Message: --- Merge tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu into staging target/sparc: Fix ASI_USERTXT for Solaris gdb crashes # -BEGIN PGP SIGNATURE- # # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmYZt4kdHHJpY2hhcmQu # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9B4Qf/eWD0DszuAJIVUBAc # kfF+Ii+6MSbJG2kGEhbE8FeuiDJfqog+JLUf0UU0wUOy0OxwUraL6xxTszCYbwd8 # GsIF5C0lXXi4hfsnkX86uD0C6mnvmh2v0Ol3S/SDvTmPT/w+LrrvIr0JLwWK9K/E # oC4O8FuECxyc/DWcONelz5Mqzs0TgFG2aBXugmyKRdj7k5zlAoc7V6qQko/gh+Gq # bd9N/a7TWNzZaedvvoDMaa4dA/5DZ+PCu7MnXdKyrmj/wFK7GGDdsw51LWY3MeUY # rwv6ESFjHFC3jdRtuLOuiCvVdP/jVeimF537iGYs2AblvrUn9uhSi5vspUUrirQ3 # +f5K6w== # =fsfq # -END PGP SIGNATURE- # gpg: Signature made Fri 12 Apr 2024 23:36:57 BST # gpg:using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F # gpg:issuer "richard.hender...@linaro.org" # gpg: Good signature from "Richard Henderson " [full] # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F * tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu: target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/be72d6ab361a...824ebb92c399 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 2786a3: target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT a...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 2786a3f8d3a047cc21271380324c0b7d8217f238 https://github.com/qemu/qemu/commit/2786a3f8d3a047cc21271380324c0b7d8217f238 Author: Richard Henderson Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M target/sparc/helper.h M target/sparc/ldst_helper.c M target/sparc/translate.c Log Message: --- target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT Reads are done with execute access. It is not clear whether writes are legal at all -- for now, leave helper_st_asi unchanged, so that we continue to raise an mmu fault. This generalizes the exiting code for ASI_KERNELTXT to be usable for ASI_USERTXT as well, by passing down the MemOpIdx to use. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2281 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2059 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1609 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1166 Signed-off-by: Richard Henderson Acked-by: Mark Cave-Ayland Tested-by: M Bazz Commit: 824ebb92c39920a65b34a93d1bd462baf0d2d174 https://github.com/qemu/qemu/commit/824ebb92c39920a65b34a93d1bd462baf0d2d174 Author: Peter Maydell Date: 2024-04-13 (Sat, 13 Apr 2024) Changed paths: M target/sparc/helper.h M target/sparc/ldst_helper.c M target/sparc/translate.c Log Message: --- Merge tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu into staging target/sparc: Fix ASI_USERTXT for Solaris gdb crashes # -BEGIN PGP SIGNATURE- # # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmYZt4kdHHJpY2hhcmQu # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9B4Qf/eWD0DszuAJIVUBAc # kfF+Ii+6MSbJG2kGEhbE8FeuiDJfqog+JLUf0UU0wUOy0OxwUraL6xxTszCYbwd8 # GsIF5C0lXXi4hfsnkX86uD0C6mnvmh2v0Ol3S/SDvTmPT/w+LrrvIr0JLwWK9K/E # oC4O8FuECxyc/DWcONelz5Mqzs0TgFG2aBXugmyKRdj7k5zlAoc7V6qQko/gh+Gq # bd9N/a7TWNzZaedvvoDMaa4dA/5DZ+PCu7MnXdKyrmj/wFK7GGDdsw51LWY3MeUY # rwv6ESFjHFC3jdRtuLOuiCvVdP/jVeimF537iGYs2AblvrUn9uhSi5vspUUrirQ3 # +f5K6w== # =fsfq # -END PGP SIGNATURE- # gpg: Signature made Fri 12 Apr 2024 23:36:57 BST # gpg:using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F # gpg:issuer "richard.hender...@linaro.org" # gpg: Good signature from "Richard Henderson " [full] # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F * tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu: target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/be72d6ab361a...824ebb92c399 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] f9a7c4: Makefile: fix use of -j without an argument
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: f9a7c4478c0dd64dc5eb00b6e8247c7d44d78540 https://github.com/qemu/qemu/commit/f9a7c4478c0dd64dc5eb00b6e8247c7d44d78540 Author: Matheus Tavares Bernardino Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M Makefile Log Message: --- Makefile: fix use of -j without an argument Our Makefile massages the given make arguments to invoke ninja accordingly. One key difference is that ninja will parallelize by default, whereas make only does so with -j or -j. The make man page says that "if the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously". We use to support that by replacing -j with "" (empty string) when calling ninja, so that it would do its auto-parallelization based on the number of CPU cores. This was accidentally broken at d1ce2cc95b (Makefile: preserve --jobserver-auth argument when calling ninja, 2024-04-02), causing `make -j` to fail: $ make -j V=1 /usr/bin/ninja -v -j -d keepdepfile all | cat make -C contrib/plugins/ V="1" TARGET_DIR="contrib/plugins/" all ninja: fatal: invalid -j parameter make: *** [Makefile:161: run-ninja] Error Let's fix that and indent the touched code for better readability. Signed-off-by: Matheus Tavares Bernardino Fixes: d1ce2cc95b ("Makefile: preserve --jobserver-auth argument when calling ninja", 2024-04-02) Signed-off-by: Paolo Bonzini Commit: 2d6d995709482cc8b6a76dbb5334a28001a14a9a https://github.com/qemu/qemu/commit/2d6d995709482cc8b6a76dbb5334a28001a14a9a Author: Thomas Huth Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M meson.build Log Message: --- meson.build: Disable -fzero-call-used-regs on OpenBSD QEMU currently does not work on OpenBSD since the -fzero-call-used-regs option that we added to meson.build recently does not work with the "retguard" extension from OpenBSD's Clang. Thus let's disable the -fzero-call-used-regs here until there's a better solution available. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2278 Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240411120819.56417-1-th...@redhat.com> Signed-off-by: Paolo Bonzini Commit: be72d6ab361a26878752467a17289066dfd5bc28 https://github.com/qemu/qemu/commit/be72d6ab361a26878752467a17289066dfd5bc28 Author: Peter Maydell Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M Makefile M meson.build Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging build system fixes # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmYZBrwUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroP10gf/ZquctdiXm4btOCn1de6C6YCSjUJW # wThq5Xh4/4KAWuZvMPP5OTBn5IuV0LjE+qV6EmWXJwGQfPL2cbse78d+lEizbj8n # ddUzvgKp1Wglaknp0MamRPL1qsZP7oBVYqiB6X/O9upV4hTTPKr/5WbIwmrofpYA # nVHH5AvMy5/HqDSMwgqPVGCyIiR3KWdLzzvQsL38b5sKYq/64QaStIJ2hpCYUyju # ez5WOCd53ene4KCtDCshM2DaSbEiog7kx+dsxGUkrulattapDagm+dIBjftDAycb # RZgdn7CSdtsOIJ/ixCvqHDhBnxP3t4uzBby07dz0n+Thr6WpFqgR866efg== # =PwPo # -END PGP SIGNATURE- # gpg: Signature made Fri 12 Apr 2024 11:02:36 BST # gpg:using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg:issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini " [full] # gpg: aka "Paolo Bonzini " [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: meson.build: Disable -fzero-call-used-regs on OpenBSD Makefile: fix use of -j without an argument Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/02e16ab9f4f1...be72d6ab361a To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] f9a7c4: Makefile: fix use of -j without an argument
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: f9a7c4478c0dd64dc5eb00b6e8247c7d44d78540 https://github.com/qemu/qemu/commit/f9a7c4478c0dd64dc5eb00b6e8247c7d44d78540 Author: Matheus Tavares Bernardino Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M Makefile Log Message: --- Makefile: fix use of -j without an argument Our Makefile massages the given make arguments to invoke ninja accordingly. One key difference is that ninja will parallelize by default, whereas make only does so with -j or -j. The make man page says that "if the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously". We use to support that by replacing -j with "" (empty string) when calling ninja, so that it would do its auto-parallelization based on the number of CPU cores. This was accidentally broken at d1ce2cc95b (Makefile: preserve --jobserver-auth argument when calling ninja, 2024-04-02), causing `make -j` to fail: $ make -j V=1 /usr/bin/ninja -v -j -d keepdepfile all | cat make -C contrib/plugins/ V="1" TARGET_DIR="contrib/plugins/" all ninja: fatal: invalid -j parameter make: *** [Makefile:161: run-ninja] Error Let's fix that and indent the touched code for better readability. Signed-off-by: Matheus Tavares Bernardino Fixes: d1ce2cc95b ("Makefile: preserve --jobserver-auth argument when calling ninja", 2024-04-02) Signed-off-by: Paolo Bonzini Commit: 2d6d995709482cc8b6a76dbb5334a28001a14a9a https://github.com/qemu/qemu/commit/2d6d995709482cc8b6a76dbb5334a28001a14a9a Author: Thomas Huth Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M meson.build Log Message: --- meson.build: Disable -fzero-call-used-regs on OpenBSD QEMU currently does not work on OpenBSD since the -fzero-call-used-regs option that we added to meson.build recently does not work with the "retguard" extension from OpenBSD's Clang. Thus let's disable the -fzero-call-used-regs here until there's a better solution available. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2278 Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240411120819.56417-1-th...@redhat.com> Signed-off-by: Paolo Bonzini Commit: be72d6ab361a26878752467a17289066dfd5bc28 https://github.com/qemu/qemu/commit/be72d6ab361a26878752467a17289066dfd5bc28 Author: Peter Maydell Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M Makefile M meson.build Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging build system fixes # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmYZBrwUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroP10gf/ZquctdiXm4btOCn1de6C6YCSjUJW # wThq5Xh4/4KAWuZvMPP5OTBn5IuV0LjE+qV6EmWXJwGQfPL2cbse78d+lEizbj8n # ddUzvgKp1Wglaknp0MamRPL1qsZP7oBVYqiB6X/O9upV4hTTPKr/5WbIwmrofpYA # nVHH5AvMy5/HqDSMwgqPVGCyIiR3KWdLzzvQsL38b5sKYq/64QaStIJ2hpCYUyju # ez5WOCd53ene4KCtDCshM2DaSbEiog7kx+dsxGUkrulattapDagm+dIBjftDAycb # RZgdn7CSdtsOIJ/ixCvqHDhBnxP3t4uzBby07dz0n+Thr6WpFqgR866efg== # =PwPo # -END PGP SIGNATURE- # gpg: Signature made Fri 12 Apr 2024 11:02:36 BST # gpg:using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg:issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini " [full] # gpg: aka "Paolo Bonzini " [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: meson.build: Disable -fzero-call-used-regs on OpenBSD Makefile: fix use of -j without an argument Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/8619aed0a222...be72d6ab361a To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 8619ae: Update version for v9.0.0-rc3 release
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 8619aed0a222f771891e1c5b2493658abdb3a965 https://github.com/qemu/qemu/commit/8619aed0a222f771891e1c5b2493658abdb3a965 Author: Peter Maydell Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc3 release Signed-off-by: Peter Maydell To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 273ea7: Update version for v9.0.0-rc3 release
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 273ea75a60ddb25c6b0d913b4e0320450c0eb22b https://github.com/qemu/qemu/commit/273ea75a60ddb25c6b0d913b4e0320450c0eb22b Author: Peter Maydell Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc3 release Signed-off-by: Peter Maydell To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 02e16a: Update version for v9.0.0-rc3 release
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 02e16ab9f4f19c4bdd17c51952d70e2ded74c6bf https://github.com/qemu/qemu/commit/02e16ab9f4f19c4bdd17c51952d70e2ded74c6bf Author: Peter Maydell Date: 2024-04-10 (Wed, 10 Apr 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc3 release Signed-off-by: Peter Maydell To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] ec0504: hw/virtio: Introduce virtio_bh_new_guarded() helper
tosa \ -monitor none -serial none \ -display none -qtest stdio write 0x1111 0x1 0xca write 0x1104 0x1 0x47 write 0x1000ca04 0x1 0xd7 write 0x1000ca01 0x1 0xe0 write 0x1000ca04 0x1 0x71 write 0x1000ca00 0x1 0x50 write 0x1000ca04 0x1 0xd7 read 0x1000ca02 0x1 write 0x1000ca01 0x1 0x10 EOF = ==15750==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61f00de0 at pc 0x560e61557210 bp 0x7ffcfc4a59f0 sp 0x7ffcfc4a59e8 READ of size 1 at 0x61f00de0 thread T0 #0 0x560e6155720f in mem_and hw/block/nand.c:101:20 #1 0x560e6155ac9c in nand_blk_write_512 hw/block/nand.c:663:9 #2 0x560e61544200 in nand_command hw/block/nand.c:293:13 #3 0x560e6153cc83 in nand_setio hw/block/nand.c:520:13 #4 0x560e61a0a69e in tc6393xb_nand_writeb hw/display/tc6393xb.c:380:13 #5 0x560e619f9bf7 in tc6393xb_writeb hw/display/tc6393xb.c:524:9 #6 0x560e647c7d03 in memory_region_write_accessor softmmu/memory.c:492:5 #7 0x560e647c7641 in access_with_adjusted_size softmmu/memory.c:554:18 #8 0x560e647c5f66 in memory_region_dispatch_write softmmu/memory.c:1514:16 #9 0x560e6485409e in flatview_write_continue softmmu/physmem.c:2825:23 #10 0x560e648421eb in flatview_write softmmu/physmem.c:2867:12 #11 0x560e64841ca8 in address_space_write softmmu/physmem.c:2963:18 #12 0x560e61170162 in qemu_writeb tests/qtest/videzzo/videzzo_qemu.c:1080:5 #13 0x560e6116eef7 in dispatch_mmio_write tests/qtest/videzzo/videzzo_qemu.c:1227:28 0x61f00de0 is located 0 bytes to the right of 3424-byte region [0x61f00080,0x61f00de0) allocated by thread T0 here: #0 0x560e611276cf in malloc /root/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3 #1 0x7f7959a87e98 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x57e98) #2 0x560e64b98871 in object_new qom/object.c:749:12 #3 0x560e64b5d1a1 in qdev_new hw/core/qdev.c:153:19 #4 0x560e61547ea5 in nand_init hw/block/nand.c:639:11 #5 0x560e619f8772 in tc6393xb_init hw/display/tc6393xb.c:558:16 #6 0x560e6390bad2 in tosa_init hw/arm/tosa.c:250:12 SUMMARY: AddressSanitizer: heap-buffer-overflow hw/block/nand.c:101:20 in mem_and ==15750==ABORTING Broken since introduction in commit 3e3d5815cb ("NAND Flash memory emulation and ECC calculation helpers for use by NAND controllers"). Cc: qemu-sta...@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1445 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1446 Reported-by: Qiang Liu Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240409135944.24997-4-phi...@linaro.org> Commit: 5c338216f57a433d897f30b258063ea75319b597 https://github.com/qemu/qemu/commit/5c338216f57a433d897f30b258063ea75319b597 Author: Philippe Mathieu-Daudé Date: 2024-04-10 (Wed, 10 Apr 2024) Changed paths: M hw/misc/applesmc.c Log Message: --- hw/misc/applesmc: Do not call DeviceReset from DeviceRealize QDev core layer always call DeviceReset() after DeviceRealize(), no need to do it manually. Remove the extra call. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20240408095217.57239-2-phi...@linaro.org> Commit: fc09ff2979defdcf8d00c2db94022d5d610e36ba https://github.com/qemu/qemu/commit/fc09ff2979defdcf8d00c2db94022d5d610e36ba Author: Philippe Mathieu-Daudé Date: 2024-04-10 (Wed, 10 Apr 2024) Changed paths: M hw/misc/applesmc.c Log Message: --- hw/misc/applesmc: Fix memory leak in reset() handler AppleSMCData is allocated with g_new0() in applesmc_add_key(): release it with g_free(). Leaked since commit 1ddda5cd36 ("AppleSMC device emulation"). Cc: qemu-sta...@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2272 Reported-by: Zheyu Ma Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20240408095217.57239-3-phi...@linaro.org> Commit: eaf2bd29538d039df80bb4b1584de33a61312bc6 https://github.com/qemu/qemu/commit/eaf2bd29538d039df80bb4b1584de33a61312bc6 Author: Philippe Mathieu-Daudé Date: 2024-04-10 (Wed, 10 Apr 2024) Changed paths: M backends/cryptodev-builtin.c Log Message: --- backends/cryptodev: Do not abort for invalid session ID Instead of aborting when a session ID is invalid, return VIRTIO_CRYPTO_INVSESS ("Invalid session id"). Reproduced using: $ cat << EOF | qemu-system-i386 -display none \ -machine q35,accel=qtest -m 512M -nodefaults \ -object cryptodev-backend-builtin,id=cryptodev0 \ -device virtio-crypto-pci,id=crypto0,cryptodev=cryptodev0 \ -qtest stdio outl 0xcf8 0x8804 outw 0xcfc 0x06 outl 0xcf8 0x8820 outl 0xcfc 0xe0008000 write 0x10800e 0x1 0x01 write 0xe0008016 0x1
[Qemu-commits] [qemu/qemu] ec0504: hw/virtio: Introduce virtio_bh_new_guarded() helper
tosa \ -monitor none -serial none \ -display none -qtest stdio write 0x1111 0x1 0xca write 0x1104 0x1 0x47 write 0x1000ca04 0x1 0xd7 write 0x1000ca01 0x1 0xe0 write 0x1000ca04 0x1 0x71 write 0x1000ca00 0x1 0x50 write 0x1000ca04 0x1 0xd7 read 0x1000ca02 0x1 write 0x1000ca01 0x1 0x10 EOF = ==15750==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61f00de0 at pc 0x560e61557210 bp 0x7ffcfc4a59f0 sp 0x7ffcfc4a59e8 READ of size 1 at 0x61f00de0 thread T0 #0 0x560e6155720f in mem_and hw/block/nand.c:101:20 #1 0x560e6155ac9c in nand_blk_write_512 hw/block/nand.c:663:9 #2 0x560e61544200 in nand_command hw/block/nand.c:293:13 #3 0x560e6153cc83 in nand_setio hw/block/nand.c:520:13 #4 0x560e61a0a69e in tc6393xb_nand_writeb hw/display/tc6393xb.c:380:13 #5 0x560e619f9bf7 in tc6393xb_writeb hw/display/tc6393xb.c:524:9 #6 0x560e647c7d03 in memory_region_write_accessor softmmu/memory.c:492:5 #7 0x560e647c7641 in access_with_adjusted_size softmmu/memory.c:554:18 #8 0x560e647c5f66 in memory_region_dispatch_write softmmu/memory.c:1514:16 #9 0x560e6485409e in flatview_write_continue softmmu/physmem.c:2825:23 #10 0x560e648421eb in flatview_write softmmu/physmem.c:2867:12 #11 0x560e64841ca8 in address_space_write softmmu/physmem.c:2963:18 #12 0x560e61170162 in qemu_writeb tests/qtest/videzzo/videzzo_qemu.c:1080:5 #13 0x560e6116eef7 in dispatch_mmio_write tests/qtest/videzzo/videzzo_qemu.c:1227:28 0x61f00de0 is located 0 bytes to the right of 3424-byte region [0x61f00080,0x61f00de0) allocated by thread T0 here: #0 0x560e611276cf in malloc /root/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3 #1 0x7f7959a87e98 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x57e98) #2 0x560e64b98871 in object_new qom/object.c:749:12 #3 0x560e64b5d1a1 in qdev_new hw/core/qdev.c:153:19 #4 0x560e61547ea5 in nand_init hw/block/nand.c:639:11 #5 0x560e619f8772 in tc6393xb_init hw/display/tc6393xb.c:558:16 #6 0x560e6390bad2 in tosa_init hw/arm/tosa.c:250:12 SUMMARY: AddressSanitizer: heap-buffer-overflow hw/block/nand.c:101:20 in mem_and ==15750==ABORTING Broken since introduction in commit 3e3d5815cb ("NAND Flash memory emulation and ECC calculation helpers for use by NAND controllers"). Cc: qemu-sta...@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1445 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1446 Reported-by: Qiang Liu Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240409135944.24997-4-phi...@linaro.org> Commit: 5c338216f57a433d897f30b258063ea75319b597 https://github.com/qemu/qemu/commit/5c338216f57a433d897f30b258063ea75319b597 Author: Philippe Mathieu-Daudé Date: 2024-04-10 (Wed, 10 Apr 2024) Changed paths: M hw/misc/applesmc.c Log Message: --- hw/misc/applesmc: Do not call DeviceReset from DeviceRealize QDev core layer always call DeviceReset() after DeviceRealize(), no need to do it manually. Remove the extra call. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20240408095217.57239-2-phi...@linaro.org> Commit: fc09ff2979defdcf8d00c2db94022d5d610e36ba https://github.com/qemu/qemu/commit/fc09ff2979defdcf8d00c2db94022d5d610e36ba Author: Philippe Mathieu-Daudé Date: 2024-04-10 (Wed, 10 Apr 2024) Changed paths: M hw/misc/applesmc.c Log Message: --- hw/misc/applesmc: Fix memory leak in reset() handler AppleSMCData is allocated with g_new0() in applesmc_add_key(): release it with g_free(). Leaked since commit 1ddda5cd36 ("AppleSMC device emulation"). Cc: qemu-sta...@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2272 Reported-by: Zheyu Ma Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20240408095217.57239-3-phi...@linaro.org> Commit: eaf2bd29538d039df80bb4b1584de33a61312bc6 https://github.com/qemu/qemu/commit/eaf2bd29538d039df80bb4b1584de33a61312bc6 Author: Philippe Mathieu-Daudé Date: 2024-04-10 (Wed, 10 Apr 2024) Changed paths: M backends/cryptodev-builtin.c Log Message: --- backends/cryptodev: Do not abort for invalid session ID Instead of aborting when a session ID is invalid, return VIRTIO_CRYPTO_INVSESS ("Invalid session id"). Reproduced using: $ cat << EOF | qemu-system-i386 -display none \ -machine q35,accel=qtest -m 512M -nodefaults \ -object cryptodev-backend-builtin,id=cryptodev0 \ -device virtio-crypto-pci,id=crypto0,cryptodev=cryptodev0 \ -qtest stdio outl 0xcf8 0x8804 outw 0xcfc 0x06 outl 0xcf8 0x8820 outl 0xcfc 0xe0008000 write 0x10800e 0x1 0x01 write 0xe0008016 0x1
[Qemu-commits] [qemu/qemu] e25fe8: tcg/optimize: Do not attempt to constant fold neg_vec
target/i386: Preserve DisasContextBase.insn_start across rewind When aborting translation of the current insn, restore the previous value of insn_start. Acked-by: Paolo Bonzini Tested-by: Jørgen Hansen Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: e2313450274659a08d9791435766dc43ab388aa9 https://github.com/qemu/qemu/commit/e2313450274659a08d9791435766dc43ab388aa9 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M target/microblaze/translate.c Log Message: --- target/microblaze: Use insn_start from DisasContextBase Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 401aa608d8d1ee7a4bbf88cae1a16854103324e6 https://github.com/qemu/qemu/commit/401aa608d8d1ee7a4bbf88cae1a16854103324e6 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M target/riscv/translate.c Log Message: --- target/riscv: Use insn_start from DisasContextBase To keep the multiple update check, replace insn_start with insn_start_updated. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: b338970f8cdcba114dad467e085f3ff13dfa9a43 https://github.com/qemu/qemu/commit/b338970f8cdcba114dad467e085f3ff13dfa9a43 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M target/s390x/tcg/translate.c Log Message: --- target/s390x: Use insn_start from DisasContextBase Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: dcd092a0636ec36e69e42a3dbbe447d97cb0d113 https://github.com/qemu/qemu/commit/dcd092a0636ec36e69e42a3dbbe447d97cb0d113 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h Log Message: --- accel/tcg: Improve can_do_io management We already attempted to set and clear can_do_io before the first and last insns, but only used the initial value of max_insns and the call to translator_io_start to find those insns. Now that we track insn_start in DisasContextBase, and now that we have emit_before_op, we can wait until we have finished translation to identify the true first and last insns and emit the sets of can_do_io at that time. This fixes the case of a translation block which crossed a page boundary, and for which the second page turned out to be mmio. In this case we truncate the block, and the previous logic for can_do_io could leave a block with a single insn with can_do_io set to false, which would fail an assertion in cpu_io_recompile. Reported-by: Jørgen Hansen Reviewed-by: Philippe Mathieu-Daudé Tested-by: Jørgen Hansen Signed-off-by: Richard Henderson Commit: 143bcc1d59f174b6c6743bd4ca8f99415ed1aba2 https://github.com/qemu/qemu/commit/143bcc1d59f174b6c6743bd4ca8f99415ed1aba2 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M linux-user/signal.c Log Message: --- linux-user: Preserve unswapped siginfo_t for strace Passing the tswapped structure to strace means that our internal si_type is also gone, which then aborts in print_siginfo. Fixes: 4d6d8a05a0a ("linux-user: Move tswap_siginfo out of target code") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: fee571c7afced9bf4b01b864ea6e85f00fb50e30 https://github.com/qemu/qemu/commit/fee571c7afced9bf4b01b864ea6e85f00fb50e30 Author: Peter Maydell Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h M include/tcg/tcg.h M linux-user/main.c M linux-user/signal.c M linux-user/syscall.c M target/arm/tcg/translate-a64.c M target/arm/tcg/translate.c M target/arm/tcg/translate.h M target/hppa/int_helper.c M target/hppa/sys_helper.c M target/hppa/translate.c M target/i386/tcg/translate.c M target/m68k/cpu.c M target/m68k/cpu.h M target/m68k/fpu_helper.c M target/m68k/helper.c M target/m68k/helper.h M target/m68k/translate.c M target/microblaze/translate.c M target/riscv/translate.c M target/s390x/tcg/translate.c M target/sh4/cpu.h M target/sh4/helper.h M target/sh4/op_helper.c M target/sh4/translate.c M tcg/optimize.c M tcg/tcg.c M tests/tcg/aarch64/Makefile.target A tests/tcg/aarch64/test-2150.c M tests/tcg/sh4/Makefile.target A tests/tcg/sh4/test-macl.c A tests/tcg/sh4/test-macw.c Log Message: --- Merge tag 'pull-misc-20240409' of https://gitlab.com/rth7680/qemu into staging target/m68k: Fix fp accrued exception reporting target/hppa: Fix IIAOQ, IIASQ for pa2.0 target/sh4: Fixes to mac.l and mac.w saturation target/sh4: Fixes to illegal delay slot reporting linux-user: Fix waitid return of siginfo_t and rusage linux-user: Preserve unswapped
[Qemu-commits] [qemu/qemu] e25fe8: tcg/optimize: Do not attempt to constant fold neg_vec
target/i386: Preserve DisasContextBase.insn_start across rewind When aborting translation of the current insn, restore the previous value of insn_start. Acked-by: Paolo Bonzini Tested-by: Jørgen Hansen Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: e2313450274659a08d9791435766dc43ab388aa9 https://github.com/qemu/qemu/commit/e2313450274659a08d9791435766dc43ab388aa9 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M target/microblaze/translate.c Log Message: --- target/microblaze: Use insn_start from DisasContextBase Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 401aa608d8d1ee7a4bbf88cae1a16854103324e6 https://github.com/qemu/qemu/commit/401aa608d8d1ee7a4bbf88cae1a16854103324e6 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M target/riscv/translate.c Log Message: --- target/riscv: Use insn_start from DisasContextBase To keep the multiple update check, replace insn_start with insn_start_updated. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: b338970f8cdcba114dad467e085f3ff13dfa9a43 https://github.com/qemu/qemu/commit/b338970f8cdcba114dad467e085f3ff13dfa9a43 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M target/s390x/tcg/translate.c Log Message: --- target/s390x: Use insn_start from DisasContextBase Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: dcd092a0636ec36e69e42a3dbbe447d97cb0d113 https://github.com/qemu/qemu/commit/dcd092a0636ec36e69e42a3dbbe447d97cb0d113 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h Log Message: --- accel/tcg: Improve can_do_io management We already attempted to set and clear can_do_io before the first and last insns, but only used the initial value of max_insns and the call to translator_io_start to find those insns. Now that we track insn_start in DisasContextBase, and now that we have emit_before_op, we can wait until we have finished translation to identify the true first and last insns and emit the sets of can_do_io at that time. This fixes the case of a translation block which crossed a page boundary, and for which the second page turned out to be mmio. In this case we truncate the block, and the previous logic for can_do_io could leave a block with a single insn with can_do_io set to false, which would fail an assertion in cpu_io_recompile. Reported-by: Jørgen Hansen Reviewed-by: Philippe Mathieu-Daudé Tested-by: Jørgen Hansen Signed-off-by: Richard Henderson Commit: 143bcc1d59f174b6c6743bd4ca8f99415ed1aba2 https://github.com/qemu/qemu/commit/143bcc1d59f174b6c6743bd4ca8f99415ed1aba2 Author: Richard Henderson Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M linux-user/signal.c Log Message: --- linux-user: Preserve unswapped siginfo_t for strace Passing the tswapped structure to strace means that our internal si_type is also gone, which then aborts in print_siginfo. Fixes: 4d6d8a05a0a ("linux-user: Move tswap_siginfo out of target code") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: fee571c7afced9bf4b01b864ea6e85f00fb50e30 https://github.com/qemu/qemu/commit/fee571c7afced9bf4b01b864ea6e85f00fb50e30 Author: Peter Maydell Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h M include/tcg/tcg.h M linux-user/main.c M linux-user/signal.c M linux-user/syscall.c M target/arm/tcg/translate-a64.c M target/arm/tcg/translate.c M target/arm/tcg/translate.h M target/hppa/int_helper.c M target/hppa/sys_helper.c M target/hppa/translate.c M target/i386/tcg/translate.c M target/m68k/cpu.c M target/m68k/cpu.h M target/m68k/fpu_helper.c M target/m68k/helper.c M target/m68k/helper.h M target/m68k/translate.c M target/microblaze/translate.c M target/riscv/translate.c M target/s390x/tcg/translate.c M target/sh4/cpu.h M target/sh4/helper.h M target/sh4/op_helper.c M target/sh4/translate.c M tcg/optimize.c M tcg/tcg.c M tests/tcg/aarch64/Makefile.target A tests/tcg/aarch64/test-2150.c M tests/tcg/sh4/Makefile.target A tests/tcg/sh4/test-macl.c A tests/tcg/sh4/test-macw.c Log Message: --- Merge tag 'pull-misc-20240409' of https://gitlab.com/rth7680/qemu into staging target/m68k: Fix fp accrued exception reporting target/hppa: Fix IIAOQ, IIASQ for pa2.0 target/sh4: Fixes to mac.l and mac.w saturation target/sh4: Fixes to illegal delay slot reporting linux-user: Fix waitid return of siginfo_t and rusage linux-user: Preserve unswapped
[Qemu-commits] [qemu/qemu] 6539c7: edk2: get version + date from git submodule
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 6539c73dccfa8fff1f83d40f1c4477a233876071 https://github.com/qemu/qemu/commit/6539c73dccfa8fff1f83d40f1c4477a233876071 Author: Gerd Hoffmann Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M roms/Makefile Log Message: --- edk2: get version + date from git submodule Turned out hard-coding version and date in the Makefile wasn't a bright idea. Updating it on edk2 updates is easily forgotten. Fetch the info from git instead. Store in edk2-version, so this can be committed to the repo and is present in tarballs too. Reviewed-by: Peter Maydell Signed-off-by: Gerd Hoffmann Message-ID: <20240327102448.61877-2-kra...@redhat.com> Commit: 6494a08d1025c1ca5341af61e47d1e369c2877c8 https://github.com/qemu/qemu/commit/6494a08d1025c1ca5341af61e47d1e369c2877c8 Author: Gerd Hoffmann Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: A roms/edk2-version Log Message: --- edk2: commit version info Reviewed-by: Peter Maydell Signed-off-by: Gerd Hoffmann Message-ID: <20240327102448.61877-3-kra...@redhat.com> Commit: 2c4eb439dc62b896d76388c917ff15f619d2623d https://github.com/qemu/qemu/commit/2c4eb439dc62b896d76388c917ff15f619d2623d Author: Gerd Hoffmann Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M roms/Makefile Log Message: --- edk2/seabios: use common extra version Bring a bit more consistency into the naming. Reviewed-by: Peter Maydell Signed-off-by: Gerd Hoffmann Message-ID: <20240327102448.61877-4-kra...@redhat.com> Commit: e3404e01c7f74efdc3440ddfd339d67bf7a8410e https://github.com/qemu/qemu/commit/e3404e01c7f74efdc3440ddfd339d67bf7a8410e Author: Gerd Hoffmann Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M pc-bios/edk2-aarch64-code.fd.bz2 M pc-bios/edk2-arm-code.fd.bz2 M pc-bios/edk2-i386-code.fd.bz2 M pc-bios/edk2-i386-secure-code.fd.bz2 M pc-bios/edk2-riscv-code.fd.bz2 M pc-bios/edk2-x86_64-code.fd.bz2 M pc-bios/edk2-x86_64-microvm.fd.bz2 M pc-bios/edk2-x86_64-secure-code.fd.bz2 Log Message: --- edk2: rebuild binaries with correct version information Signed-off-by: Gerd Hoffmann Commit: 927284d65bce63ab1495d3febe7c7b5b6d563874 https://github.com/qemu/qemu/commit/927284d65bce63ab1495d3febe7c7b5b6d563874 Author: Peter Maydell Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M pc-bios/edk2-aarch64-code.fd.bz2 M pc-bios/edk2-arm-code.fd.bz2 M pc-bios/edk2-i386-code.fd.bz2 M pc-bios/edk2-i386-secure-code.fd.bz2 M pc-bios/edk2-riscv-code.fd.bz2 M pc-bios/edk2-x86_64-code.fd.bz2 M pc-bios/edk2-x86_64-microvm.fd.bz2 M pc-bios/edk2-x86_64-secure-code.fd.bz2 M roms/Makefile A roms/edk2-version Log Message: --- Merge tag 'edk2-20240409-pull-request' of https://gitlab.com/kraxel/qemu into staging edk2: fix version information, rebuild binaries. # -BEGIN PGP SIGNATURE- # # iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmYVbGAACgkQTLbY7tPo # cTiKIw/9G1GGakAfkq48BS7LDvO0u/qzFmt+EKaBtwbFEKEZ+aUp6RgdYENnARxO # qJpffW8nief9VchjRSnJ2Sy9lKR/rfckwc9HgXpXtRVzqyMYJkJmuVMiw3H5INC6 # QR+4IPIS3SckPPvBDMr92L0MQMYDNLnjnBF3KiZ0tNpRf5tstl4KN5QsatKk9gpB # /sspC9DzujE8uuDrcPb9bEAUm/jILvD9CmDN9TWSq9uk6yLw3Rgqh5lvs5zK//HY # cwzpEhn/OjLCfAx2RnXNDqBL2JbGLl65luVvMy+lkrB0PNP4YSREAuLdO4kwZGgx # LWFvMhNvAYuBSEZcoX7vurUzcoMc3G5Awh4ybv1Auwn5iOXKIkES15DxmGJVItXN # K09nFJiTI/Fr/zFHUqKGmM/PYggV5EjsKmTkJtKxn8u7GBTzbZOGQXCHK6pI3VpI # m61L4VOzQxIBlM4e6NLS32TOejXS4MIMlRnFixwQDgWMUzEQ7SogHVFhv3GNaXBs # DM6PRzdWUhpwMkRLzt+kO3hrJC4+SiZ1xMZQDoipIAtF3gKTz6/6vjtRtpMTmq9K # eI6YZXG7LfiHDInKJyQZIF1H+OFMdv+OIDe+tssmyjMRXxzsPIeb3dTnuGRbYiCo # Z/8UDig1EDPdu07Egr4ZM9S1GD0+r2OLFoJTH5G+zPvi+z0OCH8= # =rslQ # -END PGP SIGNATURE- # gpg: Signature made Tue 09 Apr 2024 17:27:12 BST # gpg:using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) " [full] # gpg: aka "Gerd Hoffmann " [full] # gpg: aka "Gerd Hoffmann (private) " [full] # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * tag 'edk2-20240409-pull-request' of https://gitlab.com/kraxel/qemu: edk2: rebuild binaries with correct version information edk2/seabios: use common extra version edk2: commit version info edk2: get version + date from git submodule Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/bc0cd4ae881d...927284d65bce To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 6539c7: edk2: get version + date from git submodule
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 6539c73dccfa8fff1f83d40f1c4477a233876071 https://github.com/qemu/qemu/commit/6539c73dccfa8fff1f83d40f1c4477a233876071 Author: Gerd Hoffmann Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M roms/Makefile Log Message: --- edk2: get version + date from git submodule Turned out hard-coding version and date in the Makefile wasn't a bright idea. Updating it on edk2 updates is easily forgotten. Fetch the info from git instead. Store in edk2-version, so this can be committed to the repo and is present in tarballs too. Reviewed-by: Peter Maydell Signed-off-by: Gerd Hoffmann Message-ID: <20240327102448.61877-2-kra...@redhat.com> Commit: 6494a08d1025c1ca5341af61e47d1e369c2877c8 https://github.com/qemu/qemu/commit/6494a08d1025c1ca5341af61e47d1e369c2877c8 Author: Gerd Hoffmann Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: A roms/edk2-version Log Message: --- edk2: commit version info Reviewed-by: Peter Maydell Signed-off-by: Gerd Hoffmann Message-ID: <20240327102448.61877-3-kra...@redhat.com> Commit: 2c4eb439dc62b896d76388c917ff15f619d2623d https://github.com/qemu/qemu/commit/2c4eb439dc62b896d76388c917ff15f619d2623d Author: Gerd Hoffmann Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M roms/Makefile Log Message: --- edk2/seabios: use common extra version Bring a bit more consistency into the naming. Reviewed-by: Peter Maydell Signed-off-by: Gerd Hoffmann Message-ID: <20240327102448.61877-4-kra...@redhat.com> Commit: e3404e01c7f74efdc3440ddfd339d67bf7a8410e https://github.com/qemu/qemu/commit/e3404e01c7f74efdc3440ddfd339d67bf7a8410e Author: Gerd Hoffmann Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M pc-bios/edk2-aarch64-code.fd.bz2 M pc-bios/edk2-arm-code.fd.bz2 M pc-bios/edk2-i386-code.fd.bz2 M pc-bios/edk2-i386-secure-code.fd.bz2 M pc-bios/edk2-riscv-code.fd.bz2 M pc-bios/edk2-x86_64-code.fd.bz2 M pc-bios/edk2-x86_64-microvm.fd.bz2 M pc-bios/edk2-x86_64-secure-code.fd.bz2 Log Message: --- edk2: rebuild binaries with correct version information Signed-off-by: Gerd Hoffmann Commit: 927284d65bce63ab1495d3febe7c7b5b6d563874 https://github.com/qemu/qemu/commit/927284d65bce63ab1495d3febe7c7b5b6d563874 Author: Peter Maydell Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M pc-bios/edk2-aarch64-code.fd.bz2 M pc-bios/edk2-arm-code.fd.bz2 M pc-bios/edk2-i386-code.fd.bz2 M pc-bios/edk2-i386-secure-code.fd.bz2 M pc-bios/edk2-riscv-code.fd.bz2 M pc-bios/edk2-x86_64-code.fd.bz2 M pc-bios/edk2-x86_64-microvm.fd.bz2 M pc-bios/edk2-x86_64-secure-code.fd.bz2 M roms/Makefile A roms/edk2-version Log Message: --- Merge tag 'edk2-20240409-pull-request' of https://gitlab.com/kraxel/qemu into staging edk2: fix version information, rebuild binaries. # -BEGIN PGP SIGNATURE- # # iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmYVbGAACgkQTLbY7tPo # cTiKIw/9G1GGakAfkq48BS7LDvO0u/qzFmt+EKaBtwbFEKEZ+aUp6RgdYENnARxO # qJpffW8nief9VchjRSnJ2Sy9lKR/rfckwc9HgXpXtRVzqyMYJkJmuVMiw3H5INC6 # QR+4IPIS3SckPPvBDMr92L0MQMYDNLnjnBF3KiZ0tNpRf5tstl4KN5QsatKk9gpB # /sspC9DzujE8uuDrcPb9bEAUm/jILvD9CmDN9TWSq9uk6yLw3Rgqh5lvs5zK//HY # cwzpEhn/OjLCfAx2RnXNDqBL2JbGLl65luVvMy+lkrB0PNP4YSREAuLdO4kwZGgx # LWFvMhNvAYuBSEZcoX7vurUzcoMc3G5Awh4ybv1Auwn5iOXKIkES15DxmGJVItXN # K09nFJiTI/Fr/zFHUqKGmM/PYggV5EjsKmTkJtKxn8u7GBTzbZOGQXCHK6pI3VpI # m61L4VOzQxIBlM4e6NLS32TOejXS4MIMlRnFixwQDgWMUzEQ7SogHVFhv3GNaXBs # DM6PRzdWUhpwMkRLzt+kO3hrJC4+SiZ1xMZQDoipIAtF3gKTz6/6vjtRtpMTmq9K # eI6YZXG7LfiHDInKJyQZIF1H+OFMdv+OIDe+tssmyjMRXxzsPIeb3dTnuGRbYiCo # Z/8UDig1EDPdu07Egr4ZM9S1GD0+r2OLFoJTH5G+zPvi+z0OCH8= # =rslQ # -END PGP SIGNATURE- # gpg: Signature made Tue 09 Apr 2024 17:27:12 BST # gpg:using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) " [full] # gpg: aka "Gerd Hoffmann " [full] # gpg: aka "Gerd Hoffmann (private) " [full] # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * tag 'edk2-20240409-pull-request' of https://gitlab.com/kraxel/qemu: edk2: rebuild binaries with correct version information edk2/seabios: use common extra version edk2: commit version info edk2: get version + date from git submodule Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/e8cb49c07f57...927284d65bce To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 3397b5: tcg/optimize: Do not attempt to constant fold neg_vec
ed-by: Richard Henderson Message-Id: <20240407150705.5965-1-z...@buhman.org> Signed-off-by: Richard Henderson Reviewd-by: Yoshinori Sato Commit: 9730dd94167e716cd7fcc533e247a7c8309951eb https://github.com/qemu/qemu/commit/9730dd94167e716cd7fcc533e247a7c8309951eb Author: Keith Packard Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M target/m68k/cpu.c M target/m68k/cpu.h M target/m68k/fpu_helper.c M target/m68k/helper.c M target/m68k/helper.h M target/m68k/translate.c Log Message: --- target/m68k: Map FPU exceptions to FPSR register Add helpers for reading/writing the 68881 FPSR register so that changes in floating point exception state can be seen by the application. Call these helpers in pre_load/post_load hooks to synchronize exception state. Signed-off-by: Keith Packard Reviewed-by: Richard Henderson Message-Id: <20230803035231.429697-1-kei...@keithp.com> Signed-off-by: Richard Henderson Commit: 3eac48a7e1a94c85561ffc5baea01e40638f4c63 https://github.com/qemu/qemu/commit/3eac48a7e1a94c85561ffc5baea01e40638f4c63 Author: Keith Packard Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M target/m68k/m68k-semi.c Log Message: --- target/m68k: Pass semihosting arg to exit Instead of using d0 (the semihost function number), use d1 (the provide exit status). Signed-off-by: Keith Packard Reviewed-by: Peter Maydell Message-Id: <20230802161914.395443-2-kei...@keithp.com> Signed-off-by: Richard Henderson Commit: 04a23882367cf72ee2189eb47f42a6803ba5cbe5 https://github.com/qemu/qemu/commit/04a23882367cf72ee2189eb47f42a6803ba5cbe5 Author: Richard Henderson Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M target/m68k/cpu.h M target/m68k/op_helper.c M target/m68k/translate.c Log Message: --- target/m68k: Perform the semihosting test during translate Replace EXCP_HALT_INSN by EXCP_SEMIHOSTING. Perform the pre- and post-insn tests during translate, leaving only the actual semihosting operation for the exception. Signed-off-by: Richard Henderson Commit: 92b16b4d406a4055c6ea69f4a76de4715eb2583d https://github.com/qemu/qemu/commit/92b16b4d406a4055c6ea69f4a76de4715eb2583d Author: Keith Packard Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M target/m68k/translate.c Log Message: --- target/m68k: Support semihosting on non-ColdFire targets According to the m68k semihosting spec: "The instruction used to trigger a semihosting request depends on the m68k processor variant. On ColdFire, "halt" is used; on other processors (which don't implement "halt"), "bkpt #0" may be used." Add support for non-CodeFire processors by matching BKPT #0 instructions. Signed-off-by: Keith Packard [rth: Use semihosting_test()] Signed-off-by: Richard Henderson Commit: d76c86bf56de2365340d79bd4f3d3eb1023ae403 https://github.com/qemu/qemu/commit/d76c86bf56de2365340d79bd4f3d3eb1023ae403 Author: Richard Henderson Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M include/tcg/tcg.h M tcg/tcg.c Log Message: --- tcg: Add TCGContext.emit_before_op Allow operations to be emitted via normal expanders into the middle of the opcode stream. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson Commit: f3572df79d13e1dd6e6c0ea4b1eaca1a4828c3fa https://github.com/qemu/qemu/commit/f3572df79d13e1dd6e6c0ea4b1eaca1a4828c3fa Author: Richard Henderson Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h Log Message: --- accel/tcg: Add insn_start to DisasContextBase This is currently target-specific for many; begin making it target independent. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 14318e1fff644e7617e5abfc3fb7d7acda423aeb https://github.com/qemu/qemu/commit/14318e1fff644e7617e5abfc3fb7d7acda423aeb Author: Richard Henderson Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M target/arm/tcg/translate-a64.c M target/arm/tcg/translate.c M target/arm/tcg/translate.h Log Message: --- target/arm: Use insn_start from DisasContextBase To keep the multiple update check, replace insn_start with insn_start_updated. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 3780912a020ca9a1acfeea4742633742a3c6c87e https://github.com/qemu/qemu/commit/3780912a020ca9a1acfeea4742633742a3c6c87e Author: Richard Henderson Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M target/hppa/translate.c Log Message: --- target/hppa: Use insn_start from DisasContextBase To keep the multiple update check, replace insn_start with insn_start_updated. Reviewed-by: Philippe Ma
[Qemu-commits] [qemu/qemu] d1ce2c: Makefile: preserve --jobserver-auth argument when ...
ro.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: f67d296b6ea0e946e4ca13a39c699ca13bd977b6 https://github.com/qemu/qemu/commit/f67d296b6ea0e946e4ca13a39c699ca13bd977b6 Author: Vladimir Sementsov-Ogievskiy Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M hw/block/vhost-user-blk.c Log Message: --- vhost-user-blk: simplify and fix vhost_user_blk_handle_config_change Let's not care about what was changed and update the whole config, reasons: 1. config->geometry should be updated together with capacity, so we fix a bug. 2. Vhost-user protocol doesn't say anything about config change limitation. Silent ignore of changes doesn't seem to be correct. 3. vhost-user-vsock reads the whole config 4. on realize we don't do any checks on retrieved config, so no reason to care here Comment "valid for resize only" exists since introduction the whole hw/block/vhost-user-blk.c in commit 00343e4b54ba0685e9ebe928ec5713b0cf7f1d1c "vhost-user-blk: introduce a new vhost-user-blk host device", seems it was just an extra limitation. Also, let's notify guest unconditionally: 1. So does vhost-user-vsock 2. We are going to reuse the functionality in new cases when we do want to notify the guest unconditionally. So, no reason to create extra branches in the logic. Signed-off-by: Vladimir Sementsov-Ogievskiy Acked-by: Raphael Norwitz Message-Id: <20240329183758.3360733-2-vsement...@yandex-team.ru> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: e104a960c33b68fedf26dfb7b8e00abab8f2 https://github.com/qemu/qemu/commit/e104a960c33b68fedf26dfb7b8e00abab8f2 Author: Vladimir Sementsov-Ogievskiy Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M system/qdev-monitor.c Log Message: --- qdev-monitor: fix error message in find_device_state() This "hotpluggable" here is misleading. Actually we check is object a device or not. Let's drop the word. Suggested-by: Markus Armbruster Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Markus Armbruster Message-Id: <20240329183758.3360733-3-vsement...@yandex-team.ru> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 98cd02f39321a8669691fdf62940ac15be89f4f2 https://github.com/qemu/qemu/commit/98cd02f39321a8669691fdf62940ac15be89f4f2 Author: Peter Maydell Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M Makefile M accel/kvm/kvm-all.c M disas/nanomips.c Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * fall back to non-ioeventfd notification if KVM routing table is full * support kitware ninja with jobserver support * nanomips: fix warnings with GCC 14 # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmYURBsUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroNuygf8DzxNFSPCKatkiZ0HSekMUcM6+vCf # fcQx+PEmgnBGTMaeMqUMFGRBPx1FdrvvLpV0oeJ1RvyfyZLCEmRMaO9LnzkqlYgD # jd5R4/mQcbH+qpZyk5x+g10gHLzafXHYf/aBVkzqlO02UyO61lgpoXp/Z1l+jkhB # 1FA8Y3NH5x1gqT37pSCYUIeIAfoY1mndjsPNa/IuDUlMk0jwKz2zEWWYkQF2DvY0 # nfZG2+V7YdOBv+vkZi2gcl82FWAJdsZF+cMBmshvYp+N3/JKezgB588vJ3Yu3UVV # Y3Z/GbbqS+mCFBe2M6TsL7eU18UgU5E8mXB6Lp8fOGTwIG8iM0tcBYBc0g== # =qHqi # -END PGP SIGNATURE- # gpg: Signature made Mon 08 Apr 2024 20:23:07 BST # gpg:using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg:issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini " [full] # gpg: aka "Paolo Bonzini " [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: kvm: error out of kvm_irqchip_add_msi_route() in case of full route table nanomips: fix warnings with GCC 14 Makefile: preserve --jobserver-auth argument when calling ninja Signed-off-by: Peter Maydell Commit: bc0cd4ae881dff47e81581a8fea93a50b1d1dbe7 https://github.com/qemu/qemu/commit/bc0cd4ae881dff47e81581a8fea93a50b1d1dbe7 Author: Peter Maydell Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M MAINTAINERS M docs/system/device-emulation.rst R docs/system/devices/vdpa-net.rst M hw/audio/virtio-snd.c M hw/block/vhost-user-blk.c M hw/net/virtio-net.c M hw/virtio/vdpa-dev.c M hw/virtio/virtio-pci.c M hw/virtio/virtio.c M include/hw/audio/virtio-snd.h M include/hw/virtio/virtio-pci.h M include/hw/virtio/virtio.h M include/standard-headers/linux/virtio_pci.h M system/qdev-monitor.c Log Message: --- Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging virtio,pc,pci: bugfixes Tiny fixes: important but mostly obvious
[Qemu-commits] [qemu/qemu] d1ce2c: Makefile: preserve --jobserver-auth argument when ...
ro.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: f67d296b6ea0e946e4ca13a39c699ca13bd977b6 https://github.com/qemu/qemu/commit/f67d296b6ea0e946e4ca13a39c699ca13bd977b6 Author: Vladimir Sementsov-Ogievskiy Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M hw/block/vhost-user-blk.c Log Message: --- vhost-user-blk: simplify and fix vhost_user_blk_handle_config_change Let's not care about what was changed and update the whole config, reasons: 1. config->geometry should be updated together with capacity, so we fix a bug. 2. Vhost-user protocol doesn't say anything about config change limitation. Silent ignore of changes doesn't seem to be correct. 3. vhost-user-vsock reads the whole config 4. on realize we don't do any checks on retrieved config, so no reason to care here Comment "valid for resize only" exists since introduction the whole hw/block/vhost-user-blk.c in commit 00343e4b54ba0685e9ebe928ec5713b0cf7f1d1c "vhost-user-blk: introduce a new vhost-user-blk host device", seems it was just an extra limitation. Also, let's notify guest unconditionally: 1. So does vhost-user-vsock 2. We are going to reuse the functionality in new cases when we do want to notify the guest unconditionally. So, no reason to create extra branches in the logic. Signed-off-by: Vladimir Sementsov-Ogievskiy Acked-by: Raphael Norwitz Message-Id: <20240329183758.3360733-2-vsement...@yandex-team.ru> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: e104a960c33b68fedf26dfb7b8e00abab8f2 https://github.com/qemu/qemu/commit/e104a960c33b68fedf26dfb7b8e00abab8f2 Author: Vladimir Sementsov-Ogievskiy Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M system/qdev-monitor.c Log Message: --- qdev-monitor: fix error message in find_device_state() This "hotpluggable" here is misleading. Actually we check is object a device or not. Let's drop the word. Suggested-by: Markus Armbruster Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Markus Armbruster Message-Id: <20240329183758.3360733-3-vsement...@yandex-team.ru> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 98cd02f39321a8669691fdf62940ac15be89f4f2 https://github.com/qemu/qemu/commit/98cd02f39321a8669691fdf62940ac15be89f4f2 Author: Peter Maydell Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M Makefile M accel/kvm/kvm-all.c M disas/nanomips.c Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * fall back to non-ioeventfd notification if KVM routing table is full * support kitware ninja with jobserver support * nanomips: fix warnings with GCC 14 # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmYURBsUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroNuygf8DzxNFSPCKatkiZ0HSekMUcM6+vCf # fcQx+PEmgnBGTMaeMqUMFGRBPx1FdrvvLpV0oeJ1RvyfyZLCEmRMaO9LnzkqlYgD # jd5R4/mQcbH+qpZyk5x+g10gHLzafXHYf/aBVkzqlO02UyO61lgpoXp/Z1l+jkhB # 1FA8Y3NH5x1gqT37pSCYUIeIAfoY1mndjsPNa/IuDUlMk0jwKz2zEWWYkQF2DvY0 # nfZG2+V7YdOBv+vkZi2gcl82FWAJdsZF+cMBmshvYp+N3/JKezgB588vJ3Yu3UVV # Y3Z/GbbqS+mCFBe2M6TsL7eU18UgU5E8mXB6Lp8fOGTwIG8iM0tcBYBc0g== # =qHqi # -END PGP SIGNATURE- # gpg: Signature made Mon 08 Apr 2024 20:23:07 BST # gpg:using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg:issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini " [full] # gpg: aka "Paolo Bonzini " [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: kvm: error out of kvm_irqchip_add_msi_route() in case of full route table nanomips: fix warnings with GCC 14 Makefile: preserve --jobserver-auth argument when calling ninja Signed-off-by: Peter Maydell Commit: bc0cd4ae881dff47e81581a8fea93a50b1d1dbe7 https://github.com/qemu/qemu/commit/bc0cd4ae881dff47e81581a8fea93a50b1d1dbe7 Author: Peter Maydell Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: M MAINTAINERS M docs/system/device-emulation.rst R docs/system/devices/vdpa-net.rst M hw/audio/virtio-snd.c M hw/block/vhost-user-blk.c M hw/net/virtio-net.c M hw/virtio/vdpa-dev.c M hw/virtio/virtio-pci.c M hw/virtio/virtio.c M include/hw/audio/virtio-snd.h M include/hw/virtio/virtio-pci.h M include/hw/virtio/virtio.h M include/standard-headers/linux/virtio_pci.h M system/qdev-monitor.c Log Message: --- Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging virtio,pc,pci: bugfixes Tiny fixes: important but mostly obvious
[Qemu-commits] [qemu/qemu] 9ed866: target/arm: Fix CNTPOFF_EL2 trap to missing EL3
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 9ed866e10f196d588580ed8a701d278abd8372ee https://github.com/qemu/qemu/commit/9ed866e10f196d588580ed8a701d278abd8372ee Author: Pierre-Clément Tosi Date: 2024-04-05 (Fri, 05 Apr 2024) Changed paths: M target/arm/helper.c Log Message: --- target/arm: Fix CNTPOFF_EL2 trap to missing EL3 EL2 accesses to CNTPOFF_EL2 should only ever trap to EL3 if EL3 is present, as described by the reference manual (for MRS): /* ... */ elsif PSTATE.EL == EL2 then if Halted() && HaveEL(EL3) && /*...*/ then UNDEFINED; elsif HaveEL(EL3) && SCR_EL3.ECVEn == '0' then /* ... */ else X[t, 64] = CNTPOFF_EL2; However, the existing implementation of gt_cntpoff_access() always returns CP_ACCESS_TRAP_EL3 for EL2 accesses with SCR_EL3.ECVEn unset. In pseudo-code terminology, this corresponds to assuming that HaveEL(EL3) is always true, which is wrong. As a result, QEMU panics in access_check_cp_reg() when started without EL3 and running EL2 code accessing the register (e.g. any recent KVM booting a guest). Therefore, add the HaveEL(EL3) check to gt_cntpoff_access(). Fixes: 2808d3b38a52 ("target/arm: Implement FEAT_ECV CNTPOFF_EL2 handling") Signed-off-by: Pierre-Clément Tosi Message-id: m3al6amhdkmsiy2f62w72ufth6dzn45xg5cz6xljceyibphnf4@ezmmpwk4tnhl Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: 7afbdada7effbc2b97281bfbce0c6df351a3cf88 https://github.com/qemu/qemu/commit/7afbdada7effbc2b97281bfbce0c6df351a3cf88 Author: Wei Wang Date: 2024-04-07 (Sun, 07 Apr 2024) Changed paths: M migration/savevm.c Log Message: --- migration/postcopy: ensure preempt channel is ready before loading states Before loading the guest states, ensure that the preempt channel has been ready to use, as some of the states (e.g. via virtio_load) might trigger page faults that will be handled through the preempt channel. So yield to the main thread in the case that the channel create event hasn't been dispatched. Cc: qemu-stable Fixes: 9358982744 ("migration: Send requested page directly in rp-return thread") Originally-by: Lei Wang Link: https://lore.kernel.org/all/9aa5d1be-7801-40dd-83fd-f7e041ced...@intel.com/T/ Signed-off-by: Lei Wang Signed-off-by: Wei Wang Link: https://lore.kernel.org/r/20240405034056.23933-1-wei.w.w...@intel.com [peterx: add a todo section, add Fixes and copy stable for 8.0+] Signed-off-by: Peter Xu Commit: 8e0b21e375f0f6e6dbaeaecc1d52e2220f163e40 https://github.com/qemu/qemu/commit/8e0b21e375f0f6e6dbaeaecc1d52e2220f163e40 Author: Avihai Horon Date: 2024-04-07 (Sun, 07 Apr 2024) Changed paths: M MAINTAINERS Log Message: --- MAINTAINERS: Adjust migration documentation files Commit 8cb2f8b172e7 ("docs/migration: Create migration/ directory") changed migration documentation file structure but forgot to update the entries in the MAINTAINERS file. Commit 4c6f8a79ae53 ("docs/migration: Split 'dirty limit'") extracted dirty limit documentation to a new file without updating dirty limit section in MAINTAINERS file. Fix the above. Fixes: 8cb2f8b172e7 ("docs/migration: Create migration/ directory") Fixes: 4c6f8a79ae53 ("docs/migration: Split 'dirty limit'") Signed-off-by: Avihai Horon Link: https://lore.kernel.org/r/20240407081125.13951-1-avih...@nvidia.com Signed-off-by: Peter Xu Commit: 19b254e86a900dc5ee332e3ac0baf9c521301abf https://github.com/qemu/qemu/commit/19b254e86a900dc5ee332e3ac0baf9c521301abf Author: Peter Maydell Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M target/arm/helper.c Log Message: --- target/arm: Use correct SecuritySpace for AArch64 AT ops at EL3 When we do an AT address translation operation, the page table walk is supposed to be performed in the context of the EL we're doing the walk for, so for instance an AT S1E2R walk is done for EL2. In the pseudocode an EL is passed to AArch64.AT(), which calls SecurityStateAtEL() to find the security state that we should be doing the walk with. In ats_write64() we get this wrong, instead using the current security space always. This is fine for AT operations performed from EL1 and EL2, because there the current security state and the security state for the lower EL are the same. But for AT operations performed from EL3, the current security state is always either Secure or Root, whereas we want to use the security state defined by SCR_EL3.{NS,NSE} for the walk. This affects not just guests using FEAT_RME but also ones where EL3 is Secure state and the EL3 code is trying to do an AT for a NonSecure EL2 or EL1. Use arm_security_space_below_el3() to get the SecuritySpace to pass to do_ats_write() for all AT operations except the AT S1E3* operations. Cc: qemu-sta.
[Qemu-commits] [qemu/qemu] 9ed866: target/arm: Fix CNTPOFF_EL2 trap to missing EL3
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 9ed866e10f196d588580ed8a701d278abd8372ee https://github.com/qemu/qemu/commit/9ed866e10f196d588580ed8a701d278abd8372ee Author: Pierre-Clément Tosi Date: 2024-04-05 (Fri, 05 Apr 2024) Changed paths: M target/arm/helper.c Log Message: --- target/arm: Fix CNTPOFF_EL2 trap to missing EL3 EL2 accesses to CNTPOFF_EL2 should only ever trap to EL3 if EL3 is present, as described by the reference manual (for MRS): /* ... */ elsif PSTATE.EL == EL2 then if Halted() && HaveEL(EL3) && /*...*/ then UNDEFINED; elsif HaveEL(EL3) && SCR_EL3.ECVEn == '0' then /* ... */ else X[t, 64] = CNTPOFF_EL2; However, the existing implementation of gt_cntpoff_access() always returns CP_ACCESS_TRAP_EL3 for EL2 accesses with SCR_EL3.ECVEn unset. In pseudo-code terminology, this corresponds to assuming that HaveEL(EL3) is always true, which is wrong. As a result, QEMU panics in access_check_cp_reg() when started without EL3 and running EL2 code accessing the register (e.g. any recent KVM booting a guest). Therefore, add the HaveEL(EL3) check to gt_cntpoff_access(). Fixes: 2808d3b38a52 ("target/arm: Implement FEAT_ECV CNTPOFF_EL2 handling") Signed-off-by: Pierre-Clément Tosi Message-id: m3al6amhdkmsiy2f62w72ufth6dzn45xg5cz6xljceyibphnf4@ezmmpwk4tnhl Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: 7afbdada7effbc2b97281bfbce0c6df351a3cf88 https://github.com/qemu/qemu/commit/7afbdada7effbc2b97281bfbce0c6df351a3cf88 Author: Wei Wang Date: 2024-04-07 (Sun, 07 Apr 2024) Changed paths: M migration/savevm.c Log Message: --- migration/postcopy: ensure preempt channel is ready before loading states Before loading the guest states, ensure that the preempt channel has been ready to use, as some of the states (e.g. via virtio_load) might trigger page faults that will be handled through the preempt channel. So yield to the main thread in the case that the channel create event hasn't been dispatched. Cc: qemu-stable Fixes: 9358982744 ("migration: Send requested page directly in rp-return thread") Originally-by: Lei Wang Link: https://lore.kernel.org/all/9aa5d1be-7801-40dd-83fd-f7e041ced...@intel.com/T/ Signed-off-by: Lei Wang Signed-off-by: Wei Wang Link: https://lore.kernel.org/r/20240405034056.23933-1-wei.w.w...@intel.com [peterx: add a todo section, add Fixes and copy stable for 8.0+] Signed-off-by: Peter Xu Commit: 8e0b21e375f0f6e6dbaeaecc1d52e2220f163e40 https://github.com/qemu/qemu/commit/8e0b21e375f0f6e6dbaeaecc1d52e2220f163e40 Author: Avihai Horon Date: 2024-04-07 (Sun, 07 Apr 2024) Changed paths: M MAINTAINERS Log Message: --- MAINTAINERS: Adjust migration documentation files Commit 8cb2f8b172e7 ("docs/migration: Create migration/ directory") changed migration documentation file structure but forgot to update the entries in the MAINTAINERS file. Commit 4c6f8a79ae53 ("docs/migration: Split 'dirty limit'") extracted dirty limit documentation to a new file without updating dirty limit section in MAINTAINERS file. Fix the above. Fixes: 8cb2f8b172e7 ("docs/migration: Create migration/ directory") Fixes: 4c6f8a79ae53 ("docs/migration: Split 'dirty limit'") Signed-off-by: Avihai Horon Link: https://lore.kernel.org/r/20240407081125.13951-1-avih...@nvidia.com Signed-off-by: Peter Xu Commit: 19b254e86a900dc5ee332e3ac0baf9c521301abf https://github.com/qemu/qemu/commit/19b254e86a900dc5ee332e3ac0baf9c521301abf Author: Peter Maydell Date: 2024-04-08 (Mon, 08 Apr 2024) Changed paths: M target/arm/helper.c Log Message: --- target/arm: Use correct SecuritySpace for AArch64 AT ops at EL3 When we do an AT address translation operation, the page table walk is supposed to be performed in the context of the EL we're doing the walk for, so for instance an AT S1E2R walk is done for EL2. In the pseudocode an EL is passed to AArch64.AT(), which calls SecurityStateAtEL() to find the security state that we should be doing the walk with. In ats_write64() we get this wrong, instead using the current security space always. This is fine for AT operations performed from EL1 and EL2, because there the current security state and the security state for the lower EL are the same. But for AT operations performed from EL3, the current security state is always either Secure or Root, whereas we want to use the security state defined by SCR_EL3.{NS,NSE} for the walk. This affects not just guests using FEAT_RME but also ones where EL3 is Secure state and the EL3 code is trying to do an AT for a NonSecure EL2 or EL1. Use arm_security_space_below_el3() to get the SecuritySpace to pass to do_ats_write() for all AT operations except the AT S1E3* operations. Cc: qemu-sta.
[Qemu-commits] [qemu/qemu] bbdf90: block/virtio-blk: Fix memory leak from virtio_blk_...
Yuan Signed-off-by: Mark Cave-Ayland Reviewed-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240324191707.623175-13-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: 2c1017bfc28b792dd03ea2aaa7453ec20ab5f7ec https://github.com/qemu/qemu/commit/2c1017bfc28b792dd03ea2aaa7453ec20ab5f7ec Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: move esp_set_phase() and esp_get_phase() towards the beginning of the file This allows these functions to be used earlier in the file without needing a separate forward declaration. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-14-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: 743d8736458d3f939fb957835f42ecc3e2d0f75c https://github.com/qemu/qemu/commit/743d8736458d3f939fb957835f42ecc3e2d0f75c Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: introduce esp_update_drq() and update esp_fifo_{push, pop}_buf() to use it This new function sets the DRQ line correctly according to the current transfer mode, direction and FIFO contents. Update esp_fifo_push_buf() and esp_fifo_pop_buf() to use it so that DRQ is always set correctly when reading/writing multiple bytes to/from the FIFO. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-15-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: ffa3a5f2bedb2cdd7fb1c5c0f6702fd6eb0f5962 https://github.com/qemu/qemu/commit/ffa3a5f2bedb2cdd7fb1c5c0f6702fd6eb0f5962 Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: update esp_fifo_{push, pop}() to call esp_update_drq() This ensures that the DRQ line is always set correctly when reading/writing single bytes to/from the FIFO. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-16-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: 60c572502cbb89f1f46c2127794f956220e5dbab https://github.com/qemu/qemu/commit/60c572502cbb89f1f46c2127794f956220e5dbab Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: ensure esp_pdma_write() always calls esp_fifo_push() This ensures that esp_update_drq() is called via esp_fifo_push() whenever the host uses PDMA to transfer data to a SCSI device. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-17-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: d7fe931818d5e9aa70d08056c43b496ce789ba64 https://github.com/qemu/qemu/commit/d7fe931818d5e9aa70d08056c43b496ce789ba64 Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: remove explicit setting of DRQ within ESP state machine Now the esp_update_drq() is called for all reads/writes to the FIFO, there is no need to manually raise and lower the DRQ signal. Signed-off-by: Mark Cave-Ayland Resolves: https://gitlab.com/qemu-project/qemu/-/issues/611 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1831 Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-18-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: da20a1adf43d9afc337ab7278bb3dee687e3e723 https://github.com/qemu/qemu/commit/da20a1adf43d9afc337ab7278bb3dee687e3e723 Author: Peter Maydell Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/block/virtio-blk.c Log Message: --- Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging Pull request Fix a memory leak in virtio-blk zone report emulation code when the request is invalid. # -BEGIN PGP SIGNATURE- # # iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmYOsfEACgkQnKSrs4Gr # c8iKjAf9FwsKVoMlcTFTbWFDX/JPer3kPYIdpXoKm0KYivwAiGsG++sw2zCAOQdB # F8uCaMi+NDOJ2RA14NSUVKEIEqf7qUL7DjKAqZiQ0H4nsqK3G0bmHI5TknMaKPHm # h7enMy6Ms32z0UE9lATY86GqIJPKK892GtDNPRiSZj9hPYyvaJ8s08f91Qyfl3Qf # sYPpY+2+hQZaXay4DpLhIzXGC3B+AEZNzvVJvuow749jMVGnn7ejH005NWjbdHaG # TwYYMPtY/D1/B+Faf/wA3HyT27zvKi0JWFIpf/hpBX84Ma8dYXdkgv3hUtOQKw9N # zX+38oDL7IUGPvcVBKe3X0LQW1z0+A== # =FGir # -END PGP SIGNATURE- # gpg: Signature made Thu 04 Apr 2024 14:58:09 BST # gpg:using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi " [full] # gpg: aka "Stef
[Qemu-commits] [qemu/qemu] bbdf90: block/virtio-blk: Fix memory leak from virtio_blk_...
Yuan Signed-off-by: Mark Cave-Ayland Reviewed-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240324191707.623175-13-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: 2c1017bfc28b792dd03ea2aaa7453ec20ab5f7ec https://github.com/qemu/qemu/commit/2c1017bfc28b792dd03ea2aaa7453ec20ab5f7ec Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: move esp_set_phase() and esp_get_phase() towards the beginning of the file This allows these functions to be used earlier in the file without needing a separate forward declaration. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-14-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: 743d8736458d3f939fb957835f42ecc3e2d0f75c https://github.com/qemu/qemu/commit/743d8736458d3f939fb957835f42ecc3e2d0f75c Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: introduce esp_update_drq() and update esp_fifo_{push, pop}_buf() to use it This new function sets the DRQ line correctly according to the current transfer mode, direction and FIFO contents. Update esp_fifo_push_buf() and esp_fifo_pop_buf() to use it so that DRQ is always set correctly when reading/writing multiple bytes to/from the FIFO. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-15-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: ffa3a5f2bedb2cdd7fb1c5c0f6702fd6eb0f5962 https://github.com/qemu/qemu/commit/ffa3a5f2bedb2cdd7fb1c5c0f6702fd6eb0f5962 Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: update esp_fifo_{push, pop}() to call esp_update_drq() This ensures that the DRQ line is always set correctly when reading/writing single bytes to/from the FIFO. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-16-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: 60c572502cbb89f1f46c2127794f956220e5dbab https://github.com/qemu/qemu/commit/60c572502cbb89f1f46c2127794f956220e5dbab Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: ensure esp_pdma_write() always calls esp_fifo_push() This ensures that esp_update_drq() is called via esp_fifo_push() whenever the host uses PDMA to transfer data to a SCSI device. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-17-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: d7fe931818d5e9aa70d08056c43b496ce789ba64 https://github.com/qemu/qemu/commit/d7fe931818d5e9aa70d08056c43b496ce789ba64 Author: Mark Cave-Ayland Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/scsi/esp.c Log Message: --- esp.c: remove explicit setting of DRQ within ESP state machine Now the esp_update_drq() is called for all reads/writes to the FIFO, there is no need to manually raise and lower the DRQ signal. Signed-off-by: Mark Cave-Ayland Resolves: https://gitlab.com/qemu-project/qemu/-/issues/611 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1831 Reviewed-by: Paolo Bonzini Message-Id: <20240324191707.623175-18-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Mark Cave-Ayland Commit: da20a1adf43d9afc337ab7278bb3dee687e3e723 https://github.com/qemu/qemu/commit/da20a1adf43d9afc337ab7278bb3dee687e3e723 Author: Peter Maydell Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M hw/block/virtio-blk.c Log Message: --- Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging Pull request Fix a memory leak in virtio-blk zone report emulation code when the request is invalid. # -BEGIN PGP SIGNATURE- # # iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmYOsfEACgkQnKSrs4Gr # c8iKjAf9FwsKVoMlcTFTbWFDX/JPer3kPYIdpXoKm0KYivwAiGsG++sw2zCAOQdB # F8uCaMi+NDOJ2RA14NSUVKEIEqf7qUL7DjKAqZiQ0H4nsqK3G0bmHI5TknMaKPHm # h7enMy6Ms32z0UE9lATY86GqIJPKK892GtDNPRiSZj9hPYyvaJ8s08f91Qyfl3Qf # sYPpY+2+hQZaXay4DpLhIzXGC3B+AEZNzvVJvuow749jMVGnn7ejH005NWjbdHaG # TwYYMPtY/D1/B+Faf/wA3HyT27zvKi0JWFIpf/hpBX84Ma8dYXdkgv3hUtOQKw9N # zX+38oDL7IUGPvcVBKe3X0LQW1z0+A== # =FGir # -END PGP SIGNATURE- # gpg: Signature made Thu 04 Apr 2024 14:58:09 BST # gpg:using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi " [full] # gpg: aka "
[Qemu-commits] [qemu/qemu] 5c00ac: vga: merge conditionals on shift control register
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 5c00acebb6fb92ff169b322c9e74d06d8b922232 https://github.com/qemu/qemu/commit/5c00acebb6fb92ff169b322c9e74d06d8b922232 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: merge conditionals on shift control register There are two sets of conditionals using the shift control bits: one to verify the palette and adjust disp_width, one to compute the "v" and "bits" variables. Merge them into one, with the extra benefit that we now have the "bits" value available early and can use it to compute region_end. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 3826a372e4aafac1dba9ba3434e7c2f76775de42 https://github.com/qemu/qemu/commit/3826a372e4aafac1dba9ba3434e7c2f76775de42 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: move computation of dirty memory region later Move the computation of region_start and region_end after the value of "bits" is known. This makes it possible to distinguish modes that support horizontal pel panning from modes that do not. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 3b6d2b1962b23295c463f010ff88eb5a594f2ef9 https://github.com/qemu/qemu/commit/3b6d2b1962b23295c463f010ff88eb5a594f2ef9 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: adjust dirty memory region if pel panning is active When pel panning is active, one more byte is read from each of the VGA memory planes. This has to be accounted in the computation of region_end, otherwise vga_draw_graphic() fails an assertion: qemu-system-i386: ../system/physmem.c:946: cpu_physical_memory_snapshot_get_dirty: Assertion `start + length <= snap->end' failed. Reported-by: Helge Konetzka Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2244 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 1d1ee7e0a1b7041804e8c5f8c2453fdc2df0407e https://github.com/qemu/qemu/commit/1d1ee7e0a1b7041804e8c5f8c2453fdc2df0407e Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: do not treat horiz pel panning value of 8 as "enabled" Horizontal pel panning bit 3 is only used in text mode. In graphics mode, it can be treated as if it was zero, thus not extending the dirty memory region. Signed-off-by: Paolo Bonzini Commit: e497e6a55786a62ffe009a3fe2fa6d40e6080210 https://github.com/qemu/qemu/commit/e497e6a55786a62ffe009a3fe2fa6d40e6080210 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/scsi/lsi53c895a.c Log Message: --- lsi53c895a: avoid out of bounds access to s->msg[] If no bytes are there to process in the message in phase, the input data latch (s->sidl) is set to s->msg[-1]. Just do nothing since no DMA is performed. Reported-by: Chuhong Yuan Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 8fc4bdc537d901c200e43122e32bcb40dc8fed37 https://github.com/qemu/qemu/commit/8fc4bdc537d901c200e43122e32bcb40dc8fed37 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/i386/pc_q35.c Log Message: --- pc_q35: remove unnecessary m->alias assignment The assignment is already inherited from pc-q35-8.2. Signed-off-by: Paolo Bonzini Commit: 786fd793b81410fb2a28914315e2f05d2ff6733b https://github.com/qemu/qemu/commit/786fd793b81410fb2a28914315e2f05d2ff6733b Author: Peter Maydell Date: 2024-04-03 (Wed, 03 Apr 2024) Changed paths: M hw/display/vga.c M hw/i386/pc_q35.c M hw/scsi/lsi53c895a.c Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * lsi53c895a: fix assertion failure with invalid Block Move * vga: fix assertion failure with 4- and 16-color modes * remove unnecessary assignment # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmYNKboUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroNMDgf/Wgw+qNkNooAhEH1V5l0xdyiF4QQU # stz4kcKdWkQB5dsVy8utC3nN2baRFPgj6Utr2e8FqzxGuY8qYL3olh8k1ygiFiFz # joSOxAlBuRUOsJq90EJUyGeFykJ/F/neJ2n6VjOtKyry9c8PnInjmuNMFYsxeLow # j1VF6defALut/8wvxPm5WmfFzS1Hv3I9k/GqKSlAjNpY2COlibshEoNFuZZtpfeI # JnUL5oB+sICoZH2/mM5a9Nv2z0NCHAwKF7alXVjfHWvdaRQO6bLlraDmPXmh0ZMY # MsoULMQaeZCtC0vfc8XJZj/C/s2iO14gfqA23/mfGCLalyo7l1yh4e6JyQ== # =xDOl # -END PGP SIGNATURE- # gpg: Signature made Wed 03 Apr 2024 11:04:42 BST # gpg:using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg:issuer "pbon
[Qemu-commits] [qemu/qemu] 5c00ac: vga: merge conditionals on shift control register
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 5c00acebb6fb92ff169b322c9e74d06d8b922232 https://github.com/qemu/qemu/commit/5c00acebb6fb92ff169b322c9e74d06d8b922232 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: merge conditionals on shift control register There are two sets of conditionals using the shift control bits: one to verify the palette and adjust disp_width, one to compute the "v" and "bits" variables. Merge them into one, with the extra benefit that we now have the "bits" value available early and can use it to compute region_end. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 3826a372e4aafac1dba9ba3434e7c2f76775de42 https://github.com/qemu/qemu/commit/3826a372e4aafac1dba9ba3434e7c2f76775de42 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: move computation of dirty memory region later Move the computation of region_start and region_end after the value of "bits" is known. This makes it possible to distinguish modes that support horizontal pel panning from modes that do not. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 3b6d2b1962b23295c463f010ff88eb5a594f2ef9 https://github.com/qemu/qemu/commit/3b6d2b1962b23295c463f010ff88eb5a594f2ef9 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: adjust dirty memory region if pel panning is active When pel panning is active, one more byte is read from each of the VGA memory planes. This has to be accounted in the computation of region_end, otherwise vga_draw_graphic() fails an assertion: qemu-system-i386: ../system/physmem.c:946: cpu_physical_memory_snapshot_get_dirty: Assertion `start + length <= snap->end' failed. Reported-by: Helge Konetzka Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2244 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 1d1ee7e0a1b7041804e8c5f8c2453fdc2df0407e https://github.com/qemu/qemu/commit/1d1ee7e0a1b7041804e8c5f8c2453fdc2df0407e Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: do not treat horiz pel panning value of 8 as "enabled" Horizontal pel panning bit 3 is only used in text mode. In graphics mode, it can be treated as if it was zero, thus not extending the dirty memory region. Signed-off-by: Paolo Bonzini Commit: e497e6a55786a62ffe009a3fe2fa6d40e6080210 https://github.com/qemu/qemu/commit/e497e6a55786a62ffe009a3fe2fa6d40e6080210 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/scsi/lsi53c895a.c Log Message: --- lsi53c895a: avoid out of bounds access to s->msg[] If no bytes are there to process in the message in phase, the input data latch (s->sidl) is set to s->msg[-1]. Just do nothing since no DMA is performed. Reported-by: Chuhong Yuan Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 8fc4bdc537d901c200e43122e32bcb40dc8fed37 https://github.com/qemu/qemu/commit/8fc4bdc537d901c200e43122e32bcb40dc8fed37 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/i386/pc_q35.c Log Message: --- pc_q35: remove unnecessary m->alias assignment The assignment is already inherited from pc-q35-8.2. Signed-off-by: Paolo Bonzini Commit: e5c6528dce86d7a9ada7ecf02fcb7b8560955131 https://github.com/qemu/qemu/commit/e5c6528dce86d7a9ada7ecf02fcb7b8560955131 Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc2 release Signed-off-by: Peter Maydell Commit: 786fd793b81410fb2a28914315e2f05d2ff6733b https://github.com/qemu/qemu/commit/786fd793b81410fb2a28914315e2f05d2ff6733b Author: Peter Maydell Date: 2024-04-03 (Wed, 03 Apr 2024) Changed paths: M hw/display/vga.c M hw/i386/pc_q35.c M hw/scsi/lsi53c895a.c Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * lsi53c895a: fix assertion failure with invalid Block Move * vga: fix assertion failure with 4- and 16-color modes * remove unnecessary assignment # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmYNKboUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroNMDgf/Wgw+qNkNooAhEH1V5l0xdyiF4QQU # stz4kcKdWkQB5dsVy8utC3nN2baRFPgj6Utr2e8FqzxGuY8qYL3olh8k1ygiFiFz # joSOxAlBuRUOsJq90EJUyGeFykJ/F/neJ2n6VjOtKyry9c8PnInjmuNMFYsxeLow # j1VF6defALut/8wvxPm5WmfFzS1Hv3I9k/GqKSlAjNpY2COlibshEoNFuZZtpfe
[Qemu-commits] [qemu/qemu] e5c652: Update version for v9.0.0-rc2 release
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: e5c6528dce86d7a9ada7ecf02fcb7b8560955131 https://github.com/qemu/qemu/commit/e5c6528dce86d7a9ada7ecf02fcb7b8560955131 Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc2 release Signed-off-by: Peter Maydell To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 930196: accel/tcg/plugin: Remove CONFIG_SOFTMMU_GATE defin...
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 93019696aa00a2c3a3add9a1dd4e4f684ad2228f https://github.com/qemu/qemu/commit/93019696aa00a2c3a3add9a1dd4e4f684ad2228f Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M accel/tcg/plugin-gen.c Log Message: --- accel/tcg/plugin: Remove CONFIG_SOFTMMU_GATE definition The CONFIG_SOFTMMU_GATE definition was never used, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20240313213339.82071-2-phi...@linaro.org> Commit: 25f34eb70839972a51d4a4faa09d596d94e812d5 https://github.com/qemu/qemu/commit/25f34eb70839972a51d4a4faa09d596d94e812d5 Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M gdbstub/internals.h M gdbstub/system.c Log Message: --- gdbstub: Correct invalid mentions of 'softmmu' by 'system' Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20240313213339.82071-3-phi...@linaro.org> Commit: 0eaf7fb9a8cd634dbaad11838be6d67a5ff8d0b0 https://github.com/qemu/qemu/commit/0eaf7fb9a8cd634dbaad11838be6d67a5ff8d0b0 Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M gdbstub/internals.h M gdbstub/system.c Log Message: --- gdbstub/system: Rename 'user_ctx' argument as 'ctx' Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20240313213339.82071-4-phi...@linaro.org> Commit: 870120b4671dbed6ce0e3c9aa965b8a5b5428246 https://github.com/qemu/qemu/commit/870120b4671dbed6ce0e3c9aa965b8a5b5428246 Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M target/ppc/cpu_init.c Log Message: --- target/ppc: Rename init_excp_4xx_softmmu() -> init_excp_4xx() Unify with other init_excp_FOO() in the same file. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Nicholas Piggin Message-Id: <20240313213339.82071-5-phi...@linaro.org> Commit: 0b796f38106e389dce7b1ae761cb5d03e1aaa7fe https://github.com/qemu/qemu/commit/0b796f38106e389dce7b1ae761cb5d03e1aaa7fe Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/arm/smmu-common.c Log Message: --- hw/arm/smmu: Avoid using inlined functions with external linkage again Similarly to commit 9de9fa5cf2 ("hw/arm/smmu-common: Avoid using inlined functions with external linkage"): None of our code base require / use inlined functions with external linkage. Some places use internal inlining in the hot path. These two functions are certainly not in any hot path and don't justify any inlining, so these are likely oversights rather than intentional. Fix: C compiler for the host machine: clang (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)") ... hw/arm/smmu-common.c:203:43: error: static function 'smmu_hash_remove_by_vmid' is used in an inline function with external linkage [-Werror,-Wstatic-in-inline] g_hash_table_foreach_remove(s->iotlb, smmu_hash_remove_by_vmid, ); ^ include/hw/arm/smmu-common.h:197:1: note: use 'static' to give inline function 'smmu_iotlb_inv_vmid' internal linkage void smmu_iotlb_inv_vmid(SMMUState *s, uint16_t vmid); ^ static hw/arm/smmu-common.c:139:17: note: 'smmu_hash_remove_by_vmid' declared here static gboolean smmu_hash_remove_by_vmid(gpointer key, gpointer value, ^ Fixes: ccc3ee3871 ("hw/arm/smmuv3: Add CMDs related to stage-2") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Eric Auger Message-Id: <20240313184954.42513-2-phi...@linaro.org> Commit: d6fd5d834671c8317aef5f0828504237353939ce https://github.com/qemu/qemu/commit/d6fd5d834671c8317aef5f0828504237353939ce Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M target/arm/hvf/hvf.c M target/i386/hvf/hvf.c Log Message: --- accel/hvf: Un-inline hvf_arch_supports_guest_debug() See previous commit and commit 9de9fa5cf2 ("Avoid using inlined functions with external linkage") for rationale. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Reviewed-by: Richard Henderson Message-Id: <20240313184954.42513-3-phi...@linaro.org> Commit: 4fbb7687cf3fccf39e2a76e41ec91c908d036621 https://github.com/qemu/qemu/commit/4fbb7687cf3fccf39e2a76e41ec91c908d036621 Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M tests/qtest/libqos/ahci.c M tests/qtest/libqos/ahci.h Log Message: --- qtest/libqos: Reduce size_to_prdtl() declaration scope Sin
[Qemu-commits] [qemu/qemu] 930196: accel/tcg/plugin: Remove CONFIG_SOFTMMU_GATE defin...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 93019696aa00a2c3a3add9a1dd4e4f684ad2228f https://github.com/qemu/qemu/commit/93019696aa00a2c3a3add9a1dd4e4f684ad2228f Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M accel/tcg/plugin-gen.c Log Message: --- accel/tcg/plugin: Remove CONFIG_SOFTMMU_GATE definition The CONFIG_SOFTMMU_GATE definition was never used, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20240313213339.82071-2-phi...@linaro.org> Commit: 25f34eb70839972a51d4a4faa09d596d94e812d5 https://github.com/qemu/qemu/commit/25f34eb70839972a51d4a4faa09d596d94e812d5 Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M gdbstub/internals.h M gdbstub/system.c Log Message: --- gdbstub: Correct invalid mentions of 'softmmu' by 'system' Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20240313213339.82071-3-phi...@linaro.org> Commit: 0eaf7fb9a8cd634dbaad11838be6d67a5ff8d0b0 https://github.com/qemu/qemu/commit/0eaf7fb9a8cd634dbaad11838be6d67a5ff8d0b0 Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M gdbstub/internals.h M gdbstub/system.c Log Message: --- gdbstub/system: Rename 'user_ctx' argument as 'ctx' Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20240313213339.82071-4-phi...@linaro.org> Commit: 870120b4671dbed6ce0e3c9aa965b8a5b5428246 https://github.com/qemu/qemu/commit/870120b4671dbed6ce0e3c9aa965b8a5b5428246 Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M target/ppc/cpu_init.c Log Message: --- target/ppc: Rename init_excp_4xx_softmmu() -> init_excp_4xx() Unify with other init_excp_FOO() in the same file. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Nicholas Piggin Message-Id: <20240313213339.82071-5-phi...@linaro.org> Commit: 0b796f38106e389dce7b1ae761cb5d03e1aaa7fe https://github.com/qemu/qemu/commit/0b796f38106e389dce7b1ae761cb5d03e1aaa7fe Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/arm/smmu-common.c Log Message: --- hw/arm/smmu: Avoid using inlined functions with external linkage again Similarly to commit 9de9fa5cf2 ("hw/arm/smmu-common: Avoid using inlined functions with external linkage"): None of our code base require / use inlined functions with external linkage. Some places use internal inlining in the hot path. These two functions are certainly not in any hot path and don't justify any inlining, so these are likely oversights rather than intentional. Fix: C compiler for the host machine: clang (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)") ... hw/arm/smmu-common.c:203:43: error: static function 'smmu_hash_remove_by_vmid' is used in an inline function with external linkage [-Werror,-Wstatic-in-inline] g_hash_table_foreach_remove(s->iotlb, smmu_hash_remove_by_vmid, ); ^ include/hw/arm/smmu-common.h:197:1: note: use 'static' to give inline function 'smmu_iotlb_inv_vmid' internal linkage void smmu_iotlb_inv_vmid(SMMUState *s, uint16_t vmid); ^ static hw/arm/smmu-common.c:139:17: note: 'smmu_hash_remove_by_vmid' declared here static gboolean smmu_hash_remove_by_vmid(gpointer key, gpointer value, ^ Fixes: ccc3ee3871 ("hw/arm/smmuv3: Add CMDs related to stage-2") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Eric Auger Message-Id: <20240313184954.42513-2-phi...@linaro.org> Commit: d6fd5d834671c8317aef5f0828504237353939ce https://github.com/qemu/qemu/commit/d6fd5d834671c8317aef5f0828504237353939ce Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M target/arm/hvf/hvf.c M target/i386/hvf/hvf.c Log Message: --- accel/hvf: Un-inline hvf_arch_supports_guest_debug() See previous commit and commit 9de9fa5cf2 ("Avoid using inlined functions with external linkage") for rationale. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Reviewed-by: Richard Henderson Message-Id: <20240313184954.42513-3-phi...@linaro.org> Commit: 4fbb7687cf3fccf39e2a76e41ec91c908d036621 https://github.com/qemu/qemu/commit/4fbb7687cf3fccf39e2a76e41ec91c908d036621 Author: Philippe Mathieu-Daudé Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M tests/qtest/libqos/ahci.c M tests/qtest/libqos/ahci.h Log Message: --- qtest/libqos: Reduce size_to_prdtl() declaration scope Sin
[Qemu-commits] [qemu/qemu] 869020: vga: merge conditionals on shift control register
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 869020451b3ab50bf825204a89adc1ee76ffb2ab https://github.com/qemu/qemu/commit/869020451b3ab50bf825204a89adc1ee76ffb2ab Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: merge conditionals on shift control register There are two sets of conditionals using the shift control bits: one to verify the palette and adjust disp_width, one to compute the "v" and "bits" variables. Merge them into one, with the extra benefit that we now have the "bits" value available early and can use it to compute region_end. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 30ed333404def8d93c54618f2cc850bc8f16dd2b https://github.com/qemu/qemu/commit/30ed333404def8d93c54618f2cc850bc8f16dd2b Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: move computation of dirty memory region later Move the computation of region_start and region_end after the value of "bits" is known. This makes it possible to distinguish modes that support horizontal pel panning from modes that do not. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: bae34170a758665682333a32846404af97e7c6c0 https://github.com/qemu/qemu/commit/bae34170a758665682333a32846404af97e7c6c0 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: adjust dirty memory region if pel panning is active When pel panning is active, one more byte is read from each of the VGA memory planes. This has to be accounted in the computation of region_end, otherwise vga_draw_graphic() fails an assertion: qemu-system-i386: ../system/physmem.c:946: cpu_physical_memory_snapshot_get_dirty: Assertion `start + length <= snap->end' failed. Reported-by: Helge Konetzka Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2244 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: 8ace17ded861191a8d68eb2ba88a1d102de794a9 https://github.com/qemu/qemu/commit/8ace17ded861191a8d68eb2ba88a1d102de794a9 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c Log Message: --- vga: do not treat horiz pel panning value of 8 as "enabled" Horizontal pel panning bit 3 is only used in text mode. In graphics mode, it can be treated as if it was zero, thus not extending the dirty memory region. Signed-off-by: Paolo Bonzini Commit: c1457e87fcb8d96bd2d731b554ba1520b7347498 https://github.com/qemu/qemu/commit/c1457e87fcb8d96bd2d731b554ba1520b7347498 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/scsi/lsi53c895a.c Log Message: --- lsi53c895a: avoid out of bounds access to s->msg[] If no bytes are there to process in the message in phase, the input data latch (s->sidl) is set to s->msg[-1]. Just do nothing since no DMA is performed. Reported-by: Chuhong Yuan Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini Commit: bc376ff802e2886e60e28c8bc7bb2851aea643ef https://github.com/qemu/qemu/commit/bc376ff802e2886e60e28c8bc7bb2851aea643ef Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/scsi/lsi53c895a.c Log Message: --- lsi53c895a: detect invalid Block Move instruction The spec for the lsi53c895a says: "If the instruction is a Block Move and a value of 0x00 is loaded into the DBC register, an illegal instruction interrupt occurs if the LSI53C895A is not in target mode, Command phase". Because QEMU only operates in initiator mode, generate the interrupt unconditionally if the low 24 bits are 0x00. Reported-by: Chuhong Yuan Signed-off-by: Paolo Bonzini Commit: eac4af186f6db46fc90ec571a855bd6fa4cb7841 https://github.com/qemu/qemu/commit/eac4af186f6db46fc90ec571a855bd6fa4cb7841 Author: Paolo Bonzini Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/i386/pc_q35.c Log Message: --- pc_q35: remove unnecessary m->alias assignment The assignment is already inherited from pc-q35-8.2. Signed-off-by: Paolo Bonzini Commit: 1689c8589def73159910e98b4944fde26b8f8081 https://github.com/qemu/qemu/commit/1689c8589def73159910e98b4944fde26b8f8081 Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/display/vga.c M hw/i386/pc_q35.c M hw/scsi/lsi53c895a.c Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * lsi53c895a: fix assertion failure with invalid Block Move * vga: fix assertion failure with 4-
[Qemu-commits] [qemu/qemu] 8e0cd2: usb-audio: Fix invalid values in AudioControl desc...
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 8e0cd23f7163f7f203bdaffd9f06feaa49dcec2d https://github.com/qemu/qemu/commit/8e0cd23f7163f7f203bdaffd9f06feaa49dcec2d Author: Joonas Kankaala Date: 2024-04-01 (Mon, 01 Apr 2024) Changed paths: M hw/usb/dev-audio.c Log Message: --- usb-audio: Fix invalid values in AudioControl descriptors This fixes the invalid bInterfaceProtocol value 0x04 in the USB audio AudioControl descriptors. It should be zero. While Linux and Windows forgive this error, macOS 14 Sonoma does not. The usb-audio device does not appear in macOS sound settings even though the device is recognized and shows up in USB system information. According to the USB audio class specs 1.0-4.0, valid values are 0x00, 0x20, 0x30 and 0x40. (Note also that Linux prints the warning "unknown interface protocol 0x4, assuming v1", but then proceeds as if the value was zero.) This also fixes the invalid wTotalLength value in the multi-channel setup AudioControl interface header descriptor (used when multi=on and out.mixing-engine off). The combined length of all the descriptors there add up to 0x37, not 0x38. In Linux, "lsusb -D ..." displays incomplete descriptor information when this length is incorrect. Signed-off-by: Joonas Kankaala Reviewed-by: Volker Rümelin Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev Commit: 9988c7b50e0ebd93a8ac10d7da6890d05971e98e https://github.com/qemu/qemu/commit/9988c7b50e0ebd93a8ac10d7da6890d05971e98e Author: Philippe Mathieu-Daudé Date: 2024-04-01 (Mon, 01 Apr 2024) Changed paths: M fpu/softfloat-specialize.c.inc Log Message: --- fpu/softfloat: Remove mention of TILE-Gx target TILE-Gx has been removed during the v6.0 release (see commit 2cc1a90166 "Remove deprecated target tilegx"), no need to mention it in the list of "supported targets". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev Commit: f6822fee969aed8662baa4fdc38e6aeced3894ad https://github.com/qemu/qemu/commit/f6822fee969aed8662baa4fdc38e6aeced3894ad Author: Stefan Weil Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M docs/devel/atomics.rst M docs/devel/ci-jobs.rst.inc M docs/devel/clocks.rst M docs/system/i386/sgx.rst M qapi/qom.json Log Message: --- Fix some typos in documentation (found by codespell) Signed-off-by: Stefan Weil Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev Commit: 7805132bc30b2619355b10bbfb67217ac838c677 https://github.com/qemu/qemu/commit/7805132bc30b2619355b10bbfb67217ac838c677 Author: Dayu Liu Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hmp-commands.hx Log Message: --- hmp: Add help information for watchdog action: inject-nmi virsh qemu-monitor-command --hmp help information of watchdog_action missing inject-nmi which already supported in Commit 795dc6e4 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2247 Signed-off-by: Dayu Liu Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev [Mjt: decode and word-wrap commit message and add Resolves: tag] Commit: 2fd8df9362d7f5b63e57fd0e561d08d2943ac7cf https://github.com/qemu/qemu/commit/2fd8df9362d7f5b63e57fd0e561d08d2943ac7cf Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M docs/devel/atomics.rst M docs/devel/ci-jobs.rst.inc M docs/devel/clocks.rst M docs/system/i386/sgx.rst M fpu/softfloat-specialize.c.inc M hmp-commands.hx M hw/usb/dev-audio.c M qapi/qom.json Log Message: --- Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging trivial patches for 2024-04-02 # -BEGIN PGP SIGNATURE- # # iQFDBAABCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmYL4EQPHG1qdEB0bHMu # bXNrLnJ1AAoJEHAbT2saaT5ZyhIH/1sz3OeyczgPeMsICXpCnkQps8cDKuzUMkHA # BHZGQ9AvFNZVw0YzgY+h1u2zPnsN0WNpWuxe8dbZODHcBjeJVZ5yOyJ6TWVVuKDn # 6TzOfhGOeaUthNphpfZaM1q7fJfwU8zW3/pe6OCsD92Czxb8Eao3T4ONzVNZVXU9 # 3KPXPD9weWnY/sozXDqPFJmwn0LDL5o6IhPz+Ypp5xFrOTC+5+C/UmgTGIsuKTcO # kQ96gVwCr3tm1YeJtEGfNOar/lt75jHHV2wbizaz2Jpwv9GHwtHXJOtQ38fIYxlm # UPZ+L982SjfgaIHLCGOtLYJWSXsK5xI31HDSK1ZIiJquocZE1jU= # =ZGw+ # -END PGP SIGNATURE- # gpg: Signature made Tue 02 Apr 2024 11:39:00 BST # gpg:using RSA key 7B73BAD68BE7A2C289314B22701B4F6B1A693E59 # gpg:issuer "m...@tls.msk.ru" # gpg: Good signature from "Michael Tokarev " [full] # gpg: aka "Michael Tokarev " [full] # gpg: aka "Michael Tokarev " [full] # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D 4324 457C E0A0 8044 65C5 # Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931 4B22 701B 4F6B 1A69 3E59 * tag 'pul
[Qemu-commits] [qemu/qemu] 8e0cd2: usb-audio: Fix invalid values in AudioControl desc...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 8e0cd23f7163f7f203bdaffd9f06feaa49dcec2d https://github.com/qemu/qemu/commit/8e0cd23f7163f7f203bdaffd9f06feaa49dcec2d Author: Joonas Kankaala Date: 2024-04-01 (Mon, 01 Apr 2024) Changed paths: M hw/usb/dev-audio.c Log Message: --- usb-audio: Fix invalid values in AudioControl descriptors This fixes the invalid bInterfaceProtocol value 0x04 in the USB audio AudioControl descriptors. It should be zero. While Linux and Windows forgive this error, macOS 14 Sonoma does not. The usb-audio device does not appear in macOS sound settings even though the device is recognized and shows up in USB system information. According to the USB audio class specs 1.0-4.0, valid values are 0x00, 0x20, 0x30 and 0x40. (Note also that Linux prints the warning "unknown interface protocol 0x4, assuming v1", but then proceeds as if the value was zero.) This also fixes the invalid wTotalLength value in the multi-channel setup AudioControl interface header descriptor (used when multi=on and out.mixing-engine off). The combined length of all the descriptors there add up to 0x37, not 0x38. In Linux, "lsusb -D ..." displays incomplete descriptor information when this length is incorrect. Signed-off-by: Joonas Kankaala Reviewed-by: Volker Rümelin Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev Commit: 9988c7b50e0ebd93a8ac10d7da6890d05971e98e https://github.com/qemu/qemu/commit/9988c7b50e0ebd93a8ac10d7da6890d05971e98e Author: Philippe Mathieu-Daudé Date: 2024-04-01 (Mon, 01 Apr 2024) Changed paths: M fpu/softfloat-specialize.c.inc Log Message: --- fpu/softfloat: Remove mention of TILE-Gx target TILE-Gx has been removed during the v6.0 release (see commit 2cc1a90166 "Remove deprecated target tilegx"), no need to mention it in the list of "supported targets". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev Commit: f6822fee969aed8662baa4fdc38e6aeced3894ad https://github.com/qemu/qemu/commit/f6822fee969aed8662baa4fdc38e6aeced3894ad Author: Stefan Weil Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M docs/devel/atomics.rst M docs/devel/ci-jobs.rst.inc M docs/devel/clocks.rst M docs/system/i386/sgx.rst M qapi/qom.json Log Message: --- Fix some typos in documentation (found by codespell) Signed-off-by: Stefan Weil Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev Commit: 7805132bc30b2619355b10bbfb67217ac838c677 https://github.com/qemu/qemu/commit/7805132bc30b2619355b10bbfb67217ac838c677 Author: Dayu Liu Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hmp-commands.hx Log Message: --- hmp: Add help information for watchdog action: inject-nmi virsh qemu-monitor-command --hmp help information of watchdog_action missing inject-nmi which already supported in Commit 795dc6e4 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2247 Signed-off-by: Dayu Liu Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev [Mjt: decode and word-wrap commit message and add Resolves: tag] Commit: 2fd8df9362d7f5b63e57fd0e561d08d2943ac7cf https://github.com/qemu/qemu/commit/2fd8df9362d7f5b63e57fd0e561d08d2943ac7cf Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M docs/devel/atomics.rst M docs/devel/ci-jobs.rst.inc M docs/devel/clocks.rst M docs/system/i386/sgx.rst M fpu/softfloat-specialize.c.inc M hmp-commands.hx M hw/usb/dev-audio.c M qapi/qom.json Log Message: --- Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging trivial patches for 2024-04-02 # -BEGIN PGP SIGNATURE- # # iQFDBAABCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmYL4EQPHG1qdEB0bHMu # bXNrLnJ1AAoJEHAbT2saaT5ZyhIH/1sz3OeyczgPeMsICXpCnkQps8cDKuzUMkHA # BHZGQ9AvFNZVw0YzgY+h1u2zPnsN0WNpWuxe8dbZODHcBjeJVZ5yOyJ6TWVVuKDn # 6TzOfhGOeaUthNphpfZaM1q7fJfwU8zW3/pe6OCsD92Czxb8Eao3T4ONzVNZVXU9 # 3KPXPD9weWnY/sozXDqPFJmwn0LDL5o6IhPz+Ypp5xFrOTC+5+C/UmgTGIsuKTcO # kQ96gVwCr3tm1YeJtEGfNOar/lt75jHHV2wbizaz2Jpwv9GHwtHXJOtQ38fIYxlm # UPZ+L982SjfgaIHLCGOtLYJWSXsK5xI31HDSK1ZIiJquocZE1jU= # =ZGw+ # -END PGP SIGNATURE- # gpg: Signature made Tue 02 Apr 2024 11:39:00 BST # gpg:using RSA key 7B73BAD68BE7A2C289314B22701B4F6B1A693E59 # gpg:issuer "m...@tls.msk.ru" # gpg: Good signature from "Michael Tokarev " [full] # gpg: aka "Michael Tokarev " [full] # gpg: aka "Michael Tokarev " [full] # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D 4324 457C E0A0 8044 65C5 # Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931 4B22 701B 4F6B 1A69 3E59 * tag 'pul
[Qemu-commits] [qemu/qemu] fbe5ac: target/arm: take HSTR traps of cp15 accesses to EL...
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: fbe5ac5671a9cfcc7f4aee9a5fac7720eea08876 https://github.com/qemu/qemu/commit/fbe5ac5671a9cfcc7f4aee9a5fac7720eea08876 Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M target/arm/tcg/translate.c Log Message: --- target/arm: take HSTR traps of cp15 accesses to EL2, not EL1 The HSTR_EL2 register allows the hypervisor to trap AArch32 EL1 and EL0 accesses to cp15 registers. We incorrectly implemented this so they trap to EL1 when we detect the need for a HSTR trap at code generation time. (The check in access_check_cp_reg() which we do at runtime to catch traps from EL0 is correctly routing them to EL2.) Use the correct target EL when generating the code to take the trap. Cc: qemu-sta...@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2226 Fixes: 049edada5e93df ("target/arm: Make HSTR_EL2 traps take priority over UNDEF-at-EL1") Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20240325133116.2075362-1-peter.mayd...@linaro.org Commit: e12055064ed10c12d8660246f1b4aa06e5ed https://github.com/qemu/qemu/commit/e12055064ed10c12d8660246f1b4aa06e5ed Author: Marcin Juszkiewicz Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M docs/system/arm/sbsa.rst Log Message: --- docs: sbsa: update specs, add dt note Hardware of sbsa-ref board is nowadays defined by both BSA and SBSA specifications. Then BBR defines firmware interface. Added note about DeviceTree data passed from QEMU to firmware. It is very minimal and provides only data we use in firmware. Added NUMA information to list of things reported by DeviceTree. Signed-off-by: Marcin Juszkiewicz Message-id: 20240328163851.1386176-1-marcin.juszkiew...@linaro.org Reviewed-by: Leif Lindholm Signed-off-by: Peter Maydell Commit: 44e25fbc1900c99c91a44e532c5bd680bc403459 https://github.com/qemu/qemu/commit/44e25fbc1900c99c91a44e532c5bd680bc403459 Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/intc/arm_gicv3_cpuif.c Log Message: --- hw/intc/arm_gicv3: ICC_HPPIR* return SPURIOUS if int group is disabled If the group of the highest priority pending interrupt is disabled via ICC_IGRPEN*, the ICC_HPPIR* registers should return INTID_SPURIOUS, not the interrupt ID. (See the GIC architecture specification pseudocode functions ICC_HPPIR1_EL1[] and HighestPriorityPendingInterrupt().) Make HPPIR reads honour the group disable, the way we already do when determining whether to preempt in icc_hppi_can_preempt(). Cc: qemu-sta...@nongnu.org Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 2024032815.2522667-1-peter.mayd...@linaro.org Commit: 27c335a464ef3fdaffe759e8122e3e7742e19485 https://github.com/qemu/qemu/commit/27c335a464ef3fdaffe759e8122e3e7742e19485 Author: Cédric Le Goater Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M tests/qtest/stm32l4x5_gpio-test.c Log Message: --- tests/qtest: Fix STM32L4x5 GPIO test on 32-bit The test mangles the GPIO address and the pin number in the qtest_add_data_func data parameter. Doing so, it assumes that the host pointer size is always 64-bit, which breaks on 32-bit : ../tests/qtest/stm32l4x5_gpio-test.c: In function ‘test_gpio_output_mode’: ../tests/qtest/stm32l4x5_gpio-test.c:272:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 272 | unsigned int pin = ((uint64_t)data) & 0xF; | ^ ../tests/qtest/stm32l4x5_gpio-test.c:273:22: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 273 | uint32_t gpio = ((uint64_t)data) >> 32; | ^ To fix, improve the mangling of the GPIO address and pin number fields by using GPIO_SIZE so that the resulting value fits in a 32-bit pointer. While at it, include some helpers to hide the details. Cc: Arnaud Minier Cc: Inès Varhol Signed-off-by: Cédric Le Goater Message-id: 20240329092747.298259-1-...@redhat.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: 393770d7a02135e7468018f52da610712f151ec0 https://github.com/qemu/qemu/commit/393770d7a02135e7468018f52da610712f151ec0 Author: Cédric Le Goater Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/arm/raspi4b.c Log Message: --- raspi4b: Reduce RAM to 1Gb on 32-bit hosts Change the board revision number and RAM size to 1Gb on 32-bit hosts. On these systems, RAM has a 2047 MB limit and this breaks the tests. Fixes: 7785e8ea2204 ("hw/arm: Introduce Raspberry PI 4 machine") Signed-off-by: Cédric Le Goater Message-id: 20240329150155.357043-1-...@redhat.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: 7fcf7575f3d201fc84ae168
[Qemu-commits] [qemu/qemu] fbe5ac: target/arm: take HSTR traps of cp15 accesses to EL...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: fbe5ac5671a9cfcc7f4aee9a5fac7720eea08876 https://github.com/qemu/qemu/commit/fbe5ac5671a9cfcc7f4aee9a5fac7720eea08876 Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M target/arm/tcg/translate.c Log Message: --- target/arm: take HSTR traps of cp15 accesses to EL2, not EL1 The HSTR_EL2 register allows the hypervisor to trap AArch32 EL1 and EL0 accesses to cp15 registers. We incorrectly implemented this so they trap to EL1 when we detect the need for a HSTR trap at code generation time. (The check in access_check_cp_reg() which we do at runtime to catch traps from EL0 is correctly routing them to EL2.) Use the correct target EL when generating the code to take the trap. Cc: qemu-sta...@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2226 Fixes: 049edada5e93df ("target/arm: Make HSTR_EL2 traps take priority over UNDEF-at-EL1") Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20240325133116.2075362-1-peter.mayd...@linaro.org Commit: e12055064ed10c12d8660246f1b4aa06e5ed https://github.com/qemu/qemu/commit/e12055064ed10c12d8660246f1b4aa06e5ed Author: Marcin Juszkiewicz Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M docs/system/arm/sbsa.rst Log Message: --- docs: sbsa: update specs, add dt note Hardware of sbsa-ref board is nowadays defined by both BSA and SBSA specifications. Then BBR defines firmware interface. Added note about DeviceTree data passed from QEMU to firmware. It is very minimal and provides only data we use in firmware. Added NUMA information to list of things reported by DeviceTree. Signed-off-by: Marcin Juszkiewicz Message-id: 20240328163851.1386176-1-marcin.juszkiew...@linaro.org Reviewed-by: Leif Lindholm Signed-off-by: Peter Maydell Commit: 44e25fbc1900c99c91a44e532c5bd680bc403459 https://github.com/qemu/qemu/commit/44e25fbc1900c99c91a44e532c5bd680bc403459 Author: Peter Maydell Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/intc/arm_gicv3_cpuif.c Log Message: --- hw/intc/arm_gicv3: ICC_HPPIR* return SPURIOUS if int group is disabled If the group of the highest priority pending interrupt is disabled via ICC_IGRPEN*, the ICC_HPPIR* registers should return INTID_SPURIOUS, not the interrupt ID. (See the GIC architecture specification pseudocode functions ICC_HPPIR1_EL1[] and HighestPriorityPendingInterrupt().) Make HPPIR reads honour the group disable, the way we already do when determining whether to preempt in icc_hppi_can_preempt(). Cc: qemu-sta...@nongnu.org Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 2024032815.2522667-1-peter.mayd...@linaro.org Commit: 27c335a464ef3fdaffe759e8122e3e7742e19485 https://github.com/qemu/qemu/commit/27c335a464ef3fdaffe759e8122e3e7742e19485 Author: Cédric Le Goater Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M tests/qtest/stm32l4x5_gpio-test.c Log Message: --- tests/qtest: Fix STM32L4x5 GPIO test on 32-bit The test mangles the GPIO address and the pin number in the qtest_add_data_func data parameter. Doing so, it assumes that the host pointer size is always 64-bit, which breaks on 32-bit : ../tests/qtest/stm32l4x5_gpio-test.c: In function ‘test_gpio_output_mode’: ../tests/qtest/stm32l4x5_gpio-test.c:272:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 272 | unsigned int pin = ((uint64_t)data) & 0xF; | ^ ../tests/qtest/stm32l4x5_gpio-test.c:273:22: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 273 | uint32_t gpio = ((uint64_t)data) >> 32; | ^ To fix, improve the mangling of the GPIO address and pin number fields by using GPIO_SIZE so that the resulting value fits in a 32-bit pointer. While at it, include some helpers to hide the details. Cc: Arnaud Minier Cc: Inès Varhol Signed-off-by: Cédric Le Goater Message-id: 20240329092747.298259-1-...@redhat.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: 393770d7a02135e7468018f52da610712f151ec0 https://github.com/qemu/qemu/commit/393770d7a02135e7468018f52da610712f151ec0 Author: Cédric Le Goater Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M hw/arm/raspi4b.c Log Message: --- raspi4b: Reduce RAM to 1Gb on 32-bit hosts Change the board revision number and RAM size to 1Gb on 32-bit hosts. On these systems, RAM has a 2047 MB limit and this breaks the tests. Fixes: 7785e8ea2204 ("hw/arm: Introduce Raspberry PI 4 machine") Signed-off-by: Cédric Le Goater Message-id: 20240329150155.357043-1-...@redhat.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: 7fcf7575f3d201fc84ae168
[Qemu-commits] [qemu/qemu] 30158d: migration: Set migration error in migration_comple...
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 30158d885008246f48ee8ef9cdeca220c1bd8586 https://github.com/qemu/qemu/commit/30158d885008246f48ee8ef9cdeca220c1bd8586 Author: Avihai Horon Date: 2024-03-31 (Sun, 31 Mar 2024) Changed paths: M migration/migration.c Log Message: --- migration: Set migration error in migration_completion() After commit 9425ef3f990a ("migration: Use migrate_has_error() in close_return_path_on_source()"), close_return_path_on_source() assumes that migration error is set if an error occurs during migration. This may not be true if migration errors in migration_completion(). For example, if qemu_savevm_state_complete_precopy() errors, migration error will not be set. This in turn, will cause a migration hang bug, similar to the bug that was fixed by commit 22b04245f0d5 ("migration: Join the return path thread before releasing to_dst_file"), as shutdown() will not be issued for the return-path channel. Fix it by ensuring migration error is set in case of error in migration_completion(). Signed-off-by: Avihai Horon Reviewed-by: Peter Xu Fixes: 9425ef3f990a ("migration: Use migrate_has_error() in close_return_path_on_source()") Acked-by: Cédric Le Goater Link: https://lore.kernel.org/r/20240328140252.16756-2-avih...@nvidia.com Signed-off-by: Peter Xu Commit: d0ad271a7613459bd0a3397c8071a4ad06f3f7eb https://github.com/qemu/qemu/commit/d0ad271a7613459bd0a3397c8071a4ad06f3f7eb Author: Avihai Horon Date: 2024-03-31 (Sun, 31 Mar 2024) Changed paths: M migration/migration.c Log Message: --- migration/postcopy: Ensure postcopy_start() sets errp if it fails There are several places where postcopy_start() fails without setting errp. This can cause a null pointer de-reference, as in case of error, the caller of postcopy_start() copies/prints the error set in errp. Fix it by setting errp in all of postcopy_start() error paths. Cc: qemu-stable Fixes: 908927db28ea ("migration: Update error description whenever migration fails") Signed-off-by: Avihai Horon Reviewed-by: Cédric Le Goater Reviewed-by: Peter Xu Link: https://lore.kernel.org/r/20240328140252.16756-3-avih...@nvidia.com Signed-off-by: Peter Xu Commit: 1d2f2b35bc86b7a13dc3009a3c5031220aa0b7de https://github.com/qemu/qemu/commit/1d2f2b35bc86b7a13dc3009a3c5031220aa0b7de Author: Michael Tokarev Date: 2024-04-01 (Mon, 01 Apr 2024) Changed paths: M .gitlab-ci.d/cirrus.yml Log Message: --- gitlab-ci/cirrus: switch from 'master' to 'latest' Commit ab72522797 "gitlab: switch from 'stable' to 'latest' docker container tags" switched most tags to 'latest' but missed cirrus image. Fix this now. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2256 Signed-off-by: Michael Tokarev Message-id: 20240401051633.2780456-1-...@tls.msk.ru Signed-off-by: Peter Maydell Commit: 6af9d12c88b9720f209912f6e4b01fefe5906d59 https://github.com/qemu/qemu/commit/6af9d12c88b9720f209912f6e4b01fefe5906d59 Author: Peter Maydell Date: 2024-04-01 (Mon, 01 Apr 2024) Changed paths: M migration/migration.c Log Message: --- Merge tag 'migration-20240331-pull-request' of https://gitlab.com/peterx/qemu into staging Migration pull for 9.0-rc2 - Avihai's two fixes on error paths # -BEGIN PGP SIGNATURE- # # iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCZgmsOxIccGV0ZXJ4QHJl # ZGhhdC5jb20ACgkQO1/MzfOr1waYKQD9G/B4c5u94Puhkr4o+K4M3FZ3J1pSpYRd # nMAlrCWYLHQBAKV5q8DvgXbRNzT/Q+1UX7psxIsjyaqljxyJoZ+dIgAD # =hucV # -END PGP SIGNATURE- # gpg: Signature made Sun 31 Mar 2024 19:32:27 BST # gpg:using EDDSA key B9184DC20CC457DACF7DD1A93B5FCCCDF3ABD706 # gpg:issuer "pet...@redhat.com" # gpg: Good signature from "Peter Xu " [marginal] # gpg: aka "Peter Xu " [marginal] # gpg: WARNING: This key is not certified with sufficiently trusted signatures! # gpg: It is not certain that the signature belongs to the owner. # Primary key fingerprint: B918 4DC2 0CC4 57DA CF7D D1A9 3B5F CCCD F3AB D706 * tag 'migration-20240331-pull-request' of https://gitlab.com/peterx/qemu: migration/postcopy: Ensure postcopy_start() sets errp if it fails migration: Set migration error in migration_completion() Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/7901c12bd77e...6af9d12c88b9 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 30158d: migration: Set migration error in migration_comple...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 30158d885008246f48ee8ef9cdeca220c1bd8586 https://github.com/qemu/qemu/commit/30158d885008246f48ee8ef9cdeca220c1bd8586 Author: Avihai Horon Date: 2024-03-31 (Sun, 31 Mar 2024) Changed paths: M migration/migration.c Log Message: --- migration: Set migration error in migration_completion() After commit 9425ef3f990a ("migration: Use migrate_has_error() in close_return_path_on_source()"), close_return_path_on_source() assumes that migration error is set if an error occurs during migration. This may not be true if migration errors in migration_completion(). For example, if qemu_savevm_state_complete_precopy() errors, migration error will not be set. This in turn, will cause a migration hang bug, similar to the bug that was fixed by commit 22b04245f0d5 ("migration: Join the return path thread before releasing to_dst_file"), as shutdown() will not be issued for the return-path channel. Fix it by ensuring migration error is set in case of error in migration_completion(). Signed-off-by: Avihai Horon Reviewed-by: Peter Xu Fixes: 9425ef3f990a ("migration: Use migrate_has_error() in close_return_path_on_source()") Acked-by: Cédric Le Goater Link: https://lore.kernel.org/r/20240328140252.16756-2-avih...@nvidia.com Signed-off-by: Peter Xu Commit: d0ad271a7613459bd0a3397c8071a4ad06f3f7eb https://github.com/qemu/qemu/commit/d0ad271a7613459bd0a3397c8071a4ad06f3f7eb Author: Avihai Horon Date: 2024-03-31 (Sun, 31 Mar 2024) Changed paths: M migration/migration.c Log Message: --- migration/postcopy: Ensure postcopy_start() sets errp if it fails There are several places where postcopy_start() fails without setting errp. This can cause a null pointer de-reference, as in case of error, the caller of postcopy_start() copies/prints the error set in errp. Fix it by setting errp in all of postcopy_start() error paths. Cc: qemu-stable Fixes: 908927db28ea ("migration: Update error description whenever migration fails") Signed-off-by: Avihai Horon Reviewed-by: Cédric Le Goater Reviewed-by: Peter Xu Link: https://lore.kernel.org/r/20240328140252.16756-3-avih...@nvidia.com Signed-off-by: Peter Xu Commit: 1d2f2b35bc86b7a13dc3009a3c5031220aa0b7de https://github.com/qemu/qemu/commit/1d2f2b35bc86b7a13dc3009a3c5031220aa0b7de Author: Michael Tokarev Date: 2024-04-01 (Mon, 01 Apr 2024) Changed paths: M .gitlab-ci.d/cirrus.yml Log Message: --- gitlab-ci/cirrus: switch from 'master' to 'latest' Commit ab72522797 "gitlab: switch from 'stable' to 'latest' docker container tags" switched most tags to 'latest' but missed cirrus image. Fix this now. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2256 Signed-off-by: Michael Tokarev Message-id: 20240401051633.2780456-1-...@tls.msk.ru Signed-off-by: Peter Maydell Commit: 6af9d12c88b9720f209912f6e4b01fefe5906d59 https://github.com/qemu/qemu/commit/6af9d12c88b9720f209912f6e4b01fefe5906d59 Author: Peter Maydell Date: 2024-04-01 (Mon, 01 Apr 2024) Changed paths: M migration/migration.c Log Message: --- Merge tag 'migration-20240331-pull-request' of https://gitlab.com/peterx/qemu into staging Migration pull for 9.0-rc2 - Avihai's two fixes on error paths # -BEGIN PGP SIGNATURE- # # iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCZgmsOxIccGV0ZXJ4QHJl # ZGhhdC5jb20ACgkQO1/MzfOr1waYKQD9G/B4c5u94Puhkr4o+K4M3FZ3J1pSpYRd # nMAlrCWYLHQBAKV5q8DvgXbRNzT/Q+1UX7psxIsjyaqljxyJoZ+dIgAD # =hucV # -END PGP SIGNATURE- # gpg: Signature made Sun 31 Mar 2024 19:32:27 BST # gpg:using EDDSA key B9184DC20CC457DACF7DD1A93B5FCCCDF3ABD706 # gpg:issuer "pet...@redhat.com" # gpg: Good signature from "Peter Xu " [marginal] # gpg: aka "Peter Xu " [marginal] # gpg: WARNING: This key is not certified with sufficiently trusted signatures! # gpg: It is not certain that the signature belongs to the owner. # Primary key fingerprint: B918 4DC2 0CC4 57DA CF7D D1A9 3B5F CCCD F3AB D706 * tag 'migration-20240331-pull-request' of https://gitlab.com/peterx/qemu: migration/postcopy: Ensure postcopy_start() sets errp if it fails migration: Set migration error in migration_completion() Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/7901c12bd77e...6af9d12c88b9 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 7fb7c9: target/hppa: Fix BE, L set of sr0
fter. We chose a different approach that handles the root cause: do not use constructor/destructor to create the temp dir. Create one temp dir for each test, and remove it after the test is complete. This is the approach taken for other qtests like vhost-user-test.c where each test requires a setup() and a subsequent cleanup(), all of those instantiated in the .before callback. [1] https://mail.gnu.org/archive/html/qemu-devel/2024-03/msg05807.html Reported-by: Thomas Huth Signed-off-by: Daniel Henrique Barboza Message-Id: <20240327142011.805728-2-dbarb...@ventanamicro.com> Reviewed-by: Greg Kurz Reviewed-by: Christian Schoenebeck Tested-by: Thomas Huth Signed-off-by: Christian Schoenebeck Commit: dcae75fba1084823d0fc87caa13f0ba6f32155f3 https://github.com/qemu/qemu/commit/dcae75fba1084823d0fc87caa13f0ba6f32155f3 Author: Daniel Henrique Barboza Date: 2024-03-28 (Thu, 28 Mar 2024) Changed paths: M tests/qtest/virtio-9p-test.c Log Message: --- qtest/virtio-9p-test.c: remove g_test_slow() gate Commit 558f5c42ef gated the local tests with g_test_slow() to skip them in 'make check'. The reported issue back then was this following CI problem: https://lists.nongnu.org/archive/html/qemu-devel/2020-11/msg05510.html This problem ended up being fixed after it was detected with the recently added risc-v machine nodes [1]. virtio-9p-test.c is now creating and removing temporary dirs for each test run, instead of creating a single dir for the entire qos-test scope. We're now able to run these tests with 'make check' in the CI, so let's go ahead and re-enable them. This reverts commit 558f5c42efded3e0d0b20a90bce2a9a14580d824. [1] https://mail.gnu.org/archive/html/qemu-devel/2024-03/msg05807.html Signed-off-by: Daniel Henrique Barboza Message-Id: <20240327142011.805728-3-dbarb...@ventanamicro.com> Reviewed-by: Greg Kurz Reviewed-by: Christian Schoenebeck Tested-by: Thomas Huth Signed-off-by: Christian Schoenebeck Commit: 558c09bef87cfa891f0eb12651208cb46212815d https://github.com/qemu/qemu/commit/558c09bef87cfa891f0eb12651208cb46212815d Author: Richard Henderson Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M target/hppa/helper.h M target/hppa/sys_helper.c M target/hppa/translate.c Log Message: --- target/hppa: Generate getshadowregs inline This operation is trivial and does not require a helper. Reviewed-by: Helge Deller Signed-off-by: Richard Henderson Commit: 381931275a9e09fb832bd6be0b41ebd6ce415099 https://github.com/qemu/qemu/commit/381931275a9e09fb832bd6be0b41ebd6ce415099 Author: Richard Henderson Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M target/hppa/insns.decode M target/hppa/translate.c Log Message: --- target/hppa: Move diag argument handling to decodetree Split trans_diag into per-operation functions. Reviewed-by: Helge Deller Signed-off-by: Richard Henderson Commit: 3bdf20819e6824b75a498332961abe7fd25ed671 https://github.com/qemu/qemu/commit/3bdf20819e6824b75a498332961abe7fd25ed671 Author: Helge Deller Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M target/hppa/insns.decode M target/hppa/translate.c Log Message: --- target/hppa: Add diag instructions to set/restore shadow registers The 32-bit PA-7300LC (PCX-L2) CPU and the 64-bit PA8700 (PCX-W2) CPU use different diag instructions to save or restore the CPU registers to/from the shadow registers. Implement those per-CPU architecture diag instructions to fix those parts of the HP ODE testcases (L2DIAG and WDIAG, section 1) which test the shadow registers. Signed-off-by: Helge Deller [rth: Use decodetree to distinguish cases] Signed-off-by: Richard Henderson Reviewed-by: Helge Deller Tested-by: Helge Deller Commit: 4a3aa11e1fb25c28c24a43fd2835c429b00a463d https://github.com/qemu/qemu/commit/4a3aa11e1fb25c28c24a43fd2835c429b00a463d Author: Richard Henderson Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M target/hppa/translate.c Log Message: --- target/hppa: Clear psw_n for BE on use_nullify_skip path Along this path we have already skipped the insn to be nullified, so the subsequent insn should be executed. Cc: qemu-sta...@nongnu.org Reported-by: Sven Schnelle Tested-by: Sven Schnelle Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 58cb91b34d9b1e87353c4a21ff39062dd8b25dd5 https://github.com/qemu/qemu/commit/58cb91b34d9b1e87353c4a21ff39062dd8b25dd5 Author: Harsh Prateek Bora Date: 2024-03-30 (Sat, 30 Mar 2024) Changed paths: M hw/ppc/spapr_nested.c Log Message: --- spapr: nested: use bitwise NOT operator for flags check Check for flag bit in H_GUEST_GETSET_STATE_FLAG_GUEST_WIDE need to use bitwise NOT operator to ensure no other flag bits are set. Resolves: Coverity CID 1540008 Resolves: Coverity CID 154
[Qemu-commits] [qemu/qemu] 7fb7c9: target/hppa: Fix BE, L set of sr0
ht after. We chose a different approach that handles the root cause: do not use constructor/destructor to create the temp dir. Create one temp dir for each test, and remove it after the test is complete. This is the approach taken for other qtests like vhost-user-test.c where each test requires a setup() and a subsequent cleanup(), all of those instantiated in the .before callback. [1] https://mail.gnu.org/archive/html/qemu-devel/2024-03/msg05807.html Reported-by: Thomas Huth Signed-off-by: Daniel Henrique Barboza Message-Id: <20240327142011.805728-2-dbarb...@ventanamicro.com> Reviewed-by: Greg Kurz Reviewed-by: Christian Schoenebeck Tested-by: Thomas Huth Signed-off-by: Christian Schoenebeck Commit: dcae75fba1084823d0fc87caa13f0ba6f32155f3 https://github.com/qemu/qemu/commit/dcae75fba1084823d0fc87caa13f0ba6f32155f3 Author: Daniel Henrique Barboza Date: 2024-03-28 (Thu, 28 Mar 2024) Changed paths: M tests/qtest/virtio-9p-test.c Log Message: --- qtest/virtio-9p-test.c: remove g_test_slow() gate Commit 558f5c42ef gated the local tests with g_test_slow() to skip them in 'make check'. The reported issue back then was this following CI problem: https://lists.nongnu.org/archive/html/qemu-devel/2020-11/msg05510.html This problem ended up being fixed after it was detected with the recently added risc-v machine nodes [1]. virtio-9p-test.c is now creating and removing temporary dirs for each test run, instead of creating a single dir for the entire qos-test scope. We're now able to run these tests with 'make check' in the CI, so let's go ahead and re-enable them. This reverts commit 558f5c42efded3e0d0b20a90bce2a9a14580d824. [1] https://mail.gnu.org/archive/html/qemu-devel/2024-03/msg05807.html Signed-off-by: Daniel Henrique Barboza Message-Id: <20240327142011.805728-3-dbarb...@ventanamicro.com> Reviewed-by: Greg Kurz Reviewed-by: Christian Schoenebeck Tested-by: Thomas Huth Signed-off-by: Christian Schoenebeck Commit: 558c09bef87cfa891f0eb12651208cb46212815d https://github.com/qemu/qemu/commit/558c09bef87cfa891f0eb12651208cb46212815d Author: Richard Henderson Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M target/hppa/helper.h M target/hppa/sys_helper.c M target/hppa/translate.c Log Message: --- target/hppa: Generate getshadowregs inline This operation is trivial and does not require a helper. Reviewed-by: Helge Deller Signed-off-by: Richard Henderson Commit: 381931275a9e09fb832bd6be0b41ebd6ce415099 https://github.com/qemu/qemu/commit/381931275a9e09fb832bd6be0b41ebd6ce415099 Author: Richard Henderson Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M target/hppa/insns.decode M target/hppa/translate.c Log Message: --- target/hppa: Move diag argument handling to decodetree Split trans_diag into per-operation functions. Reviewed-by: Helge Deller Signed-off-by: Richard Henderson Commit: 3bdf20819e6824b75a498332961abe7fd25ed671 https://github.com/qemu/qemu/commit/3bdf20819e6824b75a498332961abe7fd25ed671 Author: Helge Deller Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M target/hppa/insns.decode M target/hppa/translate.c Log Message: --- target/hppa: Add diag instructions to set/restore shadow registers The 32-bit PA-7300LC (PCX-L2) CPU and the 64-bit PA8700 (PCX-W2) CPU use different diag instructions to save or restore the CPU registers to/from the shadow registers. Implement those per-CPU architecture diag instructions to fix those parts of the HP ODE testcases (L2DIAG and WDIAG, section 1) which test the shadow registers. Signed-off-by: Helge Deller [rth: Use decodetree to distinguish cases] Signed-off-by: Richard Henderson Reviewed-by: Helge Deller Tested-by: Helge Deller Commit: 4a3aa11e1fb25c28c24a43fd2835c429b00a463d https://github.com/qemu/qemu/commit/4a3aa11e1fb25c28c24a43fd2835c429b00a463d Author: Richard Henderson Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M target/hppa/translate.c Log Message: --- target/hppa: Clear psw_n for BE on use_nullify_skip path Along this path we have already skipped the insn to be nullified, so the subsequent insn should be executed. Cc: qemu-sta...@nongnu.org Reported-by: Sven Schnelle Tested-by: Sven Schnelle Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 58cb91b34d9b1e87353c4a21ff39062dd8b25dd5 https://github.com/qemu/qemu/commit/58cb91b34d9b1e87353c4a21ff39062dd8b25dd5 Author: Harsh Prateek Bora Date: 2024-03-30 (Sat, 30 Mar 2024) Changed paths: M hw/ppc/spapr_nested.c Log Message: --- spapr: nested: use bitwise NOT operator for flags check Check for flag bit in H_GUEST_GETSET_STATE_FLAG_GUEST_WIDE need to use bitwise NOT operator to ensure no other flag bits are set. Resolves: Coverity CID 1540008 Resolves: Coverity CID 154
[Qemu-commits] [qemu/qemu] b9f383: linux-user: Fix semctl() strace
he pc at the beginning of TB, not the actual pc installed by cpu_restore_state_from_tb, which could be any of the guest instructions within TB. Signed-off-by: Richard Henderson Commit: 10e637f47f18f7b5f8424a7417b7d9f34672ad81 https://github.com/qemu/qemu/commit/10e637f47f18f7b5f8424a7417b7d9f34672ad81 Author: Peter Maydell Date: 2024-03-30 (Sat, 30 Mar 2024) Changed paths: M ebpf/ebpf_rss.c M hw/net/net_tx_pkt.c M hw/net/virtio-net.c M include/net/vhost_net.h M net/tap-win32.c M net/tap.c Log Message: --- Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging # -BEGIN PGP SIGNATURE- # # iQEzBAABCAAdFiEEIV1G9IJGaJ7HfzVi7wSWWzmNYhEFAmYGZ7EACgkQ7wSWWzmN # YhHvxgf/SDEYYMlxU7PA1SfwlIYtUG8K1zQnwLXNY6ySCJuCn1IdVoITaUt3BtE5 # OtrhKI8cW5WwL4qzkElWlL431vyqomGdmJQedF8agwoR2aIo24i/Ue09MHxJxXUB # ONEOv3bizDCYWUjz+PMHRdIbo0AiSNaUDnB8iY59yD6HZqSLVMDx8Ia2KVrzUKwc # nMuqkDsVIc3gwqFNPbTl3yqVt6k1x+vBCGQUg9BiKE3pkUcONhsJpBYYj4hlY9mn # /BPlQBcRUoLHQD7KGSUKVFSODHPYzDg7BsSz2+EpuZucRRI3VEyHlcB5A6LIVhrK # fpqd+80Fb7VE9CAxA2gFj7gh5uPJ1A== # =shO6 # -END PGP SIGNATURE- # gpg: Signature made Fri 29 Mar 2024 07:03:13 GMT # gpg:using RSA key 215D46F48246689EC77F3562EF04965B398D6211 # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) " [marginal] # gpg: WARNING: This key is not certified with sufficiently trusted signatures! # gpg: It is not certain that the signature belongs to the owner. # Primary key fingerprint: 215D 46F4 8246 689E C77F 3562 EF04 965B 398D 6211 * tag 'net-pull-request' of https://github.com/jasowang/qemu: Revert "tap: setting error appropriately when calling net_init_tap_one()" tap-win32: Remove unnecessary stubs hw/net/net_tx_pkt: Fix virtio header without checksum offloading ebpf: Fix indirections table setting virtio-net: Fix vhost virtqueue notifiers for RSS Signed-off-by: Peter Maydell Commit: b9dbf6f9bf533564f6a4277d03906fcd32bb0245 https://github.com/qemu/qemu/commit/b9dbf6f9bf533564f6a4277d03906fcd32bb0245 Author: Peter Maydell Date: 2024-03-30 (Sat, 30 Mar 2024) Changed paths: M accel/tcg/translate-all.c M disas/disas-mon.c M disas/disas.c M linux-user/mmap.c M linux-user/strace.c M tcg/optimize.c M tests/tcg/aarch64/Makefile.target A tests/tcg/aarch64/test-2248.c A tests/tcg/multiarch/linux/linux-shmat-null.c Log Message: --- Merge tag 'pull-tcg-20240329' of https://gitlab.com/rth7680/qemu into staging linux-user: Fix shmat(NULL) for host != guest page size tcg/optimize: Fix sign_mask for logical right-shift accel/tcg: Use CPUState.get_pc in cpu_io_recompile disas: Show opcodes for target_disas and monitor_disas # -BEGIN PGP SIGNATURE- # # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmYHPmwdHHJpY2hhcmQu # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV86VAf6AlcoLrvyN4u4bV4V # REIXe8y+IsqvNdNE6z1KRLdqbBzHHzlDD9TesX8QNmg1w8WxvBNg9Iv0cWeBgIyN # C/dpXVpNWbsfqtMLKIrBUkKiIyrQtxJC73HyoF0eqGftX5WxqYF/NCfXRHQFUdDP # wvGGq784IL4kLVMHX4fXB7Vmosei51cobnENo0b4A2fzDOGAFfQd38MSnPlL1+xb # BB+vV1hRFsf0Uihmvgk5AIdWlHxfqMWHq5rGV7ND26OTjZkOaPk3AeaX/eBCZd+8 # /gBd8Ok56WrVckz1hBMndRXwRjOQaowrNi1+vN3v6fqgNU227MaZ+hvvMCo7GSM7 # NhyQ9g== # =Y35A # -END PGP SIGNATURE- # gpg: Signature made Fri 29 Mar 2024 22:19:24 GMT # gpg:using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F # gpg:issuer "richard.hender...@linaro.org" # gpg: Good signature from "Richard Henderson " [full] # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F * tag 'pull-tcg-20240329' of https://gitlab.com/rth7680/qemu: accel/tcg: Use CPUState.get_pc in cpu_io_recompile disas: Show opcodes for target_disas and monitor_disas tcg/optimize: Fix sign_mask for logical right-shift tests/tcg: Test shmat(NULL) linux-user: Fix shmat(NULL) for h != g linux-user: Fix shmat() strace linux-user: Fix semctl() strace Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/5012e522aca1...b9dbf6f9bf53 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 5012e5: Update version for v9.0.0-rc1 release
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 5012e522aca161be5c141596c66e5cc6082538a9 https://github.com/qemu/qemu/commit/5012e522aca161be5c141596c66e5cc6082538a9 Author: Peter Maydell Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc1 release Signed-off-by: Peter Maydell Commit: b9f38374ac466b6582f4e6e42dbff7372da079b2 https://github.com/qemu/qemu/commit/b9f38374ac466b6582f4e6e42dbff7372da079b2 Author: Ilya Leoshkevich Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M linux-user/strace.c Log Message: --- linux-user: Fix semctl() strace The indices of arguments used with semctl() are all off-by-1, because arg1 is the ipc() command. Fix them. While at it, reuse print_semctl(). New output (for a small test program): 3540333 semctl(999,888,SEM_INFO,0x7fe5051ee9a0) = -1 errno=14 (Bad address) Fixes: 7ccfb2eb5f9d ("Fix warnings that would be caused by gcc flag -Wwrite-strings") Reviewed-by: Richard Henderson Signed-off-by: Ilya Leoshkevich Message-Id: <20240325192436.561154-2-...@linux.ibm.com> Signed-off-by: Richard Henderson Commit: e6763d7dfc69ae41bb97541de15fa9108d8d6ce2 https://github.com/qemu/qemu/commit/e6763d7dfc69ae41bb97541de15fa9108d8d6ce2 Author: Ilya Leoshkevich Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M linux-user/strace.c Log Message: --- linux-user: Fix shmat() strace The indices of arguments passed to print_shmat() are all off-by-1, because arg1 is the ipc() command. Fix them. New output for linux-shmat-maps test: 3501769 shmat(4784214,0x0080,SHM_RND) = 0 Fixes: 9f7c97324c27 ("linux-user: Add strace for shmat") Reviewed-by: Richard Henderson Signed-off-by: Ilya Leoshkevich Message-Id: <20240325192436.561154-3-...@linux.ibm.com> Signed-off-by: Richard Henderson Commit: fa527b44c2d65d48cc3c5ac018dc935cc286f5a9 https://github.com/qemu/qemu/commit/fa527b44c2d65d48cc3c5ac018dc935cc286f5a9 Author: Ilya Leoshkevich Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M linux-user/mmap.c Log Message: --- linux-user: Fix shmat(NULL) for h != g In the h != g && shmaddr == NULL && !reserved_va case, target_shmat() incorrectly mmap()s the initial anonymous range with MAP_FIXED_NOREPLACE, even though the earlier mmap_find_vma() has already reserved the respective address range. Fix by using MAP_FIXED when "mapped", which is set after mmap_find_vma(), is true. Fixes: 78bc8ed9a8f0 ("linux-user: Rewrite target_shmat") Reviewed-by: Richard Henderson Signed-off-by: Ilya Leoshkevich Message-Id: <20240325192436.561154-4-...@linux.ibm.com> Signed-off-by: Richard Henderson Commit: 889cd5a8e2dd6cf8793faba22fda38b78553ae24 https://github.com/qemu/qemu/commit/889cd5a8e2dd6cf8793faba22fda38b78553ae24 Author: Ilya Leoshkevich Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: A tests/tcg/multiarch/linux/linux-shmat-null.c Log Message: --- tests/tcg: Test shmat(NULL) Add a small test to prevent regressions. Reviewed-by: Richard Henderson Signed-off-by: Ilya Leoshkevich Message-Id: <20240325192436.561154-5-...@linux.ibm.com> Signed-off-by: Richard Henderson Commit: 1c188fc8cbffc5f05cc616cab4e1372fb6e6f11f https://github.com/qemu/qemu/commit/1c188fc8cbffc5f05cc616cab4e1372fb6e6f11f Author: Akihiko Odaki Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M hw/net/virtio-net.c Log Message: --- virtio-net: Fix vhost virtqueue notifiers for RSS virtio_net_guest_notifier_pending() and virtio_net_guest_notifier_mask() checked VIRTIO_NET_F_MQ to know there are multiple queues, but VIRTIO_NET_F_RSS also enables multiple queues. Refer to n->multiqueue, which is set to true either of VIRTIO_NET_F_MQ or VIRTIO_NET_F_RSS is enabled. Fixes: 68b0a6395f36 ("virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa") Signed-off-by: Akihiko Odaki Signed-off-by: Jason Wang Commit: ba6bb2ec953f10751f174b6f7da8fe7e5f008c08 https://github.com/qemu/qemu/commit/ba6bb2ec953f10751f174b6f7da8fe7e5f008c08 Author: Akihiko Odaki Date: 2024-03-29 (Fri, 29 Mar 2024) Changed paths: M ebpf/ebpf_rss.c Log Message: --- ebpf: Fix indirections table setting The kernel documentation says: > The value stored can be of any size, however, all array elements are > aligned to 8 bytes. https://www.kernel.org/doc/html/v6.8/bpf/map_array.html Fixes: 333b3e5fab75 ("ebpf: Added eBPF map update through mmap.") Signed-off-by: Akihiko Odaki Acked-by: Andrew Melnychenko Signed-off-by: Jason Wang Commit: 89a8de364b51db8107d2a210314431885ac52238 https://github.com/qemu/qemu/commit/89a8de364b51db8107d2a210314431885ac52238
[Qemu-commits] [qemu/qemu] 5012e5: Update version for v9.0.0-rc1 release
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 5012e522aca161be5c141596c66e5cc6082538a9 https://github.com/qemu/qemu/commit/5012e522aca161be5c141596c66e5cc6082538a9 Author: Peter Maydell Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc1 release Signed-off-by: Peter Maydell To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] d9e407: tests/qemu-iotests: Test 157 and 227 require virti...
for pc=%p") at ../../cpu-target.c:359 (retaddr=0, addr=19595792376, attrs=..., xlat=, cpu=0x56fd9000, out_offset=) at ../../accel/tcg/cputlb.c:1339 (cpu=0x56fd9000, full=0x7fffee0d96e0, ret_be=ret_be@entry=0, addr=19595792376, size=size@entry=8, mmu_idx=4, type=MMU_DATA_LOAD, ra=0) at ../../accel/tcg/cputlb.c:2030 (cpu=cpu@entry=0x56fd9000, p=p@entry=0x756fddc0, mmu_idx=, type=type@entry=MMU_DATA_LOAD, memop=, ra=ra@entry=0) at ../../accel/tcg/cputlb.c:2356 (cpu=cpu@entry=0x56fd9000, addr=addr@entry=19595792376, oi=oi@entry=52, ra=ra@entry=0, access_type=access_type@entry=MMU_DATA_LOAD) at ../../accel/tcg/cputlb.c:2439 at ../../accel/tcg/ldst_common.c.inc:301 at ../../target/i386/tcg/sysemu/excp_helper.c:173 (err=0x756fdf80, out=0x756fdf70, mmu_idx=0, access_type=MMU_INST_FETCH, addr=18446744072116178925, env=0x56fdb7c0) at ../../target/i386/tcg/sysemu/excp_helper.c:578 (cs=0x56fd9000, addr=18446744072116178925, size=, access_type=MMU_INST_FETCH, mmu_idx=0, probe=, retaddr=0) at ../../target/i386/tcg/sysemu/excp_helper.c:604 Avoid this by plumbing the address all the way down from x86_cpu_tlb_fill() where is available as retaddr to the actual accessors which provide it to probe_access_full() which already handles MMIO accesses. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2180 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2220 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Suggested-by: Peter Maydell Signed-off-by: Gregory Price Signed-off-by: Jonathan Cameron Message-ID: <20240307155304.31241-2-jonathan.came...@huawei.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 7c7a9f578e4fb1adff7ac8d9acaaaedb87474e76 https://github.com/qemu/qemu/commit/7c7a9f578e4fb1adff7ac8d9acaaaedb87474e76 Author: Lorenz Brun Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M hw/scsi/scsi-generic.c Log Message: --- hw/scsi/scsi-generic: Fix io_timeout property not applying The io_timeout property, introduced in c9b6609 (part of 6.0) is silently overwritten by the hardcoded default value of 30 seconds (DEFAULT_IO_TIMEOUT) in scsi_generic_realize because that function is being called after the properties have already been applied. The property definition already has a default value which is applied correctly when no value is explicitly set, so we can just remove the code which overrides the io_timeout completely. This has been tested by stracing SG_IO operations with the io_timeout property set and unset and now sets the timeout field in the ioctl request to the proper value. Fixes: c9b6609b69facad ("scsi: make io_timeout configurable") Signed-off-by: Lorenz Brun Message-ID: <20240315145831.2531695-1-lor...@brun.one> Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé Commit: a158c63b3ba120f1656e4dd815d186c623fb5ef6 https://github.com/qemu/qemu/commit/a158c63b3ba120f1656e4dd815d186c623fb5ef6 Author: Yao Xingtao Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M monitor/hmp-cmds-target.c Log Message: --- monitor/hmp-cmds-target: Append a space in error message in gpa2hva() In qemu monitor mode, when we use gpa2hva command to print the host virtual address corresponding to a guest physical address, if the gpa is not in RAM, the error message is below: (qemu) gpa2hva 0x75000 Memory at address 0x75000is not RAM A space is missed between '0x75000' and 'is'. Signed-off-by: Yao Xingtao Fixes: e9628441df ("hmp: gpa2hva and gpa2hpa hostaddr command") Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Dr. David Alan Gilbert Message-ID: <20240319021610.2423844-1-ruansy.f...@fujitsu.com> Signed-off-by: Philippe Mathieu-Daudé Commit: e66d741467d3062e1d7d2150d2c8de0b805095d2 https://github.com/qemu/qemu/commit/e66d741467d3062e1d7d2150d2c8de0b805095d2 Author: Philippe Mathieu-Daudé Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M target/tricore/helper.c Log Message: --- target/tricore/helper: Use correct string format in cpu_tlb_fill() 'address' got converted from target_ulong to vaddr in commit 68d6eee73c ("target/tricore: Convert to CPUClass::tlb_fill"). Use the corresponding format string to avoid casting. Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20240319051413.6956-1-phi...@linaro.org> Reviewed-by: Richard Henderson Reviewed-by: Bastian Koppelmann Commit: 52405b7f69d03428950c33ebe823e2256e6a4a70 https://github.com/qemu/qemu/commit/52405b7f69d03428950c33ebe823e2256e6a4a70 Author: Philippe Mathieu-Daudé Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M docs/devel/clocks.rst M hw/core/clock.c M include/hw/clock.h Log Message: --- hw/clock: Let clock_set_mul_div() return a boolean value Let clock_set_mul_div() return a boole
[Qemu-commits] [qemu/qemu] d9e407: tests/qemu-iotests: Test 157 and 227 require virti...
for pc=%p") at ../../cpu-target.c:359 (retaddr=0, addr=19595792376, attrs=..., xlat=, cpu=0x56fd9000, out_offset=) at ../../accel/tcg/cputlb.c:1339 (cpu=0x56fd9000, full=0x7fffee0d96e0, ret_be=ret_be@entry=0, addr=19595792376, size=size@entry=8, mmu_idx=4, type=MMU_DATA_LOAD, ra=0) at ../../accel/tcg/cputlb.c:2030 (cpu=cpu@entry=0x56fd9000, p=p@entry=0x756fddc0, mmu_idx=, type=type@entry=MMU_DATA_LOAD, memop=, ra=ra@entry=0) at ../../accel/tcg/cputlb.c:2356 (cpu=cpu@entry=0x56fd9000, addr=addr@entry=19595792376, oi=oi@entry=52, ra=ra@entry=0, access_type=access_type@entry=MMU_DATA_LOAD) at ../../accel/tcg/cputlb.c:2439 at ../../accel/tcg/ldst_common.c.inc:301 at ../../target/i386/tcg/sysemu/excp_helper.c:173 (err=0x756fdf80, out=0x756fdf70, mmu_idx=0, access_type=MMU_INST_FETCH, addr=18446744072116178925, env=0x56fdb7c0) at ../../target/i386/tcg/sysemu/excp_helper.c:578 (cs=0x56fd9000, addr=18446744072116178925, size=, access_type=MMU_INST_FETCH, mmu_idx=0, probe=, retaddr=0) at ../../target/i386/tcg/sysemu/excp_helper.c:604 Avoid this by plumbing the address all the way down from x86_cpu_tlb_fill() where is available as retaddr to the actual accessors which provide it to probe_access_full() which already handles MMIO accesses. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2180 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2220 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Suggested-by: Peter Maydell Signed-off-by: Gregory Price Signed-off-by: Jonathan Cameron Message-ID: <20240307155304.31241-2-jonathan.came...@huawei.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 7c7a9f578e4fb1adff7ac8d9acaaaedb87474e76 https://github.com/qemu/qemu/commit/7c7a9f578e4fb1adff7ac8d9acaaaedb87474e76 Author: Lorenz Brun Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M hw/scsi/scsi-generic.c Log Message: --- hw/scsi/scsi-generic: Fix io_timeout property not applying The io_timeout property, introduced in c9b6609 (part of 6.0) is silently overwritten by the hardcoded default value of 30 seconds (DEFAULT_IO_TIMEOUT) in scsi_generic_realize because that function is being called after the properties have already been applied. The property definition already has a default value which is applied correctly when no value is explicitly set, so we can just remove the code which overrides the io_timeout completely. This has been tested by stracing SG_IO operations with the io_timeout property set and unset and now sets the timeout field in the ioctl request to the proper value. Fixes: c9b6609b69facad ("scsi: make io_timeout configurable") Signed-off-by: Lorenz Brun Message-ID: <20240315145831.2531695-1-lor...@brun.one> Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé Commit: a158c63b3ba120f1656e4dd815d186c623fb5ef6 https://github.com/qemu/qemu/commit/a158c63b3ba120f1656e4dd815d186c623fb5ef6 Author: Yao Xingtao Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M monitor/hmp-cmds-target.c Log Message: --- monitor/hmp-cmds-target: Append a space in error message in gpa2hva() In qemu monitor mode, when we use gpa2hva command to print the host virtual address corresponding to a guest physical address, if the gpa is not in RAM, the error message is below: (qemu) gpa2hva 0x75000 Memory at address 0x75000is not RAM A space is missed between '0x75000' and 'is'. Signed-off-by: Yao Xingtao Fixes: e9628441df ("hmp: gpa2hva and gpa2hpa hostaddr command") Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Dr. David Alan Gilbert Message-ID: <20240319021610.2423844-1-ruansy.f...@fujitsu.com> Signed-off-by: Philippe Mathieu-Daudé Commit: e66d741467d3062e1d7d2150d2c8de0b805095d2 https://github.com/qemu/qemu/commit/e66d741467d3062e1d7d2150d2c8de0b805095d2 Author: Philippe Mathieu-Daudé Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M target/tricore/helper.c Log Message: --- target/tricore/helper: Use correct string format in cpu_tlb_fill() 'address' got converted from target_ulong to vaddr in commit 68d6eee73c ("target/tricore: Convert to CPUClass::tlb_fill"). Use the corresponding format string to avoid casting. Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20240319051413.6956-1-phi...@linaro.org> Reviewed-by: Richard Henderson Reviewed-by: Bastian Koppelmann Commit: 52405b7f69d03428950c33ebe823e2256e6a4a70 https://github.com/qemu/qemu/commit/52405b7f69d03428950c33ebe823e2256e6a4a70 Author: Philippe Mathieu-Daudé Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M docs/devel/clocks.rst M hw/core/clock.c M include/hw/clock.h Log Message: --- hw/clock: Let clock_set_mul_div() return a boolean value Let clock_set_mul_div(
[Qemu-commits] [qemu/qemu] e8c550: qapi: Improve migration TLS documentation
Message-ID: <20240322140910.328840-11-arm...@redhat.com> Commit: 5305a4eeb80b9b69ae2c1a1440bd3ece0a8b35a2 https://github.com/qemu/qemu/commit/5305a4eeb80b9b69ae2c1a1440bd3ece0a8b35a2 Author: Markus Armbruster Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/block-core.json M qapi/crypto.json M qapi/dump.json M qapi/machine.json M qapi/migration.json M qapi/misc.json M qapi/qom.json M qapi/run-state.json M qapi/sockets.json M qapi/ui.json Log Message: --- qapi: Correct documentation indentation and whitespace Signed-off-by: Markus Armbruster Message-ID: <20240322140910.328840-12-arm...@redhat.com> [Add a previous patch's stray hunk] Commit: 7270819384cabf6c501ef34217eb56a1b14696e3 https://github.com/qemu/qemu/commit/7270819384cabf6c501ef34217eb56a1b14696e3 Author: Markus Armbruster Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qga/qapi-schema.json Log Message: --- qga/qapi-schema: Refill doc comments to conform to current conventions For legibility, wrap text paragraphs so every line is at most 70 characters long. To check the generated documentation does not change, I compared the generated HTML before and after this commit with "wdiff -3". Finds no differences. Comparing with diff is not useful, as the refilled paragraphs are visible there. Signed-off-by: Markus Armbruster Message-ID: <20240322140910.328840-13-arm...@redhat.com> Commit: 6087783ea75030fe70f1b369cfd9d3c25bc2dadf https://github.com/qemu/qemu/commit/6087783ea75030fe70f1b369cfd9d3c25bc2dadf Author: Marc-André Lureau Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/pragma.json M qapi/ui.json Log Message: --- qapi: document InputMultiTouchType Signed-off-by: Marc-André Lureau Message-ID: <20240325095648.2835381-1-marcandre.lur...@redhat.com> Reviewed-by: Markus Armbruster [Update qapi/pragma.json] Signed-off-by: Markus Armbruster Commit: b2913cc2a1825d70b9985613447b26d672df5418 https://github.com/qemu/qemu/commit/b2913cc2a1825d70b9985613447b26d672df5418 Author: Paolo Bonzini Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/pragma.json M qapi/run-state.json Log Message: --- qapi: document leftover members in qapi/run-state.json Suggested-by: Markus Armbruster Signed-off-by: Paolo Bonzini Message-ID: <20240325104502.1358693-1-pbonz...@redhat.com> Reviewed-by: Markus Armbruster [Capitalize "ID", update qapi/pragma.json] Signed-off-by: Markus Armbruster Commit: 1de759534de1a9a76bd72678d0290ce5ee00de25 https://github.com/qemu/qemu/commit/1de759534de1a9a76bd72678d0290ce5ee00de25 Author: Paolo Bonzini Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/pragma.json M qapi/stats.json Log Message: --- qapi: document leftover members in qapi/stats.json Suggested-by: Markus Armbruster Signed-off-by: Paolo Bonzini Message-ID: <20240325104504.1358734-1-pbonz...@redhat.com> Reviewed-by: Markus Armbruster [Update qapi/pragma.json] Signed-off-by: Markus Armbruster Commit: 125f973cc2f135a683e425ef30802102f13d47b3 https://github.com/qemu/qemu/commit/125f973cc2f135a683e425ef30802102f13d47b3 Author: Vladimir Sementsov-Ogievskiy Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/block-core.json M qapi/pragma.json Log Message: --- qapi/block-core: improve Qcow2OverlapCheckFlags documentation Most of fields have no description at all. Let's fix that. Still, no reason to place here more detailed descriptions of what these structures are, as we have public Qcow2 format specification. Signed-off-by: Vladimir Sementsov-Ogievskiy Message-ID: <20240325120054.2693236-1-vsement...@yandex-team.ru> Acked-by: Markus Armbruster [Capitalize "QEMU", update qapi/pragma.json] Signed-off-by: Markus Armbruster Commit: 1a533ce986f52c35f324f5f4fff22cdc2619a47c https://github.com/qemu/qemu/commit/1a533ce986f52c35f324f5f4fff22cdc2619a47c Author: David Hildenbrand Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/machine-target.json M qapi/pragma.json Log Message: --- qapi: document parameters of query-cpu-model-* QAPI commands Let's document the parameters of these commands, so we can remove them from the "documentation-exceptions" list. While at it, extend the "Returns:" documentation as well, fixing a wrong use of CpuModelBaselineInfo vs. CpuModelCompareInfo for query-cpu-model-comparison. Cc: Markus Armbruster Cc: Eric Blake Cc: Eduardo Habkost Cc: Marcel Apfelbaum Cc: "Philippe Mathieu-Daudé" Cc: Yanan Wang Signed-off-by: David Hildenbrand Message-ID: <20240325150141.342720-1-da...@redhat.com> Reviewed-by: Markus Armbruster [Punctuation tweaked] Signed-off-by: Mark
[Qemu-commits] [qemu/qemu] e8c550: qapi: Improve migration TLS documentation
Message-ID: <20240322140910.328840-11-arm...@redhat.com> Commit: 5305a4eeb80b9b69ae2c1a1440bd3ece0a8b35a2 https://github.com/qemu/qemu/commit/5305a4eeb80b9b69ae2c1a1440bd3ece0a8b35a2 Author: Markus Armbruster Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/block-core.json M qapi/crypto.json M qapi/dump.json M qapi/machine.json M qapi/migration.json M qapi/misc.json M qapi/qom.json M qapi/run-state.json M qapi/sockets.json M qapi/ui.json Log Message: --- qapi: Correct documentation indentation and whitespace Signed-off-by: Markus Armbruster Message-ID: <20240322140910.328840-12-arm...@redhat.com> [Add a previous patch's stray hunk] Commit: 7270819384cabf6c501ef34217eb56a1b14696e3 https://github.com/qemu/qemu/commit/7270819384cabf6c501ef34217eb56a1b14696e3 Author: Markus Armbruster Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qga/qapi-schema.json Log Message: --- qga/qapi-schema: Refill doc comments to conform to current conventions For legibility, wrap text paragraphs so every line is at most 70 characters long. To check the generated documentation does not change, I compared the generated HTML before and after this commit with "wdiff -3". Finds no differences. Comparing with diff is not useful, as the refilled paragraphs are visible there. Signed-off-by: Markus Armbruster Message-ID: <20240322140910.328840-13-arm...@redhat.com> Commit: 6087783ea75030fe70f1b369cfd9d3c25bc2dadf https://github.com/qemu/qemu/commit/6087783ea75030fe70f1b369cfd9d3c25bc2dadf Author: Marc-André Lureau Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/pragma.json M qapi/ui.json Log Message: --- qapi: document InputMultiTouchType Signed-off-by: Marc-André Lureau Message-ID: <20240325095648.2835381-1-marcandre.lur...@redhat.com> Reviewed-by: Markus Armbruster [Update qapi/pragma.json] Signed-off-by: Markus Armbruster Commit: b2913cc2a1825d70b9985613447b26d672df5418 https://github.com/qemu/qemu/commit/b2913cc2a1825d70b9985613447b26d672df5418 Author: Paolo Bonzini Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/pragma.json M qapi/run-state.json Log Message: --- qapi: document leftover members in qapi/run-state.json Suggested-by: Markus Armbruster Signed-off-by: Paolo Bonzini Message-ID: <20240325104502.1358693-1-pbonz...@redhat.com> Reviewed-by: Markus Armbruster [Capitalize "ID", update qapi/pragma.json] Signed-off-by: Markus Armbruster Commit: 1de759534de1a9a76bd72678d0290ce5ee00de25 https://github.com/qemu/qemu/commit/1de759534de1a9a76bd72678d0290ce5ee00de25 Author: Paolo Bonzini Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/pragma.json M qapi/stats.json Log Message: --- qapi: document leftover members in qapi/stats.json Suggested-by: Markus Armbruster Signed-off-by: Paolo Bonzini Message-ID: <20240325104504.1358734-1-pbonz...@redhat.com> Reviewed-by: Markus Armbruster [Update qapi/pragma.json] Signed-off-by: Markus Armbruster Commit: 125f973cc2f135a683e425ef30802102f13d47b3 https://github.com/qemu/qemu/commit/125f973cc2f135a683e425ef30802102f13d47b3 Author: Vladimir Sementsov-Ogievskiy Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/block-core.json M qapi/pragma.json Log Message: --- qapi/block-core: improve Qcow2OverlapCheckFlags documentation Most of fields have no description at all. Let's fix that. Still, no reason to place here more detailed descriptions of what these structures are, as we have public Qcow2 format specification. Signed-off-by: Vladimir Sementsov-Ogievskiy Message-ID: <20240325120054.2693236-1-vsement...@yandex-team.ru> Acked-by: Markus Armbruster [Capitalize "QEMU", update qapi/pragma.json] Signed-off-by: Markus Armbruster Commit: 1a533ce986f52c35f324f5f4fff22cdc2619a47c https://github.com/qemu/qemu/commit/1a533ce986f52c35f324f5f4fff22cdc2619a47c Author: David Hildenbrand Date: 2024-03-26 (Tue, 26 Mar 2024) Changed paths: M qapi/machine-target.json M qapi/pragma.json Log Message: --- qapi: document parameters of query-cpu-model-* QAPI commands Let's document the parameters of these commands, so we can remove them from the "documentation-exceptions" list. While at it, extend the "Returns:" documentation as well, fixing a wrong use of CpuModelBaselineInfo vs. CpuModelCompareInfo for query-cpu-model-comparison. Cc: Markus Armbruster Cc: Eric Blake Cc: Eduardo Habkost Cc: Marcel Apfelbaum Cc: "Philippe Mathieu-Daudé" Cc: Yanan Wang Signed-off-by: David Hildenbrand Message-ID: <20240325150141.342720-1-da...@redhat.com> Reviewed-by: Markus Armbruster [Punctuation tweaked] Signed-off-by: Mark
[Qemu-commits] [qemu/qemu] bd4480: migration: Revert mapped-ram multifd support to fd...
terate the second part of the pages->offset array and clear the file bitmap for each zero page. The piece of code we merged to do that is wrong. The reason this has passed all the tests is because the bitmap is initialized with zeroes already, so clearing the bits only really has an effect during live migration and when a data page goes from having data to no data. Fixes: 303e6f54f9 ("migration/multifd: Implement zero page transmission on the multifd thread.") Signed-off-by: Fabiano Rosas Link: https://lore.kernel.org/r/20240321201242.6009-1-faro...@suse.de Signed-off-by: Peter Xu Commit: 0235540bba9b80668ce388dff9a904c04618f9aa https://github.com/qemu/qemu/commit/0235540bba9b80668ce388dff9a904c04618f9aa Author: Thomas Huth Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M .travis.yml Log Message: --- .travis.yml: Shorten the runtime of the problematic jobs The "[s390x] GCC (other-system)" and the "[s390x] GCC check-tcg" jobs are hitting the 50 minutes timeout in Travis quite frequently since a while. To fix it, we've got to drop a lot of the targets from the target list in the jobs to make them work again. With regards to the "check-tcg" test, we can move the check with "s390x-linux-user" to the "user" job instead which also builds the s390x-linux-user target. And while we're at it, remove the "--enable-fdt=system" configure switch (since this is not required nowadays anymore). Message-ID: <20240320104144.823425-2-th...@redhat.com> Signed-off-by: Thomas Huth Commit: 8c37f869f32df97401e61636a1140e03669479d6 https://github.com/qemu/qemu/commit/8c37f869f32df97401e61636a1140e03669479d6 Author: Thomas Huth Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M .travis.yml Log Message: --- .travis.yml: Remove the unused xfslib-dev package Drop the "xfslibs-dev" package which should not be necessary anymore since commit a5730b8bd3 ("block/file-posix: Simplify the XFS_IOC_DIOINFO handling"). Message-ID: <20240320104144.823425-3-th...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth Commit: ed355dc107f16f980b20794aa498fa9588e61de5 https://github.com/qemu/qemu/commit/ed355dc107f16f980b20794aa498fa9588e61de5 Author: Thomas Huth Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/microblaze/xlnx-zynqmp-pmu.c Log Message: --- hw/microblaze: Do not allow xlnx-zynqmp-pmu-soc to be created by the user Using xlnx-zynqmp-pmu-soc on the command line causes QEMU to crash: ./qemu-system-microblazeel -M petalogix-ml605 -device xlnx-zynqmp-pmu-soc ** ERROR:tcg/tcg.c:813:tcg_register_thread: assertion failed: (n < tcg_max_ctxs) Bail out! Aborted (core dumped) Mark the device with "user_creatable = false" to avoid that this can happen. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2229 Message-ID: <20240322183153.1023359-1-th...@redhat.com> Signed-off-by: Thomas Huth Commit: ed6d5c2e584e4ce828ffb55785b4164a4bf5dbcc https://github.com/qemu/qemu/commit/ed6d5c2e584e4ce828ffb55785b4164a4bf5dbcc Author: Cédric Le Goater Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/arm/aspeed_ast2600.c Log Message: --- aspeed: Make the ast2600-a3 SoC not user creatable Aspeed SoCs are complex devices that can not be specified on the command line. Fix that to avoid QEMU aborts. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2227 Fixes: f25c0ae1079d ("aspeed/soc: Add AST2600 support") Reported-by: Thomas Huth Signed-off-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240319150903.413662-1-...@redhat.com> Signed-off-by: Thomas Huth Commit: 1967e9e06709c2b3de8b071d94da3856ba5b1ce6 https://github.com/qemu/qemu/commit/1967e9e06709c2b3de8b071d94da3856ba5b1ce6 Author: Cédric Le Goater Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/arm/aspeed_ast10x0.c Log Message: --- aspeed: Make the ast1030-a1 SoC not user creatable Aspeed SoCs are complex devices that can not be specified on the command line. Fix that to avoid QEMU aborts. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2227 Fixes: 356b230ed138 ("aspeed/soc : Add AST1030 support") Reported-by: Thomas Huth Signed-off-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240319150903.413662-2-...@redhat.com> Signed-off-by: Thomas Huth Commit: 80e9791a93b856ae959cf0efa04cee53390ed000 https://github.com/qemu/qemu/commit/80e9791a93b856ae959cf0efa04cee53390ed000 Author: Peter Maydell Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M tests/qtest/npcm7xx_emc-test.c Log Message: --- tests/qtest/npcm7xx_emc_test: Don't leak cmd_line In test_rx() and test_tx() we alloc
[Qemu-commits] [qemu/qemu] 023554: .travis.yml: Shorten the runtime of the problemati...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 0235540bba9b80668ce388dff9a904c04618f9aa https://github.com/qemu/qemu/commit/0235540bba9b80668ce388dff9a904c04618f9aa Author: Thomas Huth Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M .travis.yml Log Message: --- .travis.yml: Shorten the runtime of the problematic jobs The "[s390x] GCC (other-system)" and the "[s390x] GCC check-tcg" jobs are hitting the 50 minutes timeout in Travis quite frequently since a while. To fix it, we've got to drop a lot of the targets from the target list in the jobs to make them work again. With regards to the "check-tcg" test, we can move the check with "s390x-linux-user" to the "user" job instead which also builds the s390x-linux-user target. And while we're at it, remove the "--enable-fdt=system" configure switch (since this is not required nowadays anymore). Message-ID: <20240320104144.823425-2-th...@redhat.com> Signed-off-by: Thomas Huth Commit: 8c37f869f32df97401e61636a1140e03669479d6 https://github.com/qemu/qemu/commit/8c37f869f32df97401e61636a1140e03669479d6 Author: Thomas Huth Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M .travis.yml Log Message: --- .travis.yml: Remove the unused xfslib-dev package Drop the "xfslibs-dev" package which should not be necessary anymore since commit a5730b8bd3 ("block/file-posix: Simplify the XFS_IOC_DIOINFO handling"). Message-ID: <20240320104144.823425-3-th...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth Commit: ed355dc107f16f980b20794aa498fa9588e61de5 https://github.com/qemu/qemu/commit/ed355dc107f16f980b20794aa498fa9588e61de5 Author: Thomas Huth Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/microblaze/xlnx-zynqmp-pmu.c Log Message: --- hw/microblaze: Do not allow xlnx-zynqmp-pmu-soc to be created by the user Using xlnx-zynqmp-pmu-soc on the command line causes QEMU to crash: ./qemu-system-microblazeel -M petalogix-ml605 -device xlnx-zynqmp-pmu-soc ** ERROR:tcg/tcg.c:813:tcg_register_thread: assertion failed: (n < tcg_max_ctxs) Bail out! Aborted (core dumped) Mark the device with "user_creatable = false" to avoid that this can happen. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2229 Message-ID: <20240322183153.1023359-1-th...@redhat.com> Signed-off-by: Thomas Huth Commit: ed6d5c2e584e4ce828ffb55785b4164a4bf5dbcc https://github.com/qemu/qemu/commit/ed6d5c2e584e4ce828ffb55785b4164a4bf5dbcc Author: Cédric Le Goater Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/arm/aspeed_ast2600.c Log Message: --- aspeed: Make the ast2600-a3 SoC not user creatable Aspeed SoCs are complex devices that can not be specified on the command line. Fix that to avoid QEMU aborts. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2227 Fixes: f25c0ae1079d ("aspeed/soc: Add AST2600 support") Reported-by: Thomas Huth Signed-off-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240319150903.413662-1-...@redhat.com> Signed-off-by: Thomas Huth Commit: 1967e9e06709c2b3de8b071d94da3856ba5b1ce6 https://github.com/qemu/qemu/commit/1967e9e06709c2b3de8b071d94da3856ba5b1ce6 Author: Cédric Le Goater Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/arm/aspeed_ast10x0.c Log Message: --- aspeed: Make the ast1030-a1 SoC not user creatable Aspeed SoCs are complex devices that can not be specified on the command line. Fix that to avoid QEMU aborts. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2227 Fixes: 356b230ed138 ("aspeed/soc : Add AST1030 support") Reported-by: Thomas Huth Signed-off-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240319150903.413662-2-...@redhat.com> Signed-off-by: Thomas Huth Commit: b13ba381ca4d0b3e96a9e5bd138a1f3e11b5a637 https://github.com/qemu/qemu/commit/b13ba381ca4d0b3e96a9e5bd138a1f3e11b5a637 Author: Peter Maydell Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/nvram/mac_nvram.c Log Message: --- hw/nvram/mac_nvram: Report failure to write data There's no way for the macio_nvram device to report failure to write data, but we can at least report it to the user with error_report() as we do in other devices like xlnx-efuse. Spotted by Coverity. Resolves: Coverity CID 1507628 Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-id: 20240312183810.557768-6-peter.mayd...@linaro.org Commit: 6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63 https://github.com/qemu/qemu/commit/6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63 Author: Cédric Le Goater
[Qemu-commits] [qemu/qemu] bd4480: migration: Revert mapped-ram multifd support to fd...
terate the second part of the pages->offset array and clear the file bitmap for each zero page. The piece of code we merged to do that is wrong. The reason this has passed all the tests is because the bitmap is initialized with zeroes already, so clearing the bits only really has an effect during live migration and when a data page goes from having data to no data. Fixes: 303e6f54f9 ("migration/multifd: Implement zero page transmission on the multifd thread.") Signed-off-by: Fabiano Rosas Link: https://lore.kernel.org/r/20240321201242.6009-1-faro...@suse.de Signed-off-by: Peter Xu Commit: 80e9791a93b856ae959cf0efa04cee53390ed000 https://github.com/qemu/qemu/commit/80e9791a93b856ae959cf0efa04cee53390ed000 Author: Peter Maydell Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M tests/qtest/npcm7xx_emc-test.c Log Message: --- tests/qtest/npcm7xx_emc_test: Don't leak cmd_line In test_rx() and test_tx() we allocate a GString *cmd_line but never free it. This is pretty harmless in a test case, but Coverity spotted it. Resolves: Coverity CID 1507122 Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-id: 20240312183810.557768-2-peter.mayd...@linaro.org Commit: e921e00d4ba6840063d69cb637331d0dc4905e4b https://github.com/qemu/qemu/commit/e921e00d4ba6840063d69cb637331d0dc4905e4b Author: Peter Maydell Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M tests/unit/socket-helpers.c Log Message: --- tests/unit/socket-helpers: Don't close(-1) In socket_check_afunix_support() we call socket(PF_UNIX, SOCK_STREAM, 0) to see if it works, but we call close() on the result whether it worked or not. Only close the fd if the socket() call succeeded. Spotted by Coverity. Resolves: Coverity CID 1497481 Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-id: 20240312183810.557768-3-peter.mayd...@linaro.org Commit: bed150be5b94ee499384fa6d052c0cb398a20d95 https://github.com/qemu/qemu/commit/bed150be5b94ee499384fa6d052c0cb398a20d95 Author: Peter Maydell Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M net/af-xdp.c Log Message: --- net/af-xdp.c: Don't leak sock_fds array in net_init_af_xdp() In net_init_af_xdp() we parse the arguments and allocate a buffer of ints into sock_fds. However, although we free this in the error exit path, we don't ever free it in the successful return path. Coverity spots this leak. Switch to g_autofree so we don't need to manually free the array. Resolves: Coverity CID 1534906 Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-id: 20240312183810.557768-4-peter.mayd...@linaro.org Commit: c67f7580697198800c57ced59f1dfbce1aaeb4ae https://github.com/qemu/qemu/commit/c67f7580697198800c57ced59f1dfbce1aaeb4ae Author: Peter Maydell Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/misc/pca9554.c Log Message: --- hw/misc/pca9554: Correct error check bounds in get/set pin functions In pca9554_get_pin() and pca9554_set_pin(), we try to detect an incorrect pin value, but we get the condition wrong, using ">" when ">=" was intended. This has no actual effect, because in pca9554_initfn() we use the correct test when creating the properties and so we'll never be called with an out of range value. However, Coverity complains about the mismatch between the check and the later use of the pin value in a shift operation. Use the correct condition. Resolves: Coverity CID 1534917 Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-id: 20240312183810.557768-5-peter.mayd...@linaro.org Commit: c16f4fb2dfa940ae65f40085c602d4763d094deb https://github.com/qemu/qemu/commit/c16f4fb2dfa940ae65f40085c602d4763d094deb Author: Peter Maydell Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M hw/nvram/mac_nvram.c Log Message: --- hw/nvram/mac_nvram: Report failure to write data There's no way for the macio_nvram device to report failure to write data, but we can at least report it to the user with error_report() as we do in other devices like xlnx-efuse. Spotted by Coverity. Resolves: Coverity CID 1507628 Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-id: 20240312183810.557768-6-peter.mayd...@linaro.org Commit: c44a352a77225aeb8b7db9fe9af3361c08b5b1f9 https://github.com/qemu/qemu/commit/c44a352a77225aeb8b7db9fe9af3361c08b5b1f9 Author: Peter Maydell Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M tests/unit/test-throttle.c Log Message: --- tests/unit/test-throttle: Avoid unintended integer division In test_compute_wait() we do double units = bkt.max / 10; which does an integer d
[Qemu-commits] [qemu/qemu] 9352f8: coroutine: reserve 5, 000 mappings
/issues/1976 Signed-off-by: Ivan Klokov Signed-off-by: Daniel Henrique Barboza Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis Message-ID: <20240314175704.478276-10-dbarb...@ventanamicro.com> Signed-off-by: Alistair Francis Commit: 0a11629c915f61df798919db51a18ffe4649cb65 https://github.com/qemu/qemu/commit/0a11629c915f61df798919db51a18ffe4649cb65 Author: Daniel Henrique Barboza Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M target/riscv/vector_helper.c Log Message: --- target/riscv/vector_helper.c: optimize loops in ldst helpers Change the for loops in ldst helpers to do a single increment in the counter, and assign it env->vstart, to avoid re-reading from vstart every time. Suggested-by: Richard Henderson Signed-off-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis Reviewed-by: Richard Henderson Message-ID: <20240314175704.478276-11-dbarb...@ventanamicro.com> Signed-off-by: Alistair Francis Commit: 078189b327ae5c5727b51ec714d9663b1d0ca3df https://github.com/qemu/qemu/commit/078189b327ae5c5727b51ec714d9663b1d0ca3df Author: Frank Chang Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M hw/intc/riscv_aplic.c Log Message: --- hw/intc: Update APLIC IDC after claiming iforce register Currently, QEMU only sets the iforce register to 0 and returns early when claiming the iforce register. However, this may leave mip.meip remains at 1 if a spurious external interrupt triggered by iforce register is the only pending interrupt to be claimed, and the interrupt cannot be lowered as expected. This commit fixes this issue by calling riscv_aplic_idc_update() to update the IDC status after the iforce register is claimed. Signed-off-by: Frank Chang Reviewed-by: Jim Shu Reviewed-by: Alistair Francis Message-ID: <20240321104951.12104-1-frank.ch...@sifive.com> Signed-off-by: Alistair Francis Commit: c9b07fe14d3525cd3f2fc01f46eeb3d4ed7c3603 https://github.com/qemu/qemu/commit/c9b07fe14d3525cd3f2fc01f46eeb3d4ed7c3603 Author: Max Chou Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M target/riscv/tcg/tcg-cpu.c Log Message: --- target/riscv: rvv: Remove the dependency of Zvfbfmin to Zfbfmin According to the Zvfbfmin definition in the RISC-V BF16 extensions spec, the Zvfbfmin extension only requires either the V extension or the Zve32f extension. Signed-off-by: Max Chou Reviewed-by: Alistair Francis Message-ID: <20240321170929.1162507-1-max.c...@sifive.com> Signed-off-by: Alistair Francis Commit: e06adebb08325c39e4c9b652139426c10f021abb https://github.com/qemu/qemu/commit/e06adebb08325c39e4c9b652139426c10f021abb Author: Irina Ryapolova Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M target/riscv/cpu_helper.c Log Message: --- target/riscv: Fix mode in riscv_tlb_fill Need to convert mmu_idx to privilege mode for PMP function. Signed-off-by: Irina Ryapolova Fixes: b297129ae1 ("target/riscv: propagate PMP permission to TLB page") Reviewed-by: Alistair Francis Reviewed-by: Daniel Henrique Barboza Message-ID: <20240320172828.23965-1-irina.ryapol...@syntacore.com> Signed-off-by: Alistair Francis Commit: 385e575cd5ab2436c123e4b7f8c9b383a64c0dbe https://github.com/qemu/qemu/commit/385e575cd5ab2436c123e4b7f8c9b383a64c0dbe Author: Yong-Xuan Wang Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M hw/riscv/virt.c M target/riscv/kvm/kvm-cpu.c M target/riscv/kvm/kvm_riscv.h Log Message: --- target/riscv/kvm: fix timebase-frequency when using KVM acceleration The timebase-frequency of guest OS should be the same with host machine. The timebase-frequency value in DTS should be got from hypervisor when using KVM acceleration. Signed-off-by: Yong-Xuan Wang Message-ID: <20240314061510.9800-1-yongxuan.w...@sifive.com> Reviewed-by: Andrew Jones Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Signed-off-by: Alistair Francis Commit: 1590154ee4376819a8c6ee61e849ebf4a4e7cd02 https://github.com/qemu/qemu/commit/1590154ee4376819a8c6ee61e849ebf4a4e7cd02 Author: Song Gao Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M target/loongarch/cpu.c Log Message: --- target/loongarch: Fix qemu-system-loongarch64 assert failed with the option '-d int' qemu-system-loongarch64 assert failed with the option '-d int', the helper_idle() raise an exception EXCP_HLT, but the exception name is undefined. Signed-off-by: Song Gao Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240321123606.1704900-1-gaos...@loongson.cn> Commit: 6a91e62694624035064c58bad5b3e75924892355 https://github.com/qemu/qemu/commit/6a91e62694624035064c58bad5b3e75924892355 Author: Peter Maydell Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M util/qemu-coroutine.c Log Messa
[Qemu-commits] [qemu/qemu] 9352f8: coroutine: reserve 5, 000 mappings
/issues/1976 Signed-off-by: Ivan Klokov Signed-off-by: Daniel Henrique Barboza Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis Message-ID: <20240314175704.478276-10-dbarb...@ventanamicro.com> Signed-off-by: Alistair Francis Commit: 0a11629c915f61df798919db51a18ffe4649cb65 https://github.com/qemu/qemu/commit/0a11629c915f61df798919db51a18ffe4649cb65 Author: Daniel Henrique Barboza Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M target/riscv/vector_helper.c Log Message: --- target/riscv/vector_helper.c: optimize loops in ldst helpers Change the for loops in ldst helpers to do a single increment in the counter, and assign it env->vstart, to avoid re-reading from vstart every time. Suggested-by: Richard Henderson Signed-off-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis Reviewed-by: Richard Henderson Message-ID: <20240314175704.478276-11-dbarb...@ventanamicro.com> Signed-off-by: Alistair Francis Commit: 078189b327ae5c5727b51ec714d9663b1d0ca3df https://github.com/qemu/qemu/commit/078189b327ae5c5727b51ec714d9663b1d0ca3df Author: Frank Chang Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M hw/intc/riscv_aplic.c Log Message: --- hw/intc: Update APLIC IDC after claiming iforce register Currently, QEMU only sets the iforce register to 0 and returns early when claiming the iforce register. However, this may leave mip.meip remains at 1 if a spurious external interrupt triggered by iforce register is the only pending interrupt to be claimed, and the interrupt cannot be lowered as expected. This commit fixes this issue by calling riscv_aplic_idc_update() to update the IDC status after the iforce register is claimed. Signed-off-by: Frank Chang Reviewed-by: Jim Shu Reviewed-by: Alistair Francis Message-ID: <20240321104951.12104-1-frank.ch...@sifive.com> Signed-off-by: Alistair Francis Commit: c9b07fe14d3525cd3f2fc01f46eeb3d4ed7c3603 https://github.com/qemu/qemu/commit/c9b07fe14d3525cd3f2fc01f46eeb3d4ed7c3603 Author: Max Chou Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M target/riscv/tcg/tcg-cpu.c Log Message: --- target/riscv: rvv: Remove the dependency of Zvfbfmin to Zfbfmin According to the Zvfbfmin definition in the RISC-V BF16 extensions spec, the Zvfbfmin extension only requires either the V extension or the Zve32f extension. Signed-off-by: Max Chou Reviewed-by: Alistair Francis Message-ID: <20240321170929.1162507-1-max.c...@sifive.com> Signed-off-by: Alistair Francis Commit: e06adebb08325c39e4c9b652139426c10f021abb https://github.com/qemu/qemu/commit/e06adebb08325c39e4c9b652139426c10f021abb Author: Irina Ryapolova Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M target/riscv/cpu_helper.c Log Message: --- target/riscv: Fix mode in riscv_tlb_fill Need to convert mmu_idx to privilege mode for PMP function. Signed-off-by: Irina Ryapolova Fixes: b297129ae1 ("target/riscv: propagate PMP permission to TLB page") Reviewed-by: Alistair Francis Reviewed-by: Daniel Henrique Barboza Message-ID: <20240320172828.23965-1-irina.ryapol...@syntacore.com> Signed-off-by: Alistair Francis Commit: 385e575cd5ab2436c123e4b7f8c9b383a64c0dbe https://github.com/qemu/qemu/commit/385e575cd5ab2436c123e4b7f8c9b383a64c0dbe Author: Yong-Xuan Wang Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M hw/riscv/virt.c M target/riscv/kvm/kvm-cpu.c M target/riscv/kvm/kvm_riscv.h Log Message: --- target/riscv/kvm: fix timebase-frequency when using KVM acceleration The timebase-frequency of guest OS should be the same with host machine. The timebase-frequency value in DTS should be got from hypervisor when using KVM acceleration. Signed-off-by: Yong-Xuan Wang Message-ID: <20240314061510.9800-1-yongxuan.w...@sifive.com> Reviewed-by: Andrew Jones Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Signed-off-by: Alistair Francis Commit: 1590154ee4376819a8c6ee61e849ebf4a4e7cd02 https://github.com/qemu/qemu/commit/1590154ee4376819a8c6ee61e849ebf4a4e7cd02 Author: Song Gao Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M target/loongarch/cpu.c Log Message: --- target/loongarch: Fix qemu-system-loongarch64 assert failed with the option '-d int' qemu-system-loongarch64 assert failed with the option '-d int', the helper_idle() raise an exception EXCP_HLT, but the exception name is undefined. Signed-off-by: Song Gao Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240321123606.1704900-1-gaos...@loongson.cn> Commit: 6a91e62694624035064c58bad5b3e75924892355 https://github.com/qemu/qemu/commit/6a91e62694624035064c58bad5b3e75924892355 Author: Peter Maydell Date: 2024-03-22 (Fri, 22 Mar 2024) Changed paths: M util/qemu-coroutine.c Log Messa
[Qemu-commits] [qemu/qemu] 983769: gitlab: aggressively avoid extra GIT data
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 9837697b7f3c5c9e534217e1b691e6b2f40a23ea https://github.com/qemu/qemu/commit/9837697b7f3c5c9e534217e1b691e6b2f40a23ea Author: Alex Bennée Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M .gitlab-ci.d/base.yml M .gitlab-ci.d/buildtest-template.yml M .gitlab-ci.d/buildtest.yml M .gitlab-ci.d/custom-runners.yml M .gitlab-ci.d/windows.yml Log Message: --- gitlab: aggressively avoid extra GIT data This avoids fetching blobs and tree references for branches we are not going to worry about. Also skip tag references which are similarly not useful and keep the default --prune. This keeps the .git data to around 100M rather than the ~400M even a shallow clone takes. So we can check the savings we also run a quick du while setting up the build. We also have to have special settings of GIT_FETCH_EXTRA_FLAGS for the Windows build, the migration legacy test and the custom runners. In the case of the custom runners we also move the free floating variable to the runner template. Reviewed-by: Manos Pitsidianakis Signed-off-by: Alex Bennée Message-Id: <20240312170011.1688444-1-alex.ben...@linaro.org> Commit: 06f6bbc3bd3a18c32e6b5ec844f0ea909571df9a https://github.com/qemu/qemu/commit/06f6bbc3bd3a18c32e6b5ec844f0ea909571df9a Author: Marcin Juszkiewicz Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- tests/avocado: update sbsa-ref firmware We now have CI job to build those and publish in space with readable urls. Firmware is built using Debian 'bookworm' cross toolchain (gcc 12.2.0). Used versions: - Trusted Firmware v2.10.2 - Tianocore EDK2 stable202402 - Tianocore EDK2 Platforms code commit 085c2fb Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé Message-Id: <20240318-sbsa-ref-firmware-update-v3-1-1c33b995a...@linaro.org> Signed-off-by: Alex Bennée Commit: 21f123f3c2b0fbb0931d20446f19255e2ee9ba07 https://github.com/qemu/qemu/commit/21f123f3c2b0fbb0931d20446f19255e2ee9ba07 Author: Marcin Juszkiewicz Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- tests/avocado: drop virtio-rng from sbsa-ref tests sbsa-ref is supposed to emulate real hardware so virtio-rng-pci does not fit here Signed-off-by: Marcin Juszkiewicz Message-Id: <20240318-sbsa-ref-firmware-update-v3-2-1c33b995a...@linaro.org> Signed-off-by: Alex Bennée Commit: 385ac766e8507a96ecbb39a4bf1a03c0259a098c https://github.com/qemu/qemu/commit/385ac766e8507a96ecbb39a4bf1a03c0259a098c Author: Marcin Juszkiewicz Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- tests/avocado: sbsa-ref: add Alpine tests for misc 'max' setup PAuth makes run timeout on CI so add tests using 'max' without it and with impdef one. Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240318-sbsa-ref-firmware-update-v3-3-1c33b995a...@linaro.org> Signed-off-by: Alex Bennée Commit: 55900f5dcc3205b87609d9be452c6c76c48b863b https://github.com/qemu/qemu/commit/55900f5dcc3205b87609d9be452c6c76c48b863b Author: Marcin Juszkiewicz Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- tests/avocado: sbsa-ref: add OpenBSD tests for misc 'max' setup PAuth makes run timeout on CI so add tests using 'max' without it and with impdef one. Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240318-sbsa-ref-firmware-update-v3-4-1c33b995a...@linaro.org> Signed-off-by: Alex Bennée Commit: fea445e8fe9acea4f775a832815ee22bdf2b0222 https://github.com/qemu/qemu/commit/fea445e8fe9acea4f775a832815ee22bdf2b0222 Author: Peter Maydell Date: 2024-03-21 (Thu, 21 Mar 2024) Changed paths: M .gitlab-ci.d/base.yml M .gitlab-ci.d/buildtest-template.yml M .gitlab-ci.d/buildtest.yml M .gitlab-ci.d/custom-runners.yml M .gitlab-ci.d/windows.yml M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- Merge tag 'pull-maintainer-final-for-real-this-time-200324-1' of https://gitlab.com/stsquad/qemu into staging maintainer updates (gitlab, avocado): - avoid extra git data on gitlab checkouts - update sbsa-ref tests # -BEGIN PGP SIGNATURE- # # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmX62tkACgkQ+9DbCVqe # KkSpfQf/Q2Zk6YMuFUmI8ho25svdbXPSNtgtWkwzFcBPgZ1QQxQfuGYBId6KrWHE # ArN33emgOjvFj2lYCq6Re0yE1VzKma7UDshwVl3v4aRT0e7GA4zGROLuOq2mwfK9 # gNJgRzUvoMlJuBf25z68I9AsFL3YPOsPYY+/5tmb4Mo3ZxXuA+UYXpdXIflbBAsH # 7VYh
[Qemu-commits] [qemu/qemu] 983769: gitlab: aggressively avoid extra GIT data
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 9837697b7f3c5c9e534217e1b691e6b2f40a23ea https://github.com/qemu/qemu/commit/9837697b7f3c5c9e534217e1b691e6b2f40a23ea Author: Alex Bennée Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M .gitlab-ci.d/base.yml M .gitlab-ci.d/buildtest-template.yml M .gitlab-ci.d/buildtest.yml M .gitlab-ci.d/custom-runners.yml M .gitlab-ci.d/windows.yml Log Message: --- gitlab: aggressively avoid extra GIT data This avoids fetching blobs and tree references for branches we are not going to worry about. Also skip tag references which are similarly not useful and keep the default --prune. This keeps the .git data to around 100M rather than the ~400M even a shallow clone takes. So we can check the savings we also run a quick du while setting up the build. We also have to have special settings of GIT_FETCH_EXTRA_FLAGS for the Windows build, the migration legacy test and the custom runners. In the case of the custom runners we also move the free floating variable to the runner template. Reviewed-by: Manos Pitsidianakis Signed-off-by: Alex Bennée Message-Id: <20240312170011.1688444-1-alex.ben...@linaro.org> Commit: 06f6bbc3bd3a18c32e6b5ec844f0ea909571df9a https://github.com/qemu/qemu/commit/06f6bbc3bd3a18c32e6b5ec844f0ea909571df9a Author: Marcin Juszkiewicz Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- tests/avocado: update sbsa-ref firmware We now have CI job to build those and publish in space with readable urls. Firmware is built using Debian 'bookworm' cross toolchain (gcc 12.2.0). Used versions: - Trusted Firmware v2.10.2 - Tianocore EDK2 stable202402 - Tianocore EDK2 Platforms code commit 085c2fb Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé Message-Id: <20240318-sbsa-ref-firmware-update-v3-1-1c33b995a...@linaro.org> Signed-off-by: Alex Bennée Commit: 21f123f3c2b0fbb0931d20446f19255e2ee9ba07 https://github.com/qemu/qemu/commit/21f123f3c2b0fbb0931d20446f19255e2ee9ba07 Author: Marcin Juszkiewicz Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- tests/avocado: drop virtio-rng from sbsa-ref tests sbsa-ref is supposed to emulate real hardware so virtio-rng-pci does not fit here Signed-off-by: Marcin Juszkiewicz Message-Id: <20240318-sbsa-ref-firmware-update-v3-2-1c33b995a...@linaro.org> Signed-off-by: Alex Bennée Commit: 385ac766e8507a96ecbb39a4bf1a03c0259a098c https://github.com/qemu/qemu/commit/385ac766e8507a96ecbb39a4bf1a03c0259a098c Author: Marcin Juszkiewicz Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- tests/avocado: sbsa-ref: add Alpine tests for misc 'max' setup PAuth makes run timeout on CI so add tests using 'max' without it and with impdef one. Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240318-sbsa-ref-firmware-update-v3-3-1c33b995a...@linaro.org> Signed-off-by: Alex Bennée Commit: 55900f5dcc3205b87609d9be452c6c76c48b863b https://github.com/qemu/qemu/commit/55900f5dcc3205b87609d9be452c6c76c48b863b Author: Marcin Juszkiewicz Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- tests/avocado: sbsa-ref: add OpenBSD tests for misc 'max' setup PAuth makes run timeout on CI so add tests using 'max' without it and with impdef one. Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240318-sbsa-ref-firmware-update-v3-4-1c33b995a...@linaro.org> Signed-off-by: Alex Bennée Commit: fea445e8fe9acea4f775a832815ee22bdf2b0222 https://github.com/qemu/qemu/commit/fea445e8fe9acea4f775a832815ee22bdf2b0222 Author: Peter Maydell Date: 2024-03-21 (Thu, 21 Mar 2024) Changed paths: M .gitlab-ci.d/base.yml M .gitlab-ci.d/buildtest-template.yml M .gitlab-ci.d/buildtest.yml M .gitlab-ci.d/custom-runners.yml M .gitlab-ci.d/windows.yml M tests/avocado/machine_aarch64_sbsaref.py Log Message: --- Merge tag 'pull-maintainer-final-for-real-this-time-200324-1' of https://gitlab.com/stsquad/qemu into staging maintainer updates (gitlab, avocado): - avoid extra git data on gitlab checkouts - update sbsa-ref tests # -BEGIN PGP SIGNATURE- # # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmX62tkACgkQ+9DbCVqe # KkSpfQf/Q2Zk6YMuFUmI8ho25svdbXPSNtgtWkwzFcBPgZ1QQxQfuGYBId6KrWHE # ArN33emgOjvFj2lYCq6Re0yE1VzKma7UDshwVl3v4aRT0e7GA4zGROLuOq2mwfK9 # gNJgRzUvoMlJuBf25z68I9AsFL3YPOsPYY+/5tmb4Mo3ZxXuA+UYXpdXIflbBAsH # 7VYh
[Qemu-commits] [qemu/qemu] 2cc686: target/i386: fix direction of "32-bit MMU" test
37b320 https://github.com/qemu/qemu/commit/05007258f02da253af370387b69fe98e9f37b320 Author: Paolo Bonzini Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M meson.build Log Message: --- meson: remove dead dictionary access The "link_depends" key has not been used since commit c46f76d1586 ("meson: specify fuzz linker script as a project arg", 2020-09-08), and even before that it was only used for fork-fuzzing which we removed in commit d2e6f9272d3 ("fuzz: remove fork-fuzzing scaffolding", 2023-02-16). So, remove it for a very small simplification of meson.build. Signed-off-by: Paolo Bonzini Commit: 3d5befc97f8d3c2355c2271ba04c3618c4456033 https://github.com/qemu/qemu/commit/3d5befc97f8d3c2355c2271ba04c3618c4456033 Author: Peter Maydell Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M pc-bios/edk2-aarch64-code.fd.bz2 M pc-bios/edk2-arm-code.fd.bz2 M pc-bios/edk2-i386-secure-code.fd.bz2 M pc-bios/edk2-riscv-code.fd.bz2 M roms/Makefile M roms/edk2-build.config Log Message: --- Merge tag 'edk2-20240320-pull-request' of https://gitlab.com/kraxel/qemu into staging edk2: cleanup fix, update build config, rebuild binaries. # -BEGIN PGP SIGNATURE- # # iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmX6i2UACgkQTLbY7tPo # cTgZpw/9GR+9LMdZJF7OoXB2t3zRvURMg79BYI2hXVXLd2OnoNGA1obM7pu2ecpo # 1ny2VoijagpcQFJpIDOblyiqa5/CTnCek5tt6L60TwSHNeUfnsD2qowXl2VTQ+IX # Fk/XT+LtLhohmq3zvNi6nxTf9Mc/HqvbVTU1DHm5yXNRAG/glCWiVoQAqGiaBLrm # pR2rjHVU5C3BmHW+c9GAQlb9L8ZoMtqNB4865K0IradXmdFcCO+0xcKFDMKpUF+a # RuC1Mmq/MaxjU8cq/tMqUbE7lk/qZgQgw4h2g4ozT5JGFErf+sV9AYkb6UIoeZ69 # t+KRuYc9I4Bbgb2YL85jezGAmNxGSDLfRnaMdOGlA579cjHjhWLX50FHP5dDM5xB # hL3qQ8H5NPIYdHuWCg4RfZLeIGKTWA8dsi0QIQ81KN1yLMogEVb3v2QI0dWCEnv+ # 6OJK8A8T7eQs74hcGqm8psX9n8KcwppsfSDdSAv11sdHSGGoyhoXALXEYqZ12kvW # TXE1YwL1UBbr9d/1uhoVolQ8gwIW+DOsawG55xBF8FeII5HcUX/925NR7jYNWjJC # SwzVWMXhAzEijoSDGoMjDpdKUSxA/bfaOuAuBy00mmNEp/YrlPcU1KxDMPywFyDe # D7TRtJmoGVA3/gCRdfhE7Hmi5xrb8u3MLgtJpNWZTbcTO+ODv48= # =pJEG # -END PGP SIGNATURE- # gpg: Signature made Wed 20 Mar 2024 07:08:21 GMT # gpg:using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) " [full] # gpg: aka "Gerd Hoffmann " [full] # gpg: aka "Gerd Hoffmann (private) " [full] # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * tag 'edk2-20240320-pull-request' of https://gitlab.com/kraxel/qemu: update edk2 binaries for arm, risc-v and x86 secure boot. roms/efi: use pure 64-bit build for edk2-x86_64-secure-code.fd roms/efi: exclude efi shell from secure boot builds roms/efi: drop workaround for edk2-stable202308 roms/efi: clean up edk2 build config Signed-off-by: Peter Maydell Commit: a1d86c4d707ecb94524844b69a0273aa307af04f https://github.com/qemu/qemu/commit/a1d86c4d707ecb94524844b69a0273aa307af04f Author: Peter Maydell Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M contrib/plugins/howvec.c M meson.build M system/vl.c M target/i386/cpu.c M target/i386/cpu.h M target/i386/helper.c Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * fix use-after-free issue * fix i386 TLB issue * fix crash with wrong -M confidential-guest-support argument * fix NULL pointer dereference in x86 MCE injection # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmX6uvYUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroOBPgf/b9i2aQx42PeBbftlOpDlzV0q/Cqw # PnONSOKeE4By0qzhehwYdL0e4E63u8f3yvPKBAoQrikBZS68fo4e3wCOc+CkeVfc # lcIsoGLgIaEoKpMUdxN9+jkyjurpplG79b/LFYXVMCOENnomHV0oYeSxfOXL/L8c # y4yvZ9C6VQSFnemqp+YyzrRad+oRD2hOuc+1RVp+3rxXprkgyfRJAtLvh73MZcvS # CaAd2a8ajm2kmQLVv6FeqEr3fgMqbpr2Yeny3n/+T5TdTI2vEODI1JxH2VR/mzYN # uiyWS8urQx5P99ICRSOX43WDU5SaUzVYEka8gELf3I5twDudFHtHjKieLA== # =UFlw # -END PGP SIGNATURE- # gpg: Signature made Wed 20 Mar 2024 10:31:18 GMT # gpg:using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg:issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini " [full] # gpg: aka "Paolo Bonzini " [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: meson: remove dead dictionary access tests/plugins: fix use-after-free bug target/i386: Revert monitor_puts() in do_inject_x86_mce() vl: do not assert if sev-guest is used together with TCG vl: convert qemu_machine_creation_done() to Error ** target/i386: fix direction of "32-bit MMU" test Signed-off-by: Peter Maydell Commit: 54294b23e16dfaeb72e0ffa8b9f13ca8129edfce
[Qemu-commits] [qemu/qemu] 2cc686: target/i386: fix direction of "32-bit MMU" test
37b320 https://github.com/qemu/qemu/commit/05007258f02da253af370387b69fe98e9f37b320 Author: Paolo Bonzini Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M meson.build Log Message: --- meson: remove dead dictionary access The "link_depends" key has not been used since commit c46f76d1586 ("meson: specify fuzz linker script as a project arg", 2020-09-08), and even before that it was only used for fork-fuzzing which we removed in commit d2e6f9272d3 ("fuzz: remove fork-fuzzing scaffolding", 2023-02-16). So, remove it for a very small simplification of meson.build. Signed-off-by: Paolo Bonzini Commit: 3d5befc97f8d3c2355c2271ba04c3618c4456033 https://github.com/qemu/qemu/commit/3d5befc97f8d3c2355c2271ba04c3618c4456033 Author: Peter Maydell Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M pc-bios/edk2-aarch64-code.fd.bz2 M pc-bios/edk2-arm-code.fd.bz2 M pc-bios/edk2-i386-secure-code.fd.bz2 M pc-bios/edk2-riscv-code.fd.bz2 M roms/Makefile M roms/edk2-build.config Log Message: --- Merge tag 'edk2-20240320-pull-request' of https://gitlab.com/kraxel/qemu into staging edk2: cleanup fix, update build config, rebuild binaries. # -BEGIN PGP SIGNATURE- # # iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmX6i2UACgkQTLbY7tPo # cTgZpw/9GR+9LMdZJF7OoXB2t3zRvURMg79BYI2hXVXLd2OnoNGA1obM7pu2ecpo # 1ny2VoijagpcQFJpIDOblyiqa5/CTnCek5tt6L60TwSHNeUfnsD2qowXl2VTQ+IX # Fk/XT+LtLhohmq3zvNi6nxTf9Mc/HqvbVTU1DHm5yXNRAG/glCWiVoQAqGiaBLrm # pR2rjHVU5C3BmHW+c9GAQlb9L8ZoMtqNB4865K0IradXmdFcCO+0xcKFDMKpUF+a # RuC1Mmq/MaxjU8cq/tMqUbE7lk/qZgQgw4h2g4ozT5JGFErf+sV9AYkb6UIoeZ69 # t+KRuYc9I4Bbgb2YL85jezGAmNxGSDLfRnaMdOGlA579cjHjhWLX50FHP5dDM5xB # hL3qQ8H5NPIYdHuWCg4RfZLeIGKTWA8dsi0QIQ81KN1yLMogEVb3v2QI0dWCEnv+ # 6OJK8A8T7eQs74hcGqm8psX9n8KcwppsfSDdSAv11sdHSGGoyhoXALXEYqZ12kvW # TXE1YwL1UBbr9d/1uhoVolQ8gwIW+DOsawG55xBF8FeII5HcUX/925NR7jYNWjJC # SwzVWMXhAzEijoSDGoMjDpdKUSxA/bfaOuAuBy00mmNEp/YrlPcU1KxDMPywFyDe # D7TRtJmoGVA3/gCRdfhE7Hmi5xrb8u3MLgtJpNWZTbcTO+ODv48= # =pJEG # -END PGP SIGNATURE- # gpg: Signature made Wed 20 Mar 2024 07:08:21 GMT # gpg:using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) " [full] # gpg: aka "Gerd Hoffmann " [full] # gpg: aka "Gerd Hoffmann (private) " [full] # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * tag 'edk2-20240320-pull-request' of https://gitlab.com/kraxel/qemu: update edk2 binaries for arm, risc-v and x86 secure boot. roms/efi: use pure 64-bit build for edk2-x86_64-secure-code.fd roms/efi: exclude efi shell from secure boot builds roms/efi: drop workaround for edk2-stable202308 roms/efi: clean up edk2 build config Signed-off-by: Peter Maydell Commit: a1d86c4d707ecb94524844b69a0273aa307af04f https://github.com/qemu/qemu/commit/a1d86c4d707ecb94524844b69a0273aa307af04f Author: Peter Maydell Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M contrib/plugins/howvec.c M meson.build M system/vl.c M target/i386/cpu.c M target/i386/cpu.h M target/i386/helper.c Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * fix use-after-free issue * fix i386 TLB issue * fix crash with wrong -M confidential-guest-support argument * fix NULL pointer dereference in x86 MCE injection # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmX6uvYUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroOBPgf/b9i2aQx42PeBbftlOpDlzV0q/Cqw # PnONSOKeE4By0qzhehwYdL0e4E63u8f3yvPKBAoQrikBZS68fo4e3wCOc+CkeVfc # lcIsoGLgIaEoKpMUdxN9+jkyjurpplG79b/LFYXVMCOENnomHV0oYeSxfOXL/L8c # y4yvZ9C6VQSFnemqp+YyzrRad+oRD2hOuc+1RVp+3rxXprkgyfRJAtLvh73MZcvS # CaAd2a8ajm2kmQLVv6FeqEr3fgMqbpr2Yeny3n/+T5TdTI2vEODI1JxH2VR/mzYN # uiyWS8urQx5P99ICRSOX43WDU5SaUzVYEka8gELf3I5twDudFHtHjKieLA== # =UFlw # -END PGP SIGNATURE- # gpg: Signature made Wed 20 Mar 2024 10:31:18 GMT # gpg:using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg:issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini " [full] # gpg: aka "Paolo Bonzini " [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: meson: remove dead dictionary access tests/plugins: fix use-after-free bug target/i386: Revert monitor_puts() in do_inject_x86_mce() vl: do not assert if sev-guest is used together with TCG vl: convert qemu_machine_creation_done() to Error ** target/i386: fix direction of "32-bit MMU" test Signed-off-by: Peter Maydell Commit: 54294b23e16dfaeb72e0ffa8b9f13ca8129edfce
[Qemu-commits] [qemu/qemu] e79f8b: seccomp: report EPERM instead of killing process f...
https://github.com/qemu/qemu/commit/518d2f4300e5c50a3e6416fd46e58373781a5267 Author: Sven Schnelle Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M target/hppa/op_helper.c Log Message: --- target/hppa: fix do_stdby_e() stdby,e,m was writing data from the wrong half of the register into memory for cases 0-3. Fixes: 25460fc5a71 ("target/hppa: Implement STDBY") Signed-off-by: Sven Schnelle Reviewed-by: Richard Henderson Message-Id: <20240319161921.487080-7-sv...@stackframe.org> Signed-off-by: Richard Henderson Commit: 0a57a96ec6532dafa961c6196a7b0c00fd28e662 https://github.com/qemu/qemu/commit/0a57a96ec6532dafa961c6196a7b0c00fd28e662 Author: Bibo Mao Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M hw/intc/loongarch_extioi.c Log Message: --- hw/intc/loongarch_extioi: Fix interrupt routing update Interrupt number in loop sentence should be base irq plus loop index, it is missing on checking whether the irq is pending. Fixes: 428a6ef4396 ("Add vmstate post_load support") Signed-off-by: Bibo Mao Reviewed-by: Song Gao Signed-off-by: Song Gao Message-Id: <20240313093932.2653518-1-maob...@loongson.cn> Commit: 9c70db9a433886c4647bfe01bf256e426c698561 https://github.com/qemu/qemu/commit/9c70db9a433886c4647bfe01bf256e426c698561 Author: Xianglai Li Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M target/loongarch/cpu-csr.h M target/loongarch/internals.h M target/loongarch/tcg/tlb_helper.c Log Message: --- target/loongarch: Fix tlb huge page loading issue When we use qemu tcg simulation, the page size of bios is 4KB. When using the level 2 super huge page (page size is 1G) to create the page table, it is found that the content of the corresponding address space is abnormal, resulting in the bios can not start the operating system and graphical interface normally. The lddir and ldpte instruction emulation has a problem with the use of super huge page processing above level 2. The page size is not correctly calculated, resulting in the wrong page size of the table entry found by tlb. Signed-off-by: Xianglai Li Reviewed-by: Richard Henderson Signed-off-by: Song Gao Message-Id: <20240318070332.1273939-1-lixiang...@loongson.cn> Commit: 77642f92c0b71a105aba2a4d03bc62328eae703b https://github.com/qemu/qemu/commit/77642f92c0b71a105aba2a4d03bc62328eae703b Author: Song Gao Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M target/loongarch/tcg/insn_trans/trans_atomic.c.inc Log Message: --- target/loongarch: Fix qemu-loongarch64 hang when executing 'll.d $t0, $t0, 0' On gen_ll, if a->imm is zero, make_address_x return src1, but the load to destination may clobber src1. We use a new destination to fix this problem. Fixes: c5af6628f4be (target/loongarch: Extract make_address_i() helper) Reviewed-by: Richard Henderson Suggested-by: Richard Henderson Signed-off-by: Song Gao Message-Id: <20240320013955.1561311-1-gaos...@loongson.cn> Commit: 9051995517e1eab4851bfe85d3d43f2d426d18ed https://github.com/qemu/qemu/commit/9051995517e1eab4851bfe85d3d43f2d426d18ed Author: Peter Maydell Date: 2024-03-20 (Wed, 20 Mar 2024) Changed paths: M chardev/char-io.c M chardev/char-socket.c M crypto/cipher-gcrypt.c.inc M system/qemu-seccomp.c M tests/unit/test-crypto-cipher.c Log Message: --- Merge tag 'misc-fixes-pull-request' of https://gitlab.com/berrange/qemu into staging * Use EPERM for seccomp filter instead of killing QEMU when an attempt to spawn child process is made * Reduce priority of POLLHUP handling for socket chardevs to increase likelihood of pending data being processed * Fix chardev I/O main loop integration when TLS is enabled * Fix broken crypto test suite when distro disables SM4 algorithm * Improve diagnosis of failed crypto tests # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEE2vOm/bJrYpEtDo4/vobrtBUQT98FAmX585EACgkQvobrtBUQ # T98TIg//ekc/f0JrRs68hjmo/vfcHWGHDMbZagj48zZNIn8DhJmQdt+qrCjMrMGW # 353nTawFuF3EO9ju/eRLO54T+p1+a3zX8TyO4tL1W+RY9HARPeqssmFemDPfkMfQ # IFGv0M0vaxGZpBna7jlXfDK/hCbJexKoChyT4eSF9H1Tp9o6T2J9AWvB5WTYLoQ2 # GzusDqBLKTkKhxMTCqevkFD/yCkgIQKlX8mG188PoJnGMqpGzQLTyw9lo5Npi1nE # nhXa2MrrSfusk0rtwEzT14sQ58U+MF4fLQxUC+knNX81FSv8Q6QDu4Stfhwc+az7 # ynO4b/3IzK+VCICb2QM1ZNoTZNLcLfw1jdFTIAt8wiE+BMSySNQtdneURZOynydy # Qd0alPNb4zfVRIGVjoOj38HiOmIKp5riIsUsI03jjBAgJu47tYRi60Tq2t6KxVoP # rpDd5Vmsd0AR+7acO29rp0aLB+x2/ANDY+1N1Xi4tQdblmKIziHPZzx6H49wbwev # 8Jdghg10RpbdqIGOfZ9fn13iCDO+1/gy6g/jTe2tMZrZsyov904tDqyUCDCzAbTz # B8lvnr0LfSX2DYBryGEHIa/eMN2TxPuzpvZP0JFO1QxJnOs9w3aHr1T6A1sCV4a3 # JjTu71LsomNMXj3t3ImBHzMlgQZoL5Bxoh7b7jbLO4cvnhRbiJk= # =4HKW # -END PGP SIGNATURE- # gpg: Signature made Tue 19 Mar 2024 20:20:33 GMT # gpg:using RSA key DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF # gpg: Good signature
[Qemu-commits] [qemu/qemu] c62d54: Update version for v9.0.0-rc0 release
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: c62d54d0a8067ffb3d5b909276f7296d7df33fa7 https://github.com/qemu/qemu/commit/c62d54d0a8067ffb3d5b909276f7296d7df33fa7 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc0 release Signed-off-by: Peter Maydell Commit: e79f8b8b2d70a85200af14deb65d399597d780f5 https://github.com/qemu/qemu/commit/e79f8b8b2d70a85200af14deb65d399597d780f5 Author: Daniel P. Berrangé Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M system/qemu-seccomp.c Log Message: --- seccomp: report EPERM instead of killing process for spawn set When something tries to run one of the spawn syscalls (eg clone), our seccomp deny filter is set to cause a fatal trap which kills the process. This is found to be unhelpful when QEMU has loaded the nvidia GL library. This tries to spawn a process to modprobe the nvidia kmod. This is a dubious thing to do, but at the same time, the code will gracefully continue if this fails. Our seccomp filter rightly blocks the spawning, but prevent the graceful continue. Switching to reporting EPERM will make QEMU behave more gracefully without impacting the level of protect we have. https://gitlab.com/qemu-project/qemu/-/issues/2116 Signed-off-by: Daniel P. Berrangé Commit: 8bd8b04adc9f18904f323dff085f8b4ec77915c6 https://github.com/qemu/qemu/commit/8bd8b04adc9f18904f323dff085f8b4ec77915c6 Author: Daniel P. Berrangé Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M chardev/char-socket.c Log Message: --- chardev: lower priority of the HUP GSource in socket chardev The socket chardev often has 2 GSource object registered against the same FD. One is registered all the time and is just intended to handle POLLHUP events, while the other gets registered & unregistered on the fly as the frontend is ready to receive more data or not. It is very common for poll() to signal a POLLHUP event at the same time as there is pending incoming data from the disconnected client. It is therefore essential to process incoming data prior to processing HUP. The problem with having 2 GSource on the same FD is that there is no guaranteed ordering of execution between them, so the chardev code may process HUP first and thus discard data. This failure scenario is non-deterministic but can be seen fairly reliably by reverting a7077b8e354d90fec26c2921aa2dea85b90dff90, and then running 'tests/unit/test-char', which will sometimes fail with missing data. Ideally QEMU would only have 1 GSource, but that's a complex code refactoring job. The next best solution is to try to ensure ordering between the 2 GSource objects. This can be achieved by lowering the priority of the HUP GSource, so that it is never dispatched if the main GSource is also ready to dispatch. Counter-intuitively, lowering the priority of a GSource is done by raising its priority number. Reviewed-by: Marc-André Lureau Reviewed-by: Thomas Huth Signed-off-by: Daniel P. Berrangé Commit: e8ee827ffdb86ebbd5f5213a1f78123c25a90864 https://github.com/qemu/qemu/commit/e8ee827ffdb86ebbd5f5213a1f78123c25a90864 Author: Daniel P. Berrangé Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M chardev/char-socket.c Log Message: --- Revert "chardev/char-socket: Fix TLS io channels sending too much data to the backend" This commit results in unexpected termination of the TLS connection. When 'fd_can_read' returns 0, the code goes on to pass a zero length buffer to qio_channel_read. The TLS impl calls into gnutls_recv() with this zero length buffer, at which point GNUTLS returns an error GNUTLS_E_INVALID_REQUEST. This is treated as fatal by QEMU's TLS code resulting in the connection being torn down by the chardev. Simply skipping the qio_channel_read when the buffer length is zero is also not satisfactory, as it results in a high CPU burn busy loop massively slowing QEMU's functionality. The proper solution is to avoid tcp_chr_read being called at all unless the frontend is able to accept more data. This will be done in a followup commit. This reverts commit 462945cd22d2bcd233401ed3aa167d83a8e35b05 Reviewed-by: Thomas Huth Signed-off-by: Daniel P. Berrangé Commit: 038b4217884c6f297278bb1ec6f0463c6c8221de https://github.com/qemu/qemu/commit/038b4217884c6f297278bb1ec6f0463c6c8221de Author: Daniel P. Berrangé Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M chardev/char-io.c Log Message: --- Revert "chardev: use a child source for qio input source" This reverts commit a7077b8e354d90fec26c2921aa2dea85b90dff90, and add comments to explain why child sources cannot be used. When a GSource is added as a child of another GSource, if its 'prepare' function indicates readiness, then the parent's 'prepare' fu
[Qemu-commits] [qemu/qemu] c62d54: Update version for v9.0.0-rc0 release
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: c62d54d0a8067ffb3d5b909276f7296d7df33fa7 https://github.com/qemu/qemu/commit/c62d54d0a8067ffb3d5b909276f7296d7df33fa7 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M VERSION Log Message: --- Update version for v9.0.0-rc0 release Signed-off-by: Peter Maydell To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 86a637: coroutine: cap per-thread local pool size
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 86a637e48104ae74d8be53bed6441ce32be33433 https://github.com/qemu/qemu/commit/86a637e48104ae74d8be53bed6441ce32be33433 Author: Stefan Hajnoczi Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M util/qemu-coroutine.c Log Message: --- coroutine: cap per-thread local pool size The coroutine pool implementation can hit the Linux vm.max_map_count limit, causing QEMU to abort with "failed to allocate memory for stack" or "failed to set up stack guard page" during coroutine creation. This happens because per-thread pools can grow to tens of thousands of coroutines. Each coroutine causes 2 virtual memory areas to be created. Eventually vm.max_map_count is reached and memory-related syscalls fail. The per-thread pool sizes are non-uniform and depend on past coroutine usage in each thread, so it's possible for one thread to have a large pool while another thread's pool is empty. Switch to a new coroutine pool implementation with a global pool that grows to a maximum number of coroutines and per-thread local pools that are capped at hardcoded small number of coroutines. This approach does not leave large numbers of coroutines pooled in a thread that may not use them again. In order to perform well it amortizes the cost of global pool accesses by working in batches of coroutines instead of individual coroutines. The global pool is a list. Threads donate batches of coroutines to when they have too many and take batches from when they have too few: .---. | Batch 1 | Batch 2 | Batch 3 | ... | global_pool `---' Each thread has up to 2 batches of coroutines: .---. | Batch 1 | Batch 2 | per-thread local_pool (maximum 2 batches) `---' The goal of this change is to reduce the excessive number of pooled coroutines that cause QEMU to abort when vm.max_map_count is reached without losing the performance of an adequately sized coroutine pool. Here are virtio-blk disk I/O benchmark results: RW BLKSIZE IODEPTHOLDNEW CHANGE randread 4k 1 113725 117451 +3.3% randread 4k 8 192968 198510 +2.9% randread 4k 16 207138 209429 +1.1% randread 4k 32 212399 215145 +1.3% randread 4k 64 218319 221277 +1.4% randread128k 1 17587 17535 -0.3% randread128k 8 17614 17616 +0.0% randread128k 16 17608 17609 +0.0% randread128k 32 17552 17553 +0.0% randread128k 64 17484 17484 +0.0% See files/{fio.sh,test.xml.j2} for the benchmark configuration: https://gitlab.com/stefanha/virt-playbooks/-/tree/coroutine-pool-fix-sizing Buglink: https://issues.redhat.com/browse/RHEL-28947 Reported-by: Sanjay Rao Reported-by: Boaz Ben Shabat Reported-by: Joe Mario Reviewed-by: Kevin Wolf Signed-off-by: Stefan Hajnoczi Message-ID: <20240318183429.1039340-1-stefa...@redhat.com> Commit: 4992306b65a09f2632f935dabc598ecdcde50121 https://github.com/qemu/qemu/commit/4992306b65a09f2632f935dabc598ecdcde50121 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M util/qemu-coroutine.c Log Message: --- Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging Pull request This fix solves the "failed to set up stack guard page" error that has been reported on Linux hosts where the QEMU coroutine pool exceeds the vm.max_map_count limit. # -BEGIN PGP SIGNATURE- # # iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmX5qq0ACgkQnKSrs4Gr # c8ginQf8DRKzA7K8OivEegKpf0TgGcAcw9/xKc6zJH3X0/GXi1my61tzz+XUkbNy # /R9HRrjBUb4MhSmJzP9kxuPFcBD5fZeipg4eTqtJCdi+DQ57+YypShVpsDrD7eNv # X5dxeeONdWwP+k9JiOj9NtSOMmTKExn/Q/w45G2eeBlJh4yRA+56XN/dDXTFlidm # NEpOGrKbyFKuAf/ZwYmeBr4aqIGTN3UgOVco/rqkGPYPTYpKlCoE5rSTEnQrbR7/ # C9KojlrGawJXlKjxfu/6i7yGHrv0eJ2N1VauvR/DHhQvdRhojVVt3NFGG/WJi+cL # CMbxNyYeQJLNFtfPWzokjKEudxkshg== # =lznr # -END PGP SIGNATURE- # gpg: Signature made Tue 19 Mar 2024 15:09:33 GMT # gpg:using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi " [full] # gpg: aka "Stefan Hajnoczi " [full] # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * tag 'block-pull-request' of https://gitlab.com/stefanha/qemu: coroutine: cap per-thread local pool size Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/7e9595e41502...4992306b65a0 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 86a637: coroutine: cap per-thread local pool size
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 86a637e48104ae74d8be53bed6441ce32be33433 https://github.com/qemu/qemu/commit/86a637e48104ae74d8be53bed6441ce32be33433 Author: Stefan Hajnoczi Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M util/qemu-coroutine.c Log Message: --- coroutine: cap per-thread local pool size The coroutine pool implementation can hit the Linux vm.max_map_count limit, causing QEMU to abort with "failed to allocate memory for stack" or "failed to set up stack guard page" during coroutine creation. This happens because per-thread pools can grow to tens of thousands of coroutines. Each coroutine causes 2 virtual memory areas to be created. Eventually vm.max_map_count is reached and memory-related syscalls fail. The per-thread pool sizes are non-uniform and depend on past coroutine usage in each thread, so it's possible for one thread to have a large pool while another thread's pool is empty. Switch to a new coroutine pool implementation with a global pool that grows to a maximum number of coroutines and per-thread local pools that are capped at hardcoded small number of coroutines. This approach does not leave large numbers of coroutines pooled in a thread that may not use them again. In order to perform well it amortizes the cost of global pool accesses by working in batches of coroutines instead of individual coroutines. The global pool is a list. Threads donate batches of coroutines to when they have too many and take batches from when they have too few: .---. | Batch 1 | Batch 2 | Batch 3 | ... | global_pool `---' Each thread has up to 2 batches of coroutines: .---. | Batch 1 | Batch 2 | per-thread local_pool (maximum 2 batches) `---' The goal of this change is to reduce the excessive number of pooled coroutines that cause QEMU to abort when vm.max_map_count is reached without losing the performance of an adequately sized coroutine pool. Here are virtio-blk disk I/O benchmark results: RW BLKSIZE IODEPTHOLDNEW CHANGE randread 4k 1 113725 117451 +3.3% randread 4k 8 192968 198510 +2.9% randread 4k 16 207138 209429 +1.1% randread 4k 32 212399 215145 +1.3% randread 4k 64 218319 221277 +1.4% randread128k 1 17587 17535 -0.3% randread128k 8 17614 17616 +0.0% randread128k 16 17608 17609 +0.0% randread128k 32 17552 17553 +0.0% randread128k 64 17484 17484 +0.0% See files/{fio.sh,test.xml.j2} for the benchmark configuration: https://gitlab.com/stefanha/virt-playbooks/-/tree/coroutine-pool-fix-sizing Buglink: https://issues.redhat.com/browse/RHEL-28947 Reported-by: Sanjay Rao Reported-by: Boaz Ben Shabat Reported-by: Joe Mario Reviewed-by: Kevin Wolf Signed-off-by: Stefan Hajnoczi Message-ID: <20240318183429.1039340-1-stefa...@redhat.com> Commit: 4992306b65a09f2632f935dabc598ecdcde50121 https://github.com/qemu/qemu/commit/4992306b65a09f2632f935dabc598ecdcde50121 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M util/qemu-coroutine.c Log Message: --- Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging Pull request This fix solves the "failed to set up stack guard page" error that has been reported on Linux hosts where the QEMU coroutine pool exceeds the vm.max_map_count limit. # -BEGIN PGP SIGNATURE- # # iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmX5qq0ACgkQnKSrs4Gr # c8ginQf8DRKzA7K8OivEegKpf0TgGcAcw9/xKc6zJH3X0/GXi1my61tzz+XUkbNy # /R9HRrjBUb4MhSmJzP9kxuPFcBD5fZeipg4eTqtJCdi+DQ57+YypShVpsDrD7eNv # X5dxeeONdWwP+k9JiOj9NtSOMmTKExn/Q/w45G2eeBlJh4yRA+56XN/dDXTFlidm # NEpOGrKbyFKuAf/ZwYmeBr4aqIGTN3UgOVco/rqkGPYPTYpKlCoE5rSTEnQrbR7/ # C9KojlrGawJXlKjxfu/6i7yGHrv0eJ2N1VauvR/DHhQvdRhojVVt3NFGG/WJi+cL # CMbxNyYeQJLNFtfPWzokjKEudxkshg== # =lznr # -END PGP SIGNATURE- # gpg: Signature made Tue 19 Mar 2024 15:09:33 GMT # gpg:using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi " [full] # gpg: aka "Stefan Hajnoczi " [full] # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * tag 'block-pull-request' of https://gitlab.com/stefanha/qemu: coroutine: cap per-thread local pool size Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/7e9595e41502...4992306b65a0 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 570011: vfio/iommufd: Fix memory leak
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 57001144628db65ef9b7dbbfb759101212696d6a https://github.com/qemu/qemu/commit/57001144628db65ef9b7dbbfb759101212696d6a Author: Cédric Le Goater Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M hw/vfio/iommufd.c Log Message: --- vfio/iommufd: Fix memory leak Coverity reported a memory leak on variable 'contents' in routine iommufd_cdev_getfd(). Use g_autofree variables to simplify the exit path and get rid of g_free() calls. Cc: Eric Auger Cc: Yi Liu Fixes: CID 1540007 Fixes: 5ee3dc7af785 ("vfio/iommufd: Implement the iommufd backend") Suggested-by: Zhenzhong Duan Reviewed-by: Zhenzhong Duan Signed-off-by: Cédric Le Goater Commit: 5b2b9450a2f83668bedd092b43233ad35f0d40bd https://github.com/qemu/qemu/commit/5b2b9450a2f83668bedd092b43233ad35f0d40bd Author: Cédric Le Goater Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M hw/ppc/pnv_i2c.c Log Message: --- ppc/pnv: I2C controller is not user creatable The I2C controller is a subunit of the processor. Make it so and avoid QEMU crashes. $ build/qemu-system-ppc64 -S -machine powernv9 -device pnv-i2c qemu-system-ppc64: ../hw/ppc/pnv_i2c.c:521: pnv_i2c_realize: Assertion `i2c->chip' failed. Aborted (core dumped) Fixes: 263b81ee15af ("ppc/pnv: Add an I2C controller model") Cc: Glenn Miles Reported-by: Thomas Huth Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Glenn Miles Signed-off-by: Cédric Le Goater Commit: a7538ca0791880b6aeb2cc4cc8c00305e2d975f8 https://github.com/qemu/qemu/commit/a7538ca0791880b6aeb2cc4cc8c00305e2d975f8 Author: Cédric Le Goater Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M hw/arm/xlnx-versal-virt.c M hw/block/m25p80.c M hw/ssi/aspeed_smc.c M include/hw/block/flash.h Log Message: --- aspeed/smc: Only wire flash devices at reset The Aspeed machines have many Static Memory Controllers (SMC), up to 8, which can only drive flash memory devices. Commit 27a2c66c92ec ("aspeed/smc: Wire CS lines at reset") tried to ease the definitions of these devices by allowing flash devices from the command line to be attached to a SSI bus. For that, the wiring of the CS lines of the Aspeed SMC controller was moved at reset. Two assumptions are made though, first that the device has a SSI_GPIO_CS GPIO line, which is not always the case, and second that it is a flash device. Correct this problem by ensuring that the devices attached to the bus are of the correct flash type. This fixes a QEMU abort when devices without a CS line, such as the max111x, are passed on the command line. While at it, export TYPE_M25P80 used in the Xilinx Versal Virtual machine. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2228 Fixes: 27a2c66c92ec ("aspeed/smc: Wire CS lines at reset") Reported-by: Thomas Huth Reviewed-by: Thomas Huth Tested-by: Thomas Huth [ clg: minor fixes in the commit log ] Signed-off-by: Cédric Le Goater Commit: 55f7c6a5f2bd82e1d2d0eac6eee0185ce0451815 https://github.com/qemu/qemu/commit/55f7c6a5f2bd82e1d2d0eac6eee0185ce0451815 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M tests/unit/meson.build Log Message: --- tests: Raise timeouts for bufferiszero and crypto-tlscredsx509 On our gcov CI job, the bufferiszero and crypto-tlscredsx509 tests time out occasionally, making the job flaky. Double the timeout on these two tests. Cc: qemu-sta...@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2221 Signed-off-by: Peter Maydell Reviewed-by: Daniel P. Berrangé Message-id: 20240312110815.116992-1-peter.mayd...@linaro.org Commit: 7e9595e41502960b3827abbd3dac282d93b65693 https://github.com/qemu/qemu/commit/7e9595e41502960b3827abbd3dac282d93b65693 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M hw/arm/xlnx-versal-virt.c M hw/block/m25p80.c M hw/ppc/pnv_i2c.c M hw/ssi/aspeed_smc.c M hw/vfio/iommufd.c M include/hw/block/flash.h Log Message: --- Merge tag 'pull-for-9.0-20240319' of https://github.com/legoater/qemu into staging aspeed, pnv, vfio queue: * user device fixes for Aspeed and PowerNV machines * coverity fix for iommufd # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmX5mm0ACgkQUaNDx8/7 # 7KE/MQ/9GeX4yNBxY2iTATdmPXwjMw8AtKyfIQb605nIO0ch1Z98ywl5VMwCNohn # ppY9L5bFpEASgRlFVm73X4DGxKyRGpRPqylsvINh0hKciRpmRkELHY3llhnXsd7P # Q197pDtFr54FeX8j4+hSAu4paT97fPENlKn0J6lto2I1cXGcD1LYNDFhysoXdGme # brJgo7KjQJZPZ560ZewskL5FWf3G9EkRjpqd8y0G5OtNmAPgAaahOMHhDCXan182 # J89I9CHI5xN45MRfAs8JamSaj/GyNsr4h04WhPa0+VZQ5vsaeW2Ekt4ypj+oAV+p # wykhYzQk4ALZcmmph2flSAtLa7uheI+imyqubMthQCDj3G8onSQBMd5/4WRK6O49 # 0oE1DpPDEfhlJEQYxaYhOeqeA9iaP+w
[Qemu-commits] [qemu/qemu] 570011: vfio/iommufd: Fix memory leak
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 57001144628db65ef9b7dbbfb759101212696d6a https://github.com/qemu/qemu/commit/57001144628db65ef9b7dbbfb759101212696d6a Author: Cédric Le Goater Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M hw/vfio/iommufd.c Log Message: --- vfio/iommufd: Fix memory leak Coverity reported a memory leak on variable 'contents' in routine iommufd_cdev_getfd(). Use g_autofree variables to simplify the exit path and get rid of g_free() calls. Cc: Eric Auger Cc: Yi Liu Fixes: CID 1540007 Fixes: 5ee3dc7af785 ("vfio/iommufd: Implement the iommufd backend") Suggested-by: Zhenzhong Duan Reviewed-by: Zhenzhong Duan Signed-off-by: Cédric Le Goater Commit: 5b2b9450a2f83668bedd092b43233ad35f0d40bd https://github.com/qemu/qemu/commit/5b2b9450a2f83668bedd092b43233ad35f0d40bd Author: Cédric Le Goater Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M hw/ppc/pnv_i2c.c Log Message: --- ppc/pnv: I2C controller is not user creatable The I2C controller is a subunit of the processor. Make it so and avoid QEMU crashes. $ build/qemu-system-ppc64 -S -machine powernv9 -device pnv-i2c qemu-system-ppc64: ../hw/ppc/pnv_i2c.c:521: pnv_i2c_realize: Assertion `i2c->chip' failed. Aborted (core dumped) Fixes: 263b81ee15af ("ppc/pnv: Add an I2C controller model") Cc: Glenn Miles Reported-by: Thomas Huth Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Glenn Miles Signed-off-by: Cédric Le Goater Commit: a7538ca0791880b6aeb2cc4cc8c00305e2d975f8 https://github.com/qemu/qemu/commit/a7538ca0791880b6aeb2cc4cc8c00305e2d975f8 Author: Cédric Le Goater Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M hw/arm/xlnx-versal-virt.c M hw/block/m25p80.c M hw/ssi/aspeed_smc.c M include/hw/block/flash.h Log Message: --- aspeed/smc: Only wire flash devices at reset The Aspeed machines have many Static Memory Controllers (SMC), up to 8, which can only drive flash memory devices. Commit 27a2c66c92ec ("aspeed/smc: Wire CS lines at reset") tried to ease the definitions of these devices by allowing flash devices from the command line to be attached to a SSI bus. For that, the wiring of the CS lines of the Aspeed SMC controller was moved at reset. Two assumptions are made though, first that the device has a SSI_GPIO_CS GPIO line, which is not always the case, and second that it is a flash device. Correct this problem by ensuring that the devices attached to the bus are of the correct flash type. This fixes a QEMU abort when devices without a CS line, such as the max111x, are passed on the command line. While at it, export TYPE_M25P80 used in the Xilinx Versal Virtual machine. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2228 Fixes: 27a2c66c92ec ("aspeed/smc: Wire CS lines at reset") Reported-by: Thomas Huth Reviewed-by: Thomas Huth Tested-by: Thomas Huth [ clg: minor fixes in the commit log ] Signed-off-by: Cédric Le Goater Commit: 55f7c6a5f2bd82e1d2d0eac6eee0185ce0451815 https://github.com/qemu/qemu/commit/55f7c6a5f2bd82e1d2d0eac6eee0185ce0451815 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M tests/unit/meson.build Log Message: --- tests: Raise timeouts for bufferiszero and crypto-tlscredsx509 On our gcov CI job, the bufferiszero and crypto-tlscredsx509 tests time out occasionally, making the job flaky. Double the timeout on these two tests. Cc: qemu-sta...@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2221 Signed-off-by: Peter Maydell Reviewed-by: Daniel P. Berrangé Message-id: 20240312110815.116992-1-peter.mayd...@linaro.org Commit: 7e9595e41502960b3827abbd3dac282d93b65693 https://github.com/qemu/qemu/commit/7e9595e41502960b3827abbd3dac282d93b65693 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M hw/arm/xlnx-versal-virt.c M hw/block/m25p80.c M hw/ppc/pnv_i2c.c M hw/ssi/aspeed_smc.c M hw/vfio/iommufd.c M include/hw/block/flash.h Log Message: --- Merge tag 'pull-for-9.0-20240319' of https://github.com/legoater/qemu into staging aspeed, pnv, vfio queue: * user device fixes for Aspeed and PowerNV machines * coverity fix for iommufd # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmX5mm0ACgkQUaNDx8/7 # 7KE/MQ/9GeX4yNBxY2iTATdmPXwjMw8AtKyfIQb605nIO0ch1Z98ywl5VMwCNohn # ppY9L5bFpEASgRlFVm73X4DGxKyRGpRPqylsvINh0hKciRpmRkELHY3llhnXsd7P # Q197pDtFr54FeX8j4+hSAu4paT97fPENlKn0J6lto2I1cXGcD1LYNDFhysoXdGme # brJgo7KjQJZPZ560ZewskL5FWf3G9EkRjpqd8y0G5OtNmAPgAaahOMHhDCXan182 # J89I9CHI5xN45MRfAs8JamSaj/GyNsr4h04WhPa0+VZQ5vsaeW2Ekt4ypj+oAV+p # wykhYzQk4ALZcmmph2flSAtLa7uheI+imyqubMthQCDj3G8onSQBMd5/4WRK6O49 # 0oE1DpPDEfhlJEQYxaYhOeqeA9iaP+w
[Qemu-commits] [qemu/qemu] b17693: docs/s390: clarify even more that cpu-topology is ...
t/86e372ad1e22df373878e5c1cbda2d5026a34331 Author: Igor Mammedov Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M tests/data/acpi/q35/SSDT.dimmpxm M tests/qtest/bios-tables-test-allowed-diff.h Log Message: --- tests: acpi: update expected SSDT.dimmpxm blob address shift is caused by switch to 32-bit SMBIOS entry point which has slightly different size from 64-bit one and happens to trigger a bit different memory layout. Expected diff: -Name (MEMA, 0x07FFE000) +Name (MEMA, 0x07FFF000) Signed-off-by: Igor Mammedov Acked-by: Ani Sinha Message-Id: <20240314152302.2324164-21-imamm...@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: bb949df637bdb6136a9acca55a2371fe1721e109 https://github.com/qemu/qemu/commit/bb949df637bdb6136a9acca55a2371fe1721e109 Author: Igor Mammedov Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M hw/smbios/smbios_legacy.c Log Message: --- smbios: add extra comments to smbios_get_table_legacy() Signed-off-by: Igor Mammedov Message-Id: <20240314152302.2324164-22-imamm...@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: ff7c98a9415f3d61d026002921dfc836ce232bcf https://github.com/qemu/qemu/commit/ff7c98a9415f3d61d026002921dfc836ce232bcf Author: Claudio Fontana Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M target/s390x/cpu_models.c Log Message: --- target/s390x: improve cpu compatibility check error message some users were confused by this message showing under TCG: Selected CPU generation is too new. Maximum supported model in the configuration: 'xyz' Clarify that the maximum can depend on the accel, and add a hint to try a different one. Also add a hint for features mismatch to suggest trying different accel, QEMU and kernel versions. Signed-off-by: Claudio Fontana Message-ID: <20240314213746.27163-1-cfont...@suse.de> Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Nina Schoetterl-Glausch Signed-off-by: Thomas Huth Commit: 47833f817cc597db124c690bd14600bb5d00e824 https://github.com/qemu/qemu/commit/47833f817cc597db124c690bd14600bb5d00e824 Author: Thomas Huth Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M target/sparc/cpu.c Log Message: --- target/sparc/cpu: Improve the CPU help text Remove the unnecessary "Sparc" at the beginning of the line and put the chip information into parentheses so that it is clearer which part of the line have to be passed to "-cpu" to specify a different CPU. Message-ID: <20240307174334.130407-4-th...@redhat.com> Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth Commit: aebe0a8552e8d419c8103e60e593f2778eab41c4 https://github.com/qemu/qemu/commit/aebe0a8552e8d419c8103e60e593f2778eab41c4 Author: Philippe Mathieu-Daudé Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M .travis.yml Log Message: --- travis-ci: Rename SOFTMMU -> SYSTEM Since we *might* have user emulation with softmmu, rename MAIN_SOFTMMU_TARGETS as MAIN_SYSTEM_TARGETS to express 'system emulation targets'. Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20240313213339.82071-3-phi...@linaro.org> Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Thomas Huth Commit: 9359197f0b460134c6bd8ce9842ba103b83be1b1 https://github.com/qemu/qemu/commit/9359197f0b460134c6bd8ce9842ba103b83be1b1 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M docs/specs/pvpanic.rst M hw/arm/virt.c M hw/i386/Kconfig M hw/i386/fw_cfg.c M hw/i386/fw_cfg.h M hw/i386/pc.c M hw/i386/pc_piix.c M hw/i386/pc_q35.c M hw/loongarch/virt.c M hw/riscv/virt.c M hw/smbios/Kconfig M hw/smbios/meson.build M hw/smbios/smbios.c A hw/smbios/smbios_legacy.c A hw/smbios/smbios_legacy_stub.c M include/hw/firmware/smbios.h M qapi/common.json M qapi/machine.json M tests/data/acpi/q35/SSDT.dimmpxm A tests/data/smbios/type11_blob A tests/data/smbios/type11_blob.legacy M tests/qtest/bios-tables-test.c Log Message: --- Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging virtio,pc,pci: bugfixes Some minor fixes plus a big patchset from Igor fixing a regression with windows. Signed-off-by: Michael S. Tsirkin # -BEGIN PGP SIGNATURE- # # iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAmX4NzsPHG1zdEByZWRo # YXQuY29tAAoJECgfDbjSjVRpkp0H/1foAaDYrApMiIkji4aI94bq/fwTnu5CshNP # +YEzwJCS4qbl67/Ix2Z+xVz7twjQbgGdLd6hb9ZypAQfclUk5tDoKyCmqHtQMakX # T080FayOvWmUEostAw7MXvuz0HpJlgnJaJBn29l1hHjA/XXahKqcc705cup+W8hv # F7xb6AoFcbdETMzNaoqekNaHiiYyQPITY9p/UYPLzj2zyLsspR9kBebIeA1yhtXw # Tmc3+FMquoM2fMNxpwfhCBswg662MlOXhLN3dmyLqeJRl09x1GvaeJIGMY2Mbe
[Qemu-commits] [qemu/qemu] b17693: docs/s390: clarify even more that cpu-topology is ...
t/86e372ad1e22df373878e5c1cbda2d5026a34331 Author: Igor Mammedov Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M tests/data/acpi/q35/SSDT.dimmpxm M tests/qtest/bios-tables-test-allowed-diff.h Log Message: --- tests: acpi: update expected SSDT.dimmpxm blob address shift is caused by switch to 32-bit SMBIOS entry point which has slightly different size from 64-bit one and happens to trigger a bit different memory layout. Expected diff: -Name (MEMA, 0x07FFE000) +Name (MEMA, 0x07FFF000) Signed-off-by: Igor Mammedov Acked-by: Ani Sinha Message-Id: <20240314152302.2324164-21-imamm...@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: bb949df637bdb6136a9acca55a2371fe1721e109 https://github.com/qemu/qemu/commit/bb949df637bdb6136a9acca55a2371fe1721e109 Author: Igor Mammedov Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M hw/smbios/smbios_legacy.c Log Message: --- smbios: add extra comments to smbios_get_table_legacy() Signed-off-by: Igor Mammedov Message-Id: <20240314152302.2324164-22-imamm...@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: ff7c98a9415f3d61d026002921dfc836ce232bcf https://github.com/qemu/qemu/commit/ff7c98a9415f3d61d026002921dfc836ce232bcf Author: Claudio Fontana Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M target/s390x/cpu_models.c Log Message: --- target/s390x: improve cpu compatibility check error message some users were confused by this message showing under TCG: Selected CPU generation is too new. Maximum supported model in the configuration: 'xyz' Clarify that the maximum can depend on the accel, and add a hint to try a different one. Also add a hint for features mismatch to suggest trying different accel, QEMU and kernel versions. Signed-off-by: Claudio Fontana Message-ID: <20240314213746.27163-1-cfont...@suse.de> Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Nina Schoetterl-Glausch Signed-off-by: Thomas Huth Commit: 47833f817cc597db124c690bd14600bb5d00e824 https://github.com/qemu/qemu/commit/47833f817cc597db124c690bd14600bb5d00e824 Author: Thomas Huth Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M target/sparc/cpu.c Log Message: --- target/sparc/cpu: Improve the CPU help text Remove the unnecessary "Sparc" at the beginning of the line and put the chip information into parentheses so that it is clearer which part of the line have to be passed to "-cpu" to specify a different CPU. Message-ID: <20240307174334.130407-4-th...@redhat.com> Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth Commit: aebe0a8552e8d419c8103e60e593f2778eab41c4 https://github.com/qemu/qemu/commit/aebe0a8552e8d419c8103e60e593f2778eab41c4 Author: Philippe Mathieu-Daudé Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M .travis.yml Log Message: --- travis-ci: Rename SOFTMMU -> SYSTEM Since we *might* have user emulation with softmmu, rename MAIN_SOFTMMU_TARGETS as MAIN_SYSTEM_TARGETS to express 'system emulation targets'. Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20240313213339.82071-3-phi...@linaro.org> Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Thomas Huth Commit: 9359197f0b460134c6bd8ce9842ba103b83be1b1 https://github.com/qemu/qemu/commit/9359197f0b460134c6bd8ce9842ba103b83be1b1 Author: Peter Maydell Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M docs/specs/pvpanic.rst M hw/arm/virt.c M hw/i386/Kconfig M hw/i386/fw_cfg.c M hw/i386/fw_cfg.h M hw/i386/pc.c M hw/i386/pc_piix.c M hw/i386/pc_q35.c M hw/loongarch/virt.c M hw/riscv/virt.c M hw/smbios/Kconfig M hw/smbios/meson.build M hw/smbios/smbios.c A hw/smbios/smbios_legacy.c A hw/smbios/smbios_legacy_stub.c M include/hw/firmware/smbios.h M qapi/common.json M qapi/machine.json M tests/data/acpi/q35/SSDT.dimmpxm A tests/data/smbios/type11_blob A tests/data/smbios/type11_blob.legacy M tests/qtest/bios-tables-test.c Log Message: --- Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging virtio,pc,pci: bugfixes Some minor fixes plus a big patchset from Igor fixing a regression with windows. Signed-off-by: Michael S. Tsirkin # -BEGIN PGP SIGNATURE- # # iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAmX4NzsPHG1zdEByZWRo # YXQuY29tAAoJECgfDbjSjVRpkp0H/1foAaDYrApMiIkji4aI94bq/fwTnu5CshNP # +YEzwJCS4qbl67/Ix2Z+xVz7twjQbgGdLd6hb9ZypAQfclUk5tDoKyCmqHtQMakX # T080FayOvWmUEostAw7MXvuz0HpJlgnJaJBn29l1hHjA/XXahKqcc705cup+W8hv # F7xb6AoFcbdETMzNaoqekNaHiiYyQPITY9p/UYPLzj2zyLsspR9kBebIeA1yhtXw # Tmc3+FMquoM2fMNxpwfhCBswg662MlOXhLN3dmyLqeJRl09x1GvaeJIGMY2Mbe
[Qemu-commits] [qemu/qemu] 4760ce: io: Introduce qio_channel_file_new_dupfd
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 4760cedc61328e47bf7f1fabceb9937facfa4cdd https://github.com/qemu/qemu/commit/4760cedc61328e47bf7f1fabceb9937facfa4cdd Author: Fabiano Rosas Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M include/io/channel-file.h M io/channel-file.c Log Message: --- io: Introduce qio_channel_file_new_dupfd Add a new helper function for creating a QIOChannelFile channel with a duplicated file descriptor. This saves the calling code from having to do error checking on the dup() call. Suggested-by: "Daniel P. Berrangé" Signed-off-by: Fabiano Rosas Reviewed-by: "Daniel P. Berrangé" Link: https://lore.kernel.org/r/2024031125.17299-2-faro...@suse.de Signed-off-by: Peter Xu Commit: c827fafcaad3e8b3dcf7eeb5944b03f6b63dfc44 https://github.com/qemu/qemu/commit/c827fafcaad3e8b3dcf7eeb5944b03f6b63dfc44 Author: Fabiano Rosas Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M migration/fd.c M migration/file.c Log Message: --- migration: Fix error handling after dup in file migration The file migration code was allowing a possible -1 from a failed call to dup() to propagate into the new QIOFileChannel::fd before checking for validity. Coverity doesn't like that, possibly due to the the lseek(-1, ...) call that would ensue before returning from the channel creation routine. Use the newly introduced qio_channel_file_dupfd() to properly check the return of dup() before proceeding. Fixes: CID 1539961 Fixes: CID 1539965 Fixes: CID 1539960 Fixes: 2dd7ee7a51 ("migration/multifd: Add incoming QIOChannelFile support") Fixes: decdc76772 ("migration/multifd: Add mapped-ram support to fd: URI") Reported-by: Peter Maydell Signed-off-by: Fabiano Rosas Reviewed-by: "Daniel P. Berrangé" Link: https://lore.kernel.org/r/2024031125.17299-3-faro...@suse.de Signed-off-by: Peter Xu Commit: 7e8ccf99ed5d0c546268cf584d4dca1569c97fea https://github.com/qemu/qemu/commit/7e8ccf99ed5d0c546268cf584d4dca1569c97fea Author: Philippe Mathieu-Daudé Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M include/exec/exec-all.h M system/physmem.c Log Message: --- physmem: Expose tlb_reset_dirty_range_all() In order to call tlb_reset_dirty_range_all() outside of system/physmem.c, expose its prototype. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Link: https://lore.kernel.org/r/20240312201458.79532-2-phi...@linaro.org Signed-off-by: Peter Xu Commit: 86a9ae80cc5fa2a989f253fca5e70f61eb4269e2 https://github.com/qemu/qemu/commit/86a9ae80cc5fa2a989f253fca5e70f61eb4269e2 Author: Nicholas Piggin Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M include/exec/ram_addr.h M system/physmem.c Log Message: --- physmem: Factor cpu_physical_memory_dirty_bits_cleared() out Signed-off-by: Nicholas Piggin Tested-by: Thomas Huth Message-ID: <20240219061731.232570-1-npig...@gmail.com> [PMD: Split patch in 2: part 1/2] Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Link: https://lore.kernel.org/r/20240312201458.79532-3-phi...@linaro.org Signed-off-by: Peter Xu Commit: 03bfc2188f061aa8381403f9280555f4e22c35a2 https://github.com/qemu/qemu/commit/03bfc2188f061aa8381403f9280555f4e22c35a2 Author: Nicholas Piggin Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M include/exec/ram_addr.h Log Message: --- physmem: Fix migration dirty bitmap coherency with TCG memory access The fastpath in cpu_physical_memory_sync_dirty_bitmap() to test large aligned ranges forgot to bring the TCG TLB up to date after clearing some of the dirty memory bitmap bits. This can result in stores though the TCG TLB not setting the dirty memory bitmap and ultimately causes memory corruption / lost updates during migration from a TCG host. Fix this by calling cpu_physical_memory_dirty_bits_cleared() when dirty bits have been cleared. Fixes: aa8dc044772 ("migration: synchronize memory bitmap 64bits at a time") Signed-off-by: Nicholas Piggin Tested-by: Thomas Huth Message-ID: <20240219061731.232570-1-npig...@gmail.com> [PMD: Split patch in 2: part 2/2, slightly adapt description] Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Link: https://lore.kernel.org/r/20240312201458.79532-4-phi...@linaro.org Signed-off-by: Peter Xu Commit: 2e128776dc56f502c2ee41750afe83938f389528 https://github.com/qemu/qemu/commit/2e128776dc56f502c2ee41750afe83938f389528 Author: Cédric Le Goater Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M migration/block.c Log Message: --- migration: Skip only empty block devices The block .save_setup() handler calls a helper routine init_blk_migration() which builds a list of block devices to take into a
[Qemu-commits] [qemu/qemu] 4760ce: io: Introduce qio_channel_file_new_dupfd
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 4760cedc61328e47bf7f1fabceb9937facfa4cdd https://github.com/qemu/qemu/commit/4760cedc61328e47bf7f1fabceb9937facfa4cdd Author: Fabiano Rosas Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M include/io/channel-file.h M io/channel-file.c Log Message: --- io: Introduce qio_channel_file_new_dupfd Add a new helper function for creating a QIOChannelFile channel with a duplicated file descriptor. This saves the calling code from having to do error checking on the dup() call. Suggested-by: "Daniel P. Berrangé" Signed-off-by: Fabiano Rosas Reviewed-by: "Daniel P. Berrangé" Link: https://lore.kernel.org/r/2024031125.17299-2-faro...@suse.de Signed-off-by: Peter Xu Commit: c827fafcaad3e8b3dcf7eeb5944b03f6b63dfc44 https://github.com/qemu/qemu/commit/c827fafcaad3e8b3dcf7eeb5944b03f6b63dfc44 Author: Fabiano Rosas Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M migration/fd.c M migration/file.c Log Message: --- migration: Fix error handling after dup in file migration The file migration code was allowing a possible -1 from a failed call to dup() to propagate into the new QIOFileChannel::fd before checking for validity. Coverity doesn't like that, possibly due to the the lseek(-1, ...) call that would ensue before returning from the channel creation routine. Use the newly introduced qio_channel_file_dupfd() to properly check the return of dup() before proceeding. Fixes: CID 1539961 Fixes: CID 1539965 Fixes: CID 1539960 Fixes: 2dd7ee7a51 ("migration/multifd: Add incoming QIOChannelFile support") Fixes: decdc76772 ("migration/multifd: Add mapped-ram support to fd: URI") Reported-by: Peter Maydell Signed-off-by: Fabiano Rosas Reviewed-by: "Daniel P. Berrangé" Link: https://lore.kernel.org/r/2024031125.17299-3-faro...@suse.de Signed-off-by: Peter Xu Commit: 7e8ccf99ed5d0c546268cf584d4dca1569c97fea https://github.com/qemu/qemu/commit/7e8ccf99ed5d0c546268cf584d4dca1569c97fea Author: Philippe Mathieu-Daudé Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M include/exec/exec-all.h M system/physmem.c Log Message: --- physmem: Expose tlb_reset_dirty_range_all() In order to call tlb_reset_dirty_range_all() outside of system/physmem.c, expose its prototype. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Link: https://lore.kernel.org/r/20240312201458.79532-2-phi...@linaro.org Signed-off-by: Peter Xu Commit: 86a9ae80cc5fa2a989f253fca5e70f61eb4269e2 https://github.com/qemu/qemu/commit/86a9ae80cc5fa2a989f253fca5e70f61eb4269e2 Author: Nicholas Piggin Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M include/exec/ram_addr.h M system/physmem.c Log Message: --- physmem: Factor cpu_physical_memory_dirty_bits_cleared() out Signed-off-by: Nicholas Piggin Tested-by: Thomas Huth Message-ID: <20240219061731.232570-1-npig...@gmail.com> [PMD: Split patch in 2: part 1/2] Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Link: https://lore.kernel.org/r/20240312201458.79532-3-phi...@linaro.org Signed-off-by: Peter Xu Commit: 03bfc2188f061aa8381403f9280555f4e22c35a2 https://github.com/qemu/qemu/commit/03bfc2188f061aa8381403f9280555f4e22c35a2 Author: Nicholas Piggin Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M include/exec/ram_addr.h Log Message: --- physmem: Fix migration dirty bitmap coherency with TCG memory access The fastpath in cpu_physical_memory_sync_dirty_bitmap() to test large aligned ranges forgot to bring the TCG TLB up to date after clearing some of the dirty memory bitmap bits. This can result in stores though the TCG TLB not setting the dirty memory bitmap and ultimately causes memory corruption / lost updates during migration from a TCG host. Fix this by calling cpu_physical_memory_dirty_bits_cleared() when dirty bits have been cleared. Fixes: aa8dc044772 ("migration: synchronize memory bitmap 64bits at a time") Signed-off-by: Nicholas Piggin Tested-by: Thomas Huth Message-ID: <20240219061731.232570-1-npig...@gmail.com> [PMD: Split patch in 2: part 2/2, slightly adapt description] Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Link: https://lore.kernel.org/r/20240312201458.79532-4-phi...@linaro.org Signed-off-by: Peter Xu Commit: 2e128776dc56f502c2ee41750afe83938f389528 https://github.com/qemu/qemu/commit/2e128776dc56f502c2ee41750afe83938f389528 Author: Cédric Le Goater Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M migration/block.c Log Message: --- migration: Skip only empty block devices The block .save_setup() handler calls a helper routine init_blk_migration() which builds a list of block devices to take into a
[Qemu-commits] [qemu/qemu] 573581: vdpa: add back vhost_vdpa_net_first_nc_vdpa
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 573581b18dfd458ddac22f832bfb3f6fc9b585dc https://github.com/qemu/qemu/commit/573581b18dfd458ddac22f832bfb3f6fc9b585dc Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/vhost-vdpa.c Log Message: --- vdpa: add back vhost_vdpa_net_first_nc_vdpa Previous commits had it removed. Now adding it back because this function will be needed by future patches. Message-Id: <1707910082-10243-2-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: c812b0655f8ccd1def48f14b89cec07e8fb68d83 https://github.com/qemu/qemu/commit/c812b0655f8ccd1def48f14b89cec07e8fb68d83 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/virtio/vhost-vdpa.c Log Message: --- vdpa: factor out vhost_vdpa_last_dev Generalize duplicated condition check for the last vq of vdpa device to a common function. Message-Id: <1707910082-10243-4-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Acked-by: Jason Wang Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 77c3a336a44272e8a6e9b18c6b765f08aa84151f https://github.com/qemu/qemu/commit/77c3a336a44272e8a6e9b18c6b765f08aa84151f Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/vhost-vdpa.c Log Message: --- vdpa: factor out vhost_vdpa_net_get_nc_vdpa Introduce new API. No functional change on existing API. Message-Id: <1707910082-10243-5-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Acked-by: Jason Wang Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 62845d3296ab7565e66f6e1f7bcfedb877f6fe7b https://github.com/qemu/qemu/commit/62845d3296ab7565e66f6e1f7bcfedb877f6fe7b Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/trace-events M net/vhost-vdpa.c Log Message: --- vdpa: add vhost_vdpa_set_address_space_id trace For better debuggability and observability. Message-Id: <1707910082-10243-6-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 6ec0a7467828f228e00ec83978fb5267f81079e0 https://github.com/qemu/qemu/commit/6ec0a7467828f228e00ec83978fb5267f81079e0 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/virtio/trace-events M hw/virtio/vhost-vdpa.c Log Message: --- vdpa: add vhost_vdpa_get_vring_base trace for svq mode For better debuggability and observability. Message-Id: <1707910082-10243-7-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Acked-by: Jason Wang Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 19a060bce17316d9ff7d8b3637fb391010be8144 https://github.com/qemu/qemu/commit/19a060bce17316d9ff7d8b3637fb391010be8144 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/virtio/trace-events M hw/virtio/vhost-vdpa.c Log Message: --- vdpa: add vhost_vdpa_set_dev_vring_base trace for svq mode For better debuggability and observability. Message-Id: <1707910082-10243-8-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Acked-by: Jason Wang Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: faed74468fe4ade9503025094f8a03673c8bd416 https://github.com/qemu/qemu/commit/faed74468fe4ade9503025094f8a03673c8bd416 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/trace-events M net/vhost-vdpa.c Log Message: --- vdpa: add trace events for vhost_vdpa_net_load_cmd For better debuggability and observability. Message-Id: <1707910082-10243-9-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 1c4eab477fb0aa5a039513c26dac63d3460e1b08 https://github.com/qemu/qemu/commit/1c4eab477fb0aa5a039513c26dac63d3460e1b08 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/trace-events M net/vhost-vdpa.c Log Message: --- vdpa: add trace event for vhost_vdpa_net_load_mq For better debuggability and observability. Message-Id: <1707910082-10243-10-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: bb000fff0a1d977c431e0831550e99e159ce
[Qemu-commits] [qemu/qemu] 573581: vdpa: add back vhost_vdpa_net_first_nc_vdpa
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 573581b18dfd458ddac22f832bfb3f6fc9b585dc https://github.com/qemu/qemu/commit/573581b18dfd458ddac22f832bfb3f6fc9b585dc Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/vhost-vdpa.c Log Message: --- vdpa: add back vhost_vdpa_net_first_nc_vdpa Previous commits had it removed. Now adding it back because this function will be needed by future patches. Message-Id: <1707910082-10243-2-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: c812b0655f8ccd1def48f14b89cec07e8fb68d83 https://github.com/qemu/qemu/commit/c812b0655f8ccd1def48f14b89cec07e8fb68d83 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/virtio/vhost-vdpa.c Log Message: --- vdpa: factor out vhost_vdpa_last_dev Generalize duplicated condition check for the last vq of vdpa device to a common function. Message-Id: <1707910082-10243-4-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Acked-by: Jason Wang Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 77c3a336a44272e8a6e9b18c6b765f08aa84151f https://github.com/qemu/qemu/commit/77c3a336a44272e8a6e9b18c6b765f08aa84151f Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/vhost-vdpa.c Log Message: --- vdpa: factor out vhost_vdpa_net_get_nc_vdpa Introduce new API. No functional change on existing API. Message-Id: <1707910082-10243-5-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Acked-by: Jason Wang Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 62845d3296ab7565e66f6e1f7bcfedb877f6fe7b https://github.com/qemu/qemu/commit/62845d3296ab7565e66f6e1f7bcfedb877f6fe7b Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/trace-events M net/vhost-vdpa.c Log Message: --- vdpa: add vhost_vdpa_set_address_space_id trace For better debuggability and observability. Message-Id: <1707910082-10243-6-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 6ec0a7467828f228e00ec83978fb5267f81079e0 https://github.com/qemu/qemu/commit/6ec0a7467828f228e00ec83978fb5267f81079e0 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/virtio/trace-events M hw/virtio/vhost-vdpa.c Log Message: --- vdpa: add vhost_vdpa_get_vring_base trace for svq mode For better debuggability and observability. Message-Id: <1707910082-10243-7-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Acked-by: Jason Wang Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 19a060bce17316d9ff7d8b3637fb391010be8144 https://github.com/qemu/qemu/commit/19a060bce17316d9ff7d8b3637fb391010be8144 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/virtio/trace-events M hw/virtio/vhost-vdpa.c Log Message: --- vdpa: add vhost_vdpa_set_dev_vring_base trace for svq mode For better debuggability and observability. Message-Id: <1707910082-10243-8-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Acked-by: Jason Wang Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: faed74468fe4ade9503025094f8a03673c8bd416 https://github.com/qemu/qemu/commit/faed74468fe4ade9503025094f8a03673c8bd416 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/trace-events M net/vhost-vdpa.c Log Message: --- vdpa: add trace events for vhost_vdpa_net_load_cmd For better debuggability and observability. Message-Id: <1707910082-10243-9-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 1c4eab477fb0aa5a039513c26dac63d3460e1b08 https://github.com/qemu/qemu/commit/1c4eab477fb0aa5a039513c26dac63d3460e1b08 Author: Si-Wei Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M net/trace-events M net/vhost-vdpa.c Log Message: --- vdpa: add trace event for vhost_vdpa_net_load_mq For better debuggability and observability. Message-Id: <1707910082-10243-10-git-send-email-si-wei@oracle.com> Reviewed-by: Eugenio Pérez Signed-off-by: Si-Wei Liu Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: bb000fff0a1d977c431e0831550e99e159ce
[Qemu-commits] [qemu/qemu] 99ea31: target/ppc: Fix GDB SPR regnum indexing
Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M hw/ppc/spapr.c M hw/ppc/spapr_nested.c M include/hw/ppc/spapr_nested.h Log Message: --- spapr: nested: Use correct source for parttbl info for nested PAPR API. For nested PAPR API, we use SpaprMachineStateNestedGuest struct to store partition table info, use the same in spapr_get_pate_nested() via helper. Reviewed-by: Nicholas Piggin Signed-off-by: Michael Neuling Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin Commit: 497711070905393a4614e87c3fe4a4445c369bce https://github.com/qemu/qemu/commit/497711070905393a4614e87c3fe4a4445c369bce Author: Harsh Prateek Bora Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M hw/ppc/ppc.c M hw/ppc/spapr_nested.c M target/ppc/cpu.h Log Message: --- spapr: nested: Introduce H_GUEST_RUN_VCPU hcall. The H_GUEST_RUN_VCPU hcall is used to start execution of a Guest VCPU. The Hypervisor will update the state of the Guest VCPU based on the input buffer, restore the saved Guest VCPU state, and start its execution. The Guest VCPU can stop running for numerous reasons including HCALLs, hypervisor exceptions, or an outstanding Host Partition Interrupt. The reason that the Guest VCPU stopped running is communicated through R4 and the output buffer will be filled in with any relevant state. Reviewed-by: Nicholas Piggin Signed-off-by: Michael Neuling Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin Commit: e1617b845104032f0aaad9b91dcda56c7c437998 https://github.com/qemu/qemu/commit/e1617b845104032f0aaad9b91dcda56c7c437998 Author: Harsh Prateek Bora Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M hw/ppc/spapr.c M hw/ppc/spapr_caps.c M hw/ppc/spapr_nested.c M include/hw/ppc/spapr.h Log Message: --- spapr: nested: Introduce cap-nested-papr for Nested PAPR API Introduce a SPAPR capability cap-nested-papr which enables nested PAPR API for nested guests. This new API is to enable support for KVM on PowerVM and the support in Linux kernel has already merged upstream. Reviewed-by: Nicholas Piggin Signed-off-by: Michael Neuling Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin Commit: 081340d1ddfe27e80f653d707c278edf06a9a803 https://github.com/qemu/qemu/commit/081340d1ddfe27e80f653d707c278edf06a9a803 Author: Daniel P. Berrangé Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M docs/devel/tracing.rst M meson.build M scripts/tracetool.py Log Message: --- tracetool: remove redundant --target-type / --target-name args The --target-type and --target-name args are used to construct the default probe prefix if '--probe-prefix' is not given. The meson.build will always pass '--probe-prefix', so the other args are effectively redundant. Signed-off-by: Daniel P. Berrangé Reviewed-by: John Snow Message-id: 20240108171356.1037059-2-berra...@redhat.com Signed-off-by: Stefan Hajnoczi Commit: 2b608e16ca00017509fa2a211b7b49aacdedb760 https://github.com/qemu/qemu/commit/2b608e16ca00017509fa2a211b7b49aacdedb760 Author: Daniel P. Berrangé Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M meson.build Log Message: --- meson: generate .stp files for tools too The qemu-img, qemu-io, qemu-nbd, qemu-storage-daemon tools all have support for systemtap tracing built-in, so should be given corresponding .stp files to define their probes. Signed-off-by: Daniel P. Berrangé Reviewed-by: Eric Blake Message-id: 20240108171356.1037059-3-berra...@redhat.com Signed-off-by: Stefan Hajnoczi Commit: bab9dabe7df6a52209b2646da5479ffb629ab8f5 https://github.com/qemu/qemu/commit/bab9dabe7df6a52209b2646da5479ffb629ab8f5 Author: Peter Maydell Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M docs/devel/tracing.rst M meson.build M scripts/tracetool.py Log Message: --- Merge tag 'tracing-pull-request' of https://gitlab.com/stefanha/qemu into staging Pull request # -BEGIN PGP SIGNATURE- # # iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmXwpoYACgkQnKSrs4Gr # c8gE0wf/c0hNDKoV01N8IwfJdmIBySNeCYRQiwcR84iiPoGGAwYdKuLa7wHaQKiO # iM0EV/ltJiiOGCHxlffVqLBzJurJHsHG6m429KBLRBXWc6gVzhCN9TjD8DwHxiTU # qzczoev8NJ2y5mrxzPPPjMxSSJEe3Ynas6ngeHeYBUtu0PRNp79zceWdtS0sPzia # sCI8EH/oCZQgVcwI/UkIOXjzbKK1lZWa2805//KIqvG27i9zHzLJ0l5eeLtbpZpy # LnFGRyQGGf+jEKAJuT6598q6T+jCkLCMN6zpyKWGvcYleNvBnlw6+N8Il8zV7KSc # TE5BNk+C7I9aimrRyaz3WrFCZW5DbQ== # =q9Im # -END PGP SIGNATURE- # gpg: Signature made Tue 12 Mar 2024 19:01:26 GMT # gpg:using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi " [full] # gpg: aka "Stefan Hajnoczi " [full] # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * tag 'tracing-pull-request' of https://gitlab.c
[Qemu-commits] [qemu/qemu] 99ea31: target/ppc: Fix GDB SPR regnum indexing
Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M hw/ppc/spapr.c M hw/ppc/spapr_nested.c M include/hw/ppc/spapr_nested.h Log Message: --- spapr: nested: Use correct source for parttbl info for nested PAPR API. For nested PAPR API, we use SpaprMachineStateNestedGuest struct to store partition table info, use the same in spapr_get_pate_nested() via helper. Reviewed-by: Nicholas Piggin Signed-off-by: Michael Neuling Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin Commit: 497711070905393a4614e87c3fe4a4445c369bce https://github.com/qemu/qemu/commit/497711070905393a4614e87c3fe4a4445c369bce Author: Harsh Prateek Bora Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M hw/ppc/ppc.c M hw/ppc/spapr_nested.c M target/ppc/cpu.h Log Message: --- spapr: nested: Introduce H_GUEST_RUN_VCPU hcall. The H_GUEST_RUN_VCPU hcall is used to start execution of a Guest VCPU. The Hypervisor will update the state of the Guest VCPU based on the input buffer, restore the saved Guest VCPU state, and start its execution. The Guest VCPU can stop running for numerous reasons including HCALLs, hypervisor exceptions, or an outstanding Host Partition Interrupt. The reason that the Guest VCPU stopped running is communicated through R4 and the output buffer will be filled in with any relevant state. Reviewed-by: Nicholas Piggin Signed-off-by: Michael Neuling Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin Commit: e1617b845104032f0aaad9b91dcda56c7c437998 https://github.com/qemu/qemu/commit/e1617b845104032f0aaad9b91dcda56c7c437998 Author: Harsh Prateek Bora Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M hw/ppc/spapr.c M hw/ppc/spapr_caps.c M hw/ppc/spapr_nested.c M include/hw/ppc/spapr.h Log Message: --- spapr: nested: Introduce cap-nested-papr for Nested PAPR API Introduce a SPAPR capability cap-nested-papr which enables nested PAPR API for nested guests. This new API is to enable support for KVM on PowerVM and the support in Linux kernel has already merged upstream. Reviewed-by: Nicholas Piggin Signed-off-by: Michael Neuling Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin Commit: 081340d1ddfe27e80f653d707c278edf06a9a803 https://github.com/qemu/qemu/commit/081340d1ddfe27e80f653d707c278edf06a9a803 Author: Daniel P. Berrangé Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M docs/devel/tracing.rst M meson.build M scripts/tracetool.py Log Message: --- tracetool: remove redundant --target-type / --target-name args The --target-type and --target-name args are used to construct the default probe prefix if '--probe-prefix' is not given. The meson.build will always pass '--probe-prefix', so the other args are effectively redundant. Signed-off-by: Daniel P. Berrangé Reviewed-by: John Snow Message-id: 20240108171356.1037059-2-berra...@redhat.com Signed-off-by: Stefan Hajnoczi Commit: 2b608e16ca00017509fa2a211b7b49aacdedb760 https://github.com/qemu/qemu/commit/2b608e16ca00017509fa2a211b7b49aacdedb760 Author: Daniel P. Berrangé Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M meson.build Log Message: --- meson: generate .stp files for tools too The qemu-img, qemu-io, qemu-nbd, qemu-storage-daemon tools all have support for systemtap tracing built-in, so should be given corresponding .stp files to define their probes. Signed-off-by: Daniel P. Berrangé Reviewed-by: Eric Blake Message-id: 20240108171356.1037059-3-berra...@redhat.com Signed-off-by: Stefan Hajnoczi Commit: bab9dabe7df6a52209b2646da5479ffb629ab8f5 https://github.com/qemu/qemu/commit/bab9dabe7df6a52209b2646da5479ffb629ab8f5 Author: Peter Maydell Date: 2024-03-13 (Wed, 13 Mar 2024) Changed paths: M docs/devel/tracing.rst M meson.build M scripts/tracetool.py Log Message: --- Merge tag 'tracing-pull-request' of https://gitlab.com/stefanha/qemu into staging Pull request # -BEGIN PGP SIGNATURE- # # iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmXwpoYACgkQnKSrs4Gr # c8gE0wf/c0hNDKoV01N8IwfJdmIBySNeCYRQiwcR84iiPoGGAwYdKuLa7wHaQKiO # iM0EV/ltJiiOGCHxlffVqLBzJurJHsHG6m429KBLRBXWc6gVzhCN9TjD8DwHxiTU # qzczoev8NJ2y5mrxzPPPjMxSSJEe3Ynas6ngeHeYBUtu0PRNp79zceWdtS0sPzia # sCI8EH/oCZQgVcwI/UkIOXjzbKK1lZWa2805//KIqvG27i9zHzLJ0l5eeLtbpZpy # LnFGRyQGGf+jEKAJuT6598q6T+jCkLCMN6zpyKWGvcYleNvBnlw6+N8Il8zV7KSc # TE5BNk+C7I9aimrRyaz3WrFCZW5DbQ== # =q9Im # -END PGP SIGNATURE- # gpg: Signature made Tue 12 Mar 2024 19:01:26 GMT # gpg:using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi " [full] # gpg: aka "Stefan Hajnoczi " [full] # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * tag 'tracing-pull-request' of https://gitlab.c
[Qemu-commits] [qemu/qemu] f9eebe: linux-user: Add FIFREEZE and FITHAW ioctls
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: f9eebe31a74add73973a978a6af366ec442f45cf https://github.com/qemu/qemu/commit/f9eebe31a74add73973a978a6af366ec442f45cf Author: Michael Vogt Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/ioctls.h M linux-user/syscall_defs.h Log Message: --- linux-user: Add FIFREEZE and FITHAW ioctls Add missing FIFREEZE and FITHAW ioctls. Signed-off-by: Michael Vogt Reviewed-by: Daniel P. Berrangé Message-Id: <20240220105726.8852-1-michael.v...@gmail.com> Reviewed-by: Richard Henderson Signed-off-by: Richard Henderson Commit: 07726f522deea2b98f39f7acdd32c60a35d65d1a https://github.com/qemu/qemu/commit/07726f522deea2b98f39f7acdd32c60a35d65d1a Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/syscall.c Log Message: --- linux-user: Implement PR_{GET,SET}_CHILD_SUBREAPER The "set" prctl passes through integral values. The "get" prctl returns the value into a pointer. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1929 Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: 91511bd40f9a425a99717db14bb46f50f8979cbe https://github.com/qemu/qemu/commit/91511bd40f9a425a99717db14bb46f50f8979cbe Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/syscall.c Log Message: --- linux-user: Implement PR_{GET,SET}_SPECULATION_CTRL Both of these only pass and return integral values. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: 8de24b15630a9b2d474be593289c8bf54dacd50a https://github.com/qemu/qemu/commit/8de24b15630a9b2d474be593289c8bf54dacd50a Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/syscall.c Log Message: --- linux-user: Implement PR_GET_TID_ADDRESS Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: b35348c7e62dc9b7caaabf3b45863ac119db9347 https://github.com/qemu/qemu/commit/b35348c7e62dc9b7caaabf3b45863ac119db9347 Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Don't close an unopened file descriptor Fixes Coverity CID: 1534964 Fixes: 106f8da664 ("linux-user/elfload: Open core file after vma_init") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 52e566b34f5499cc5fb41893570693f8d037a0e3 https://github.com/qemu/qemu/commit/52e566b34f5499cc5fb41893570693f8d037a0e3 Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Fully initialize struct target_elf_prpsinfo Fixes Coverity CID: 1534962 Fixes: 243c4706625 ("linux-user/elfload: Write corefile elf header in one block") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 1d24c36b72ed0b98f3b5e6382c6f1deef6b1ca0d https://github.com/qemu/qemu/commit/1d24c36b72ed0b98f3b5e6382c6f1deef6b1ca0d Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M tcg/aarch64/tcg-target.c.inc Log Message: --- tcg/aarch64: Fix tcg_out_cmp for test comparisons Pass the type to tcg_out_logicali; remove the assert, duplicated at the start of tcg_out_logicali. Fixes: 339adf2f38e ("tcg/aarch64: Support TCG_COND_TST{EQ,NE}") Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Michael Tokarev Signed-off-by: Richard Henderson Commit: 4fe19bbbea2cb9f1ec28cfd40cdc7f61e95a790e https://github.com/qemu/qemu/commit/4fe19bbbea2cb9f1ec28cfd40cdc7f61e95a790e Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M tcg/aarch64/tcg-target.c.inc Log Message: --- tcg/aarch64: Fix tcg_out_brcond for test comparisons When converting test vs UINT32_MAX to compare vs 0, we need to adjust the condition to match. Fixes: 34aff3c2e06 ("tcg/aarch64: Generate CBNZ for TSTNE of UINT32_MAX") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 25b287345b4979b28b8c968f5e04023e85270120 https://github.com/qemu/qemu/commit/25b287345b4979b28b8c968f5e04023e85270120 Author: Ross Lagerwall Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/xen/xen_pt_config_init.c Log Message: --- xen/pt: Emulate multifunction bit in header type The intention of the code appears to have been to unconditionally set the multifunction bit but since the emulation mask is 0x00 it has no effect. Instead, emulate the bit and set it based on the multifunction property of the PCIDevice (which can be set using QAPI). This allows making passthrough devices appear as
[Qemu-commits] [qemu/qemu] f9eebe: linux-user: Add FIFREEZE and FITHAW ioctls
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: f9eebe31a74add73973a978a6af366ec442f45cf https://github.com/qemu/qemu/commit/f9eebe31a74add73973a978a6af366ec442f45cf Author: Michael Vogt Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/ioctls.h M linux-user/syscall_defs.h Log Message: --- linux-user: Add FIFREEZE and FITHAW ioctls Add missing FIFREEZE and FITHAW ioctls. Signed-off-by: Michael Vogt Reviewed-by: Daniel P. Berrangé Message-Id: <20240220105726.8852-1-michael.v...@gmail.com> Reviewed-by: Richard Henderson Signed-off-by: Richard Henderson Commit: 07726f522deea2b98f39f7acdd32c60a35d65d1a https://github.com/qemu/qemu/commit/07726f522deea2b98f39f7acdd32c60a35d65d1a Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/syscall.c Log Message: --- linux-user: Implement PR_{GET,SET}_CHILD_SUBREAPER The "set" prctl passes through integral values. The "get" prctl returns the value into a pointer. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1929 Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: 91511bd40f9a425a99717db14bb46f50f8979cbe https://github.com/qemu/qemu/commit/91511bd40f9a425a99717db14bb46f50f8979cbe Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/syscall.c Log Message: --- linux-user: Implement PR_{GET,SET}_SPECULATION_CTRL Both of these only pass and return integral values. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: 8de24b15630a9b2d474be593289c8bf54dacd50a https://github.com/qemu/qemu/commit/8de24b15630a9b2d474be593289c8bf54dacd50a Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/syscall.c Log Message: --- linux-user: Implement PR_GET_TID_ADDRESS Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: b35348c7e62dc9b7caaabf3b45863ac119db9347 https://github.com/qemu/qemu/commit/b35348c7e62dc9b7caaabf3b45863ac119db9347 Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Don't close an unopened file descriptor Fixes Coverity CID: 1534964 Fixes: 106f8da664 ("linux-user/elfload: Open core file after vma_init") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 52e566b34f5499cc5fb41893570693f8d037a0e3 https://github.com/qemu/qemu/commit/52e566b34f5499cc5fb41893570693f8d037a0e3 Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Fully initialize struct target_elf_prpsinfo Fixes Coverity CID: 1534962 Fixes: 243c4706625 ("linux-user/elfload: Write corefile elf header in one block") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 1d24c36b72ed0b98f3b5e6382c6f1deef6b1ca0d https://github.com/qemu/qemu/commit/1d24c36b72ed0b98f3b5e6382c6f1deef6b1ca0d Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M tcg/aarch64/tcg-target.c.inc Log Message: --- tcg/aarch64: Fix tcg_out_cmp for test comparisons Pass the type to tcg_out_logicali; remove the assert, duplicated at the start of tcg_out_logicali. Fixes: 339adf2f38e ("tcg/aarch64: Support TCG_COND_TST{EQ,NE}") Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Michael Tokarev Signed-off-by: Richard Henderson Commit: 4fe19bbbea2cb9f1ec28cfd40cdc7f61e95a790e https://github.com/qemu/qemu/commit/4fe19bbbea2cb9f1ec28cfd40cdc7f61e95a790e Author: Richard Henderson Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M tcg/aarch64/tcg-target.c.inc Log Message: --- tcg/aarch64: Fix tcg_out_brcond for test comparisons When converting test vs UINT32_MAX to compare vs 0, we need to adjust the condition to match. Fixes: 34aff3c2e06 ("tcg/aarch64: Generate CBNZ for TSTNE of UINT32_MAX") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 25b287345b4979b28b8c968f5e04023e85270120 https://github.com/qemu/qemu/commit/25b287345b4979b28b8c968f5e04023e85270120 Author: Ross Lagerwall Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/xen/xen_pt_config_init.c Log Message: --- xen/pt: Emulate multifunction bit in header type The intention of the code appears to have been to unconditionally set the multifunction bit but since the emulation mask is 0x00 it has no effect. Instead, emulate the bit and set it based on the multifunction property of the PCIDevice (which can be set using QAPI). This allows making passthrough devices
[Qemu-commits] [qemu/qemu] 2f73ed: hw/ide/ahci: Rename ahci_internal.h to ahci-intern...
pe Mathieu-Daudé Commit: 2ea09fe85a1a7006133fa8ee1f467a5758e8f8fb https://github.com/qemu/qemu/commit/2ea09fe85a1a7006133fa8ee1f467a5758e8f8fb Author: Zhao Liu Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M hw/core/numa.c Log Message: --- hw/core: Cleanup unused included headers in numa.c Remove unused header in numa.c: * qemu/bitmap.h * migration/vmstate.h Note: Though parse_numa_hmat_lb() has the variable named "bitmap_copy", it doesn't use the normal bitmap ops so that it's safe to exclude qemu/bitmap.h header. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240311075621.3224684-4-zhao1@linux.intel.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 4cbb1513a2d322f858ccb2556715558482fd4850 https://github.com/qemu/qemu/commit/4cbb1513a2d322f858ccb2556715558482fd4850 Author: Dmitriy Sharikhin Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M MAINTAINERS M hw/gpio/Kconfig M hw/gpio/meson.build A hw/gpio/pcf8574.c A include/hw/gpio/pcf8574.h Log Message: --- hw/gpio: introduce pcf8574 driver NXP PCF8574 and compatible ICs are simple I2C GPIO expanders. PCF8574 incorporates quasi-bidirectional IO, and simple communication protocol, when IO read is I2C byte read, and IO write is I2C byte write. User can think of it as open-drain port, when line high state is input and line low state is output. Signed-off-by: Dmitrii Sharikhin Reviewed-by: Philippe Mathieu-Daudé Message-ID: Signed-off-by: Philippe Mathieu-Daudé Commit: 2ef938a0994097969aab947aeb49982572640687 https://github.com/qemu/qemu/commit/2ef938a0994097969aab947aeb49982572640687 Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M meson.build Log Message: --- meson.build: Always require an objc compiler on macos hosts We currently only insist that an ObjectiveC compiler is present on macos hosts if we're building the Cocoa UI. However, since then we've added some other parts of QEMU which are also written in ObjC: the coreaudio audio backend, and the vmnet net backend. This means that if you try to configure QEMU on macos with --disable-cocoa the build will fail: ../meson.build:3741:13: ERROR: No host machine compiler for 'audio/coreaudio.m' Since in practice any macos host will have an ObjC compiler available, rather than trying to gate the compiler detection on an increasingly complicated list of every bit of QEMU that uses ObjC, just require it unconditionally on macos hosts. Resolves https://gitlab.com/qemu-project/qemu/-/issues/2138 Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Daniel P. Berrangé Message-ID: <2024031114.3991537-1-peter.mayd...@linaro.org> Signed-off-by: Philippe Mathieu-Daudé Commit: afc8b05cea14b2eea6f1eaa640f74b21486fca48 https://github.com/qemu/qemu/commit/afc8b05cea14b2eea6f1eaa640f74b21486fca48 Author: Zhao Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M docs/about/deprecated.rst Log Message: --- docs/about/deprecated.rst: Move SMP configurations item to system emulator section In the commit 54c4ea8f3ae6 ("hw/core/machine-smp: Deprecate unsupported 'parameter=1' SMP configurations"), the SMP related item is put under the section "User-mode emulator command line arguments" instead of "System emulator command line arguments". -smp is a system emulator command, so move SMP configurations item to system emulator section. Signed-off-by: Zhao Liu Reviewed-by: Thomas Huth Message-ID: <20240312071512.3283513-1-zhao1@linux.intel.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 65c2ab808571dcd9322020690a63df63281a67f0 https://github.com/qemu/qemu/commit/65c2ab808571dcd9322020690a63df63281a67f0 Author: Laurent Vivier Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/net/igb_core.c M hw/net/igb_core.h Log Message: --- igb: fix link state on resume On resume igb_vm_state_change() always calls igb_autoneg_resume() that sets link_down to false, and thus activates the link even if we have disabled it. The problem can be reproduced starting qemu in paused state (-S) and then set the link to down. When we resume the machine the link appears to be up. Reproducer: # qemu-system-x86_64 ... -device igb,netdev=netdev0,id=net0 -S {"execute": "qmp_capabilities" } {"execute": "set_link", "arguments": {"name": "net0", "up": false}} {"execute": "cont" } To fix the problem, merge the content of igb_vm_state_change() into igb_core_post_load() as e1000 does. Buglink: https://issues.redhat.com/browse/RHEL-21867 Fixes: 3a977deebe6b ("Intrdocue igb device emulation&
[Qemu-commits] [qemu/qemu] 65c2ab: igb: fix link state on resume
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 65c2ab808571dcd9322020690a63df63281a67f0 https://github.com/qemu/qemu/commit/65c2ab808571dcd9322020690a63df63281a67f0 Author: Laurent Vivier Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/net/igb_core.c M hw/net/igb_core.h Log Message: --- igb: fix link state on resume On resume igb_vm_state_change() always calls igb_autoneg_resume() that sets link_down to false, and thus activates the link even if we have disabled it. The problem can be reproduced starting qemu in paused state (-S) and then set the link to down. When we resume the machine the link appears to be up. Reproducer: # qemu-system-x86_64 ... -device igb,netdev=netdev0,id=net0 -S {"execute": "qmp_capabilities" } {"execute": "set_link", "arguments": {"name": "net0", "up": false}} {"execute": "cont" } To fix the problem, merge the content of igb_vm_state_change() into igb_core_post_load() as e1000 does. Buglink: https://issues.redhat.com/browse/RHEL-21867 Fixes: 3a977deebe6b ("Intrdocue igb device emulation") Cc: akihiko.od...@daynix.com Suggested-by: Akihiko Odaki Signed-off-by: Laurent Vivier Signed-off-by: Jason Wang Commit: 4cadf10234989861398e19f3bb441d3861f3bb7c https://github.com/qemu/qemu/commit/4cadf10234989861398e19f3bb441d3861f3bb7c Author: Laurent Vivier Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/net/e1000e_core.c M hw/net/e1000e_core.h Log Message: --- e1000e: fix link state on resume On resume e1000e_vm_state_change() always calls e1000e_autoneg_resume() that sets link_down to false, and thus activates the link even if we have disabled it. The problem can be reproduced starting qemu in paused state (-S) and then set the link to down. When we resume the machine the link appears to be up. Reproducer: # qemu-system-x86_64 ... -device e1000e,netdev=netdev0,id=net0 -S {"execute": "qmp_capabilities" } {"execute": "set_link", "arguments": {"name": "net0", "up": false}} {"execute": "cont" } To fix the problem, merge the content of e1000e_vm_state_change() into e1000e_core_post_load() as e1000 does. Buglink: https://issues.redhat.com/browse/RHEL-21867 Fixes: 6f3fbe4ed06a ("net: Introduce e1000e device emulation") Suggested-by: Akihiko Odaki Signed-off-by: Laurent Vivier Signed-off-by: Jason Wang Commit: 6a5287ce80470bb8df95901d73ee779a64e70c3a https://github.com/qemu/qemu/commit/6a5287ce80470bb8df95901d73ee779a64e70c3a Author: Nick Briggs Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/net/pcnet.c Log Message: --- Avoid unaligned fetch in ladr_match() There is no guarantee that the PCNetState is allocated such that csr[8] is allocated on an 8-byte boundary. Since not all hosts are capable of unaligned fetches the 16-bit elements need to be fetched individually to avoid a potential fault. Closes issue #2143 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2143 Signed-off-by: Nick Briggs Reviewed-by: Peter Maydell Signed-off-by: Jason Wang Commit: 333b3e5fab751cce9f077b827563296c797ff399 https://github.com/qemu/qemu/commit/333b3e5fab751cce9f077b827563296c797ff399 Author: Andrew Melnychenko Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M ebpf/ebpf_rss.c M ebpf/ebpf_rss.h Log Message: --- ebpf: Added eBPF map update through mmap. Changed eBPF map updates through mmaped array. Mmaped arrays provide direct access to map data. It should omit using bpf_map_update_elem() call, which may require capabilities that are not present. Signed-off-by: Andrew Melnychenko Signed-off-by: Jason Wang Commit: 0524ea0510a33c616d87108d71a8456071e9daa1 https://github.com/qemu/qemu/commit/0524ea0510a33c616d87108d71a8456071e9daa1 Author: Andrew Melnychenko Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M ebpf/ebpf_rss-stub.c M ebpf/ebpf_rss.c M ebpf/ebpf_rss.h Log Message: --- ebpf: Added eBPF initialization by fds. It allows using file descriptors of eBPF provided outside of QEMU. QEMU may be run without capabilities for eBPF and run RSS program provided by management tool(g.e. libvirt). Signed-off-by: Andrew Melnychenko Signed-off-by: Jason Wang Commit: 6b230b7dfcd8123a902e41cd313714b5a57dcac4 https://github.com/qemu/qemu/commit/6b230b7dfcd8123a902e41cd313714b5a57dcac4 Author: Andrew Melnychenko Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M hw/net/virtio-net.c M include/hw/virtio/virtio-net.h Log Message: --- virtio-net: Added property to load eBPF RSS with fds. eBPF RSS program and maps may now be passed
[Qemu-commits] [qemu/qemu] 2f73ed: hw/ide/ahci: Rename ahci_internal.h to ahci-intern...
pe Mathieu-Daudé Commit: 2ea09fe85a1a7006133fa8ee1f467a5758e8f8fb https://github.com/qemu/qemu/commit/2ea09fe85a1a7006133fa8ee1f467a5758e8f8fb Author: Zhao Liu Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M hw/core/numa.c Log Message: --- hw/core: Cleanup unused included headers in numa.c Remove unused header in numa.c: * qemu/bitmap.h * migration/vmstate.h Note: Though parse_numa_hmat_lb() has the variable named "bitmap_copy", it doesn't use the normal bitmap ops so that it's safe to exclude qemu/bitmap.h header. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240311075621.3224684-4-zhao1@linux.intel.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 4cbb1513a2d322f858ccb2556715558482fd4850 https://github.com/qemu/qemu/commit/4cbb1513a2d322f858ccb2556715558482fd4850 Author: Dmitriy Sharikhin Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M MAINTAINERS M hw/gpio/Kconfig M hw/gpio/meson.build A hw/gpio/pcf8574.c A include/hw/gpio/pcf8574.h Log Message: --- hw/gpio: introduce pcf8574 driver NXP PCF8574 and compatible ICs are simple I2C GPIO expanders. PCF8574 incorporates quasi-bidirectional IO, and simple communication protocol, when IO read is I2C byte read, and IO write is I2C byte write. User can think of it as open-drain port, when line high state is input and line low state is output. Signed-off-by: Dmitrii Sharikhin Reviewed-by: Philippe Mathieu-Daudé Message-ID: Signed-off-by: Philippe Mathieu-Daudé Commit: 2ef938a0994097969aab947aeb49982572640687 https://github.com/qemu/qemu/commit/2ef938a0994097969aab947aeb49982572640687 Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M meson.build Log Message: --- meson.build: Always require an objc compiler on macos hosts We currently only insist that an ObjectiveC compiler is present on macos hosts if we're building the Cocoa UI. However, since then we've added some other parts of QEMU which are also written in ObjC: the coreaudio audio backend, and the vmnet net backend. This means that if you try to configure QEMU on macos with --disable-cocoa the build will fail: ../meson.build:3741:13: ERROR: No host machine compiler for 'audio/coreaudio.m' Since in practice any macos host will have an ObjC compiler available, rather than trying to gate the compiler detection on an increasingly complicated list of every bit of QEMU that uses ObjC, just require it unconditionally on macos hosts. Resolves https://gitlab.com/qemu-project/qemu/-/issues/2138 Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Daniel P. Berrangé Message-ID: <2024031114.3991537-1-peter.mayd...@linaro.org> Signed-off-by: Philippe Mathieu-Daudé Commit: afc8b05cea14b2eea6f1eaa640f74b21486fca48 https://github.com/qemu/qemu/commit/afc8b05cea14b2eea6f1eaa640f74b21486fca48 Author: Zhao Liu Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M docs/about/deprecated.rst Log Message: --- docs/about/deprecated.rst: Move SMP configurations item to system emulator section In the commit 54c4ea8f3ae6 ("hw/core/machine-smp: Deprecate unsupported 'parameter=1' SMP configurations"), the SMP related item is put under the section "User-mode emulator command line arguments" instead of "System emulator command line arguments". -smp is a system emulator command, so move SMP configurations item to system emulator section. Signed-off-by: Zhao Liu Reviewed-by: Thomas Huth Message-ID: <20240312071512.3283513-1-zhao1@linux.intel.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 29e238cfb041190abd6a5984c34decdd77d4680b https://github.com/qemu/qemu/commit/29e238cfb041190abd6a5984c34decdd77d4680b Author: Alex Bennée Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M .gitlab-ci.d/base.yml M .gitlab-ci.d/buildtest-template.yml M .gitlab-ci.d/buildtest.yml M .gitlab-ci.d/windows.yml Log Message: --- gitlab: aggressively avoid extra GIT data This avoids fetching blobs and tree references for branches we are not going to worry about. Also skip tag references which are similarly not useful and keep the default --prune. This keeps the .git data to around 100M rather than the ~400M even a shallow clone takes. So we can check the savings we also run a quick du while setting up the build. We also have to have special settings of GIT_FETCH_EXTRA_FLAGS for the Windows build (git too old?) and the migration legacy test where we build an older QEMU alongside the main one. Signed-off-by: Alex Bennée Commit: c2ace3f18c2d978cd4ee79e3dd050337b1d479df https://github.com/qemu/qemu/commit/c2ace3f18c2d978cd4ee79e3dd050337b1d479df Author: Alex Bennée Date: 2024-0
[Qemu-commits] [qemu/qemu] a2531b: hw/arm: Deprecate various old Arm machine types
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: a2531bb855079597444f2ef1dcd4118d6609baf1 https://github.com/qemu/qemu/commit/a2531bb855079597444f2ef1dcd4118d6609baf1 Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M docs/about/deprecated.rst M hw/arm/gumstix.c M hw/arm/mainstone.c M hw/arm/nseries.c M hw/arm/palm.c M hw/arm/spitz.c M hw/arm/tosa.c M hw/arm/z2.c Log Message: --- hw/arm: Deprecate various old Arm machine types QEMU includes some models of old Arm machine types which are a bit problematic for us because: * they're written in a very old way that uses numerous APIs that we would like to get away from (eg they don't use qdev, they use qemu_system_reset_request(), they use vmstate_register(), etc) * they've been that way for a decade plus and nobody particularly has stepped up to try to modernise the code (beyond some occasional work here and there) * we often don't have test cases for them, which means that if we do try to do the necessary refactoring work on them we have no idea if they even still work at all afterwards All these machine types are also of hardware that has largely passed away into history and where I would not be surprised to find that e.g. the Linux kernel support was never tested on real hardware any more. After some consultation with the Linux kernel developers, we are going to deprecate: All PXA2xx machines: akitaSharp SL-C1000 (Akita) PDA (PXA270) borzoi Sharp SL-C3100 (Borzoi) PDA (PXA270) connex Gumstix Connex (PXA255) mainstoneMainstone II (PXA27x) spitzSharp SL-C3000 (Spitz) PDA (PXA270) terrier Sharp SL-C3200 (Terrier) PDA (PXA270) tosa Sharp SL-6000 (Tosa) PDA (PXA255) verdex Gumstix Verdex Pro XL6P COMs (PXA270) z2 Zipit Z2 (PXA27x) All OMAP2 machines: n800 Nokia N800 tablet aka. RX-34 (OMAP2420) n810 Nokia N810 tablet aka. RX-44 (OMAP2420) One of the OMAP1 machines: cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310) Rationale: * for QEMU dropping individual machines is much less beneficial than if we can drop support for an entire SoC * the OMAP2 QEMU code in particular is large, old and unmaintained, and none of the OMAP2 kernel maintainers said they were using QEMU in any of their testing/development * although there is a setup that is booting test kernels on some of the PXA2xx machines, nobody seemed to be using them as part of their active kernel development and my impression from the email thread is that PXA is the closest of all these SoC families to being dropped from the kernel soon * nobody said they were using cheetah, so it's entirely untested and quite probably broken * on the other hand the OMAP1 sx1 model does seem to be being used as part of kernel development, and there was interest in keeping collie around In particular, the mainstone, tosa and z2 machine types have already been dropped from Linux. Mark all these machine types as deprecated. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-id: 20240308171621.3749894-1-peter.mayd...@linaro.org Commit: b48139d0d90e9a551f630760fa57732cfeee759f https://github.com/qemu/qemu/commit/b48139d0d90e9a551f630760fa57732cfeee759f Author: Akihiko Odaki Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M contrib/elf2dmp/pdb.c Log Message: --- contrib/elf2dmp: Remove unnecessary err flags They are always evaluated to 1. Signed-off-by: Akihiko Odaki Reviewed-by: Peter Maydell Tested-by: Viktor Prutyanov Message-id: 20240307-elf2dmp-v4-1-4f324ad4d...@daynix.com Signed-off-by: Peter Maydell Commit: a4e58de14678503fd773e7920359028de77711f9 https://github.com/qemu/qemu/commit/a4e58de14678503fd773e7920359028de77711f9 Author: Akihiko Odaki Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M contrib/elf2dmp/download.c M contrib/elf2dmp/main.c Log Message: --- contrib/elf2dmp: Assume error by default A common construct in contrib/elf2dmp is to set "err" flag and goto in error paths. In such a construct, there is only one successful path while there are several error paths, so it will be more simpler to initialize "err" flag set, and clear it in the successful path. Signed-off-by: Akihiko Odaki Reviewed-by: Peter Maydell Tested-by: Viktor Prutyanov Message-id: 20240307-elf2dmp-v4-2-4f324ad4d...@daynix.com Signed-off-by: Peter Maydell Commit: 87157ef3508dbc84dd74ebf099f86828b652d854 https://github.com/qemu/qemu/commit/87157ef3508dbc84dd74ebf099f86828b652d854 Author: Akihiko Odaki Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M contrib/e
[Qemu-commits] [qemu/qemu] 4e1871: migration: Don't serialize devices in qemu_savevm_...
v-properties-system.c M migration/meson.build A migration/multifd-zero-page.c M migration/multifd-zlib.c M migration/multifd-zstd.c M migration/multifd.c M migration/multifd.h M migration/ram.c M migration/trace-events M qapi/migration.json Log Message: --- migration/multifd: Implement zero page transmission on the multifd thread. 1. Add zero_pages field in MultiFDPacket_t. 2. Implements the zero page detection and handling on the multifd threads for non-compression, zlib and zstd compression backends. 3. Added a new value 'multifd' in ZeroPageDetection enumeration. 4. Adds zero page counters and updates multifd send/receive tracing format to track the newly added counters. Signed-off-by: Hao Xiang Acked-by: Markus Armbruster Reviewed-by: Fabiano Rosas Link: https://lore.kernel.org/r/20240311180015.3359271-5-hao.xi...@linux.dev Signed-off-by: Peter Xu Commit: 9ae90f73e623c8b8c7ec1fccd8ca493805df8fbd https://github.com/qemu/qemu/commit/9ae90f73e623c8b8c7ec1fccd8ca493805df8fbd Author: Hao Xiang Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M migration/ram.c Log Message: --- migration/multifd: Implement ram_save_target_page_multifd to handle multifd version of MigrationOps::ram_save_target_page. 1. Add a dedicated handler for MigrationOps::ram_save_target_page in multifd live migration. 2. Refactor ram_save_target_page_legacy so that the legacy and multifd handlers don't have internal functions calling into each other. Signed-off-by: Hao Xiang Reviewed-by: Fabiano Rosas Message-Id: <20240226195654.934709-4-hao.xi...@bytedance.com> Link: https://lore.kernel.org/r/20240311180015.3359271-6-hao.xi...@linux.dev Signed-off-by: Peter Xu Commit: 70c25c92e602f393d3c33596530c5f2b18491e55 https://github.com/qemu/qemu/commit/70c25c92e602f393d3c33596530c5f2b18491e55 Author: Hao Xiang Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M hw/core/machine.c M migration/options.c M qapi/migration.json Log Message: --- migration/multifd: Enable multifd zero page checking by default. 1. Set default "zero-page-detection" option to "multifd". Now zero page checking can be done in the multifd threads and this becomes the default configuration. 2. Handle migration QEMU9.0 -> QEMU8.2 compatibility. We provide backward compatibility where zero page checking is done from the migration main thread. Signed-off-by: Hao Xiang Reviewed-by: Fabiano Rosas Reviewed-by: Peter Xu Link: https://lore.kernel.org/r/20240311180015.3359271-7-hao.xi...@linux.dev Signed-off-by: Peter Xu Commit: 1815338df00fd0a3fe25085564c6966f74c8f43d https://github.com/qemu/qemu/commit/1815338df00fd0a3fe25085564c6966f74c8f43d Author: Hao Xiang Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M tests/qtest/migration-test.c Log Message: --- migration/multifd: Add new migration test cases for legacy zero page checking. Now that zero page checking is done on the multifd sender threads by default, we still provide an option for backward compatibility. This change adds a qtest migration test case to set the zero-page-detection option to "legacy" and run multifd migration with zero page checking on the migration main thread. Signed-off-by: Hao Xiang Reviewed-by: Peter Xu Link: https://lore.kernel.org/r/20240311180015.3359271-8-hao.xi...@linux.dev Signed-off-by: Peter Xu Commit: 1c268991b3fe699fee16b1cbb9c6025d334c5b25 https://github.com/qemu/qemu/commit/1c268991b3fe699fee16b1cbb9c6025d334c5b25 Author: Peter Maydell Date: 2024-03-12 (Tue, 12 Mar 2024) Changed paths: M MAINTAINERS M contrib/elf2dmp/addrspace.c M contrib/elf2dmp/addrspace.h M contrib/elf2dmp/download.c M contrib/elf2dmp/download.h M contrib/elf2dmp/main.c M contrib/elf2dmp/pdb.c M contrib/elf2dmp/pdb.h M contrib/elf2dmp/qemu_elf.c M contrib/elf2dmp/qemu_elf.h M docs/about/deprecated.rst M docs/conf.py M hw/arm/gumstix.c M hw/arm/mainstone.c M hw/arm/nseries.c M hw/arm/palm.c M hw/arm/spitz.c M hw/arm/tosa.c M hw/arm/z2.c M include/qemu/help-texts.h Log Message: --- Merge tag 'pull-target-arm-20240311' of https://git.linaro.org/people/pmaydell/qemu-arm into staging target-arm queue: * contrib/elf2dmp: Improve robustness to corrupt input files * docs: update copyright date to the year 2024 * hw/arm: Deprecate various old Arm machine types # -BEGIN PGP SIGNATURE- # # iQJNBAABCAA3FiEE4aXFk81BneKOgxXPPCUl7RQ2DN4FAmXvV4gZHHBldGVyLm1h # eWRlbGxAbGluYXJvLm9yZwAKCRA8JSXtFDYM3oe5EACvvve9LOJ7UA4teEbn8zzs # O7GGsycpu3XWINX98sUi5Cuu+uexkcXsHf2Vg8GABj2fUuA+EEqPIdIWZhVcfB2t # RYGPgat/JVTwRUsl38OQ97l4joI2JeW18B20Pmh4/2tbZCJuIHoiHxxb+3aQl6Nl # gz/H137ayy+Q5utt1b6z1qXnw4etiUhk4wg2ltGVtAw63w5GZOvamTicSQ1DC3ZP # zfbIKW2WpGNjzrC1tCvaW/dNojt
[Qemu-commits] [qemu/qemu] a2531b: hw/arm: Deprecate various old Arm machine types
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: a2531bb855079597444f2ef1dcd4118d6609baf1 https://github.com/qemu/qemu/commit/a2531bb855079597444f2ef1dcd4118d6609baf1 Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M docs/about/deprecated.rst M hw/arm/gumstix.c M hw/arm/mainstone.c M hw/arm/nseries.c M hw/arm/palm.c M hw/arm/spitz.c M hw/arm/tosa.c M hw/arm/z2.c Log Message: --- hw/arm: Deprecate various old Arm machine types QEMU includes some models of old Arm machine types which are a bit problematic for us because: * they're written in a very old way that uses numerous APIs that we would like to get away from (eg they don't use qdev, they use qemu_system_reset_request(), they use vmstate_register(), etc) * they've been that way for a decade plus and nobody particularly has stepped up to try to modernise the code (beyond some occasional work here and there) * we often don't have test cases for them, which means that if we do try to do the necessary refactoring work on them we have no idea if they even still work at all afterwards All these machine types are also of hardware that has largely passed away into history and where I would not be surprised to find that e.g. the Linux kernel support was never tested on real hardware any more. After some consultation with the Linux kernel developers, we are going to deprecate: All PXA2xx machines: akitaSharp SL-C1000 (Akita) PDA (PXA270) borzoi Sharp SL-C3100 (Borzoi) PDA (PXA270) connex Gumstix Connex (PXA255) mainstoneMainstone II (PXA27x) spitzSharp SL-C3000 (Spitz) PDA (PXA270) terrier Sharp SL-C3200 (Terrier) PDA (PXA270) tosa Sharp SL-6000 (Tosa) PDA (PXA255) verdex Gumstix Verdex Pro XL6P COMs (PXA270) z2 Zipit Z2 (PXA27x) All OMAP2 machines: n800 Nokia N800 tablet aka. RX-34 (OMAP2420) n810 Nokia N810 tablet aka. RX-44 (OMAP2420) One of the OMAP1 machines: cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310) Rationale: * for QEMU dropping individual machines is much less beneficial than if we can drop support for an entire SoC * the OMAP2 QEMU code in particular is large, old and unmaintained, and none of the OMAP2 kernel maintainers said they were using QEMU in any of their testing/development * although there is a setup that is booting test kernels on some of the PXA2xx machines, nobody seemed to be using them as part of their active kernel development and my impression from the email thread is that PXA is the closest of all these SoC families to being dropped from the kernel soon * nobody said they were using cheetah, so it's entirely untested and quite probably broken * on the other hand the OMAP1 sx1 model does seem to be being used as part of kernel development, and there was interest in keeping collie around In particular, the mainstone, tosa and z2 machine types have already been dropped from Linux. Mark all these machine types as deprecated. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-id: 20240308171621.3749894-1-peter.mayd...@linaro.org Commit: b48139d0d90e9a551f630760fa57732cfeee759f https://github.com/qemu/qemu/commit/b48139d0d90e9a551f630760fa57732cfeee759f Author: Akihiko Odaki Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M contrib/elf2dmp/pdb.c Log Message: --- contrib/elf2dmp: Remove unnecessary err flags They are always evaluated to 1. Signed-off-by: Akihiko Odaki Reviewed-by: Peter Maydell Tested-by: Viktor Prutyanov Message-id: 20240307-elf2dmp-v4-1-4f324ad4d...@daynix.com Signed-off-by: Peter Maydell Commit: a4e58de14678503fd773e7920359028de77711f9 https://github.com/qemu/qemu/commit/a4e58de14678503fd773e7920359028de77711f9 Author: Akihiko Odaki Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M contrib/elf2dmp/download.c M contrib/elf2dmp/main.c Log Message: --- contrib/elf2dmp: Assume error by default A common construct in contrib/elf2dmp is to set "err" flag and goto in error paths. In such a construct, there is only one successful path while there are several error paths, so it will be more simpler to initialize "err" flag set, and clear it in the successful path. Signed-off-by: Akihiko Odaki Reviewed-by: Peter Maydell Tested-by: Viktor Prutyanov Message-id: 20240307-elf2dmp-v4-2-4f324ad4d...@daynix.com Signed-off-by: Peter Maydell Commit: 87157ef3508dbc84dd74ebf099f86828b652d854 https://github.com/qemu/qemu/commit/87157ef3508dbc84dd74ebf099f86828b652d854 Author: Akihiko Odaki Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M contrib/e
[Qemu-commits] [qemu/qemu] d9fa42: vfio: register container for cpr
eviewed-by: Konstantin Kostiuk Reviewed-by: Yan Vugenfirer Link: https://lore.kernel.org/r/20240304134532.28506-4-kkost...@redhat.com Signed-off-by: Konstantin Kostiuk Commit: 67ff703c97d63348e169619249144d0add092b70 https://github.com/qemu/qemu/commit/67ff703c97d63348e169619249144d0add092b70 Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M hw/vfio/common.c M hw/vfio/container.c A hw/vfio/cpr.c M hw/vfio/iommufd.c M hw/vfio/meson.build M hw/vfio/migration.c M include/hw/vfio/vfio-common.h M include/hw/vfio/vfio-container-base.h Log Message: --- Merge tag 'pull-vfio-20240310' of https://github.com/legoater/qemu into staging vfio queue: * Allow cpr-reboot for vfio # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmXtrhMACgkQUaNDx8/7 # 7KFCgw/7BEdbP4e32/+D0Mk1+oeiulgGvo/kPtg7waWACrijWxG5K5/c0kcFnhte # OnpDfObnF7l2GjKU61SAluTocWcVbb8A61Tt5+ta5xxPQGp5XCXF7aIkb/DQQDq/ # yU7pQCmqMMSgo+siR6yb+g/2t71dYlMyCbW3LU5/oGQkFtsSXjWHqnTut+wFeuRT # Vd62vHcZqHWG2epoyEnW3HCVMrZ8Dl+PLGkORV55P6uEzZuKwgoCTmR2m5/NLkdU # SF4ZnZzruqkc1dsRh+vYFglQ6GttzWz1VBJg8GJTwrXAJ7C7JSTS25fNRNNhRkJl # 2/DZbdMyyJWJmrv9AXwWEEJ+bSSbM3uM76hqgMFVUlyz9y8FXduwf4MIkZjl0Jg5 # phJb3Awxxxd61I3vWhi9lZKS/RHQ5anA+rBt/4RxdnzqZ3mDcoBhiEjNaGp1Yghv # QbkOSUmY8aBFdeqaw4UqpL2l6mlN/idAOIyq7ADp0S2/eNftw/FGBEu+KP5C/IZF # vReB36qWws9go9w8aDdyK/1bB9vMI3fo/AA8Y4Cnr22tEbgctfygl2jmmyHZUFDI # R8/NESzv17G2/g7OowCqG0qrOWW+UTDcDCkOlVFlLABiij9aNUYV631cQ379K7tR # mFo10BlTcXV83XkA9iM9qqIIVNoYm5uJRva+oEaBncRIAGiYTF4= # =kiGc # -END PGP SIGNATURE- # gpg: Signature made Sun 10 Mar 2024 12:56:51 GMT # gpg:using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1 # gpg: Good signature from "Cédric Le Goater " [undefined] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: A0F6 6548 F048 95EB FE6B 0B60 51A3 43C7 CFFB ECA1 * tag 'pull-vfio-20240310' of https://github.com/legoater/qemu: vfio: allow cpr-reboot migration if suspended vfio: register container for cpr Signed-off-by: Peter Maydell Commit: e6964ee196e2ff356027945a32350a26d445f563 https://github.com/qemu/qemu/commit/e6964ee196e2ff356027945a32350a26d445f563 Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M qga/commands-win32.c Log Message: --- Merge tag 'qga-pull-2024-03-11-2' of https://github.com/kostyanf14/qemu into staging qga-pull-2024-03-11-2 # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEEwsLBCepDxjwUI+uE711egWG6hOcFAmXvMF4ACgkQ711egWG6 # hOd7GQ/9H11bXH5U2HZHAyEv68rCuGxHt57yjy9GfrSGAE7kqkLJ0bHwxdgoj09A # mmaTOakOEhM5tyrkFYsROde3ta0fAwdFQXyhqpWDHG0ZwDDCAlsNsEuDd541KXbg # qFTue26BM4EJEwTYy94nEEhOHD+2GgEAuPIsUCF6QDhrq+sBqUts1pH3uUM+E3Sg # 7HSXaF9O/RbgYR6J8FVA53tvNOP4WgOYZ/SZoFwKYzIOAblcaRgJvVbm600OqQDb # DUZ96s6HUBVBazKx4t24WwPOkgcvYgp7b8QYj2VVfjRU2IHnFumv9A47KuEdJEUl # meZlo8TsgfL+uSiYWiRvps1Eo1uoS2M4s4FYGbuOeABYviLr3XhJM7VarNyPp7nf # lupuyeqydXCic5LFbjSg5gkpaIhFYQ9gANYr6JZjPPjX5G8hmgCeB6YsZT98Ygmi # yG1np2luapvFGsDCPd8kgNpfTkKhOpKghUnTC3UESReV8mjBGhJHRQTd+lMV7YWJ # reMRxlqrqNq69lDUnlNuSXOqPJX1qHHGkWuV9pdz641tFvw7vigE07qhvsCr8Y7b # tAg6oDcw+1uuq2t3nHmfkzic6WTxb4lFmSpShsDu2sRA7MqWE3lCefNoS75R+xaI # FebdrkjkFxdbazyl6oKXwxkOkAR7rFoTvVKKbG79DVMIBDiu4BE= # =Xt/n # -END PGP SIGNATURE- # gpg: Signature made Mon 11 Mar 2024 16:25:02 GMT # gpg:using RSA key C2C2C109EA43C63C1423EB84EF5D5E8161BA84E7 # gpg: Good signature from "Kostiantyn Kostiuk (Upstream PR sign) " [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: C2C2 C109 EA43 C63C 1423 EB84 EF5D 5E81 61BA 84E7 * tag 'qga-pull-2024-03-11-2' of https://github.com/kostyanf14/qemu: qga-win: Add support of Windows Server 2025 in get-osinfo command qga/commands-win32: Do not set matrix_lookup_t/win_10_0_t arrays size qga/commands-win32: Declare const qualifier before type Signed-off-by: Peter Maydell Commit: 05ec974671200814fa5c1d5db710e0e4b88a40af https://github.com/qemu/qemu/commit/05ec974671200814fa5c1d5db710e0e4b88a40af Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M hw/m68k/virt.c Log Message: --- Merge tag 'm68k-for-9.0-pull-request' of https://github.com/vivier/qemu-m68k into staging Pull request for m68k 20240311 # -BEGIN PGP SIGNATURE- # # iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmXvQTASHGxhdXJlbnRA # dml2aWVyLmV1AAoJEPMMOL0/L748O2kQAIao4j6Ktj/Ngt1H0QyVL5tvarcxI3VC # D4jRzWTnTF4sAuBLMVZdsRHXquAyx9qe716TEgu6L+fJOUXiJujPmZ+1Gt8pqEnj # N0DG81I5PQvh9wKsSJ5M4P96EjIkBwSA9MkkkyXSdNadidXkQzhYC9Ooes0bY+c6 # 85h3SPewtLbtht350/00h/hPxjNiYMw
[Qemu-commits] [qemu/qemu] d9fa42: vfio: register container for cpr
eviewed-by: Konstantin Kostiuk Reviewed-by: Yan Vugenfirer Link: https://lore.kernel.org/r/20240304134532.28506-4-kkost...@redhat.com Signed-off-by: Konstantin Kostiuk Commit: 67ff703c97d63348e169619249144d0add092b70 https://github.com/qemu/qemu/commit/67ff703c97d63348e169619249144d0add092b70 Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M hw/vfio/common.c M hw/vfio/container.c A hw/vfio/cpr.c M hw/vfio/iommufd.c M hw/vfio/meson.build M hw/vfio/migration.c M include/hw/vfio/vfio-common.h M include/hw/vfio/vfio-container-base.h Log Message: --- Merge tag 'pull-vfio-20240310' of https://github.com/legoater/qemu into staging vfio queue: * Allow cpr-reboot for vfio # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmXtrhMACgkQUaNDx8/7 # 7KFCgw/7BEdbP4e32/+D0Mk1+oeiulgGvo/kPtg7waWACrijWxG5K5/c0kcFnhte # OnpDfObnF7l2GjKU61SAluTocWcVbb8A61Tt5+ta5xxPQGp5XCXF7aIkb/DQQDq/ # yU7pQCmqMMSgo+siR6yb+g/2t71dYlMyCbW3LU5/oGQkFtsSXjWHqnTut+wFeuRT # Vd62vHcZqHWG2epoyEnW3HCVMrZ8Dl+PLGkORV55P6uEzZuKwgoCTmR2m5/NLkdU # SF4ZnZzruqkc1dsRh+vYFglQ6GttzWz1VBJg8GJTwrXAJ7C7JSTS25fNRNNhRkJl # 2/DZbdMyyJWJmrv9AXwWEEJ+bSSbM3uM76hqgMFVUlyz9y8FXduwf4MIkZjl0Jg5 # phJb3Awxxxd61I3vWhi9lZKS/RHQ5anA+rBt/4RxdnzqZ3mDcoBhiEjNaGp1Yghv # QbkOSUmY8aBFdeqaw4UqpL2l6mlN/idAOIyq7ADp0S2/eNftw/FGBEu+KP5C/IZF # vReB36qWws9go9w8aDdyK/1bB9vMI3fo/AA8Y4Cnr22tEbgctfygl2jmmyHZUFDI # R8/NESzv17G2/g7OowCqG0qrOWW+UTDcDCkOlVFlLABiij9aNUYV631cQ379K7tR # mFo10BlTcXV83XkA9iM9qqIIVNoYm5uJRva+oEaBncRIAGiYTF4= # =kiGc # -END PGP SIGNATURE- # gpg: Signature made Sun 10 Mar 2024 12:56:51 GMT # gpg:using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1 # gpg: Good signature from "Cédric Le Goater " [undefined] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: A0F6 6548 F048 95EB FE6B 0B60 51A3 43C7 CFFB ECA1 * tag 'pull-vfio-20240310' of https://github.com/legoater/qemu: vfio: allow cpr-reboot migration if suspended vfio: register container for cpr Signed-off-by: Peter Maydell Commit: e6964ee196e2ff356027945a32350a26d445f563 https://github.com/qemu/qemu/commit/e6964ee196e2ff356027945a32350a26d445f563 Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M qga/commands-win32.c Log Message: --- Merge tag 'qga-pull-2024-03-11-2' of https://github.com/kostyanf14/qemu into staging qga-pull-2024-03-11-2 # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEEwsLBCepDxjwUI+uE711egWG6hOcFAmXvMF4ACgkQ711egWG6 # hOd7GQ/9H11bXH5U2HZHAyEv68rCuGxHt57yjy9GfrSGAE7kqkLJ0bHwxdgoj09A # mmaTOakOEhM5tyrkFYsROde3ta0fAwdFQXyhqpWDHG0ZwDDCAlsNsEuDd541KXbg # qFTue26BM4EJEwTYy94nEEhOHD+2GgEAuPIsUCF6QDhrq+sBqUts1pH3uUM+E3Sg # 7HSXaF9O/RbgYR6J8FVA53tvNOP4WgOYZ/SZoFwKYzIOAblcaRgJvVbm600OqQDb # DUZ96s6HUBVBazKx4t24WwPOkgcvYgp7b8QYj2VVfjRU2IHnFumv9A47KuEdJEUl # meZlo8TsgfL+uSiYWiRvps1Eo1uoS2M4s4FYGbuOeABYviLr3XhJM7VarNyPp7nf # lupuyeqydXCic5LFbjSg5gkpaIhFYQ9gANYr6JZjPPjX5G8hmgCeB6YsZT98Ygmi # yG1np2luapvFGsDCPd8kgNpfTkKhOpKghUnTC3UESReV8mjBGhJHRQTd+lMV7YWJ # reMRxlqrqNq69lDUnlNuSXOqPJX1qHHGkWuV9pdz641tFvw7vigE07qhvsCr8Y7b # tAg6oDcw+1uuq2t3nHmfkzic6WTxb4lFmSpShsDu2sRA7MqWE3lCefNoS75R+xaI # FebdrkjkFxdbazyl6oKXwxkOkAR7rFoTvVKKbG79DVMIBDiu4BE= # =Xt/n # -END PGP SIGNATURE- # gpg: Signature made Mon 11 Mar 2024 16:25:02 GMT # gpg:using RSA key C2C2C109EA43C63C1423EB84EF5D5E8161BA84E7 # gpg: Good signature from "Kostiantyn Kostiuk (Upstream PR sign) " [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: C2C2 C109 EA43 C63C 1423 EB84 EF5D 5E81 61BA 84E7 * tag 'qga-pull-2024-03-11-2' of https://github.com/kostyanf14/qemu: qga-win: Add support of Windows Server 2025 in get-osinfo command qga/commands-win32: Do not set matrix_lookup_t/win_10_0_t arrays size qga/commands-win32: Declare const qualifier before type Signed-off-by: Peter Maydell Commit: 05ec974671200814fa5c1d5db710e0e4b88a40af https://github.com/qemu/qemu/commit/05ec974671200814fa5c1d5db710e0e4b88a40af Author: Peter Maydell Date: 2024-03-11 (Mon, 11 Mar 2024) Changed paths: M hw/m68k/virt.c Log Message: --- Merge tag 'm68k-for-9.0-pull-request' of https://github.com/vivier/qemu-m68k into staging Pull request for m68k 20240311 # -BEGIN PGP SIGNATURE- # # iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmXvQTASHGxhdXJlbnRA # dml2aWVyLmV1AAoJEPMMOL0/L748O2kQAIao4j6Ktj/Ngt1H0QyVL5tvarcxI3VC # D4jRzWTnTF4sAuBLMVZdsRHXquAyx9qe716TEgu6L+fJOUXiJujPmZ+1Gt8pqEnj # N0DG81I5PQvh9wKsSJ5M4P96EjIkBwSA9MkkkyXSdNadidXkQzhYC9Ooes0bY+c6 # 85h3SPewtLbtht350/00h/hPxjNiYMw
[Qemu-commits] [qemu/qemu] 7653b1: replay: Improve error messages about configuration...
Author: Paolo Bonzini Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hw/intc/apic.c Log Message: --- hw/intc/apic: fix memory leak deliver_bitmask is allocated on the heap in apic_deliver(), but there are many paths in the function that return before the corresponding g_free() is reached. Fix this by switching to g_autofree and, while at it, also switch to g_new. Do the same in apic_deliver_irq() as well for consistency. Fixes: b5ee0468e9d ("apic: add support for x2APIC mode", 2024-02-14) Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Bui Quang Minh Reviewed-by: Alex Bennée Message-ID: <20240304224133.267640-1-pbonz...@redhat.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 965bc083103e1359679932feb6aadd35359c24ae https://github.com/qemu/qemu/commit/965bc083103e1359679932feb6aadd35359c24ae Author: Eric Auger Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hw/core/qdev-properties-system.c M include/hw/qdev-properties-system.h M qapi/virtio.json Log Message: --- qdev: Add a granule_mode property Introduce a new enum type property allowing to set an IOMMU granule. Values are 4k, 8k, 16k, 64k and host. This latter indicates the vIOMMU granule will match the host page size. A subsequent patch will add such a property to the virtio-iommu device. Signed-off-by: Eric Auger Reviewed-by: Zhenzhong Duan Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20240227165730.14099-2-eric.au...@redhat.com> Commit: 46e23b2e424f60e5efd404901b4bcd1410bb8091 https://github.com/qemu/qemu/commit/46e23b2e424f60e5efd404901b4bcd1410bb8091 Author: BALATON Zoltan Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hmp-commands-info.hx M system/qdev-monitor.c Log Message: --- hmp: Add option to info qtree to omit details The output of info qtree monitor command is very long. Add an option to print a brief overview omitting all the details. Signed-off-by: BALATON Zoltan Reviewed-by: Dr. David Alan Gilbert Message-ID: <20240307183812.0105d4e6...@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé Commit: 78abf93cc7e2254401ccdb4df53e608927d81feb https://github.com/qemu/qemu/commit/78abf93cc7e2254401ccdb4df53e608927d81feb Author: Mark Cave-Ayland Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hw/ppc/mac_newworld.c Log Message: --- mac_newworld: change timebase frequency from 100MHz to 25MHz for mac99 machine MacOS X uses multiple techniques for calibrating timers depending upon the detected hardware. One of these calibration routines compares the change in the timebase against the KeyLargo timer and uses this to recalculate the clock frequency, timebase frequency and bus frequency if the calibration exceeds certain limits. This recalibration occurs despite the correct values being passed via the device tree, and is likely due to buggy firmware on some hardware. The timebase frequency of 100MHz was set way back in 2005 by commit fa296b0fb4 ("PIC fix - changed back TB frequency to 100 MHz") and with this value on a mac99,via=pmu machine the OSX 10.2 timer calibration incorrectly calculates the bus frequency as 400MHz instead of 100MHz. The most noticeable side-effect is the UI appears sluggish and not very responsive for normal use. Change the timebase frequency from 100MHz to 25MHz which matches that of a real G4 AGP machine (the closest match to QEMU's mac99 machine) and allows OSX 10.2 to correctly detect all of the clock frequency, timebase frequency and bus frequency. Tested on various MacOS images from OS 9.2 through to OSX 10.4, along with Linux and NetBSD and I was unable to find any regressions from this change. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240304073548.2098806-1-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Philippe Mathieu-Daudé Commit: c9ee67c3c64cb161a092d9af6be0c17643d92be2 https://github.com/qemu/qemu/commit/c9ee67c3c64cb161a092d9af6be0c17643d92be2 Author: Clément Chigot Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hw/intc/grlib_irqmp.c Log Message: --- hw/intc/grlib_irqmp: abort realize when ncpus value is out of range Even if the error is set, the build is not aborted when the ncpus value is wrong, the return is missing. Signed-off-by: Clément Chigot Reviewed-by: Peter Maydell Fixes: 6bf1478543 ("hw/intc/grlib_irqmp: add ncpus property") Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240308152719.591232-1-chi...@adacore.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 3d6753ef183f54203973711ae60e893a525018b4 https://github.com/qemu/qemu/commit/3d6753ef183f54203973711ae60e893a525018b4 Author: Thomas Weißschuh Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M docs/interop/firmware.json
[Qemu-commits] [qemu/qemu] 7653b1: replay: Improve error messages about configuration...
Author: Paolo Bonzini Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hw/intc/apic.c Log Message: --- hw/intc/apic: fix memory leak deliver_bitmask is allocated on the heap in apic_deliver(), but there are many paths in the function that return before the corresponding g_free() is reached. Fix this by switching to g_autofree and, while at it, also switch to g_new. Do the same in apic_deliver_irq() as well for consistency. Fixes: b5ee0468e9d ("apic: add support for x2APIC mode", 2024-02-14) Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Bui Quang Minh Reviewed-by: Alex Bennée Message-ID: <20240304224133.267640-1-pbonz...@redhat.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 965bc083103e1359679932feb6aadd35359c24ae https://github.com/qemu/qemu/commit/965bc083103e1359679932feb6aadd35359c24ae Author: Eric Auger Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hw/core/qdev-properties-system.c M include/hw/qdev-properties-system.h M qapi/virtio.json Log Message: --- qdev: Add a granule_mode property Introduce a new enum type property allowing to set an IOMMU granule. Values are 4k, 8k, 16k, 64k and host. This latter indicates the vIOMMU granule will match the host page size. A subsequent patch will add such a property to the virtio-iommu device. Signed-off-by: Eric Auger Reviewed-by: Zhenzhong Duan Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20240227165730.14099-2-eric.au...@redhat.com> Commit: 46e23b2e424f60e5efd404901b4bcd1410bb8091 https://github.com/qemu/qemu/commit/46e23b2e424f60e5efd404901b4bcd1410bb8091 Author: BALATON Zoltan Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hmp-commands-info.hx M system/qdev-monitor.c Log Message: --- hmp: Add option to info qtree to omit details The output of info qtree monitor command is very long. Add an option to print a brief overview omitting all the details. Signed-off-by: BALATON Zoltan Reviewed-by: Dr. David Alan Gilbert Message-ID: <20240307183812.0105d4e6...@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé Commit: 78abf93cc7e2254401ccdb4df53e608927d81feb https://github.com/qemu/qemu/commit/78abf93cc7e2254401ccdb4df53e608927d81feb Author: Mark Cave-Ayland Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hw/ppc/mac_newworld.c Log Message: --- mac_newworld: change timebase frequency from 100MHz to 25MHz for mac99 machine MacOS X uses multiple techniques for calibrating timers depending upon the detected hardware. One of these calibration routines compares the change in the timebase against the KeyLargo timer and uses this to recalculate the clock frequency, timebase frequency and bus frequency if the calibration exceeds certain limits. This recalibration occurs despite the correct values being passed via the device tree, and is likely due to buggy firmware on some hardware. The timebase frequency of 100MHz was set way back in 2005 by commit fa296b0fb4 ("PIC fix - changed back TB frequency to 100 MHz") and with this value on a mac99,via=pmu machine the OSX 10.2 timer calibration incorrectly calculates the bus frequency as 400MHz instead of 100MHz. The most noticeable side-effect is the UI appears sluggish and not very responsive for normal use. Change the timebase frequency from 100MHz to 25MHz which matches that of a real G4 AGP machine (the closest match to QEMU's mac99 machine) and allows OSX 10.2 to correctly detect all of the clock frequency, timebase frequency and bus frequency. Tested on various MacOS images from OS 9.2 through to OSX 10.4, along with Linux and NetBSD and I was unable to find any regressions from this change. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240304073548.2098806-1-mark.cave-ayl...@ilande.co.uk> Signed-off-by: Philippe Mathieu-Daudé Commit: c9ee67c3c64cb161a092d9af6be0c17643d92be2 https://github.com/qemu/qemu/commit/c9ee67c3c64cb161a092d9af6be0c17643d92be2 Author: Clément Chigot Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M hw/intc/grlib_irqmp.c Log Message: --- hw/intc/grlib_irqmp: abort realize when ncpus value is out of range Even if the error is set, the build is not aborted when the ncpus value is wrong, the return is missing. Signed-off-by: Clément Chigot Reviewed-by: Peter Maydell Fixes: 6bf1478543 ("hw/intc/grlib_irqmp: add ncpus property") Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240308152719.591232-1-chi...@adacore.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 3d6753ef183f54203973711ae60e893a525018b4 https://github.com/qemu/qemu/commit/3d6753ef183f54203973711ae60e893a525018b4 Author: Thomas Weißschuh Date: 2024-03-09 (Sat, 09 Mar 2024) Changed paths: M docs/interop/firmware.json
[Qemu-commits] [qemu/qemu] 1d3b82: hv-balloon: avoid alloca() usage
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 1d3b82eabb1ad6b6fdeae0d94f2fb37506a351af https://github.com/qemu/qemu/commit/1d3b82eabb1ad6b6fdeae0d94f2fb37506a351af Author: Maciej S. Szmigiero Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/hyperv/hv-balloon.c Log Message: --- hv-balloon: avoid alloca() usage alloca() is frowned upon, replace it with g_malloc0() + g_autofree. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: David Hildenbrand Signed-off-by: Maciej S. Szmigiero Commit: 546987284a7da9106bbead1063553cbfe7ddd697 https://github.com/qemu/qemu/commit/546987284a7da9106bbead1063553cbfe7ddd697 Author: Maciej S. Szmigiero Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/hyperv/hv-balloon.c M include/hw/hyperv/dynmem-proto.h Log Message: --- hv-balloon: define dm_hot_add_with_region to avoid Coverity warning Since the presence of a hot add memory region is optional in hot add request message it wasn't part of this message declaration (struct dm_hot_add). Instead, the code allocated such enlarged message by simply adding the necessary size for this extra field to the size of basic hot add message struct. However, Coverity considers accessing this extra member to be an out-of-bounds access, even thought the memory is actually there. Fix this by adding an extended variant of this message that explicitly has an additional union dm_mem_page_range at its end. CID: #1523903 Signed-off-by: Maciej S. Szmigiero Commit: 6093637b4d32875f98cd59696ffc5f26884aa0b4 https://github.com/qemu/qemu/commit/6093637b4d32875f98cd59696ffc5f26884aa0b4 Author: Maciej S. Szmigiero Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/hyperv/hyperv.c M hw/hyperv/vmbus.c M include/hw/hyperv/hyperv.h M target/i386/kvm/hyperv-stub.c M target/i386/kvm/hyperv.c M target/i386/kvm/hyperv.h M target/i386/kvm/kvm.c Log Message: --- vmbus: Print a warning when enabled without the recommended set of features Some Windows versions crash at boot or fail to enable the VMBus device if they don't see the expected set of Hyper-V features (enlightenments). Since this provides poor user experience let's warn user if the VMBus device is enabled without the recommended set of Hyper-V features. The recommended set is the minimum set of Hyper-V features required to make the VMBus device work properly in Windows Server versions 2016, 2019 and 2022. Acked-by: Paolo Bonzini Signed-off-by: Maciej S. Szmigiero Commit: 9876359990dd4c8a48de65cf5e1c3d13e96a7f4e https://github.com/qemu/qemu/commit/9876359990dd4c8a48de65cf5e1c3d13e96a7f4e Author: Sven Schnelle Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/scsi/lsi53c895a.c M hw/scsi/trace-events Log Message: --- hw/scsi/lsi53c895a: add timer to scripts processing HP-UX 10.20 seems to make the lsi53c895a spinning on a memory location under certain circumstances. As the SCSI controller and CPU are not running at the same time this loop will never finish. After some time, the check loop interrupts with a unexpected device disconnect. This works, but is slow because the kernel resets the scsi controller. Instead of signaling UDC, start a timer and exit the loop. Until the timer fires, the CPU can process instructions which might changes the memory location. The limit of instructions is also reduced because scripts running on the SCSI processor are usually very short. This keeps the time until the loop is exit short. Suggested-by: Peter Maydell Signed-off-by: Sven Schnelle Message-ID: <20240229204407.1699260-1-sv...@stackframe.org> Signed-off-by: Paolo Bonzini Commit: 012b170173bcaa14b9bc26209e0813311ac78489 https://github.com/qemu/qemu/commit/012b170173bcaa14b9bc26209e0813311ac78489 Author: Dmitrii Gavrilov Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M system/qdev-monitor.c Log Message: --- system/qdev-monitor: move drain_call_rcu call under if (!dev) in qmp_device_add() Original goal of addition of drain_call_rcu to qmp_device_add was to cover the failure case of qdev_device_add. It seems call of drain_call_rcu was misplaced in 7bed89958bfbf40df what led to waiting for pending RCU callbacks under happy path too. What led to overall performance degradation of qmp_device_add. In this patch call of drain_call_rcu moved under handling of failure of qdev_device_add. Signed-off-by: Dmitrii Gavrilov Message-ID: <20231103105602.90475-1-ds-g...@yandex-team.ru> Fixes: 7bed89958bf ("device_core: use drain_call_rcu in in qmp_device_add", 2020-10-12) Cc: qemu-sta...@nongnu.org Signed-off-by: Paolo Bonzini Commit: 5d402bd9aef3fdf9fbaa387db8be8318c9a37d0a https://github.com/qemu/qemu/commit/5d402bd9aef3fdf9fbaa387db8be8318c9a37d0a Author: Akihiko Odaki Date: 2024-0
[Qemu-commits] [qemu/qemu] 1d3b82: hv-balloon: avoid alloca() usage
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 1d3b82eabb1ad6b6fdeae0d94f2fb37506a351af https://github.com/qemu/qemu/commit/1d3b82eabb1ad6b6fdeae0d94f2fb37506a351af Author: Maciej S. Szmigiero Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/hyperv/hv-balloon.c Log Message: --- hv-balloon: avoid alloca() usage alloca() is frowned upon, replace it with g_malloc0() + g_autofree. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: David Hildenbrand Signed-off-by: Maciej S. Szmigiero Commit: 546987284a7da9106bbead1063553cbfe7ddd697 https://github.com/qemu/qemu/commit/546987284a7da9106bbead1063553cbfe7ddd697 Author: Maciej S. Szmigiero Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/hyperv/hv-balloon.c M include/hw/hyperv/dynmem-proto.h Log Message: --- hv-balloon: define dm_hot_add_with_region to avoid Coverity warning Since the presence of a hot add memory region is optional in hot add request message it wasn't part of this message declaration (struct dm_hot_add). Instead, the code allocated such enlarged message by simply adding the necessary size for this extra field to the size of basic hot add message struct. However, Coverity considers accessing this extra member to be an out-of-bounds access, even thought the memory is actually there. Fix this by adding an extended variant of this message that explicitly has an additional union dm_mem_page_range at its end. CID: #1523903 Signed-off-by: Maciej S. Szmigiero Commit: 6093637b4d32875f98cd59696ffc5f26884aa0b4 https://github.com/qemu/qemu/commit/6093637b4d32875f98cd59696ffc5f26884aa0b4 Author: Maciej S. Szmigiero Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/hyperv/hyperv.c M hw/hyperv/vmbus.c M include/hw/hyperv/hyperv.h M target/i386/kvm/hyperv-stub.c M target/i386/kvm/hyperv.c M target/i386/kvm/hyperv.h M target/i386/kvm/kvm.c Log Message: --- vmbus: Print a warning when enabled without the recommended set of features Some Windows versions crash at boot or fail to enable the VMBus device if they don't see the expected set of Hyper-V features (enlightenments). Since this provides poor user experience let's warn user if the VMBus device is enabled without the recommended set of Hyper-V features. The recommended set is the minimum set of Hyper-V features required to make the VMBus device work properly in Windows Server versions 2016, 2019 and 2022. Acked-by: Paolo Bonzini Signed-off-by: Maciej S. Szmigiero Commit: 9876359990dd4c8a48de65cf5e1c3d13e96a7f4e https://github.com/qemu/qemu/commit/9876359990dd4c8a48de65cf5e1c3d13e96a7f4e Author: Sven Schnelle Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/scsi/lsi53c895a.c M hw/scsi/trace-events Log Message: --- hw/scsi/lsi53c895a: add timer to scripts processing HP-UX 10.20 seems to make the lsi53c895a spinning on a memory location under certain circumstances. As the SCSI controller and CPU are not running at the same time this loop will never finish. After some time, the check loop interrupts with a unexpected device disconnect. This works, but is slow because the kernel resets the scsi controller. Instead of signaling UDC, start a timer and exit the loop. Until the timer fires, the CPU can process instructions which might changes the memory location. The limit of instructions is also reduced because scripts running on the SCSI processor are usually very short. This keeps the time until the loop is exit short. Suggested-by: Peter Maydell Signed-off-by: Sven Schnelle Message-ID: <20240229204407.1699260-1-sv...@stackframe.org> Signed-off-by: Paolo Bonzini Commit: 012b170173bcaa14b9bc26209e0813311ac78489 https://github.com/qemu/qemu/commit/012b170173bcaa14b9bc26209e0813311ac78489 Author: Dmitrii Gavrilov Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M system/qdev-monitor.c Log Message: --- system/qdev-monitor: move drain_call_rcu call under if (!dev) in qmp_device_add() Original goal of addition of drain_call_rcu to qmp_device_add was to cover the failure case of qdev_device_add. It seems call of drain_call_rcu was misplaced in 7bed89958bfbf40df what led to waiting for pending RCU callbacks under happy path too. What led to overall performance degradation of qmp_device_add. In this patch call of drain_call_rcu moved under handling of failure of qdev_device_add. Signed-off-by: Dmitrii Gavrilov Message-ID: <20231103105602.90475-1-ds-g...@yandex-team.ru> Fixes: 7bed89958bf ("device_core: use drain_call_rcu in in qmp_device_add", 2020-10-12) Cc: qemu-sta...@nongnu.org Signed-off-by: Paolo Bonzini Commit: 5d402bd9aef3fdf9fbaa387db8be8318c9a37d0a https://github.com/qemu/qemu/commit/5d402bd9aef3fdf9fbaa387db8be8318c9a37d0a Author: Akihiko Odaki Date: 2024-0
[Qemu-commits] [qemu/qemu] e28a90: ui/cocoa: add zoom-interpolation display option
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: e28a909a191f00645d101511e5e9e132662aa290 https://github.com/qemu/qemu/commit/e28a909a191f00645d101511e5e9e132662aa290 Author: Carwyn Ellis Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M qapi/ui.json M ui/cocoa.m Log Message: --- ui/cocoa: add zoom-interpolation display option Provides a new display option, zoom-interpolation, that enables interpolation of the scaled display when zoom-to-fit is enabled. Also provides a corresponding view menu item to allow this to be toggled as required. Signed-off-by: Carwyn Ellis Reviewed-by: Akihiko Odaki Message-ID: <20231110161729.36822-2-carwynel...@gmail.com> [PMD: QAPI @zoom-interpolation since 9.0] Signed-off-by: Philippe Mathieu-Daudé Commit: f5af80271aad356233b2bea2369b3b2211fa395d https://github.com/qemu/qemu/commit/f5af80271aad356233b2bea2369b3b2211fa395d Author: David Parsons Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Fix window clipping on macOS 14 macOS Sonoma changes the NSView.clipsToBounds to false by default where it was true in earlier version of macOS. This causes the window contents to be occluded by the frame at the top of the window. This fixes the issue by conditionally compiling the clipping on Sonoma to true. NSView only exposes the clipToBounds in macOS 14 and so has to be fixed via conditional compilation. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1994 Signed-off-by: David Parsons Reviewed-by: Akihiko Odaki Message-ID: <20240224140620.39200-1-d...@daveparsons.net> Signed-off-by: Philippe Mathieu-Daudé Commit: af4efbccda6729e2986ae225718bd60657d00592 https://github.com/qemu/qemu/commit/af4efbccda6729e2986ae225718bd60657d00592 Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Split [-QemuCocoaView handleEventLocked:] Currently [-QemuCocoaView handleEventLocked:] parses the passed event, stores operations to be done to variables, and perform them according to the variables. This construct will be cluttered with variables and hard to read when we need more different operations for different events. Split the methods so that we can call appropriate methods depending on events instead of relying on variables. Signed-off-by: Akihiko Odaki Tested-by: Rene Engel Reviewed-by: Peter Maydell Message-ID: <20240224-cocoa-v12-1-e89f70bdd...@daynix.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 0f7be47abe86aaf5be791373434bdcf013a1f2ee https://github.com/qemu/qemu/commit/0f7be47abe86aaf5be791373434bdcf013a1f2ee Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Immediately call [-QemuCocoaView handleMouseEvent:buttons:] Instead of using mouse_event variable to tell to handle a mouse event later, immediately call [-QemuCocoaView handleMouseEvent:buttons:]. Signed-off-by: Akihiko Odaki Reviewed-by: Peter Maydell Tested-by: Rene Engel Message-ID: <20240224-cocoa-v12-2-e89f70bdd...@daynix.com> Signed-off-by: Philippe Mathieu-Daudé Commit: f4de9688d4fa3d4371cedc74a48362069b9ecd0f https://github.com/qemu/qemu/commit/f4de9688d4fa3d4371cedc74a48362069b9ecd0f Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Release specific mouse buttons ui/cocoa used to release all mouse buttons when it sees NSEventTypeLeftMouseUp, NSEventTypeRightMouseUp, or NSEventTypeOtherMouseUp, but it can instead release specific one according to the delivered event. Signed-off-by: Akihiko Odaki Tested-by: Rene Engel Reviewed-by: Peter Maydell Message-ID: <20240224-cocoa-v12-3-e89f70bdd...@daynix.com> Signed-off-by: Philippe Mathieu-Daudé Commit: fcb03de7e19306619c424f3cce5689b3b43f2043 https://github.com/qemu/qemu/commit/fcb03de7e19306619c424f3cce5689b3b43f2043 Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Scale with NSView instead of Core Graphics Core Graphics is not accelerated and slow. Signed-off-by: Akihiko Odaki Tested-by: Rene Engel Reviewed-by: Peter Maydell Message-ID: <20240224-cocoa-v12-4-e89f70bdd...@daynix.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 1a4b64a5f5a7dd96fcc84aedb157700d9da8c54d https://github.com/qemu/qemu/commit/1a4b64a5f5a7dd96fcc84aedb157700d9da8c54d Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Fix pause label coordinates A subview is positioned in the superview so the superview's frame should be used instead of one of the window to determine the
[Qemu-commits] [qemu/qemu] 20b42c: target/arm: Move some register related defines to ...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 20b42c331df544a6d889f4bcf4535c0f2f98dbcf https://github.com/qemu/qemu/commit/20b42c331df544a6d889f4bcf4535c0f2f98dbcf Author: Peter Maydell Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M target/arm/cpu.h M target/arm/internals.h Log Message: --- target/arm: Move some register related defines to internals.h cpu.h has a lot of #defines relating to CPU register fields. Most of these aren't actually used outside target/arm code, so there's no point in cluttering up the cpu.h file with them. Move some easy ones to internals.h. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20240301183219.2424889-2-peter.mayd...@linaro.org Commit: 1e8d14037bff6c235917340177c5f9977c564ec0 https://github.com/qemu/qemu/commit/1e8d14037bff6c235917340177c5f9977c564ec0 Author: Peter Maydell Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M target/arm/helper.c Log Message: --- target/arm: Timer _EL02 registers UNDEF for E2H == 0 The timer _EL02 registers should UNDEF for invalid accesses from EL2 or EL3 when HCR_EL2.E2H == 0, not take a cp access trap. We were delivering the exception to EL2 with the wrong syndrome. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20240301183219.2424889-3-peter.mayd...@linaro.org Commit: c6b0ecb236ba6f8c29cf00c93494901aa22e4dae https://github.com/qemu/qemu/commit/c6b0ecb236ba6f8c29cf00c93494901aa22e4dae Author: Peter Maydell Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M target/arm/helper.c M target/arm/internals.h Log Message: --- target/arm: use FIELD macro for CNTHCTL bit definitions We prefer the FIELD macro over ad-hoc #defines for register bits; switch CNTHCTL to that style before we add any more bits. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20240301183219.2424889-4-peter.mayd...@linaro.org Commit: a681d66e95f0eb5de014fbbc8f1d6286e0750bb5 https://github.com/qemu/qemu/commit/a681d66e95f0eb5de014fbbc8f1d6286e0750bb5 Author: Peter Maydell Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M target/arm/helper.c Log Message: --- target/arm: Don't allow RES0 CNTHCTL_EL2 bits to be written Don't allow the guest to write CNTHCTL_EL2 bits which don't exist. This is not strictly architecturally required, but it is how we've tended to implement registers more recently. In particular, bits [19:18] are only present with FEAT_RME, and bits [17:12] will only be present with FEAT_ECV. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20240301183219.2424889-5-peter.mayd...@linaro.org Commit: dcdad2624b445f9ce1a3fdca6a0831d7a7abddd8 https://github.com/qemu/qemu/commit/dcdad2624b445f9ce1a3fdca6a0831d7a7abddd8 Author: Peter Maydell Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M target/arm/cpu-features.h M target/arm/helper.c Log Message: --- target/arm: Implement new FEAT_ECV trap bits The functionality defined by ID_AA64MMFR0_EL1.ECV == 1 is: * four new trap bits for various counter and timer registers * the CNTHCTL_EL2.EVNTIS and CNTKCTL_EL1.EVNTIS bits which control scaling of the event stream. This is a no-op for us, because we don't implement the event stream (our WFE is a NOP): all we need to do is allow CNTHCTL_EL2.ENVTIS to be read and written. * extensions to PMSCR_EL1.PCT, PMSCR_EL2.PCT, TRFCR_EL1.TS and TRFCR_EL2.TS: these are all no-ops for us, because we don't implement FEAT_SPE or FEAT_TRF. * new registers CNTPCTSS_EL0 and NCTVCTSS_EL0 which are "self-sychronizing" views of the CNTPCT_EL0 and CNTVCT_EL0, meaning that no barriers are needed around their accesses. For us these are just the same as the normal views, because all our sysregs are inherently self-sychronizing. In this commit we implement the trap handling and permit the new CNTHCTL_EL2 bits to be written. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20240301183219.2424889-6-peter.mayd...@linaro.org Commit: 485eb324e352a53bdf99f90511bd546eebab68f5 https://github.com/qemu/qemu/commit/485eb324e352a53bdf99f90511bd546eebab68f5 Author: Peter Maydell Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M target/arm/helper.c Log Message: --- target/arm: Define CNTPCTSS_EL0 and CNTVCTSS_EL0 For FEAT_ECV, new registers CNTPCTSS_EL0 and CNTVCTSS_EL0 are defined, which are "self-synchronized" views of the physical and virtual counts as seen in the CNTPCT_EL0 and CNTVCT_EL0 registers (meaning that no barriers are needed around accesses to them to ensure that reads of them do not occur speculatively and out-of-order with other instructions)
[Qemu-commits] [qemu/qemu] 3011c1: target/riscv: Update $ra with current $pc in trans...
. This will cause the interrupt’s pending bit to be set to one again if the source is still asserting an interrupt, but not if the source is not asserting an interrupt." Fix setipnum_le write emulation for APLIC MSI-mode by implementing the above behaviour in riscv_aplic_set_pending() function. Fixes: e8f79343cfc8 ("hw/intc: Add RISC-V AIA APLIC device emulation") Signed-off-by: Anup Patel Reviewed-by: Daniel Henrique Barboza Message-ID: <20240306095722.463296-2-apa...@ventanamicro.com> Signed-off-by: Alistair Francis Commit: 0678e9f29c2301d0a1afc8d01a78cdfa7ad2ddbd https://github.com/qemu/qemu/commit/0678e9f29c2301d0a1afc8d01a78cdfa7ad2ddbd Author: Anup Patel Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/intc/riscv_aplic.c Log Message: --- hw/intc/riscv_aplic: Fix in_clrip[x] read emulation The reads to in_clrip[x] registers return rectified input values of the interrupt sources. A rectified input value of an interrupt source is defined by the section "4.5.2 Source configurations (sourcecfg[1]–sourcecfg[1023])" of the RISC-V AIA specification as: "rectified input value = (incoming wire value) XOR (source is inverted)" Update the riscv_aplic_read_input_word() implementation to match the above. Fixes: e8f79343cfc8 ("hw/intc: Add RISC-V AIA APLIC device emulation") Signed-off-by: Anup Patel Reviewed-by: Daniel Henrique Barboza Message-ID: <20240306095722.463296-3-apa...@ventanamicro.com> Signed-off-by: Alistair Francis Commit: 6979b7b3f242c44a4908a5fe83f424aa852648a3 https://github.com/qemu/qemu/commit/6979b7b3f242c44a4908a5fe83f424aa852648a3 Author: Hiroaki Yamamoto Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M target/riscv/cpu_helper.c Log Message: --- target/riscv: Fix privilege mode of G-stage translation for debugging G-stage translation should be considered to be user-level access in riscv_cpu_get_phys_page_debug(), as already done in riscv_cpu_tlb_fill(). This fixes a bug that prevents gdb from reading memory while the VM is running in VS-mode. Signed-off-by: Hiroaki Yamamoto Reviewed-by: Alistair Francis Message-ID: <20240228081028.35081-1-hrak1...@gmail.com> Signed-off-by: Alistair Francis Commit: 301876597112218c1e465ecc2b2fef6b27d5c27b https://github.com/qemu/qemu/commit/301876597112218c1e465ecc2b2fef6b27d5c27b Author: Ilya Chugin Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/riscv/virt-acpi-build.c Log Message: --- target/riscv: fix ACPI MCFG table MCFG segments should point to PCI configuration range, not BAR MMIO. Signed-off-by: Ilya Chugin Fixes: 55ecd83b36 ("hw/riscv/virt-acpi-build.c: Add IO controllers and devices") Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Sunil V L Message-ID: <180d236d-c8e4-411a-b4d2-632eb8209...@list.ru> Signed-off-by: Alistair Francis Commit: cbccded4a2b5d685a426a437e25f67d3a375b292 https://github.com/qemu/qemu/commit/cbccded4a2b5d685a426a437e25f67d3a375b292 Author: Peter Maydell Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/acpi/aml-build.c M hw/arm/virt-acpi-build.c M hw/intc/riscv_aplic.c M hw/riscv/boot.c M hw/riscv/virt-acpi-build.c M hw/riscv/virt.c M include/hw/acpi/acpi-defs.h M include/hw/acpi/aml-build.h M include/standard-headers/drm/drm_fourcc.h M include/standard-headers/linux/ethtool.h M include/standard-headers/linux/virtio_config.h M include/standard-headers/linux/virtio_pci.h M include/standard-headers/linux/virtio_pmem.h M linux-headers/asm-generic/unistd.h M linux-headers/asm-mips/mman.h M linux-headers/asm-mips/unistd_n32.h M linux-headers/asm-mips/unistd_n64.h M linux-headers/asm-mips/unistd_o32.h M linux-headers/asm-powerpc/unistd_32.h M linux-headers/asm-powerpc/unistd_64.h M linux-headers/asm-riscv/kvm.h M linux-headers/asm-s390/unistd_32.h M linux-headers/asm-s390/unistd_64.h M linux-headers/asm-x86/kvm.h M linux-headers/asm-x86/unistd_32.h M linux-headers/asm-x86/unistd_64.h M linux-headers/asm-x86/unistd_x32.h M linux-headers/linux/iommufd.h M linux-headers/linux/kvm.h M linux-headers/linux/userfaultfd.h M linux-headers/linux/vfio.h M linux-user/syscall.c M target/riscv/cpu.c M target/riscv/cpu.h M target/riscv/cpu_cfg.h M target/riscv/cpu_helper.c M target/riscv/csr.c M target/riscv/insn_trans/trans_rva.c.inc M target/riscv/insn_trans/trans_rvi.c.inc M target/riscv/insn_trans/trans_rvv.c.inc M target/riscv/insn_trans/trans_rvzce.c.inc M target/riscv/kvm/kvm-cpu.c M target/riscv/machine.c M target/riscv/pmu.h M target/riscv/tcg/tcg-cpu.c M target/riscv/translate.c M target/riscv/vector_helper.c M tests/qtest/libqos/meson.build A tests/qtest/libqos/riscv-virt-machine.c
[Qemu-commits] [qemu/qemu] e28a90: ui/cocoa: add zoom-interpolation display option
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: e28a909a191f00645d101511e5e9e132662aa290 https://github.com/qemu/qemu/commit/e28a909a191f00645d101511e5e9e132662aa290 Author: Carwyn Ellis Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M qapi/ui.json M ui/cocoa.m Log Message: --- ui/cocoa: add zoom-interpolation display option Provides a new display option, zoom-interpolation, that enables interpolation of the scaled display when zoom-to-fit is enabled. Also provides a corresponding view menu item to allow this to be toggled as required. Signed-off-by: Carwyn Ellis Reviewed-by: Akihiko Odaki Message-ID: <20231110161729.36822-2-carwynel...@gmail.com> [PMD: QAPI @zoom-interpolation since 9.0] Signed-off-by: Philippe Mathieu-Daudé Commit: f5af80271aad356233b2bea2369b3b2211fa395d https://github.com/qemu/qemu/commit/f5af80271aad356233b2bea2369b3b2211fa395d Author: David Parsons Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Fix window clipping on macOS 14 macOS Sonoma changes the NSView.clipsToBounds to false by default where it was true in earlier version of macOS. This causes the window contents to be occluded by the frame at the top of the window. This fixes the issue by conditionally compiling the clipping on Sonoma to true. NSView only exposes the clipToBounds in macOS 14 and so has to be fixed via conditional compilation. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1994 Signed-off-by: David Parsons Reviewed-by: Akihiko Odaki Message-ID: <20240224140620.39200-1-d...@daveparsons.net> Signed-off-by: Philippe Mathieu-Daudé Commit: af4efbccda6729e2986ae225718bd60657d00592 https://github.com/qemu/qemu/commit/af4efbccda6729e2986ae225718bd60657d00592 Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Split [-QemuCocoaView handleEventLocked:] Currently [-QemuCocoaView handleEventLocked:] parses the passed event, stores operations to be done to variables, and perform them according to the variables. This construct will be cluttered with variables and hard to read when we need more different operations for different events. Split the methods so that we can call appropriate methods depending on events instead of relying on variables. Signed-off-by: Akihiko Odaki Tested-by: Rene Engel Reviewed-by: Peter Maydell Message-ID: <20240224-cocoa-v12-1-e89f70bdd...@daynix.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 0f7be47abe86aaf5be791373434bdcf013a1f2ee https://github.com/qemu/qemu/commit/0f7be47abe86aaf5be791373434bdcf013a1f2ee Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Immediately call [-QemuCocoaView handleMouseEvent:buttons:] Instead of using mouse_event variable to tell to handle a mouse event later, immediately call [-QemuCocoaView handleMouseEvent:buttons:]. Signed-off-by: Akihiko Odaki Reviewed-by: Peter Maydell Tested-by: Rene Engel Message-ID: <20240224-cocoa-v12-2-e89f70bdd...@daynix.com> Signed-off-by: Philippe Mathieu-Daudé Commit: f4de9688d4fa3d4371cedc74a48362069b9ecd0f https://github.com/qemu/qemu/commit/f4de9688d4fa3d4371cedc74a48362069b9ecd0f Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Release specific mouse buttons ui/cocoa used to release all mouse buttons when it sees NSEventTypeLeftMouseUp, NSEventTypeRightMouseUp, or NSEventTypeOtherMouseUp, but it can instead release specific one according to the delivered event. Signed-off-by: Akihiko Odaki Tested-by: Rene Engel Reviewed-by: Peter Maydell Message-ID: <20240224-cocoa-v12-3-e89f70bdd...@daynix.com> Signed-off-by: Philippe Mathieu-Daudé Commit: fcb03de7e19306619c424f3cce5689b3b43f2043 https://github.com/qemu/qemu/commit/fcb03de7e19306619c424f3cce5689b3b43f2043 Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Scale with NSView instead of Core Graphics Core Graphics is not accelerated and slow. Signed-off-by: Akihiko Odaki Tested-by: Rene Engel Reviewed-by: Peter Maydell Message-ID: <20240224-cocoa-v12-4-e89f70bdd...@daynix.com> Signed-off-by: Philippe Mathieu-Daudé Commit: 1a4b64a5f5a7dd96fcc84aedb157700d9da8c54d https://github.com/qemu/qemu/commit/1a4b64a5f5a7dd96fcc84aedb157700d9da8c54d Author: Akihiko Odaki Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M ui/cocoa.m Log Message: --- ui/cocoa: Fix pause label coordinates A subview is positioned in the superview so the superview's frame should be used instead of one of the window to determine the
[Qemu-commits] [qemu/qemu] 3011c1: target/riscv: Update $ra with current $pc in trans...
. This will cause the interrupt’s pending bit to be set to one again if the source is still asserting an interrupt, but not if the source is not asserting an interrupt." Fix setipnum_le write emulation for APLIC MSI-mode by implementing the above behaviour in riscv_aplic_set_pending() function. Fixes: e8f79343cfc8 ("hw/intc: Add RISC-V AIA APLIC device emulation") Signed-off-by: Anup Patel Reviewed-by: Daniel Henrique Barboza Message-ID: <20240306095722.463296-2-apa...@ventanamicro.com> Signed-off-by: Alistair Francis Commit: 0678e9f29c2301d0a1afc8d01a78cdfa7ad2ddbd https://github.com/qemu/qemu/commit/0678e9f29c2301d0a1afc8d01a78cdfa7ad2ddbd Author: Anup Patel Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/intc/riscv_aplic.c Log Message: --- hw/intc/riscv_aplic: Fix in_clrip[x] read emulation The reads to in_clrip[x] registers return rectified input values of the interrupt sources. A rectified input value of an interrupt source is defined by the section "4.5.2 Source configurations (sourcecfg[1]–sourcecfg[1023])" of the RISC-V AIA specification as: "rectified input value = (incoming wire value) XOR (source is inverted)" Update the riscv_aplic_read_input_word() implementation to match the above. Fixes: e8f79343cfc8 ("hw/intc: Add RISC-V AIA APLIC device emulation") Signed-off-by: Anup Patel Reviewed-by: Daniel Henrique Barboza Message-ID: <20240306095722.463296-3-apa...@ventanamicro.com> Signed-off-by: Alistair Francis Commit: 6979b7b3f242c44a4908a5fe83f424aa852648a3 https://github.com/qemu/qemu/commit/6979b7b3f242c44a4908a5fe83f424aa852648a3 Author: Hiroaki Yamamoto Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M target/riscv/cpu_helper.c Log Message: --- target/riscv: Fix privilege mode of G-stage translation for debugging G-stage translation should be considered to be user-level access in riscv_cpu_get_phys_page_debug(), as already done in riscv_cpu_tlb_fill(). This fixes a bug that prevents gdb from reading memory while the VM is running in VS-mode. Signed-off-by: Hiroaki Yamamoto Reviewed-by: Alistair Francis Message-ID: <20240228081028.35081-1-hrak1...@gmail.com> Signed-off-by: Alistair Francis Commit: 301876597112218c1e465ecc2b2fef6b27d5c27b https://github.com/qemu/qemu/commit/301876597112218c1e465ecc2b2fef6b27d5c27b Author: Ilya Chugin Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/riscv/virt-acpi-build.c Log Message: --- target/riscv: fix ACPI MCFG table MCFG segments should point to PCI configuration range, not BAR MMIO. Signed-off-by: Ilya Chugin Fixes: 55ecd83b36 ("hw/riscv/virt-acpi-build.c: Add IO controllers and devices") Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Sunil V L Message-ID: <180d236d-c8e4-411a-b4d2-632eb8209...@list.ru> Signed-off-by: Alistair Francis Commit: cbccded4a2b5d685a426a437e25f67d3a375b292 https://github.com/qemu/qemu/commit/cbccded4a2b5d685a426a437e25f67d3a375b292 Author: Peter Maydell Date: 2024-03-08 (Fri, 08 Mar 2024) Changed paths: M hw/acpi/aml-build.c M hw/arm/virt-acpi-build.c M hw/intc/riscv_aplic.c M hw/riscv/boot.c M hw/riscv/virt-acpi-build.c M hw/riscv/virt.c M include/hw/acpi/acpi-defs.h M include/hw/acpi/aml-build.h M include/standard-headers/drm/drm_fourcc.h M include/standard-headers/linux/ethtool.h M include/standard-headers/linux/virtio_config.h M include/standard-headers/linux/virtio_pci.h M include/standard-headers/linux/virtio_pmem.h M linux-headers/asm-generic/unistd.h M linux-headers/asm-mips/mman.h M linux-headers/asm-mips/unistd_n32.h M linux-headers/asm-mips/unistd_n64.h M linux-headers/asm-mips/unistd_o32.h M linux-headers/asm-powerpc/unistd_32.h M linux-headers/asm-powerpc/unistd_64.h M linux-headers/asm-riscv/kvm.h M linux-headers/asm-s390/unistd_32.h M linux-headers/asm-s390/unistd_64.h M linux-headers/asm-x86/kvm.h M linux-headers/asm-x86/unistd_32.h M linux-headers/asm-x86/unistd_64.h M linux-headers/asm-x86/unistd_x32.h M linux-headers/linux/iommufd.h M linux-headers/linux/kvm.h M linux-headers/linux/userfaultfd.h M linux-headers/linux/vfio.h M linux-user/syscall.c M target/riscv/cpu.c M target/riscv/cpu.h M target/riscv/cpu_cfg.h M target/riscv/cpu_helper.c M target/riscv/csr.c M target/riscv/insn_trans/trans_rva.c.inc M target/riscv/insn_trans/trans_rvi.c.inc M target/riscv/insn_trans/trans_rvv.c.inc M target/riscv/insn_trans/trans_rvzce.c.inc M target/riscv/kvm/kvm-cpu.c M target/riscv/machine.c M target/riscv/pmu.h M target/riscv/tcg/tcg-cpu.c M target/riscv/translate.c M target/riscv/vector_helper.c M tests/qtest/libqos/meson.build A tests/qtest/libqos/riscv-virt-machine.c
[Qemu-commits] [qemu/qemu] a09a34: hw/loongarch: Move boot fucntions to boot.c
errupt controller node, we use 'loongson,cpu-interrupt-controller'. See: https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongarch-cpu.c https://lore.kernel.org/r/20221114113824.1880-2-liupei...@loongson.cn Signed-off-by: Song Gao Message-Id: <20240301093839.663947-11-gaos...@loongson.cn> Commit: f9dc385fb6d3e22f541fe1f2457399f1c9898986 https://github.com/qemu/qemu/commit/f9dc385fb6d3e22f541fe1f2457399f1c9898986 Author: Song Gao Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M hw/loongarch/virt.c M include/hw/intc/loongarch_extioi.h Log Message: --- hw/loongarch: fdt adds Extend I/O Interrupt Controller fdt adds Extend I/O Interrupt Controller, we use 'loongson,ls2k2000-eiointc'. See: https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongson-eiointc.c https://lore.kernel.org/r/764e02d924094580ac0f1d15535f4b98308705c6.1683279769.git.zhoubin...@loongson.cn Signed-off-by: Song Gao Message-Id: <20240301093839.663947-12-gaos...@loongson.cn> Commit: 7acfed63cf6d916efcdb294eef805a579173aa70 https://github.com/qemu/qemu/commit/7acfed63cf6d916efcdb294eef805a579173aa70 Author: Song Gao Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M hw/loongarch/virt.c M include/hw/pci-host/ls7a.h Log Message: --- hw/loongarch: fdt adds pch_pic Controller fdt adds pch pic controller, we use 'loongson,pch-pic-1.0' See: https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongson-pch-pic.c https://lore.kernel.org/r/20200528152757.1028711-4-jiaxun.y...@flygoat.com Signed-off-by: Song Gao Message-Id: <20240301093839.663947-13-gaos...@loongson.cn> Commit: d3f0f3485c0f7fe9d624d4d8beb45596ea137e22 https://github.com/qemu/qemu/commit/d3f0f3485c0f7fe9d624d4d8beb45596ea137e22 Author: Song Gao Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M hw/loongarch/virt.c M include/hw/pci-host/ls7a.h Log Message: --- hw/loongarch: fdt adds pch_msi Controller fdt adds pch msi controller, we use 'loongson,pch-msi-1.0'. See: https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongson-pch-msi.c https://lore.kernel.org/r/20200528152757.1028711-6-jiaxun.y...@flygoat.com Signed-off-by: Song Gao Message-Id: <20240301093839.663947-14-gaos...@loongson.cn> Commit: f57ec0fa6bae6587bc7898d2457f8207eff98a08 https://github.com/qemu/qemu/commit/f57ec0fa6bae6587bc7898d2457f8207eff98a08 Author: Song Gao Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M hw/loongarch/virt.c Log Message: --- hw/loongarch: fdt adds pcie irq_map node Signed-off-by: Song Gao Message-Id: <20240301093839.663947-15-gaos...@loongson.cn> Commit: 9a4e58015e2acffc464b212903ff9ff3bc61f2de https://github.com/qemu/qemu/commit/9a4e58015e2acffc464b212903ff9ff3bc61f2de Author: Song Gao Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M hw/loongarch/virt.c Log Message: --- hw/loongarch: fdt remove unused irqchip node Signed-off-by: Song Gao Message-Id: <20240301093839.663947-16-gaos...@loongson.cn> Commit: 9b48ce2dd9bcd6846e9b7fecf67687e491c6c7c2 https://github.com/qemu/qemu/commit/9b48ce2dd9bcd6846e9b7fecf67687e491c6c7c2 Author: Song Gao Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M hw/loongarch/virt.c Log Message: --- hw/loongarch: Add cells missing from uart node uart node need interrupts and interrupt-parent cells. Signed-off-by: Song Gao Message-Id: <20240301093839.663947-17-gaos...@loongson.cn> Commit: 4dc2edfd6f8abfc38f0ba110502790aa5051b1b5 https://github.com/qemu/qemu/commit/4dc2edfd6f8abfc38f0ba110502790aa5051b1b5 Author: Song Gao Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: M hw/loongarch/virt.c Log Message: --- hw/loongarch: Add cells missing from rtc node rtc node need interrupts and interrupt-parent cells. Signed-off-by: Song Gao Message-Id: <20240301093839.663947-18-gaos...@loongson.cn> Commit: 8480dd8685b306d8a7d371ba03d9ca875040be31 https://github.com/qemu/qemu/commit/8480dd8685b306d8a7d371ba03d9ca875040be31 Author: Peter Maydell Date: 2024-03-07 (Thu, 07 Mar 2024) Changed paths: A hw/loongarch/boot.c M hw/loongarch/meson.build M hw/loongarch/virt.c M include/hw/intc/loongarch_extioi.h A include/hw/loongarch/boot.h M include/hw/loongarch/virt.h M include/hw/pci-host/ls7a.h M target/loongarch/cpu.h Log Message: --- Merge tag 'pull-loongarch-20240307' of https://gitlab.com/gaosong/qemu into staging pull-loongarch-20240307 # -BEGIN PGP SIGNATURE- # # iLMEAAEKAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZenQBQAKCRBAov/yOSY+ # 355iBACyjomi43ofCeERRb45suaZPsAbHCZc7+PvyQPE5dMRiURkQL0i0ezxwXRZ # 1SK+yg8g+Q2R6nuqcdxFdRPTNvhdH92MI9R/ir1FLnTf0Qiw9kpHYxVeLfmn0GGO # /QHABDUKljV5Tga0rh8Lj9SiuQkiPtFr0
[Qemu-commits] [qemu/qemu] 13ddcf: tests: bump QOS_PATH_MAX_ELEMENT_SIZE again
org> Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-23-alex.ben...@linaro.org> Commit: c125a8ab04a495a89cadd8beb2729489265abe73 https://github.com/qemu/qemu/commit/c125a8ab04a495a89cadd8beb2729489265abe73 Author: Pierrick Bouvier Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M contrib/plugins/howvec.c Log Message: --- contrib/plugins/howvec: migrate to new per_vcpu API Reviewed-by: Alex Bennée Tested-by: Alex Bennée Signed-off-by: Pierrick Bouvier Message-Id: <20240304130036.124418-11-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-24-alex.ben...@linaro.org> Commit: fba3b490a26cb278dfa183d7fcc375746e312980 https://github.com/qemu/qemu/commit/fba3b490a26cb278dfa183d7fcc375746e312980 Author: Pierrick Bouvier Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M include/qemu/qemu-plugin.h M plugins/api.c M plugins/qemu-plugins.symbols Log Message: --- plugins: remove non per_vcpu inline operation from API Now we have a thread-safe equivalent of inline operation, and that all plugins were changed to use it, there is no point to keep the old API. In more, it will help when we implement more functionality (conditional callbacks), as we can assume that we operate on a scoreboard. API version bump was already done as part of this series. Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Pierrick Bouvier Message-Id: <20240304130036.124418-12-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-25-alex.ben...@linaro.org> Commit: 3077be254538b9fbb4bd5a7a9c60058b4580eb01 https://github.com/qemu/qemu/commit/3077be254538b9fbb4bd5a7a9c60058b4580eb01 Author: Pierrick Bouvier Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M accel/tcg/plugin-gen.c M plugins/core.c M plugins/plugin.h Log Message: --- plugins: cleanup codepath for previous inline operation Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Pierrick Bouvier Message-Id: <20240304130036.124418-13-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-26-alex.ben...@linaro.org> Commit: 83b4613ba835d6ed6dcee3001c7fc56dc7b21685 https://github.com/qemu/qemu/commit/83b4613ba835d6ed6dcee3001c7fc56dc7b21685 Author: Alex Bennée Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M disas/disas.c M include/disas/dis-asm.h Log Message: --- disas: introduce show_opcodes For plugins we don't expect the raw opcodes in the disassembly. We already deal with this by hand crafting our capstone call but for other diassemblers we need a flag. Introduce show_opcodes which defaults to off. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-27-alex.ben...@linaro.org> Commit: 7cff154b48d5ce64b6d65388c43a9a818672ec00 https://github.com/qemu/qemu/commit/7cff154b48d5ce64b6d65388c43a9a818672ec00 Author: Alex Bennée Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M disas/hppa.c Log Message: --- disas/hppa: honour show_opcodes Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-28-alex.ben...@linaro.org> Commit: f6e0eabdb4647275d98c63982c0065dd80be7caf https://github.com/qemu/qemu/commit/f6e0eabdb4647275d98c63982c0065dd80be7caf Author: Alex Bennée Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M target/loongarch/disas.c Log Message: --- target/loongarch: honour show_opcodes when disassembling This makes the output suitable when used for plugins. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-29-alex.ben...@linaro.org> Commit: db7e8b1f75662cf957f6bfad938ed112488518ed https://github.com/qemu/qemu/commit/db7e8b1f75662cf957f6bfad938ed112488518ed Author: Alex Bennée Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M disas/riscv.c Log Message: --- target/riscv: honour show_opcodes when disassembling This makes the output suitable when used for plugins. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-30-alex.ben...@linaro.org> Commit: 8f6330a807f2642dc2a3cdf33347aa28a4c00a87 https://github.com/qemu/qemu/commit/8f6330a807f2642dc2a3cdf33347aa28a4c00a87 Author: Peter Maydell Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M accel/tcg/plugin-gen.c M bsd-user/bsd-file.h M bsd-user/freebsd/os-proc.h M bsd-user/main.c M bsd-user/qemu.h M bsd-user/signal.c M contrib/plugins/hotblocks.c M contrib/plugins/howvec.c M disas/disas.c M disas/hppa.c M disas/riscv.c M gdbstub/gdbstub.c
[Qemu-commits] [qemu/qemu] 13ddcf: tests: bump QOS_PATH_MAX_ELEMENT_SIZE again
org> Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-23-alex.ben...@linaro.org> Commit: c125a8ab04a495a89cadd8beb2729489265abe73 https://github.com/qemu/qemu/commit/c125a8ab04a495a89cadd8beb2729489265abe73 Author: Pierrick Bouvier Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M contrib/plugins/howvec.c Log Message: --- contrib/plugins/howvec: migrate to new per_vcpu API Reviewed-by: Alex Bennée Tested-by: Alex Bennée Signed-off-by: Pierrick Bouvier Message-Id: <20240304130036.124418-11-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-24-alex.ben...@linaro.org> Commit: fba3b490a26cb278dfa183d7fcc375746e312980 https://github.com/qemu/qemu/commit/fba3b490a26cb278dfa183d7fcc375746e312980 Author: Pierrick Bouvier Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M include/qemu/qemu-plugin.h M plugins/api.c M plugins/qemu-plugins.symbols Log Message: --- plugins: remove non per_vcpu inline operation from API Now we have a thread-safe equivalent of inline operation, and that all plugins were changed to use it, there is no point to keep the old API. In more, it will help when we implement more functionality (conditional callbacks), as we can assume that we operate on a scoreboard. API version bump was already done as part of this series. Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Pierrick Bouvier Message-Id: <20240304130036.124418-12-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-25-alex.ben...@linaro.org> Commit: 3077be254538b9fbb4bd5a7a9c60058b4580eb01 https://github.com/qemu/qemu/commit/3077be254538b9fbb4bd5a7a9c60058b4580eb01 Author: Pierrick Bouvier Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M accel/tcg/plugin-gen.c M plugins/core.c M plugins/plugin.h Log Message: --- plugins: cleanup codepath for previous inline operation Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Pierrick Bouvier Message-Id: <20240304130036.124418-13-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-26-alex.ben...@linaro.org> Commit: 83b4613ba835d6ed6dcee3001c7fc56dc7b21685 https://github.com/qemu/qemu/commit/83b4613ba835d6ed6dcee3001c7fc56dc7b21685 Author: Alex Bennée Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M disas/disas.c M include/disas/dis-asm.h Log Message: --- disas: introduce show_opcodes For plugins we don't expect the raw opcodes in the disassembly. We already deal with this by hand crafting our capstone call but for other diassemblers we need a flag. Introduce show_opcodes which defaults to off. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-27-alex.ben...@linaro.org> Commit: 7cff154b48d5ce64b6d65388c43a9a818672ec00 https://github.com/qemu/qemu/commit/7cff154b48d5ce64b6d65388c43a9a818672ec00 Author: Alex Bennée Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M disas/hppa.c Log Message: --- disas/hppa: honour show_opcodes Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-28-alex.ben...@linaro.org> Commit: f6e0eabdb4647275d98c63982c0065dd80be7caf https://github.com/qemu/qemu/commit/f6e0eabdb4647275d98c63982c0065dd80be7caf Author: Alex Bennée Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M target/loongarch/disas.c Log Message: --- target/loongarch: honour show_opcodes when disassembling This makes the output suitable when used for plugins. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-29-alex.ben...@linaro.org> Commit: db7e8b1f75662cf957f6bfad938ed112488518ed https://github.com/qemu/qemu/commit/db7e8b1f75662cf957f6bfad938ed112488518ed Author: Alex Bennée Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M disas/riscv.c Log Message: --- target/riscv: honour show_opcodes when disassembling This makes the output suitable when used for plugins. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240305121005.3528075-30-alex.ben...@linaro.org> Commit: 8f6330a807f2642dc2a3cdf33347aa28a4c00a87 https://github.com/qemu/qemu/commit/8f6330a807f2642dc2a3cdf33347aa28a4c00a87 Author: Peter Maydell Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M accel/tcg/plugin-gen.c M bsd-user/bsd-file.h M bsd-user/freebsd/os-proc.h M bsd-user/main.c M bsd-user/qemu.h M bsd-user/signal.c M contrib/plugins/hotblocks.c M contrib/plugins/howvec.c M disas/disas.c M disas/hppa.c M disas/riscv.c M gdbstub/gdbstub.c
[Qemu-commits] [qemu/qemu] 9cf3bc: hw/i2c: Implement Broadcom Serial Controller (BSC)
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 9cf3bc65afdb63f6fc28560274600b4e6e0c91ca https://github.com/qemu/qemu/commit/9cf3bc65afdb63f6fc28560274600b4e6e0c91ca Author: Rayhan Faizel Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M docs/system/arm/raspi.rst M hw/i2c/Kconfig A hw/i2c/bcm2835_i2c.c M hw/i2c/meson.build A include/hw/i2c/bcm2835_i2c.h Log Message: --- hw/i2c: Implement Broadcom Serial Controller (BSC) A few deficiencies in the current device model need to be noted. 1. FIFOs are not used. All sends and receives are done directly. 2. Repeated starts are not emulated. Repeated starts can be triggered in real hardware by sending a new read transfer request in the window time between transfer active set of write transfer request and done bit set of the same. Signed-off-by: Rayhan Faizel Reviewed-by: Peter Maydell Message-id: 20240224191038.2409945-2-rayhan.fai...@gmail.com Signed-off-by: Peter Maydell Commit: f5c6320bf7b4b064e3368268e9e475f8415559f6 https://github.com/qemu/qemu/commit/f5c6320bf7b4b064e3368268e9e475f8415559f6 Author: Rayhan Faizel Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M hw/arm/Kconfig M hw/arm/bcm2835_peripherals.c M include/hw/arm/bcm2835_peripherals.h Log Message: --- hw/arm: Connect BSC to BCM2835 board as I2C0, I2C1 and I2C2 BCM2835 has three I2C controllers. All of them share the same interrupt line. Signed-off-by: Rayhan Faizel Reviewed-by: Philippe Mathieu-Daudé Message-id: 20240224191038.2409945-3-rayhan.fai...@gmail.com Signed-off-by: Peter Maydell Commit: 0820e097fa844b13e9246c1210b89265a0e0cc5b https://github.com/qemu/qemu/commit/0820e097fa844b13e9246c1210b89265a0e0cc5b Author: Rayhan Faizel Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: A tests/qtest/bcm2835-i2c-test.c M tests/qtest/meson.build Log Message: --- tests/qtest: Add testcase for BCM2835 BSC Simple testcase for validating proper operation of read and write for all three BSC controllers. Signed-off-by: Rayhan Faizel Reviewed-by: Peter Maydell Message-id: 20240224191038.2409945-4-rayhan.fai...@gmail.com Signed-off-by: Peter Maydell Commit: f576e0733ccb023cde94acc7897c78a4871a09d0 https://github.com/qemu/qemu/commit/f576e0733ccb023cde94acc7897c78a4871a09d0 Author: Tong Ho Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M hw/char/pl011.c Log Message: --- hw/char/pl011: Add support for loopback This patch adds loopback for sent characters, sent BREAK, and modem-control signals. Loopback of send and modem-control is often used for uart self tests in real hardware but missing from current pl011 model, resulting in self-test failures when running in QEMU. This implementation matches what is observed in real pl011 hardware placed in loopback mode: 1. Input characters and BREAK events from serial backend are ignored, but 2. Both TX characters and BREAK events are still sent to serial backend, in addition to be looped back to RX. Signed-off-by: Tong Ho Signed-off-by: Francisco Iglesias Message-id: 20240227054855.44204-1-tong...@amd.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: d6b55a0fe9920b46d380f50d7da48ff43de21324 https://github.com/qemu/qemu/commit/d6b55a0fe9920b46d380f50d7da48ff43de21324 Author: Arnaud Minier Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M MAINTAINERS M docs/system/arm/b-l475e-iot01a.rst M hw/arm/Kconfig M hw/arm/stm32l4x5_soc.c M hw/misc/Kconfig M hw/misc/meson.build A hw/misc/stm32l4x5_rcc.c M hw/misc/trace-events M include/hw/arm/stm32l4x5_soc.h A include/hw/misc/stm32l4x5_rcc.h A include/hw/misc/stm32l4x5_rcc_internals.h Log Message: --- hw/misc/stm32l4x5_rcc: Implement STM32L4x5_RCC skeleton Add the necessary files to add a simple RCC implementation with just reads from and writes to registers. Also instantiate the RCC in the STM32L4x5_SoC. It is needed for accurate emulation of all the SoC clocks and timers. Signed-off-by: Arnaud Minier Signed-off-by: Inès Varhol Acked-by: Alistair Francis Reviewed-by: Peter Maydell Message-id: 20240303140643.81957-2-arnaud.min...@telecom-paris.fr Signed-off-by: Peter Maydell Commit: ec7d83acbd1182d47df742745b43e6b16a3a4977 https://github.com/qemu/qemu/commit/ec7d83acbd1182d47df742745b43e6b16a3a4977 Author: Arnaud Minier Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M hw/misc/stm32l4x5_rcc.c M hw/misc/trace-events M include/hw/misc/stm32l4x5_rcc.h M include/hw/misc/stm32l4x5_rcc_internals.h Log Message: --- hw/misc/stm32l4x5_rcc: Add an internal clock multiplexer object This object is used to represent every multiplexer in the clock tree as well as every clock output, every presecaler, frequency multiplier, etc. This allows
[Qemu-commits] [qemu/qemu] 9cf3bc: hw/i2c: Implement Broadcom Serial Controller (BSC)
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 9cf3bc65afdb63f6fc28560274600b4e6e0c91ca https://github.com/qemu/qemu/commit/9cf3bc65afdb63f6fc28560274600b4e6e0c91ca Author: Rayhan Faizel Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M docs/system/arm/raspi.rst M hw/i2c/Kconfig A hw/i2c/bcm2835_i2c.c M hw/i2c/meson.build A include/hw/i2c/bcm2835_i2c.h Log Message: --- hw/i2c: Implement Broadcom Serial Controller (BSC) A few deficiencies in the current device model need to be noted. 1. FIFOs are not used. All sends and receives are done directly. 2. Repeated starts are not emulated. Repeated starts can be triggered in real hardware by sending a new read transfer request in the window time between transfer active set of write transfer request and done bit set of the same. Signed-off-by: Rayhan Faizel Reviewed-by: Peter Maydell Message-id: 20240224191038.2409945-2-rayhan.fai...@gmail.com Signed-off-by: Peter Maydell Commit: f5c6320bf7b4b064e3368268e9e475f8415559f6 https://github.com/qemu/qemu/commit/f5c6320bf7b4b064e3368268e9e475f8415559f6 Author: Rayhan Faizel Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M hw/arm/Kconfig M hw/arm/bcm2835_peripherals.c M include/hw/arm/bcm2835_peripherals.h Log Message: --- hw/arm: Connect BSC to BCM2835 board as I2C0, I2C1 and I2C2 BCM2835 has three I2C controllers. All of them share the same interrupt line. Signed-off-by: Rayhan Faizel Reviewed-by: Philippe Mathieu-Daudé Message-id: 20240224191038.2409945-3-rayhan.fai...@gmail.com Signed-off-by: Peter Maydell Commit: 0820e097fa844b13e9246c1210b89265a0e0cc5b https://github.com/qemu/qemu/commit/0820e097fa844b13e9246c1210b89265a0e0cc5b Author: Rayhan Faizel Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: A tests/qtest/bcm2835-i2c-test.c M tests/qtest/meson.build Log Message: --- tests/qtest: Add testcase for BCM2835 BSC Simple testcase for validating proper operation of read and write for all three BSC controllers. Signed-off-by: Rayhan Faizel Reviewed-by: Peter Maydell Message-id: 20240224191038.2409945-4-rayhan.fai...@gmail.com Signed-off-by: Peter Maydell Commit: f576e0733ccb023cde94acc7897c78a4871a09d0 https://github.com/qemu/qemu/commit/f576e0733ccb023cde94acc7897c78a4871a09d0 Author: Tong Ho Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M hw/char/pl011.c Log Message: --- hw/char/pl011: Add support for loopback This patch adds loopback for sent characters, sent BREAK, and modem-control signals. Loopback of send and modem-control is often used for uart self tests in real hardware but missing from current pl011 model, resulting in self-test failures when running in QEMU. This implementation matches what is observed in real pl011 hardware placed in loopback mode: 1. Input characters and BREAK events from serial backend are ignored, but 2. Both TX characters and BREAK events are still sent to serial backend, in addition to be looped back to RX. Signed-off-by: Tong Ho Signed-off-by: Francisco Iglesias Message-id: 20240227054855.44204-1-tong...@amd.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: d6b55a0fe9920b46d380f50d7da48ff43de21324 https://github.com/qemu/qemu/commit/d6b55a0fe9920b46d380f50d7da48ff43de21324 Author: Arnaud Minier Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M MAINTAINERS M docs/system/arm/b-l475e-iot01a.rst M hw/arm/Kconfig M hw/arm/stm32l4x5_soc.c M hw/misc/Kconfig M hw/misc/meson.build A hw/misc/stm32l4x5_rcc.c M hw/misc/trace-events M include/hw/arm/stm32l4x5_soc.h A include/hw/misc/stm32l4x5_rcc.h A include/hw/misc/stm32l4x5_rcc_internals.h Log Message: --- hw/misc/stm32l4x5_rcc: Implement STM32L4x5_RCC skeleton Add the necessary files to add a simple RCC implementation with just reads from and writes to registers. Also instantiate the RCC in the STM32L4x5_SoC. It is needed for accurate emulation of all the SoC clocks and timers. Signed-off-by: Arnaud Minier Signed-off-by: Inès Varhol Acked-by: Alistair Francis Reviewed-by: Peter Maydell Message-id: 20240303140643.81957-2-arnaud.min...@telecom-paris.fr Signed-off-by: Peter Maydell Commit: ec7d83acbd1182d47df742745b43e6b16a3a4977 https://github.com/qemu/qemu/commit/ec7d83acbd1182d47df742745b43e6b16a3a4977 Author: Arnaud Minier Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M hw/misc/stm32l4x5_rcc.c M hw/misc/trace-events M include/hw/misc/stm32l4x5_rcc.h M include/hw/misc/stm32l4x5_rcc_internals.h Log Message: --- hw/misc/stm32l4x5_rcc: Add an internal clock multiplexer object This object is used to represent every multiplexer in the clock tree as well as every clock output, every presecaler, frequency multiplier, etc
[Qemu-commits] [qemu/qemu] 87a284: migration: massage cpr-reboot documentation
i-schema/meson.build Log Message: --- qapi: Reject "Returns" section when command doesn't return anything Signed-off-by: Markus Armbruster Message-ID: <20240227113921.236097-14-arm...@redhat.com> Commit: 59807e2098a1987f24f2f8c32c8db7f84077a0a5 https://github.com/qemu/qemu/commit/59807e2098a1987f24f2f8c32c8db7f84077a0a5 Author: Markus Armbruster Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M docs/devel/writing-monitor-commands.rst Log Message: --- docs/devel/writing-monitor-commands: Repair a decade of rot The tutorial doesn't match reality since at least 2013. Repairing it involves fixing the following issues: * Update for commit 6d327171551 (aio / timers: Remove alarm timers): replace the broken examples. Instead of having one for returning a struct and another for returning a list of structs, do just one for the latter. This resolves the FIXME added in commit e218052f928 (aio / timers: De-document -clock) back in 2014. * Update for commit 895a2a80e0e (qapi: Use 'struct' instead of 'type' in schema). * Update for commit 3313b6124b5 (qapi: add qapi2texi script): add required documentation to the schema snippets, and drop section "Command Documentation". * Update for commit a3c45b3e629 (qapi: New special feature flag "unstable"): supply the required feature, deemphasize the x- prefix. * Update for commit dd98234c059 (qapi: introduce x-query-roms QMP command): rephrase from "add new command" to "examine existing command". * Update for commit 9492718b7c0 (qapi misc: Elide redundant has_FOO in generated C): hello-world's message argument no longer comes with a has_message, add a second argument that does. * Update for moved and renamed files. While there, update QMP version output to current output. Signed-off-by: Markus Armbruster Message-ID: <20240227115617.237875-2-arm...@redhat.com> Reviewed-by: Eric Blake [Whitespace tidied up, typo fixed] Commit: 8a62ef7bd97c40e9f112d6c808898f907b11f65e https://github.com/qemu/qemu/commit/8a62ef7bd97c40e9f112d6c808898f907b11f65e Author: Markus Armbruster Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M docs/devel/writing-monitor-commands.rst Log Message: --- docs/devel/writing-monitor-commands: Minor improvements Avoid "JSON" when talking about the QAPI schema syntax. Capitalize QEMU. Don't claim all HMP commands live in monitor/hmp-cmds.c (this was never true). Fix punctuation and drop inappropriate "the" here and there. Signed-off-by: Markus Armbruster Message-ID: <20240227115617.237875-3-arm...@redhat.com> Reviewed-by: Eric Blake Commit: 745736ae0cbe48dd7d58456baf084dc106320a87 https://github.com/qemu/qemu/commit/745736ae0cbe48dd7d58456baf084dc106320a87 Author: Steve Sistare Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M include/qapi/util.h Log Message: --- qapi: New QAPI_LIST_LENGTH() Signed-off-by: Steve Sistare Reviewed-by: Marc-André Lureau Message-ID: <20240227153321.467343-2-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Markus Armbruster Commit: 8a08a366c5e05ce9417d4bcc364e76720a16b41f https://github.com/qemu/qemu/commit/8a08a366c5e05ce9417d4bcc364e76720a16b41f Author: Steve Sistare Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M include/qapi/type-helpers.h M qapi/qapi-type-helpers.c Log Message: --- qapi: New strv_from_str_list() Signed-off-by: Steve Sistare Reviewed-by: Marc-André Lureau Message-ID: <20240227153321.467343-3-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Markus Armbruster Commit: 018d5fb1f91c7f316b4b8501a78e7219bb9fb614 https://github.com/qemu/qemu/commit/018d5fb1f91c7f316b4b8501a78e7219bb9fb614 Author: Steve Sistare Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M migration/exec.c Log Message: --- migration: simplify exec migration functions Simplify the exec migration code by using list utility functions. As a side effect, this also fixes a minor memory leak. On function return, "g_auto(GStrv) argv" frees argv and each element, which is wrong, because the function does not own the individual elements. To compensate, the code uses g_steal_pointer which NULLs argv and prevents the destructor from running, but argv is leaked. Fixes: cbab4face57b ("migration: convert exec backend ...") Signed-off-by: Steve Sistare Reviewed-by: Fabiano Rosas Message-ID: <20240227153321.467343-4-arm...@redhat.com> Signed-off-by: Markus Armbruster Commit: c90cfb5294e50b803ebd79d1e76fb94bb91e4375 https://github.com/qemu/qemu/commit/c90cfb5294e50b803ebd79d1e76fb94bb91e4375 Author: Peter Maydell Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M docs/devel/migration/fe
[Qemu-commits] [qemu/qemu] 87a284: migration: massage cpr-reboot documentation
i-schema/meson.build Log Message: --- qapi: Reject "Returns" section when command doesn't return anything Signed-off-by: Markus Armbruster Message-ID: <20240227113921.236097-14-arm...@redhat.com> Commit: 59807e2098a1987f24f2f8c32c8db7f84077a0a5 https://github.com/qemu/qemu/commit/59807e2098a1987f24f2f8c32c8db7f84077a0a5 Author: Markus Armbruster Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M docs/devel/writing-monitor-commands.rst Log Message: --- docs/devel/writing-monitor-commands: Repair a decade of rot The tutorial doesn't match reality since at least 2013. Repairing it involves fixing the following issues: * Update for commit 6d327171551 (aio / timers: Remove alarm timers): replace the broken examples. Instead of having one for returning a struct and another for returning a list of structs, do just one for the latter. This resolves the FIXME added in commit e218052f928 (aio / timers: De-document -clock) back in 2014. * Update for commit 895a2a80e0e (qapi: Use 'struct' instead of 'type' in schema). * Update for commit 3313b6124b5 (qapi: add qapi2texi script): add required documentation to the schema snippets, and drop section "Command Documentation". * Update for commit a3c45b3e629 (qapi: New special feature flag "unstable"): supply the required feature, deemphasize the x- prefix. * Update for commit dd98234c059 (qapi: introduce x-query-roms QMP command): rephrase from "add new command" to "examine existing command". * Update for commit 9492718b7c0 (qapi misc: Elide redundant has_FOO in generated C): hello-world's message argument no longer comes with a has_message, add a second argument that does. * Update for moved and renamed files. While there, update QMP version output to current output. Signed-off-by: Markus Armbruster Message-ID: <20240227115617.237875-2-arm...@redhat.com> Reviewed-by: Eric Blake [Whitespace tidied up, typo fixed] Commit: 8a62ef7bd97c40e9f112d6c808898f907b11f65e https://github.com/qemu/qemu/commit/8a62ef7bd97c40e9f112d6c808898f907b11f65e Author: Markus Armbruster Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M docs/devel/writing-monitor-commands.rst Log Message: --- docs/devel/writing-monitor-commands: Minor improvements Avoid "JSON" when talking about the QAPI schema syntax. Capitalize QEMU. Don't claim all HMP commands live in monitor/hmp-cmds.c (this was never true). Fix punctuation and drop inappropriate "the" here and there. Signed-off-by: Markus Armbruster Message-ID: <20240227115617.237875-3-arm...@redhat.com> Reviewed-by: Eric Blake Commit: 745736ae0cbe48dd7d58456baf084dc106320a87 https://github.com/qemu/qemu/commit/745736ae0cbe48dd7d58456baf084dc106320a87 Author: Steve Sistare Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M include/qapi/util.h Log Message: --- qapi: New QAPI_LIST_LENGTH() Signed-off-by: Steve Sistare Reviewed-by: Marc-André Lureau Message-ID: <20240227153321.467343-2-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Markus Armbruster Commit: 8a08a366c5e05ce9417d4bcc364e76720a16b41f https://github.com/qemu/qemu/commit/8a08a366c5e05ce9417d4bcc364e76720a16b41f Author: Steve Sistare Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M include/qapi/type-helpers.h M qapi/qapi-type-helpers.c Log Message: --- qapi: New strv_from_str_list() Signed-off-by: Steve Sistare Reviewed-by: Marc-André Lureau Message-ID: <20240227153321.467343-3-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Markus Armbruster Commit: 018d5fb1f91c7f316b4b8501a78e7219bb9fb614 https://github.com/qemu/qemu/commit/018d5fb1f91c7f316b4b8501a78e7219bb9fb614 Author: Steve Sistare Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M migration/exec.c Log Message: --- migration: simplify exec migration functions Simplify the exec migration code by using list utility functions. As a side effect, this also fixes a minor memory leak. On function return, "g_auto(GStrv) argv" frees argv and each element, which is wrong, because the function does not own the individual elements. To compensate, the code uses g_steal_pointer which NULLs argv and prevents the destructor from running, but argv is leaked. Fixes: cbab4face57b ("migration: convert exec backend ...") Signed-off-by: Steve Sistare Reviewed-by: Fabiano Rosas Message-ID: <20240227153321.467343-4-arm...@redhat.com> Signed-off-by: Markus Armbruster Commit: c90cfb5294e50b803ebd79d1e76fb94bb91e4375 https://github.com/qemu/qemu/commit/c90cfb5294e50b803ebd79d1e76fb94bb91e4375 Author: Peter Maydell Date: 2024-03-05 (Tue, 05 Mar 2024) Changed paths: M docs/devel/migration/fe
[Qemu-commits] [qemu/qemu] f93b99: linux-user/elfload: Disable core dump if getrlimit...
/243c47066253c4236b8792ee158f9971d1c27bf9 Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Write corefile elf header in one block Fixes a bug in which write_note() wrote namesz_rounded and datasz_rounded bytes, even though name and data pointers contain only the unrounded number of bytes. Instead of many small writes, allocate a block to contain all of the elf headers and all of the notes. Copy the data into the block piecemeal and the write it to the file as a chunk. This also avoids the need to lseek forward for alignment. Signed-off-by: Richard Henderson Commit: b4c7ab816b48e0d2dd15753c0329bd4aa59f713f https://github.com/qemu/qemu/commit/b4c7ab816b48e0d2dd15753c0329bd4aa59f713f Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Write process memory to core file in larger chunks We do not need to copy pages from guest memory before writing them out. Because vmas are contiguous in host memory, we can write them in one go. Signed-off-by: Richard Henderson Commit: 1928d50bec7ef7956499e408ac3a501f02c57c47 https://github.com/qemu/qemu/commit/1928d50bec7ef7956499e408ac3a501f02c57c47 Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Simplify vma_dump_size Use the flags that we've already saved in order to test accessibility. Use g2h_untagged and compare guest memory directly instead of copy_from_user. Signed-off-by: Richard Henderson Commit: 50e33f52fbc476f71eb006e0c8d3fa355539c3e1 https://github.com/qemu/qemu/commit/50e33f52fbc476f71eb006e0c8d3fa355539c3e1 Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Rely on walk_memory_regions for vmas Rather than creating new data structures for vma, rely on the IntervalTree used by walk_memory_regions. Use PAGE_* constants, per the page table api, rather than PROT_* constants, per the mmap api. Signed-off-by: Richard Henderson Commit: 41689bb30cb55f411a4d9f7a31f3e601292d3be2 https://github.com/qemu/qemu/commit/41689bb30cb55f411a4d9f7a31f3e601292d3be2 Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Unprotect regions before core dump By unprotecting regions, we re-instate writability and unify regions that have been split, which may reduce the total number of regions. Signed-off-by: Richard Henderson Commit: 7f89fdf8ebe6ef8df48f0a05f44e1020c713a94e https://github.com/qemu/qemu/commit/7f89fdf8ebe6ef8df48f0a05f44e1020c713a94e Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M tcg/aarch64/tcg-target.h Log Message: --- tcg/aarch64: Apple does not align __int128_t in even registers >From >https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms When passing an argument with 16-byte alignment in integer registers, Apple platforms allow the argument to start in an odd-numbered xN register. The standard ABI requires it to begin in an even-numbered xN register. Cc: qemu-sta...@nongnu.org Fixes: 5427a9a7604 ("tcg: Add TCG_TARGET_CALL_{RET,ARG}_I128") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2169 Signed-off-by: Richard Henderson Message-Id: <9fc0c2c7-dd57-459e-aecb-528edb74b...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé Commit: 62bcba836cb199bb0d9b5aa160919c863393859f https://github.com/qemu/qemu/commit/62bcba836cb199bb0d9b5aa160919c863393859f Author: Peter Maydell Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M accel/tcg/cpu-exec.c Log Message: --- accel/tcg: Set can_do_io at at start of lookup_tb_ptr helper If a page table is in IO memory and lookup_tb_ptr probes the TLB it can result in a page table walk for the instruction fetch. If this hits IO memory and io_prepare falsely assumes it needs to do a TLB recompile. Avoid that by setting can_do_io at the start of lookup_tb_ptr. Link: https://lore.kernel.org/qemu-devel/CAFEAcA_a_AyQ=epz3_+cheat8crsk9mou894wbnw_fywamk...@mail.gmail.com/#t Reviewed-by: Richard Henderson Signed-off-by: Peter Maydell Signed-off-by: Jonathan Cameron Message-Id: <20240219173153.12114-2-jonathan.came...@huawei.com> Signed-off-by: Richard Henderson Commit: 6aba908d2b2d4c6c6e1e0c57a908b6ad9730525d https://github.com/qemu/qemu/commit/6aba908d2b2d4c6c6e1e0c57a908b6ad9730525d Author: Jonathan Cameron Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M accel/tcg/cputlb.c Log Message: --- tcg: Avoid doubl
[Qemu-commits] [qemu/qemu] f93b99: linux-user/elfload: Disable core dump if getrlimit...
/243c47066253c4236b8792ee158f9971d1c27bf9 Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Write corefile elf header in one block Fixes a bug in which write_note() wrote namesz_rounded and datasz_rounded bytes, even though name and data pointers contain only the unrounded number of bytes. Instead of many small writes, allocate a block to contain all of the elf headers and all of the notes. Copy the data into the block piecemeal and the write it to the file as a chunk. This also avoids the need to lseek forward for alignment. Signed-off-by: Richard Henderson Commit: b4c7ab816b48e0d2dd15753c0329bd4aa59f713f https://github.com/qemu/qemu/commit/b4c7ab816b48e0d2dd15753c0329bd4aa59f713f Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Write process memory to core file in larger chunks We do not need to copy pages from guest memory before writing them out. Because vmas are contiguous in host memory, we can write them in one go. Signed-off-by: Richard Henderson Commit: 1928d50bec7ef7956499e408ac3a501f02c57c47 https://github.com/qemu/qemu/commit/1928d50bec7ef7956499e408ac3a501f02c57c47 Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Simplify vma_dump_size Use the flags that we've already saved in order to test accessibility. Use g2h_untagged and compare guest memory directly instead of copy_from_user. Signed-off-by: Richard Henderson Commit: 50e33f52fbc476f71eb006e0c8d3fa355539c3e1 https://github.com/qemu/qemu/commit/50e33f52fbc476f71eb006e0c8d3fa355539c3e1 Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Rely on walk_memory_regions for vmas Rather than creating new data structures for vma, rely on the IntervalTree used by walk_memory_regions. Use PAGE_* constants, per the page table api, rather than PROT_* constants, per the mmap api. Signed-off-by: Richard Henderson Commit: 41689bb30cb55f411a4d9f7a31f3e601292d3be2 https://github.com/qemu/qemu/commit/41689bb30cb55f411a4d9f7a31f3e601292d3be2 Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M linux-user/elfload.c Log Message: --- linux-user/elfload: Unprotect regions before core dump By unprotecting regions, we re-instate writability and unify regions that have been split, which may reduce the total number of regions. Signed-off-by: Richard Henderson Commit: 7f89fdf8ebe6ef8df48f0a05f44e1020c713a94e https://github.com/qemu/qemu/commit/7f89fdf8ebe6ef8df48f0a05f44e1020c713a94e Author: Richard Henderson Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M tcg/aarch64/tcg-target.h Log Message: --- tcg/aarch64: Apple does not align __int128_t in even registers >From >https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms When passing an argument with 16-byte alignment in integer registers, Apple platforms allow the argument to start in an odd-numbered xN register. The standard ABI requires it to begin in an even-numbered xN register. Cc: qemu-sta...@nongnu.org Fixes: 5427a9a7604 ("tcg: Add TCG_TARGET_CALL_{RET,ARG}_I128") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2169 Signed-off-by: Richard Henderson Message-Id: <9fc0c2c7-dd57-459e-aecb-528edb74b...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé Commit: 62bcba836cb199bb0d9b5aa160919c863393859f https://github.com/qemu/qemu/commit/62bcba836cb199bb0d9b5aa160919c863393859f Author: Peter Maydell Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M accel/tcg/cpu-exec.c Log Message: --- accel/tcg: Set can_do_io at at start of lookup_tb_ptr helper If a page table is in IO memory and lookup_tb_ptr probes the TLB it can result in a page table walk for the instruction fetch. If this hits IO memory and io_prepare falsely assumes it needs to do a TLB recompile. Avoid that by setting can_do_io at the start of lookup_tb_ptr. Link: https://lore.kernel.org/qemu-devel/CAFEAcA_a_AyQ=epz3_+cheat8crsk9mou894wbnw_fywamk...@mail.gmail.com/#t Reviewed-by: Richard Henderson Signed-off-by: Peter Maydell Signed-off-by: Jonathan Cameron Message-Id: <20240219173153.12114-2-jonathan.came...@huawei.com> Signed-off-by: Richard Henderson Commit: 6aba908d2b2d4c6c6e1e0c57a908b6ad9730525d https://github.com/qemu/qemu/commit/6aba908d2b2d4c6c6e1e0c57a908b6ad9730525d Author: Jonathan Cameron Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M accel/tcg/cputlb.c Log Message: --- tcg: Avoid doubl
[Qemu-commits] [qemu/qemu] a9bdc4: target: hppa: Fix unaligned double word accesses f...
.toml file. Thus we can simply drop the version check now to get rid of the distutils dependency here. Signed-off-by: Thomas Huth Reviewed-by: Michael Tokarev Message-id: 20240304130403.129543-1-th...@redhat.com Signed-off-by: Peter Maydell Commit: 956331108e78cd8cee166a9735fac78c5f36ec55 https://github.com/qemu/qemu/commit/956331108e78cd8cee166a9735fac78c5f36ec55 Author: Daniel P. Berrangé Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M meson.build Log Message: --- meson: detect broken clang 17 with -fzero-call-used-regs Clang 17 will segv if given -fzero-call-used-regs and optimization is enabled. Since upstream hasn't triaged the bug, distros are increasingly shipping with broken Clang. https://github.com/llvm/llvm-project/issues/75168 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277474 Signed-off-by: Daniel P. Berrangé Reviewed-by: Peter Maydell Message-id: 20240304144456.3825935-2-berra...@redhat.com Signed-off-by: Peter Maydell Commit: 9ea920dc28254cd9a363aaef01985dffd8abedd7 https://github.com/qemu/qemu/commit/9ea920dc28254cd9a363aaef01985dffd8abedd7 Author: Daniel P. Berrangé Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M .gitlab-ci.d/cirrus.yml Log Message: --- gitlab: update FreeBSD Cirrus CI image to 13.3 The 13.2 images have been deleted from gcloud Cc: qemu-sta...@nongnu.org Signed-off-by: Daniel P. Berrangé Reviewed-by: Peter Maydell Message-id: 20240304144456.3825935-3-berra...@redhat.com Signed-off-by: Peter Maydell Commit: 52e7db443bd8d233acc3977bd150bdadb62db86c https://github.com/qemu/qemu/commit/52e7db443bd8d233acc3977bd150bdadb62db86c Author: Peter Maydell Date: 2024-03-04 (Mon, 04 Mar 2024) Changed paths: M pc-bios/README M pc-bios/meson.build M roms/Makefile M target/hppa/cpu.c M target/hppa/helper.c M target/hppa/mem_helper.c M target/hppa/op_helper.c Log Message: --- Merge tag 'hppa-latest-pull-request' of https://github.com/hdeller/qemu-hppa into staging HPPA64 updates # -BEGIN PGP SIGNATURE- # # iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCZeQOtQAKCRD3ErUQojoP # Xzh6AP9Gs8sJzRbR+HLlbrs3ACR7kQEVGOYuuBEJpKqkTyDbLwD/YdOjzgtTRKLd # imxaWOJaLhpvBrmFLxn3Q58K3n9u1wY= # =bnMy # -END PGP SIGNATURE- # gpg: Signature made Sun 03 Mar 2024 05:46:29 GMT # gpg:using EDDSA key BCE9123E1AD29F07C049BBDEF712B510A23A0F5F # gpg: Good signature from "Helge Deller " [unknown] # gpg: aka "Helge Deller " [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 4544 8228 2CD9 10DB EF3D 25F8 3E5F 3D04 A7A2 4603 # Subkey fingerprint: BCE9 123E 1AD2 9F07 C049 BBDE F712 B510 A23A 0F5F * tag 'hppa-latest-pull-request' of https://github.com/hdeller/qemu-hppa: roms/hppa: Add build rules for hppa-firmware pc-bios/README: Add information about hppa-firmware pc-bios/meson: Add hppa-firmware64.img blob target/hppa: Restore unwind_breg before calculating ior target: hppa: Fix unaligned double word accesses for hppa64 Signed-off-by: Peter Maydell Compare: https://github.com/qemu/qemu/compare/e1007b6bab5c...52e7db443bd8 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications