qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 903f84: target/ppc: Add HASHKEYR and HASHPKEY


From: Paolo Bonzini
Subject: [Qemu-commits] [qemu/qemu] 903f84: target/ppc: Add HASHKEYR and HASHPKEYR SPRs
Date: Wed, 21 Sep 2022 10:18:09 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 903f84eb88c8d43fa2e46d4c30969de30dbb5297
      
https://github.com/qemu/qemu/commit/903f84eb88c8d43fa2e46d4c30969de30dbb5297
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/cpu.h
    M target/ppc/cpu_init.c

  Log Message:
  -----------
  target/ppc: Add HASHKEYR and HASHPKEYR SPRs

Add the Special Purpose Registers HASHKEYR and HASHPKEYR, which were
introduced by the Power ISA 3.1B. They are used by the new instructions
hashchk(p) and hashst(p).

The ISA states that the Operating System should generate the value for
these registers when creating a process, so it's its responsability to
do so. We initialize it with 0 for qemu-softmmu, and set a random 64
bits value for linux-user.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Lucas Mateus Castro <lucas.araujo@eldorado.org.br>
Message-Id: <20220715205439.161110-2-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 670f1da374d9e9a7d509ef6f03d871144284f8d6
      
https://github.com/qemu/qemu/commit/670f1da374d9e9a7d509ef6f03d871144284f8d6
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/excp_helper.c
    M target/ppc/helper.h
    M target/ppc/insn32.decode
    M target/ppc/translate.c
    M target/ppc/translate/fixedpoint-impl.c.inc

  Log Message:
  -----------
  target/ppc: Implement hashst and hashchk

Implementation for instructions hashst and hashchk, which were added
in Power ISA 3.1B.

It was decided to implement the hash algorithm from ground up in this
patch exactly as described in Power ISA.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Lucas Mateus Castro <lucas.araujo@eldorado.org.br>
Message-Id: <20220715205439.161110-3-victor.colombo@eldorado.org.br>
[danielhb: fix block comment in excp_helper.c]
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 53ae2aeb940729d7f6f42ce734dc65d5332260c2
      
https://github.com/qemu/qemu/commit/53ae2aeb940729d7f6f42ce734dc65d5332260c2
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/excp_helper.c
    M target/ppc/helper.h
    M target/ppc/insn32.decode
    M target/ppc/translate/fixedpoint-impl.c.inc

  Log Message:
  -----------
  target/ppc: Implement hashstp and hashchkp

Implementation for instructions hashstp and hashchkp, the privileged
versions of hashst and hashchk, which were added in Power ISA 3.1B.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Lucas Mateus Castro <lucas.araujo@eldorado.org.br>
Message-Id: <20220715205439.161110-4-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 6a8654d6c215f410cfd5c7dd853e6cf311156b5f
      
https://github.com/qemu/qemu/commit/6a8654d6c215f410cfd5c7dd853e6cf311156b5f
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/insn32.decode
    M target/ppc/translate/fp-impl.c.inc
    M target/ppc/translate/fp-ops.c.inc

  Log Message:
  -----------
  target/ppc: Move fsqrt to decodetree

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220905123746.54659-2-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 4896c15bc36591436f02c3bfc4c828099be2b1f8
      
https://github.com/qemu/qemu/commit/4896c15bc36591436f02c3bfc4c828099be2b1f8
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/insn32.decode
    M target/ppc/translate/fp-impl.c.inc
    M target/ppc/translate/fp-ops.c.inc

  Log Message:
  -----------
  target/ppc: Move fsqrts to decodetree

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220905123746.54659-3-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 74177ec661cc3d8553cc645632a9b6fdfe1b85e5
      
https://github.com/qemu/qemu/commit/74177ec661cc3d8553cc645632a9b6fdfe1b85e5
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/fpu_helper.c
    M target/ppc/helper.h
    M target/ppc/translate/fp-impl.c.inc

  Log Message:
  -----------
  target/ppc: Merge fsqrt and fsqrts helpers

These two helpers are almost identical, differing only by the softfloat
operation it calls. Merge them into one using a macro.
Also, take this opportunity to capitalize the helper name as we moved
the instruction to decodetree in a previous patch.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220905123746.54659-4-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 676696f428202b8f2dcd34ec8ff84baa38a14e61
      
https://github.com/qemu/qemu/commit/676696f428202b8f2dcd34ec8ff84baa38a14e61
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/cpu.h

  Log Message:
  -----------
  target/ppc: Remove extra space from s128 field in ppc_vsr_t

Very trivial rogue space removal. There are two spaces between Int128
and s128 in ppc_vsr_t struct, where it should be only one.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-2-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 228ab1451d2b4a731d00d4ff42c6e367afbbabdd
      
https://github.com/qemu/qemu/commit/228ab1451d2b4a731d00d4ff42c6e367afbbabdd
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/cpu.h

  Log Message:
  -----------
  target/ppc: Remove unused xer_* macros

The macros xer_ov, xer_ca, xer_ov32, and xer_ca32 are both unused and
hiding the usage of env. Remove them.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-3-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 34f760bac2c9a32afae150fbcc56ceba399d61de
      
https://github.com/qemu/qemu/commit/34f760bac2c9a32afae150fbcc56ceba399d61de
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/dfp_helper.c

  Log Message:
  -----------
  target/ppc: Zero second doubleword in DFP instructions

Starting at PowerISA v3.1, the second doubleword of the registers
used to store results in DFP instructions are supposed to be zeroed.

>From the ISA, chapter 7.2.1.1 Floating-Point Registers:
"""
Chapter 4. Floating-Point Facility provides 32 64-bit
FPRs. Chapter 5. Decimal Floating-Point also employs
FPRs in decimal floating-point (DFP) operations. When
VSX is implemented, the 32 FPRs are mapped to
doubleword 0 of VSRs 0-31. (...)
All instructions that operate on an FPR are redefined
to operate on doubleword element 0 of the
corresponding VSR. (...)
and the contents of doubleword element 1 of the
VSR corresponding to the target FPR or FPR pair for these
instructions are set to 0.
"""

Before, the result stored at doubleword 1 was said to be undefined.

With that, this patch changes the DFP facility to zero doubleword 1
when using set_dfp64 and set_dfp128. This fixes the behavior for ISA
3.1 while keeping the behavior correct for previous ones.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-4-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 3ecec4c0429f65de1822b881ea732689cf647254
      
https://github.com/qemu/qemu/commit/3ecec4c0429f65de1822b881ea732689cf647254
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/dfp_helper.c

  Log Message:
  -----------
  target/ppc: Set result to QNaN for DENBCD when VXCVI occurs

According to the ISA, for instruction DENBCD:
"If an invalid BCD digit or sign code is detected in the source
operand, an invalid-operation exception (VXCVI) occurs."

In the Invalid Operation Exception section, there is the situation:
"When Invalid Operation Exception is disabled (VE=0) and Invalid
Operation occurs (...) If the operation is an (...) or format the
target FPR is set to a Quiet NaN". This was not being done in
QEMU.

This patch sets the result to QNaN when the instruction DENBCD causes
an Invalid Operation Exception.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-5-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 9f097daa5483cdb7d745740606232c931d32b796
      
https://github.com/qemu/qemu/commit/9f097daa5483cdb7d745740606232c931d32b796
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/fpu_helper.c

  Log Message:
  -----------
  target/ppc: Zero second doubleword for VSX madd instructions

In 205eb5a89e we updated most VSX instructions to zero the
second doubleword, as is requested by PowerISA since v3.1.
However, VSX_MADD helper was left behind unchanged, while it
is also affected and should be fixed as well.

This patch applies the fix for MADD instructions.

Fixes: 205eb5a89e ("target/ppc: Change VSX instructions behavior to fill with 
zeros")
Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-6-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: af721a31696a1e08d8dcdabcd14c4cb09f9a5e16
      
https://github.com/qemu/qemu/commit/af721a31696a1e08d8dcdabcd14c4cb09f9a5e16
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/int_helper.c

  Log Message:
  -----------
  target/ppc: Set OV32 when OV is set

According to PowerISA: "OV32 is set whenever OV is implicitly set, and
is set to the same value that OV is defined to be set to in 32-bit
mode".

This patch changes helper_update_ov_legacy to set/clear ov32 when
applicable.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-7-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 4b65b6e76977895fe43eb340c54b552fd16fe1ce
      
https://github.com/qemu/qemu/commit/4b65b6e76977895fe43eb340c54b552fd16fe1ce
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/translate.c

  Log Message:
  -----------
  target/ppc: Zero second doubleword of VSR registers for FPR insns

FPR register are mapped to the first doubleword of the VSR registers.
Since PowerISA v3.1, the second doubleword of the target register
must be zeroed for FP instructions.

This patch does it by writting 0 to the second dw everytime the
first dw is being written using set_fpr.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-8-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: c3f24257e3c094122a82611db3d7c3e8b25d9153
      
https://github.com/qemu/qemu/commit/c3f24257e3c094122a82611db3d7c3e8b25d9153
  Author: Víctor Colombo <victor.colombo@eldorado.org.br>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M target/ppc/fpu_helper.c

  Log Message:
  -----------
  target/ppc: Clear fpstatus flags on helpers missing it

In ppc emulation, exception flags are not cleared at the end of an
instruction. Instead, the next instruction is responsible to clear
it before its emulation. However, some helpers are not doing it,
causing an issue where the previously set exception flags are being
used and leading to incorrect values being set in FPSCR.
Fix this by clearing fp_status before doing the instruction 'real' work
for the following helpers that were missing this behavior:

- VSX_CVT_INT_TO_FP_VECTOR
- VSX_CVT_FP_TO_FP
- VSX_CVT_FP_TO_INT_VECTOR
- VSX_CVT_FP_TO_INT2
- VSX_CVT_FP_TO_INT
- VSX_CVT_FP_TO_FP_HP
- VSX_CVT_FP_TO_FP_VECTOR
- VSX_CMP
- VSX_ROUND
- xscvqpdp
- xscvdpsp[n]

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-9-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 9864b7f8ac5f06d7ce610997e01c187c3d01967c
      
https://github.com/qemu/qemu/commit/9864b7f8ac5f06d7ce610997e01c187c3d01967c
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/crossbuild-template.yml

  Log Message:
  -----------
  gitlab: reduce targets in cross_user_build_job

We already limit the scope of the cross system build to reduce the
cross build times. With the recent addition of more targets we are
also running into timeout issues for some of the cross user builds.

I've selected a few of those linux-user targets which are less likely
to be in common use as distros don't have pre-built rootfs for them.
I've also added the same CROSS_SKIP_TARGETS variable as is
occasionally used to further limit cross system builds.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-2-alex.bennee@linaro.org>


  Commit: 7fcc3f759536b9a6e07d979e73b81ccdc4751c01
      
https://github.com/qemu/qemu/commit/7fcc3f759536b9a6e07d979e73b81ccdc4751c01
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/avocado/boot_linux_console.py

  Log Message:
  -----------
  tests/avocado/boot_linux_console: Fix the test_aarch64_xlnx_versal_virt test

The assets that this test tries to download have been removed from the
server. Update to a newer version to get it working again.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220829080940.110831-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220914155950.804707-3-alex.bennee@linaro.org>


  Commit: c7f059ac112d5efe939a9d131442a8b019677a50
      
https://github.com/qemu/qemu/commit/c7f059ac112d5efe939a9d131442a8b019677a50
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/avocado/boot_linux.py

  Log Message:
  -----------
  tests/avocado: add explicit timeout for Aarch64 TCG tests

We don't want to rely on the soon to be reduced default time. These
tests are still slow for something we want to run in CI though.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-4-alex.bennee@linaro.org>


  Commit: 06a4c9cf2447578bea2e464daaf17c80c40f212b
      
https://github.com/qemu/qemu/commit/06a4c9cf2447578bea2e464daaf17c80c40f212b
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/avocado/boot_linux.py

  Log Message:
  -----------
  tests/avocado: add explicit timeout for s390 TCG tests

We don't want to rely on the soon to be reduced default time. These
tests are still slow for something we want to run in CI though.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-5-alex.bennee@linaro.org>


  Commit: b247dba067bf2808de6395ff09ff0cb220ed7c95
      
https://github.com/qemu/qemu/commit/b247dba067bf2808de6395ff09ff0cb220ed7c95
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/avocado/boot_linux.py

  Log Message:
  -----------
  tests/avocado: add explicit timeout for ppc64le TCG tests

We don't want to rely on the soon to be reduced default time. These
tests are still slow for something we want to run in CI though.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-6-alex.bennee@linaro.org>


  Commit: 92f8e8e2fe3adcbbfaa6ee93591e7e7a3a896b08
      
https://github.com/qemu/qemu/commit/92f8e8e2fe3adcbbfaa6ee93591e7e7a3a896b08
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/avocado/machine_aspeed.py

  Log Message:
  -----------
  tests/avocado: split the AST2x00Machine classes

The SDK tests take a lot longer to run and hence need a longer
timeout. As they run well over the 60 second maximum for CI lets also
disable them for CI as well.

I suspect they also suffer from the inability to detect the login
prompt due to no newlines being processed.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-7-alex.bennee@linaro.org>


  Commit: 8f58f0c7d9389083695237d8f477771df9c51e48
      
https://github.com/qemu/qemu/commit/8f58f0c7d9389083695237d8f477771df9c51e48
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/avocado/avocado_qemu/__init__.py

  Log Message:
  -----------
  tests/avocado: reduce the default timeout to 120s

We should be aiming to keep our tests under 2 minutes so lets reduce
the default timeout to that. Tests that we know take longer should
explicitly set a longer timeout.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-8-alex.bennee@linaro.org>


  Commit: d9df358f53494d121f569abe2e5a0888731315c4
      
https://github.com/qemu/qemu/commit/d9df358f53494d121f569abe2e5a0888731315c4
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-alpha-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-alpha-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-9-alex.bennee@linaro.org>


  Commit: 8b034187607f5b9c153b4b42ed45ee0b9b4c9881
      
https://github.com/qemu/qemu/commit/8b034187607f5b9c153b4b42ed45ee0b9b4c9881
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-hppa-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-hppa-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-10-alex.bennee@linaro.org>


  Commit: 77855002369b80d7d31cb85952c2149f7f3f2624
      
https://github.com/qemu/qemu/commit/77855002369b80d7d31cb85952c2149f7f3f2624
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-m68k-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-m68k-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-11-alex.bennee@linaro.org>


  Commit: 2d2a154be711162478fccf4c5450080be41f4543
      
https://github.com/qemu/qemu/commit/2d2a154be711162478fccf4c5450080be41f4543
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-mips64-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-mips64-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-12-alex.bennee@linaro.org>


  Commit: 376c4109af99463aab8f33fb68a298d72da2b59b
      
https://github.com/qemu/qemu/commit/376c4109af99463aab8f33fb68a298d72da2b59b
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-sh4-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-sh4-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-13-alex.bennee@linaro.org>


  Commit: 6ede0767bac84d0b722c3fcc37ec102d5418f09b
      
https://github.com/qemu/qemu/commit/6ede0767bac84d0b722c3fcc37ec102d5418f09b
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-sparc64-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-sparc64-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-14-alex.bennee@linaro.org>


  Commit: 0fd8f7a2dfcb3abcccd7b20ae18c1924f5fae708
      
https://github.com/qemu/qemu/commit/0fd8f7a2dfcb3abcccd7b20ae18c1924f5fae708
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-powerpc-test-cross.docker

  Log Message:
  -----------
  tests/docker: flatten debian-powerpc-test-cross

Flatten into a single dockerfile. We really don't need the rest of the
stuff from the QEMU base image just to compile test images.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-15-alex.bennee@linaro.org>


  Commit: 95b0af40ded2aa0b350a9d8cb4256146e3397e48
      
https://github.com/qemu/qemu/commit/95b0af40ded2aa0b350a9d8cb4256146e3397e48
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include

  Log Message:
  -----------
  tests/docker: remove tricore qemu/debian10 dependency

We missed removing this dependency when we flattened the build.

Fixes: 39ce923732 (gitlab: enable a very minimal build with the tricore 
container)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-16-alex.bennee@linaro.org>


  Commit: 0068cf8bd23738c20e131cb5f89ed3947ca77bd7
      
https://github.com/qemu/qemu/commit/0068cf8bd23738c20e131cb5f89ed3947ca77bd7
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/docker/Makefile.include

  Log Message:
  -----------
  tests/docker: remove amd64 qemu/debian10 dependency

We missed removing this dependency when we flattened the build.

Fixes 9e19fd7d4a (tests/docker: update debian-amd64 with lcitool)

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-17-alex.bennee@linaro.org>


  Commit: 3c696fdc596cdf04f8a1b3fa2cecabbb82507bb4
      
https://github.com/qemu/qemu/commit/3c696fdc596cdf04f8a1b3fa2cecabbb82507bb4
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/vm/Makefile.include
    R tests/vm/fedora

  Log Message:
  -----------
  tests/vm: Remove obsolete Fedora VM test

It's still based on Fedora 30 - which is not supported anymore by QEMU
since years. Seems like nobody is using (and refreshing) this, and it's
easier to test this via a container anyway, so let's remove this now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220822175317.190551-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220914155950.804707-18-alex.bennee@linaro.org>


  Commit: cb5b5ab9a516ce5ecddfc50971bf6f690300fd74
      
https://github.com/qemu/qemu/commit/cb5b5ab9a516ce5ecddfc50971bf6f690300fd74
  Author: Xuzhou Cheng <xuzhou.cheng@windriver.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M hw/ppc/spapr.c

  Log Message:
  -----------
  hw/ppc: spapr: Use qemu_vfree() to free spapr->htab

spapr->htab is allocated by qemu_memalign(), hence we should use
qemu_vfree() to free it.

Fixes: c5f54f3e31bf ("pseries: Move hash page table allocation to reset time")
Fixes: b4db54132ffe ("target/ppc: Implement H_REGISTER_PROCESS_TABLE H_CALL"")
Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220920103159.1865256-28-bmeng.cn@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 90865af7d901a2aa5eeadfb488f3a9d4aaf70605
      
https://github.com/qemu/qemu/commit/90865af7d901a2aa5eeadfb488f3a9d4aaf70605
  Author: Xuzhou Cheng <xuzhou.cheng@windriver.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M hw/pci-host/pnv_phb3.c
    M hw/pci-host/pnv_phb4.c

  Log Message:
  -----------
  hw/pci-host: pnv_phb{3, 4}: Fix heap out-of-bound access failure

pnv_phb3_root_bus_info and pnv_phb4_root_bus_info are missing the
instance_size initialization. This results in accessing out-of-bound
memory when setting 'chip-id' and 'phb-id', and eventually crashes
glib's malloc functionality with the following message:

  "qemu-system-ppc64: GLib: ../glib-2.72.3/glib/gmem.c:131: failed to allocate 
3232 bytes"

This issue was noticed only when running qtests with QEMU Windows
32-bit executable. Windows 64-bit, Linux 32/64-bit do not expose
this bug though.

Fixes: 9ae1329ee2fe ("ppc/pnv: Add models for POWER8 PHB3 PCIe Host bridge")
Fixes: 4f9924c4d4cf ("ppc/pnv: Add models for POWER9 PHB4 PCIe Host bridge")
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20220920103159.1865256-29-bmeng.cn@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: 6b5cf264ee76d24b357a60b69b0635a533c1f647
      
https://github.com/qemu/qemu/commit/6b5cf264ee76d24b357a60b69b0635a533c1f647
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M include/hw/ppc/spapr.h

  Log Message:
  -----------
  hw/ppc/spapr: Fix code style problems reported by checkpatch

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20220919231720.163121-5-shentey@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>


  Commit: abafb64b6dcbdb0ca0943cd04373bd84353ce7ec
      
https://github.com/qemu/qemu/commit/abafb64b6dcbdb0ca0943cd04373bd84353ce7ec
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: explicitly set cflags for --disable-pie

This is working around current limitation of Meson's handling of
--disable-pie.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-19-alex.bennee@linaro.org>


  Commit: 45e1b746943eefe4c0fb35e29878cd038ac62fd7
      
https://github.com/qemu/qemu/commit/45e1b746943eefe4c0fb35e29878cd038ac62fd7
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml

  Log Message:
  -----------
  gitlab-ci/custom-runners: Disable -static-pie for ubuntu-20.04-aarch64

The project has reached the magic size at which we see

/usr/aarch64-linux-gnu/lib/libc.a(init-first.o): in function 
`__libc_init_first':
(.text+0x10): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against \
symbol `__environ' defined in .bss section in 
/usr/aarch64-linux-gnu/lib/libc.a(environ.o)
/usr/bin/ld: (.text+0x10): warning: too many GOT entries for -fpic, please 
recompile with -fPIC

The bug has been reported upstream, but in the meantime there is
nothing we can do except build a non-pie executable.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220823210329.1969895-1-richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-20-alex.bennee@linaro.org>


  Commit: 66dca267489e7b150546297e7c33a04430a15eb4
      
https://github.com/qemu/qemu/commit/66dca267489e7b150546297e7c33a04430a15eb4
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/custom-runners.yml
    R .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml
    R .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml
    A .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
    A .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
    M MAINTAINERS

  Log Message:
  -----------
  gitlab-ci: update aarch32/aarch64 custom runner jobs

The custom runner is now using 22.04 so we can drop our hacks to deal
with broken libssh and glusterfs. The provisioning scripts will be
updated in a separate commit.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-21-alex.bennee@linaro.org>


  Commit: 54ab3c3feef6e5a6c6cf97c4532ebed642ec2705
      
https://github.com/qemu/qemu/commit/54ab3c3feef6e5a6c6cf97c4532ebed642ec2705
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M .gitlab-ci.d/crossbuilds.yml
    M docs/about/build-platforms.rst
    M docs/about/deprecated.rst
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-mips-cross.docker

  Log Message:
  -----------
  Deprecate 32 bit big-endian MIPS

It's becoming harder to maintain a cross-compiler to test this host
architecture as the old stable Debian 10 ("Buster") moved into LTS
which supports fewer architectures. For now:

  - mark it's deprecation in the docs
  - downgrade the containers to build TCG tests only
  - drop the cross builds from our CI

Users with an appropriate toolchain and user-space can still take
their chances building it.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-22-alex.bennee@linaro.org>


  Commit: fab08026a2627625a1c4e856285ab8f350b1b3ed
      
https://github.com/qemu/qemu/commit/fab08026a2627625a1c4e856285ab8f350b1b3ed
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-riscv64-test-cross.docker

  Log Message:
  -----------
  tests/docker: flatten debian-riscv64-test-cross

Flatten into a single dockerfile and update to match the rest of the
test cross compile dockerfiles.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-23-alex.bennee@linaro.org>


  Commit: b6fafe5b3e5eb555cf13f51cd5d08400c86dac96
      
https://github.com/qemu/qemu/commit/b6fafe5b3e5eb555cf13f51cd5d08400c86dac96
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-all-test-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-all-test-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We also need to ensure we install clang as it is
used for those builds as well.

It would be nice to port this to lcitool but for now this will do.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-24-alex.bennee@linaro.org>


  Commit: 8bb499955e26466b2b64f0736d77037a56fcddcb
      
https://github.com/qemu/qemu/commit/8bb499955e26466b2b64f0736d77037a56fcddcb
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/cirrus/freebsd-12.vars
    M .gitlab-ci.d/cirrus/freebsd-13.vars
    M tests/docker/dockerfiles/opensuse-leap.docker
    M tests/docker/dockerfiles/ubuntu2004.docker
    M tests/lcitool/libvirt-ci

  Log Message:
  -----------
  tests/lcitool: bump to latest version

We need this to be able to cleanly build the x86 cross images. There
are a few minor updates triggered by lcitool-refresh including adding
"libslirp" to the freebsd vars and opensuse-leap which will help when
we finally drop the slirp submodule from QEMU.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-25-alex.bennee@linaro.org>


  Commit: cd150e19e83833d164d69fd159ee95ff3a203e17
      
https://github.com/qemu/qemu/commit/cd150e19e83833d164d69fd159ee95ff3a203e17
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-amd64-cross.docker
    M tests/lcitool/refresh

  Log Message:
  -----------
  tests/docker: update and flatten debian-amd64-cross

Now lcitool has support for building a x86_64 cross image we can use
it for this.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-26-alex.bennee@linaro.org>


  Commit: 35782a1b9a2ee71fb037bf1ec6379d5720abf817
      
https://github.com/qemu/qemu/commit/35782a1b9a2ee71fb037bf1ec6379d5720abf817
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-loongarch-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-loongarch-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from the
QEMU base image just to compile test images. In this case it is a
binary distribution of the toolchain anyway.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220914155950.804707-27-alex.bennee@linaro.org>


  Commit: 581cd47fe5a708ebd999bd426a111984074c9ea6
      
https://github.com/qemu/qemu/commit/581cd47fe5a708ebd999bd426a111984074c9ea6
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/docker/dockerfiles/debian-hexagon-cross.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-hexagon-cross

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile as we do not some of the extraneous packages from
the base image to build the toolchain.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-28-alex.bennee@linaro.org>


  Commit: 4239162add71101feddeaba216d576c581128975
      
https://github.com/qemu/qemu/commit/4239162add71101feddeaba216d576c581128975
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/debian-toolchain.docker

  Log Message:
  -----------
  tests/docker: update and flatten debian-toolchain

Update to the latest stable Debian. While we are at it flatten into a
single dockerfile as we do not need anything from the base image to
build the toolchain. This is used to build both the nios and
microblaze toolchains.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-29-alex.bennee@linaro.org>


  Commit: 07056db1b504acf12a0a39647846030956445fea
      
https://github.com/qemu/qemu/commit/07056db1b504acf12a0a39647846030956445fea
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M tests/docker/docker.py

  Log Message:
  -----------
  tests/docker: remove FROM qemu/ support from docker.py

We want to migrate from docker.py to building our images directly with
docker/podman. Before we get there we need to make sure we don't
re-introduce our layered builds so bug out if we see FROM qemu/ in a
Dockerfile.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-30-alex.bennee@linaro.org>


  Commit: d996f0aeb2fe8f5c5f30ac8a2f633e3196457d6f
      
https://github.com/qemu/qemu/commit/d996f0aeb2fe8f5c5f30ac8a2f633e3196457d6f
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/container-core.yml
    M .gitlab-ci.d/containers.yml
    M docs/devel/testing.rst
    M tests/docker/Makefile.include
    R tests/docker/dockerfiles/debian10.docker
    R tests/docker/dockerfiles/debian11.docker

  Log Message:
  -----------
  tests/docker: remove the Debian base images

We no longer use these in any of our images. Clean-up the remaining
comments and documentation that reference them and remove from the
build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220914155950.804707-31-alex.bennee@linaro.org>


  Commit: 5934dae7a747f0aed24e8d20936ca5e117d95ad9
      
https://github.com/qemu/qemu/commit/5934dae7a747f0aed24e8d20936ca5e117d95ad9
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M target/m68k/translate.c

  Log Message:
  -----------
  target/m68k: Implement atomic test-and-set

This is slightly more complicated than cas,
because tas is allowed on data registers.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220829051746.227094-1-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 24ec52f91dfb6d26d7035093adca60d18f02074e
      
https://github.com/qemu/qemu/commit/24ec52f91dfb6d26d7035093adca60d18f02074e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M target/m68k/translate.c

  Log Message:
  -----------
  target/m68k: Fix MACSR to CCR

First, we were writing to the entire SR register, instead
of only the flags portion.  Second, we were not clearing C
as per the documentation (X was cleared via the 0xf mask).

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220913142818.7802-2-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 214c6002d0263bce2225e23983e58d36740a6e1d
      
https://github.com/qemu/qemu/commit/214c6002d0263bce2225e23983e58d36740a6e1d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M target/m68k/translate.c

  Log Message:
  -----------
  target/m68k: Perform writback before modifying SR

Writes to SR may change security state, which may involve
a swap of %ssp with %usp as reflected in %a7.  Finish the
writeback of %sp@+ before swapping stack pointers.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1206
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20220913142818.7802-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: aece90d85df4c33e413af6ba75964acb304945f5
      
https://github.com/qemu/qemu/commit/aece90d85df4c33e413af6ba75964acb304945f5
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M target/m68k/cpu.c
    M target/m68k/cpu.h
    M target/m68k/helper.c
    M target/m68k/op_helper.c
    M target/m68k/translate.c

  Log Message:
  -----------
  target/m68k: rename M68K_FEATURE_M68000 to M68K_FEATURE_M68K

The M68K_FEATURE_M68000 feature is misleading in that its name suggests the 
feature
is defined just for Motorola 68000 CPUs, whilst in fact it is defined for all
Motorola 680X0 CPUs.

In order to avoid confusion with the other M68K_FEATURE_M680X0 constants which
define the features available for specific Motorola CPU models, rename
M68K_FEATURE_M68000 to M68K_FEATURE_M68K and add comments to clarify its usage.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220917112515.83905-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: c7546abfaa1b1c2729eaddd41c6268a73cdae14f
      
https://github.com/qemu/qemu/commit/c7546abfaa1b1c2729eaddd41c6268a73cdae14f
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M target/m68k/translate.c

  Log Message:
  -----------
  target/m68k: always call gen_exit_tb() after writes to SR

Any write to SR can change the security state so always call gen_exit_tb() when
this occurs. In particular MacOS makes use of andiw/oriw in a few places to
handle the switch between user and supervisor mode.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220917112515.83905-5-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 8f3aeb012f86977e3a48fae062f8afafa32ffce9
      
https://github.com/qemu/qemu/commit/8f3aeb012f86977e3a48fae062f8afafa32ffce9
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M .gitlab-ci.d/cirrus/freebsd-12.vars
    M .gitlab-ci.d/cirrus/freebsd-13.vars
    M .gitlab-ci.d/container-core.yml
    M .gitlab-ci.d/container-cross.yml
    M .gitlab-ci.d/containers.yml
    M .gitlab-ci.d/crossbuild-template.yml
    M .gitlab-ci.d/crossbuilds.yml
    M .gitlab-ci.d/custom-runners.yml
    R .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml
    R .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml
    A .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
    A .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
    M MAINTAINERS
    M configure
    M docs/about/build-platforms.rst
    M docs/about/deprecated.rst
    M docs/devel/testing.rst
    M tests/avocado/avocado_qemu/__init__.py
    M tests/avocado/boot_linux.py
    M tests/avocado/boot_linux_console.py
    M tests/avocado/machine_aspeed.py
    M tests/docker/Makefile.include
    M tests/docker/docker.py
    M tests/docker/dockerfiles/debian-all-test-cross.docker
    M tests/docker/dockerfiles/debian-alpha-cross.docker
    M tests/docker/dockerfiles/debian-amd64-cross.docker
    M tests/docker/dockerfiles/debian-hexagon-cross.docker
    M tests/docker/dockerfiles/debian-hppa-cross.docker
    M tests/docker/dockerfiles/debian-loongarch-cross.docker
    M tests/docker/dockerfiles/debian-m68k-cross.docker
    M tests/docker/dockerfiles/debian-mips-cross.docker
    M tests/docker/dockerfiles/debian-mips64-cross.docker
    M tests/docker/dockerfiles/debian-powerpc-test-cross.docker
    M tests/docker/dockerfiles/debian-riscv64-test-cross.docker
    M tests/docker/dockerfiles/debian-sh4-cross.docker
    M tests/docker/dockerfiles/debian-sparc64-cross.docker
    M tests/docker/dockerfiles/debian-toolchain.docker
    R tests/docker/dockerfiles/debian10.docker
    R tests/docker/dockerfiles/debian11.docker
    M tests/docker/dockerfiles/opensuse-leap.docker
    M tests/docker/dockerfiles/ubuntu2004.docker
    M tests/lcitool/libvirt-ci
    M tests/lcitool/refresh
    M tests/vm/Makefile.include
    R tests/vm/fedora

  Log Message:
  -----------
  Merge tag 'pull-testing-next-200922-2' of https://github.com/stsquad/qemu 
into staging

Testing and CI changes:

  - reduce number of targets for cross_user_build
  - update avocado xlnx_versal test with new binaries
  - add explicit timeouts to a number of avocado TCG tests
  - reduce default timeout to 120s
  - update lcitool to support cross-amd64
  - flatten a number of docker cross containers
  - clean up stale qemu/debian10 dependencies
  - remove obsolete Fedora VM test
  - add configure workaround for meson --disable-pie bug
  - disable --static-pie for aarch64 gitlab runner
  - update aarch32/aarch64 jobs to 22.04
  - deprecate 32 bit big-endian MIPS as a host
  - remove FROM qemu/ support from docker.py
  - remove Debian base images now everything is flat

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmMp8Q8ACgkQ+9DbCVqe
# KkQmlwf/awT+jOmAW7TjlQnUTgHJ2hyOo7EViY/nmRkPOCT3ZG32pWFHBorHPX7s
# BeqZzpzCvhzaIfObnjIssx13C5QId5XjJGuTgMAnSsGhzTrp7VUJc1/bBfHcD9L2
# dJJduG+bfAkh95heBkry5EhFt2ZMui5yv9DjEH44hUUc9nwKtIQGts3H3fnVqzvv
# rzLZ7c2lhdLpAxHjmjSiiD8H59lJ+DpoziaobW4D7teGgecnyGVvJ9m1YH4Rc+kM
# gpLTOGMhADkQlysf5e5cvxXSJbP7YpXYrsr9X+DfEy5PMt2L3y4Yv0wiAz9ClYvm
# obD4wMQS5echYvb77qS1G8A0VMEPqA==
# =3oYu
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 20 Sep 2022 12:57:51 EDT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [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: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* tag 'pull-testing-next-200922-2' of https://github.com/stsquad/qemu: (30 
commits)
  tests/docker: remove the Debian base images
  tests/docker: remove FROM qemu/ support from docker.py
  tests/docker: update and flatten debian-toolchain
  tests/docker: update and flatten debian-hexagon-cross
  tests/docker: update and flatten debian-loongarch-cross
  tests/docker: update and flatten debian-amd64-cross
  tests/lcitool: bump to latest version
  tests/docker: update and flatten debian-all-test-cross
  tests/docker: flatten debian-riscv64-test-cross
  Deprecate 32 bit big-endian MIPS
  gitlab-ci: update aarch32/aarch64 custom runner jobs
  gitlab-ci/custom-runners: Disable -static-pie for ubuntu-20.04-aarch64
  configure: explicitly set cflags for --disable-pie
  tests/vm: Remove obsolete Fedora VM test
  tests/docker: remove amd64 qemu/debian10 dependency
  tests/docker: remove tricore qemu/debian10 dependency
  tests/docker: flatten debian-powerpc-test-cross
  tests/docker: update and flatten debian-sparc64-cross
  tests/docker: update and flatten debian-sh4-cross
  tests/docker: update and flatten debian-mips64-cross
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 6514f1a52249799a32fa26a952d876ebb785b715
      
https://github.com/qemu/qemu/commit/6514f1a52249799a32fa26a952d876ebb785b715
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M hw/pci-host/pnv_phb3.c
    M hw/pci-host/pnv_phb4.c
    M hw/ppc/spapr.c
    M include/hw/ppc/spapr.h
    M target/ppc/cpu.h
    M target/ppc/cpu_init.c
    M target/ppc/dfp_helper.c
    M target/ppc/excp_helper.c
    M target/ppc/fpu_helper.c
    M target/ppc/helper.h
    M target/ppc/insn32.decode
    M target/ppc/int_helper.c
    M target/ppc/translate.c
    M target/ppc/translate/fixedpoint-impl.c.inc
    M target/ppc/translate/fp-impl.c.inc
    M target/ppc/translate/fp-ops.c.inc

  Log Message:
  -----------
  Merge tag 'pull-ppc-20220920' of https://gitlab.com/danielhb/qemu into staging

ppc patch queue for 2022-09-20:

This queue contains a implementation of PowerISA 3.1B hash insns, ppc
TCG insns cleanups and fixes, and miscellaneus fixes in the spapr and
pnv_phb models.

# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQQX6/+ZI9AYAK8oOBk82cqW3gMxZAUCYyoWlAAKCRA82cqW3gMx
# ZDYhAP0eQMeA4NS3hiw7WMcAVg0pei3ZJL9oEh1UE3+MfK7MhQEA0q8qExWnQJAA
# a0hfnFH9pLjI+v0f/FbFK6QJBpu/bg8=
# =qT+H
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 20 Sep 2022 15:37:56 EDT
# gpg:                using EDDSA key 17EBFF9923D01800AF2838193CD9CA96DE033164
# gpg: Good signature from "Daniel Henrique Barboza <danielhb413@gmail.com>" 
[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: 17EB FF99 23D0 1800 AF28  3819 3CD9 CA96 DE03 3164

* tag 'pull-ppc-20220920' of https://gitlab.com/danielhb/qemu:
  hw/ppc/spapr: Fix code style problems reported by checkpatch
  hw/pci-host: pnv_phb{3, 4}: Fix heap out-of-bound access failure
  hw/ppc: spapr: Use qemu_vfree() to free spapr->htab
  target/ppc: Clear fpstatus flags on helpers missing it
  target/ppc: Zero second doubleword of VSR registers for FPR insns
  target/ppc: Set OV32 when OV is set
  target/ppc: Zero second doubleword for VSX madd instructions
  target/ppc: Set result to QNaN for DENBCD when VXCVI occurs
  target/ppc: Zero second doubleword in DFP instructions
  target/ppc: Remove unused xer_* macros
  target/ppc: Remove extra space from s128 field in ppc_vsr_t
  target/ppc: Merge fsqrt and fsqrts helpers
  target/ppc: Move fsqrts to decodetree
  target/ppc: Move fsqrt to decodetree
  target/ppc: Implement hashstp and hashchkp
  target/ppc: Implement hashst and hashchk
  target/ppc: Add HASHKEYR and HASHPKEYR SPRs

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 6338c30111d596d955e6bc933a82184a0b910c43
      
https://github.com/qemu/qemu/commit/6338c30111d596d955e6bc933a82184a0b910c43
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M target/m68k/cpu.c
    M target/m68k/cpu.h
    M target/m68k/helper.c
    M target/m68k/op_helper.c
    M target/m68k/translate.c

  Log Message:
  -----------
  Merge tag 'm68k-for-7.2-pull-request' of https://github.com/vivier/qemu-m68k 
into staging

m68k pull request 20220921

- several fixes for SR
- implement TAS
- feature cleanup

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmMrMx0SHGxhdXJlbnRA
# dml2aWVyLmV1AAoJEPMMOL0/L748UB0P/1w5w+ogpcWVp9uBPE9m6lTT8sTricWD
# oGMIEG0kgpS3xTp7pZ/WeCp38IShFBfBcz5aypvR5nS/1aclyJnzGsCqyWdBe9c4
# jJJY5r7JKP2aKcolGNilNyd20ldOiaxZGe6yFLJDWi2spFbRx3iiRJ4/2NXF5Xi8
# TlHKdlDGlNLFiFNtBXMMwqvL77qJ8LH/aE4cAr8JTOb1VszKXrFxqEqxoUucRirB
# u0LbM+DP3u2xXjTGLMLlMcKf9X2BXwuWBSAXslB8xWmRlX+B6fMudBFglTgbu0Cc
# bpoBBqY4s3QYPb21i89osYevJAJSdrtEzkKus3xAI08ACSffb9k9m/naVJJDSSNC
# HZeKVbAd7I0Xw2xzzO5yQB+7rdfgoL1miE1rs936WKHi0WWHZpdJqzl/3G3ZPhRz
# NmqczF9rRR9B9SabXx5lWlhK+Ys/W7PzY+R4gc6ose0wF4T70qmVF3EoioP1c5Y8
# 6OonMpRu6L5sW5KM3IUmkBo3KcnLezlxtebfaDyaKC9tB0qg4aM14ikL36nsLFbh
# 2nGExYSyMJ6U4tqpxyQxijMMSQG20vyVIup6cUsrSD+rGmbSuWZWJwsTmaAw2W6k
# 6HtDgtFk40ZB1WttYupQBa/LgjshGLl28jyLI9nNEdFYb4H1JAallEERF/tb6AUD
# WEiu8vcUMYEp
# =IAMt
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 21 Sep 2022 11:51:57 EDT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* tag 'm68k-for-7.2-pull-request' of https://github.com/vivier/qemu-m68k:
  target/m68k: always call gen_exit_tb() after writes to SR
  target/m68k: rename M68K_FEATURE_M68000 to M68K_FEATURE_M68K
  target/m68k: Perform writback before modifying SR
  target/m68k: Fix MACSR to CCR
  target/m68k: Implement atomic test-and-set

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


Compare: https://github.com/qemu/qemu/compare/2906f933dd1d...6338c30111d5



reply via email to

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