qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 272d3d: util/cpuinfo-ppc: Fix building on Ope


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 272d3d: util/cpuinfo-ppc: Fix building on OpenBSD
Date: Wed, 03 Jul 2024 11:32:24 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 272d3decc19aebe87955f4ec6d0c6cc8790471f1
      
https://github.com/qemu/qemu/commit/272d3decc19aebe87955f4ec6d0c6cc8790471f1
  Author: Brad Smith <brad@comstyle.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M util/cpuinfo-ppc.c

  Log Message:
  -----------
  util/cpuinfo-ppc: Fix building on OpenBSD

OpenBSD does not support AT_HWCAP.

Signed-off-by: Brad Smith <brad@comstyle.com>
Message-Id: <ZnzM1T6Vo1Q0yAH-@humpty.home.comstyle.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 6527cee257e3c8e7add941a06118009c83ba9e75
      
https://github.com/qemu/qemu/commit/6527cee257e3c8e7add941a06118009c83ba9e75
  Author: Brad Smith <brad@comstyle.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M util/cpuinfo-ppc.c

  Log Message:
  -----------
  util/cpuinfo-ppc: Add FreeBSD support

Signed-off-by: Brad Smith <brad@comstyle.com>
Message-Id: <Zn9cJ3puWr5lIgsg@humpty.home.comstyle.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ab089908b42f22e7edfa0d40db963c136ab35419
      
https://github.com/qemu/qemu/commit/ab089908b42f22e7edfa0d40db963c136ab35419
  Author: Brad Smith <brad@comstyle.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M util/cpuinfo-aarch64.c

  Log Message:
  -----------
  util/cpuinfo-aarch64: Add OpenBSD support

Signed-off-by: Brad Smith <brad@comstyle.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <ZneEh51XKhxgZKpp@humpty.home.comstyle.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: b86c6ba689662256ea32f3e27927524ccb13f81d
      
https://github.com/qemu/qemu/commit/b86c6ba689662256ea32f3e27927524ccb13f81d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    A host/include/riscv/host/cpuinfo.h
    M tcg/riscv/tcg-target.c.inc
    M tcg/riscv/tcg-target.h
    A util/cpuinfo-riscv.c
    M util/meson.build

  Log Message:
  -----------
  util/cpuinfo-riscv: Support host/cpuinfo.h for riscv

Move detection code out of tcg, similar to other hosts.

Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: adc028428a6da5ea8d6a688085966a33be4c97c7
      
https://github.com/qemu/qemu/commit/adc028428a6da5ea8d6a688085966a33be4c97c7
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M util/cpuinfo-riscv.c

  Log Message:
  -----------
  util/cpuinfo-riscv: Support OpenBSD signal frame

Reported-by: Brad Smith <brad@comstyle.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e57173085aab2dae3fb8b777ea9a4a252feb78a6
      
https://github.com/qemu/qemu/commit/e57173085aab2dae3fb8b777ea9a4a252feb78a6
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M meson.build
    M util/cpuinfo-riscv.c

  Log Message:
  -----------
  util/cpuinfo-riscv: Use linux __riscv_hwprobe syscall

With recent linux kernels, there is a syscall to probe for various
ISA extensions.  These bits were phased in over several kernel
releases, so we still require checks for symbol availability.

Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a71d9dfbf63db42d6e6ae87fc112d1f5502183bd
      
https://github.com/qemu/qemu/commit/a71d9dfbf63db42d6e6ae87fc112d1f5502183bd
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M tcg/optimize.c
    M tests/tcg/x86_64/Makefile.target
    A tests/tcg/x86_64/test-2413.c

  Log Message:
  -----------
  tcg/optimize: Fix TCG_COND_TST* simplification of setcond2

Argument ordering for setcond2 is:

  output, a_low, a_high, b_low, b_high, cond

The test is supposed to be against b_low, not a_high.

Cc: qemu-stable@nongnu.org
Fixes: ceb9ee06b71 ("tcg/optimize: Handle TCG_COND_TST{EQ,NE}")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2413
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240701024623.1265028-1-richard.henderson@linaro.org>


  Commit: 7914bda497f07965f15a91905cd7ed9eaf1c1092
      
https://github.com/qemu/qemu/commit/7914bda497f07965f15a91905cd7ed9eaf1c1092
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    A host/include/riscv/host/cpuinfo.h
    M meson.build
    M tcg/optimize.c
    M tcg/riscv/tcg-target.c.inc
    M tcg/riscv/tcg-target.h
    M tests/tcg/x86_64/Makefile.target
    A tests/tcg/x86_64/test-2413.c
    M util/cpuinfo-aarch64.c
    M util/cpuinfo-ppc.c
    A util/cpuinfo-riscv.c
    M util/meson.build

  Log Message:
  -----------
  Merge tag 'pull-tcg-20240703' of https://gitlab.com/rth7680/qemu into staging

util: cpuinfo portability fixes for FreeBSD and OpenBSD
util: cpuinfo for riscv host
tcg/optimize: Fix TCG_COND_TST* simplification of setcond2

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmaFjS0dHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV8WuAf/dVuZ7kA+TxgMZUO7
# vayzWg0pCjYQj1K5zRIJXwr1jD7X59bNSc6WlIe47iEyUZYRcJ/flMVIPmjCEvId
# NgiXQbGtSb/sLXoTnkCSGB+7amO5uSgTbi4WGhFIrquNjd3mZ9IKR8YIQimuC2C3
# Hvau6FWkUwkGi8RKNSkozAIN7losZhmbyX8jSOV9bTYmUnr5ts/zdE0VbCt2WaTg
# 9khRdww7nlLDGuGXNDPz/psUqMHEMHRLlnTv5BLoJ8H4b0NXdhRJHRO3E28Se5Wi
# vcIzSo7xiH1dAVkoMnvTAioUKO/lhnkkObmMFLWxov0esiQgtN6IB6ttOn4Wy9F6
# huRMMA==
# =etSC
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 03 Jul 2024 10:41:01 AM PDT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[ultimate]

* tag 'pull-tcg-20240703' of https://gitlab.com/rth7680/qemu:
  tcg/optimize: Fix TCG_COND_TST* simplification of setcond2
  util/cpuinfo-riscv: Use linux __riscv_hwprobe syscall
  util/cpuinfo-riscv: Support OpenBSD signal frame
  util/cpuinfo-riscv: Support host/cpuinfo.h for riscv
  util/cpuinfo-aarch64: Add OpenBSD support
  util/cpuinfo-ppc: Add FreeBSD support
  util/cpuinfo-ppc: Fix building on OpenBSD

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/727f4a780033...7914bda497f0

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications



reply via email to

[Prev in Thread] Current Thread [Next in Thread]