[Qemu-commits] [qemu/qemu] 61653b: accel/nvmm: Fix NULL dereference in nvmm_init_vcpu()
2142904.62644-1-peter.mayd...@linaro.org> Signed-off-by: Philippe Mathieu-Daudé Commit: 97c872276d147c882296f5da245bd8432f1582f6 https://github.com/qemu/qemu/commit/97c872276d147c882296f5da245bd8432f1582f6 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M MAINTAINERS M bsd-user/qemu.h M include/exec/cpu-all.h M include/exec/cpu-common.h R include/exec/user/abitypes.h R include/exec/user/thunk.h A include/user/abitypes.h M include/user/syscall-trace.h A include/user/thunk.h M linux-user/qemu.h M linux-user/thunk.c M linux-user/user-internals.h M plugins/api.c M plugins/core.c M scripts/coverity-scan/COMPONENTS.md M target/i386/nvmm/nvmm-all.c M target/i386/whpx/whpx-all.c M target/sh4/translate.c M tests/tcg/sh4/Makefile.target A tests/tcg/sh4/test-addv.c A tests/tcg/sh4/test-subv.c M ui/cocoa.m Log Message: --- Merge tag 'accel-sh4-ui-20240503' of https://github.com/philmd/qemu into staging - Fix NULL dereference in NVMM & WHPX init_vcpu() - Move user emulation headers "exec/user" to "user" - Fix SH-4 ADDV / SUBV opcodes - Drop Cocoa compatility on macOS <= 10.12 - Update Anthony PERARD email # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmY1BE4ACgkQ4+MsLN6t # wN73jg//dbdHQU+4oM7BgTduDZn1ulKz5DtNEJawRP6vxIcSQ+Co2Yd+gdLOSXNI # 2BaoiOQ8cyDEHj1Uud3WVB0GsQYvHrqgXcjeHpX6yFFCZNyRvzEXizJPHKCtq+4e # XQFtfTFftlJdaKCLqyDqVnrVNRacFPm7kinrEQbTSmglAhwnyu3GwsokDAYiJTqp # g0n6mX/pWVEMDNY1HrDsk2Q/pyIZFmzhtuRyXRvi/bh8/BnmMCpySG+2463dnu1O # xIGr2w8ldc+mKn2w2k3wYKDnUHz/NhOkE86tL/ZxIgjCzeenZXwXNdzM+cuAmOZX # L9KIu5io6bTevYVwwHhd5/N6MCqVEhoRmsUQfF0CIkIzxXbyF14M89YHXZo3YJAd # n2uoJ7i6hF/4Pt6Uqlg09+vEk7onwrobnTPnbKHEKNWHNOMKXpq1CBxxcVz2qe24 # +CTAAOOhHqaTjODPSexzHZDZYxugCy1XSqps9AFF1HqUcmsPCL/PQ75YGTJJO0oF # 0V1Yvzjhin26AQS9SglIeXnHxYC26Cg2mXnUpVbryWnG888r0XAGpRl+FEuXK7Ln # /dGuCIWTozypSkG9304IlxlYsOoXhL11NZqINW+W/Tor3dMRQhWUQcHqv98Jl4Ad # rnpzZ0Dhd9ityZdbI0CCMZZZLY5dw1Rq5q407GTJr1CDU4PJBh0= # =N8q0 # -END PGP SIGNATURE- # gpg: Signature made Fri 03 May 2024 08:35:42 AM PDT # gpg:using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) " [full] * tag 'accel-sh4-ui-20240503' of https://github.com/philmd/qemu: ui/cocoa.m: Drop old macOS-10.12-and-earlier compat ifdefs target/sh4: Rename TCGv variables as manual for SUBV opcode target/sh4: Rename TCGv variables as manual for ADDV opcode target/sh4: Fix SUBV opcode target/sh4: Fix ADDV opcode MAINTAINERS: Update my email address plugins: Update stale comment plugins/api: Only include 'exec/ram_addr.h' with system emulation coverity: Update user emulation regexp user: Move 'thunk.h' from 'exec/user' to 'user' user: Move 'abitypes.h' from 'exec/user' to 'user' exec: Include missing license in 'exec/cpu-common.h' accel/whpx: Fix NULL dereference in whpx_init_vcpu() accel/nvmm: Fix NULL dereference in nvmm_init_vcpu() Signed-off-by: Richard Henderson Compare: https://github.com/qemu/qemu/compare/909aff7eaf63...97c872276d14 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 61653b: accel/nvmm: Fix NULL dereference in nvmm_init_vcpu()
;20240502142904.62644-1-peter.mayd...@linaro.org> Signed-off-by: Philippe Mathieu-Daudé Commit: 97c872276d147c882296f5da245bd8432f1582f6 https://github.com/qemu/qemu/commit/97c872276d147c882296f5da245bd8432f1582f6 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M MAINTAINERS M bsd-user/qemu.h M include/exec/cpu-all.h M include/exec/cpu-common.h R include/exec/user/abitypes.h R include/exec/user/thunk.h A include/user/abitypes.h M include/user/syscall-trace.h A include/user/thunk.h M linux-user/qemu.h M linux-user/thunk.c M linux-user/user-internals.h M plugins/api.c M plugins/core.c M scripts/coverity-scan/COMPONENTS.md M target/i386/nvmm/nvmm-all.c M target/i386/whpx/whpx-all.c M target/sh4/translate.c M tests/tcg/sh4/Makefile.target A tests/tcg/sh4/test-addv.c A tests/tcg/sh4/test-subv.c M ui/cocoa.m Log Message: --- Merge tag 'accel-sh4-ui-20240503' of https://github.com/philmd/qemu into staging - Fix NULL dereference in NVMM & WHPX init_vcpu() - Move user emulation headers "exec/user" to "user" - Fix SH-4 ADDV / SUBV opcodes - Drop Cocoa compatility on macOS <= 10.12 - Update Anthony PERARD email # -BEGIN PGP SIGNATURE- # # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmY1BE4ACgkQ4+MsLN6t # wN73jg//dbdHQU+4oM7BgTduDZn1ulKz5DtNEJawRP6vxIcSQ+Co2Yd+gdLOSXNI # 2BaoiOQ8cyDEHj1Uud3WVB0GsQYvHrqgXcjeHpX6yFFCZNyRvzEXizJPHKCtq+4e # XQFtfTFftlJdaKCLqyDqVnrVNRacFPm7kinrEQbTSmglAhwnyu3GwsokDAYiJTqp # g0n6mX/pWVEMDNY1HrDsk2Q/pyIZFmzhtuRyXRvi/bh8/BnmMCpySG+2463dnu1O # xIGr2w8ldc+mKn2w2k3wYKDnUHz/NhOkE86tL/ZxIgjCzeenZXwXNdzM+cuAmOZX # L9KIu5io6bTevYVwwHhd5/N6MCqVEhoRmsUQfF0CIkIzxXbyF14M89YHXZo3YJAd # n2uoJ7i6hF/4Pt6Uqlg09+vEk7onwrobnTPnbKHEKNWHNOMKXpq1CBxxcVz2qe24 # +CTAAOOhHqaTjODPSexzHZDZYxugCy1XSqps9AFF1HqUcmsPCL/PQ75YGTJJO0oF # 0V1Yvzjhin26AQS9SglIeXnHxYC26Cg2mXnUpVbryWnG888r0XAGpRl+FEuXK7Ln # /dGuCIWTozypSkG9304IlxlYsOoXhL11NZqINW+W/Tor3dMRQhWUQcHqv98Jl4Ad # rnpzZ0Dhd9ityZdbI0CCMZZZLY5dw1Rq5q407GTJr1CDU4PJBh0= # =N8q0 # -END PGP SIGNATURE- # gpg: Signature made Fri 03 May 2024 08:35:42 AM PDT # gpg:using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) " [full] * tag 'accel-sh4-ui-20240503' of https://github.com/philmd/qemu: ui/cocoa.m: Drop old macOS-10.12-and-earlier compat ifdefs target/sh4: Rename TCGv variables as manual for SUBV opcode target/sh4: Rename TCGv variables as manual for ADDV opcode target/sh4: Fix SUBV opcode target/sh4: Fix ADDV opcode MAINTAINERS: Update my email address plugins: Update stale comment plugins/api: Only include 'exec/ram_addr.h' with system emulation coverity: Update user emulation regexp user: Move 'thunk.h' from 'exec/user' to 'user' user: Move 'abitypes.h' from 'exec/user' to 'user' exec: Include missing license in 'exec/cpu-common.h' accel/whpx: Fix NULL dereference in whpx_init_vcpu() accel/nvmm: Fix NULL dereference in nvmm_init_vcpu() Signed-off-by: Richard Henderson Compare: https://github.com/qemu/qemu/compare/909aff7eaf63...97c872276d14 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 8a917b: util/bufferiszero: Remove SSE4.1 variant
Log Message: --- util/bufferiszero: Improve scalar variant Split less-than and greater-than 256 cases. Use unaligned accesses for head and tail. Avoid using out-of-bounds pointers in loop boundary conditions. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 0100ce2b49725e6ba2fbe8301855978d5d3dc790 https://github.com/qemu/qemu/commit/0100ce2b49725e6ba2fbe8301855978d5d3dc790 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M util/bufferiszero.c Log Message: --- util/bufferiszero: Introduce biz_accel_fn typedef Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: bf67aa3dd2d8b28d7618d8ec62cd9f6055366751 https://github.com/qemu/qemu/commit/bf67aa3dd2d8b28d7618d8ec62cd9f6055366751 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M util/bufferiszero.c Log Message: --- util/bufferiszero: Simplify test_buffer_is_zero_next_accel Because the three alternatives are monotonic, we don't need to keep a couple of bitmasks, just identify the strongest alternative at startup. Generalize test_buffer_is_zero_next_accel and init_accel by always defining an accel_table array. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 22437b4de94c37e6104d90d46b31d80cf14358d4 https://github.com/qemu/qemu/commit/22437b4de94c37e6104d90d46b31d80cf14358d4 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M util/bufferiszero.c Log Message: --- util/bufferiszero: Add simd acceleration for aarch64 Because non-embedded aarch64 is expected to have AdvSIMD enabled, merely double-check with the compiler flags for __ARM_NEON and don't bother with a runtime check. Otherwise, model the loop after the x86 SSE2 function. Use UMAXV for the vector reduction. This is 3 cycles on cortex-a76 and 2 cycles on neoverse-n1. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: a06d9eddb015a9f5895161b0a3958a2e4be21579 https://github.com/qemu/qemu/commit/a06d9eddb015a9f5895161b0a3958a2e4be21579 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: A tests/bench/bufferiszero-bench.c M tests/bench/meson.build Log Message: --- tests/bench: Add bufferiszero-bench Benchmark each acceleration function vs an aligned buffer of zeros. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 909aff7eaf6335aeeb4962fb0ac2a6c571c96af2 https://github.com/qemu/qemu/commit/909aff7eaf6335aeeb4962fb0ac2a6c571c96af2 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M include/qemu/cutils.h A tests/bench/bufferiszero-bench.c M tests/bench/meson.build M util/bufferiszero.c Log Message: --- Merge tag 'pull-misc-20240503' of https://gitlab.com/rth7680/qemu into staging util/bufferiszero: - Remove sse4.1 and avx512 variants - Reorganize for early test for acceleration - Remove useless prefetches - Optimize sse2, avx2 and integer variants - Add simd acceleration for aarch64 - Add bufferiszero-bench # -BEGIN PGP SIGNATURE- # # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmY0/qMdHHJpY2hhcmQu # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV+ULQf/T2JSdvG6/EjDCf4N # cnSGiUV2MIeByw8tkrc/fWCNdlulHhk9gbg9l+f2muwK8H/k2BdynbrQnt1Ymmtk # xzM6+PNOcByaovSAkvNweZVbrQX36Yih9S7f3n+xcxfVuvvYhKSLHXLkeqO96LMd # rN+WRpxhReaU3n8/FO7o3S26SRpk7X9kRfShaT7U7ytHGjGsXUvMKIRs30hbsJTB # yjed0a0u54FoSlN6AEqjWdgzaWP8nT65+8Yxe3dzB9hx09UiolZo60eHqYy7Mkno # N6aMOB6gUUbCiKZ3Qk+1zEX97vl26NH3zt5tIIJTWDoIkC3f9qbg1x5hwWLQ3rra # rM8h8w== # =DnZO # -END PGP SIGNATURE- # gpg: Signature made Fri 03 May 2024 08:11:31 AM PDT # gpg:using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F # gpg:issuer "richard.hender...@linaro.org" # gpg: Good signature from "Richard Henderson " [ultimate] * tag 'pull-misc-20240503' of https://gitlab.com/rth7680/qemu: tests/bench: Add bufferiszero-bench util/bufferiszero: Add simd acceleration for aarch64 util/bufferiszero: Simplify test_buffer_is_zero_next_accel util/bufferiszero: Introduce biz_accel_fn typedef util/bufferiszero: Improve scalar variant util/bufferiszero: Optimize SSE2 and AVX2 variants util/bufferiszero: Remove useless prefetches util/bufferiszero: Reorganize for early test for acceleration util/bufferiszero: Remove AVX512 variant util/bufferiszero: Remove SSE4.1 variant Signed-off-by: Richard Henderson Compare: https://github.com/qemu/qemu/compare/4977ce198d23...909aff7eaf63 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Qemu-commits] [qemu/qemu] 8a917b: util/bufferiszero: Remove SSE4.1 variant
Log Message: --- util/bufferiszero: Improve scalar variant Split less-than and greater-than 256 cases. Use unaligned accesses for head and tail. Avoid using out-of-bounds pointers in loop boundary conditions. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 0100ce2b49725e6ba2fbe8301855978d5d3dc790 https://github.com/qemu/qemu/commit/0100ce2b49725e6ba2fbe8301855978d5d3dc790 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M util/bufferiszero.c Log Message: --- util/bufferiszero: Introduce biz_accel_fn typedef Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: bf67aa3dd2d8b28d7618d8ec62cd9f6055366751 https://github.com/qemu/qemu/commit/bf67aa3dd2d8b28d7618d8ec62cd9f6055366751 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M util/bufferiszero.c Log Message: --- util/bufferiszero: Simplify test_buffer_is_zero_next_accel Because the three alternatives are monotonic, we don't need to keep a couple of bitmasks, just identify the strongest alternative at startup. Generalize test_buffer_is_zero_next_accel and init_accel by always defining an accel_table array. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 22437b4de94c37e6104d90d46b31d80cf14358d4 https://github.com/qemu/qemu/commit/22437b4de94c37e6104d90d46b31d80cf14358d4 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M util/bufferiszero.c Log Message: --- util/bufferiszero: Add simd acceleration for aarch64 Because non-embedded aarch64 is expected to have AdvSIMD enabled, merely double-check with the compiler flags for __ARM_NEON and don't bother with a runtime check. Otherwise, model the loop after the x86 SSE2 function. Use UMAXV for the vector reduction. This is 3 cycles on cortex-a76 and 2 cycles on neoverse-n1. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: a06d9eddb015a9f5895161b0a3958a2e4be21579 https://github.com/qemu/qemu/commit/a06d9eddb015a9f5895161b0a3958a2e4be21579 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: A tests/bench/bufferiszero-bench.c M tests/bench/meson.build Log Message: --- tests/bench: Add bufferiszero-bench Benchmark each acceleration function vs an aligned buffer of zeros. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 909aff7eaf6335aeeb4962fb0ac2a6c571c96af2 https://github.com/qemu/qemu/commit/909aff7eaf6335aeeb4962fb0ac2a6c571c96af2 Author: Richard Henderson Date: 2024-05-03 (Fri, 03 May 2024) Changed paths: M include/qemu/cutils.h A tests/bench/bufferiszero-bench.c M tests/bench/meson.build M util/bufferiszero.c Log Message: --- Merge tag 'pull-misc-20240503' of https://gitlab.com/rth7680/qemu into staging util/bufferiszero: - Remove sse4.1 and avx512 variants - Reorganize for early test for acceleration - Remove useless prefetches - Optimize sse2, avx2 and integer variants - Add simd acceleration for aarch64 - Add bufferiszero-bench # -BEGIN PGP SIGNATURE- # # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmY0/qMdHHJpY2hhcmQu # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV+ULQf/T2JSdvG6/EjDCf4N # cnSGiUV2MIeByw8tkrc/fWCNdlulHhk9gbg9l+f2muwK8H/k2BdynbrQnt1Ymmtk # xzM6+PNOcByaovSAkvNweZVbrQX36Yih9S7f3n+xcxfVuvvYhKSLHXLkeqO96LMd # rN+WRpxhReaU3n8/FO7o3S26SRpk7X9kRfShaT7U7ytHGjGsXUvMKIRs30hbsJTB # yjed0a0u54FoSlN6AEqjWdgzaWP8nT65+8Yxe3dzB9hx09UiolZo60eHqYy7Mkno # N6aMOB6gUUbCiKZ3Qk+1zEX97vl26NH3zt5tIIJTWDoIkC3f9qbg1x5hwWLQ3rra # rM8h8w== # =DnZO # -END PGP SIGNATURE- # gpg: Signature made Fri 03 May 2024 08:11:31 AM PDT # gpg:using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F # gpg:issuer "richard.hender...@linaro.org" # gpg: Good signature from "Richard Henderson " [ultimate] * tag 'pull-misc-20240503' of https://gitlab.com/rth7680/qemu: tests/bench: Add bufferiszero-bench util/bufferiszero: Add simd acceleration for aarch64 util/bufferiszero: Simplify test_buffer_is_zero_next_accel util/bufferiszero: Introduce biz_accel_fn typedef util/bufferiszero: Improve scalar variant util/bufferiszero: Optimize SSE2 and AVX2 variants util/bufferiszero: Remove useless prefetches util/bufferiszero: Reorganize for early test for acceleration util/bufferiszero: Remove AVX512 variant util/bufferiszero: Remove SSE4.1 variant Signed-off-by: Richard Henderson Compare: https://github.com/qemu/qemu/compare/4977ce198d23...909aff7eaf63 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications