qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 212154: include/hw/arm/allwinner-a10.h: Remov


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 212154: include/hw/arm/allwinner-a10.h: Remove superfluous...
Date: Mon, 27 Feb 2023 06:51:27 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 212154821e6dc400315a67ad8204f5e5c4b3023c
      
https://github.com/qemu/qemu/commit/212154821e6dc400315a67ad8204f5e5c4b3023c
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/arm/allwinner-a10.c
    M include/hw/arm/allwinner-a10.h

  Log Message:
  -----------
  include/hw/arm/allwinner-a10.h: Remove superfluous includes from the header

pci_device.h is not needed at all in allwinner-a10.h, and serial.h
is only needed by the corresponding .c file.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20230215152233.210024-1-thuth@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: fa05d1abb998a3272f97a70db2f8a01852ebc06c
      
https://github.com/qemu/qemu/commit/fa05d1abb998a3272f97a70db2f8a01852ebc06c
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/arm/cpu.c
    M target/arm/debug_helper.c
    M target/arm/machine.c

  Log Message:
  -----------
  target/arm: Wrap breakpoint/watchpoint updates with tcg_enabled

This is in preparation for restricting compilation of some parts of
debug_helper.c to TCG only.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 2059ec754f9040a6a9f62a9abfeb76a9d8655e11
      
https://github.com/qemu/qemu/commit/2059ec754f9040a6a9f62a9abfeb76a9d8655e11
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/arm/debug_helper.c

  Log Message:
  -----------
  target/arm: Wrap TCG-only code in debug_helper.c

The next few patches will move helpers under CONFIG_TCG. We'd prefer
to keep the debug helpers and debug registers close together, so
rearrange the file a bit to be able to wrap the helpers with a TCG
ifdef.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: f0984d4040c328d1c021ae6680479cbbe13c485b
      
https://github.com/qemu/qemu/commit/f0984d4040c328d1c021ae6680479cbbe13c485b
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M MAINTAINERS
    R target/arm/a32-uncond.decode
    R target/arm/a32.decode
    R target/arm/m-nocp.decode
    M target/arm/meson.build
    R target/arm/mve.decode
    R target/arm/neon-dp.decode
    R target/arm/neon-ls.decode
    R target/arm/neon-shared.decode
    R target/arm/sme-fa64.decode
    R target/arm/sme.decode
    R target/arm/sve.decode
    R target/arm/t16.decode
    R target/arm/t32.decode
    A target/arm/tcg/a32-uncond.decode
    A target/arm/tcg/a32.decode
    A target/arm/tcg/m-nocp.decode
    A target/arm/tcg/meson.build
    A target/arm/tcg/mve.decode
    A target/arm/tcg/neon-dp.decode
    A target/arm/tcg/neon-ls.decode
    A target/arm/tcg/neon-shared.decode
    A target/arm/tcg/sme-fa64.decode
    A target/arm/tcg/sme.decode
    A target/arm/tcg/sve.decode
    A target/arm/tcg/t16.decode
    A target/arm/tcg/t32.decode
    A target/arm/tcg/translate-a64.c
    A target/arm/tcg/translate-a64.h
    A target/arm/tcg/translate-m-nocp.c
    A target/arm/tcg/translate-mve.c
    A target/arm/tcg/translate-neon.c
    A target/arm/tcg/translate-sme.c
    A target/arm/tcg/translate-sve.c
    A target/arm/tcg/translate-vfp.c
    A target/arm/tcg/translate.c
    A target/arm/tcg/translate.h
    A target/arm/tcg/vfp-uncond.decode
    A target/arm/tcg/vfp.decode
    R target/arm/translate-a64.c
    R target/arm/translate-a64.h
    R target/arm/translate-m-nocp.c
    R target/arm/translate-mve.c
    R target/arm/translate-neon.c
    R target/arm/translate-sme.c
    R target/arm/translate-sve.c
    R target/arm/translate-vfp.c
    R target/arm/translate.c
    R target/arm/translate.h
    R target/arm/vfp-uncond.decode
    R target/arm/vfp.decode

  Log Message:
  -----------
  target/arm: move translate modules to tcg/

Introduce the target/arm/tcg directory. Its purpose is to hold the TCG
code that is selected by CONFIG_TCG.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: a3ef070ea9b2d9af95422b38b022f11d8c302d2e
      
https://github.com/qemu/qemu/commit/a3ef070ea9b2d9af95422b38b022f11d8c302d2e
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    R target/arm/crypto_helper.c
    R target/arm/helper-a64.c
    R target/arm/iwmmxt_helper.c
    R target/arm/m_helper.c
    M target/arm/meson.build
    R target/arm/mte_helper.c
    R target/arm/mve_helper.c
    R target/arm/neon_helper.c
    R target/arm/op_helper.c
    R target/arm/pauth_helper.c
    R target/arm/sme_helper.c
    R target/arm/sve_helper.c
    A target/arm/tcg-stubs.c
    A target/arm/tcg/crypto_helper.c
    A target/arm/tcg/helper-a64.c
    A target/arm/tcg/iwmmxt_helper.c
    A target/arm/tcg/m_helper.c
    M target/arm/tcg/meson.build
    A target/arm/tcg/mte_helper.c
    A target/arm/tcg/mve_helper.c
    A target/arm/tcg/neon_helper.c
    A target/arm/tcg/op_helper.c
    A target/arm/tcg/pauth_helper.c
    A target/arm/tcg/sme_helper.c
    A target/arm/tcg/sve_helper.c
    A target/arm/tcg/tlb_helper.c
    A target/arm/tcg/vec_helper.c
    A target/arm/tcg/vec_internal.h
    R target/arm/tlb_helper.c
    R target/arm/vec_helper.c
    R target/arm/vec_internal.h

  Log Message:
  -----------
  target/arm: move helpers to tcg/

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 9def656e7a23515d5afd5e5e350574d1dfb7fcc9
      
https://github.com/qemu/qemu/commit/9def656e7a23515d5afd5e5e350574d1dfb7fcc9
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/arm/meson.build
    R target/arm/psci.c
    M target/arm/tcg/meson.build
    A target/arm/tcg/psci.c

  Log Message:
  -----------
  target/arm: Move psci.c into the tcg directory

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 2b77ad4de615542dd8f6b9886a816e744b0abffd
      
https://github.com/qemu/qemu/commit/2b77ad4de615542dd8f6b9886a816e744b0abffd
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/arm/boot.c
    M hw/intc/armv7m_nvic.c
    M target/arm/arm-powerctl.c
    M target/arm/cpu.c
    M target/arm/helper.c
    M target/arm/machine.c

  Log Message:
  -----------
  target/arm: Wrap arm_rebuild_hflags calls with tcg_enabled

This is in preparation to moving the hflags code into its own file
under the tcg/ directory.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 671efad16a242b3fb5fb5111e9981d56887f7755
      
https://github.com/qemu/qemu/commit/671efad16a242b3fb5fb5111e9981d56887f7755
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/arm/helper.c
    M target/arm/internals.h
    M target/arm/tcg-stubs.c
    A target/arm/tcg/hflags.c
    M target/arm/tcg/meson.build

  Log Message:
  -----------
  target/arm: Move hflags code into the tcg directory

The hflags are used only for TCG code, so introduce a new file
hflags.c to keep that code.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 2ea2998f27da92ae1225c1da95cee51a4a6783af
      
https://github.com/qemu/qemu/commit/2ea2998f27da92ae1225c1da95cee51a4a6783af
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/arm/internals.h
    M target/arm/tcg/tlb_helper.c

  Log Message:
  -----------
  target/arm: Move regime_using_lpae_format into internal.h

This function is needed by common code (ptw.c), so move it along with
the other regime_* functions in internal.h. When we enable the build
without TCG, the tlb_helper.c file will not be present.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 0d3de77a07f4f774f7a9248afa8ea497ad5f2ae5
      
https://github.com/qemu/qemu/commit/0d3de77a07f4f774f7a9248afa8ea497ad5f2ae5
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/arm/ptw.c

  Log Message:
  -----------
  target/arm: Don't access TCG code when debugging with KVM

When TCG is disabled this part of the code should not be reachable, so
wrap it with an ifdef for now.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 4cb884e994a85a86e4e305ea3e6296434f4af0df
      
https://github.com/qemu/qemu/commit/4cb884e994a85a86e4e305ea3e6296434f4af0df
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/exec/cpu-defs.h

  Log Message:
  -----------
  cpu-defs.h: Expose CPUTLBEntryFull to non-TCG code

This struct has no dependencies on TCG code and it is being used in
target/arm/ptw.c to simplify the passing around of page table walk
results. Those routines can be reached by KVM code via the gdbstub
breakpoint code, so take the structure out of CONFIG_TCG to make it
visible when building with --disable-tcg.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 9880e9bc63efcaf3f5230c2f93fb03068df2e465
      
https://github.com/qemu/qemu/commit/9880e9bc63efcaf3f5230c2f93fb03068df2e465
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M tests/avocado/version.py

  Log Message:
  -----------
  tests/avocado: add machine:none tag to version.py

This test currently fails when run on a host for which the QEMU target
has no default machine set:

ERROR| Output: qemu-system-aarch64: No machine specified, and there is
no default

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: cb4c33f014925d860387ecef4d74a7f03cab6626
      
https://github.com/qemu/qemu/commit/cb4c33f014925d860387ecef4d74a7f03cab6626
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/gpio/max7310.c

  Log Message:
  -----------
  hw/gpio/max7310: Simplify max7310_realize()

Since &I2C_SLAVE(dev)->qdev == dev, no need to go back and
forth with QOM type casting. Directly use 'dev'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230220115114.25237-2-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 11f2ee1db6ed333a74a71fa38ce66fda926e230d
      
https://github.com/qemu/qemu/commit/11f2ee1db6ed333a74a71fa38ce66fda926e230d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/char/pl011.c
    M include/hw/char/pl011.h

  Log Message:
  -----------
  hw/char/pl011: Un-inline pl011_create()

pl011_create() is only used in DeviceRealize handlers,
not a hot-path. Inlining is not justified.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230220115114.25237-3-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: b7f93098d1899c88eec4026b0a2118c94cbdefc9
      
https://github.com/qemu/qemu/commit/b7f93098d1899c88eec4026b0a2118c94cbdefc9
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/arm/stellaris.c
    M include/hw/char/pl011.h

  Log Message:
  -----------
  hw/char/pl011: Open-code pl011_luminary_create()

pl011_luminary_create() is only used for the Stellaris board,
open-code it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230220115114.25237-4-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 3440a4a93aebb2abe9d9ed6ba4a0f8db86b2a6ad
      
https://github.com/qemu/qemu/commit/3440a4a93aebb2abe9d9ed6ba4a0f8db86b2a6ad
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/char/xilinx_uartlite.c
    M include/hw/char/xilinx_uartlite.h

  Log Message:
  -----------
  hw/char/xilinx_uartlite: Expose XILINX_UARTLITE QOM type

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230220115114.25237-5-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: dc1daf392c7cc6d1481bd9ce40a5594e624e7b47
      
https://github.com/qemu/qemu/commit/dc1daf392c7cc6d1481bd9ce40a5594e624e7b47
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/microblaze/petalogix_s3adsp1800_mmu.c
    M include/hw/char/xilinx_uartlite.h

  Log Message:
  -----------
  hw/char/xilinx_uartlite: Open-code xilinx_uartlite_create()

Open-code the single use of xilinx_uartlite_create().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230220115114.25237-6-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 4ab694b9a81df82f3ac7ce1e59f7855c57af2eb1
      
https://github.com/qemu/qemu/commit/4ab694b9a81df82f3ac7ce1e59f7855c57af2eb1
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/arm/mps2.c
    M include/hw/char/cmsdk-apb-uart.h

  Log Message:
  -----------
  hw/char/cmsdk-apb-uart: Open-code cmsdk_apb_uart_create()

cmsdk_apb_uart_create() is only used twice in the same
file. Open-code it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20230220115114.25237-7-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 7c72f2196ac3d1fe46e4f0bff103beef2b555633
      
https://github.com/qemu/qemu/commit/7c72f2196ac3d1fe46e4f0bff103beef2b555633
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/hw/timer/cmsdk-apb-timer.h

  Log Message:
  -----------
  hw/timer/cmsdk-apb-timer: Remove unused 'qdev-properties.h' header

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20230220115114.25237-8-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: d4fb55a6083c8535ad7b46019ae3cbc1be5497e6
      
https://github.com/qemu/qemu/commit/d4fb55a6083c8535ad7b46019ae3cbc1be5497e6
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/intc/armv7m_nvic.c

  Log Message:
  -----------
  hw/intc/armv7m_nvic: Use QOM cast CPU() macro

Avoid accessing 'parent_obj' directly.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20230220115114.25237-9-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 799d6a3c9923308f8ae7d12438e0723c4eadd124
      
https://github.com/qemu/qemu/commit/799d6a3c9923308f8ae7d12438e0723c4eadd124
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/arm/musicpal.c

  Log Message:
  -----------
  hw/arm/musicpal: Remove unused dummy MemoryRegion

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: dc892d1e4c8d3682d624725d7cfeee90f35d6eff
      
https://github.com/qemu/qemu/commit/dc892d1e4c8d3682d624725d7cfeee90f35d6eff
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M iothread.c

  Log Message:
  -----------
  iothread: Remove unused IOThreadClass / IOTHREAD_CLASS

Since commit be8d853766 ("iothread: add I/O thread object") we
never used IOThreadClass / IOTHREAD_CLASS() / IOTHREAD_GET_CLASS(),
remove these definitions.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20230113200138.52869-2-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 4703f6c2f7a982ccc6e970ad3010bfe1203a828d
      
https://github.com/qemu/qemu/commit/4703f6c2f7a982ccc6e970ad3010bfe1203a828d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/core/irq.c

  Log Message:
  -----------
  hw/irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()

QOM *DECLARE* macros expect a typedef as first argument,
not a structure. Replace 'struct IRQState' by 'IRQState'
to avoid when modifying the macros:

  ../hw/core/irq.c:29:1: error: declaration of anonymous struct must be a 
definition
  DECLARE_INSTANCE_CHECKER(struct IRQState, IRQ,
  ^

Use OBJECT_DECLARE_SIMPLE_TYPE instead of DECLARE_INSTANCE_CHECKER.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20230113200138.52869-3-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 60d3ccfbe119974d3adda799de85cdae698c5434
      
https://github.com/qemu/qemu/commit/60d3ccfbe119974d3adda799de85cdae698c5434
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/hw/or-irq.h

  Log Message:
  -----------
  hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()

Missed during automatic conversion from commit 8063396bf3
("Use OBJECT_DECLARE_SIMPLE_TYPE when possible").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20230113200138.52869-4-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: e844f0c5d0bd2c4d8d3c1622eb2a88586c9c4677
      
https://github.com/qemu/qemu/commit/e844f0c5d0bd2c4d8d3c1622eb2a88586c9c4677
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/arm/exynos4210.c
    M hw/arm/mps2-tz.c
    M hw/core/or-irq.c
    M hw/pci-host/raven.c
    M include/hw/arm/armsse.h
    M include/hw/arm/bcm2835_peripherals.h
    M include/hw/arm/exynos4210.h
    M include/hw/arm/stm32f205_soc.h
    M include/hw/arm/stm32f405_soc.h
    M include/hw/arm/xlnx-versal.h
    M include/hw/arm/xlnx-zynqmp.h
    M include/hw/or-irq.h

  Log Message:
  -----------
  hw: Replace qemu_or_irq typedef by OrIRQState

OBJECT_DECLARE_SIMPLE_TYPE() macro provides the OrIRQState
declaration for free. Besides, the QOM code style is to use
the structure name as typedef, and QEMU style is to use Camel
Case, so rename qemu_or_irq as OrIRQState.

Mechanical change using:

  $ sed -i -e 's/qemu_or_irq/OrIRQState/g' $(git grep -l qemu_or_irq)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20230113200138.52869-5-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: e1f9f73ba15e0356ce1aa3317d7bd294f587ab58
      
https://github.com/qemu/qemu/commit/e1f9f73ba15e0356ce1aa3317d7bd294f587ab58
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M MAINTAINERS
    M hw/arm/allwinner-a10.c
    M hw/arm/boot.c
    M hw/arm/exynos4210.c
    M hw/arm/mps2-tz.c
    M hw/arm/mps2.c
    M hw/arm/musicpal.c
    M hw/arm/stellaris.c
    M hw/char/pl011.c
    M hw/char/xilinx_uartlite.c
    M hw/core/irq.c
    M hw/core/or-irq.c
    M hw/gpio/max7310.c
    M hw/intc/armv7m_nvic.c
    M hw/microblaze/petalogix_s3adsp1800_mmu.c
    M hw/pci-host/raven.c
    M include/exec/cpu-defs.h
    M include/hw/arm/allwinner-a10.h
    M include/hw/arm/armsse.h
    M include/hw/arm/bcm2835_peripherals.h
    M include/hw/arm/exynos4210.h
    M include/hw/arm/stm32f205_soc.h
    M include/hw/arm/stm32f405_soc.h
    M include/hw/arm/xlnx-versal.h
    M include/hw/arm/xlnx-zynqmp.h
    M include/hw/char/cmsdk-apb-uart.h
    M include/hw/char/pl011.h
    M include/hw/char/xilinx_uartlite.h
    M include/hw/or-irq.h
    M include/hw/timer/cmsdk-apb-timer.h
    M iothread.c
    R target/arm/a32-uncond.decode
    R target/arm/a32.decode
    M target/arm/arm-powerctl.c
    M target/arm/cpu.c
    R target/arm/crypto_helper.c
    M target/arm/debug_helper.c
    R target/arm/helper-a64.c
    M target/arm/helper.c
    M target/arm/internals.h
    R target/arm/iwmmxt_helper.c
    R target/arm/m-nocp.decode
    R target/arm/m_helper.c
    M target/arm/machine.c
    M target/arm/meson.build
    R target/arm/mte_helper.c
    R target/arm/mve.decode
    R target/arm/mve_helper.c
    R target/arm/neon-dp.decode
    R target/arm/neon-ls.decode
    R target/arm/neon-shared.decode
    R target/arm/neon_helper.c
    R target/arm/op_helper.c
    R target/arm/pauth_helper.c
    R target/arm/psci.c
    M target/arm/ptw.c
    R target/arm/sme-fa64.decode
    R target/arm/sme.decode
    R target/arm/sme_helper.c
    R target/arm/sve.decode
    R target/arm/sve_helper.c
    R target/arm/t16.decode
    R target/arm/t32.decode
    A target/arm/tcg-stubs.c
    A target/arm/tcg/a32-uncond.decode
    A target/arm/tcg/a32.decode
    A target/arm/tcg/crypto_helper.c
    A target/arm/tcg/helper-a64.c
    A target/arm/tcg/hflags.c
    A target/arm/tcg/iwmmxt_helper.c
    A target/arm/tcg/m-nocp.decode
    A target/arm/tcg/m_helper.c
    A target/arm/tcg/meson.build
    A target/arm/tcg/mte_helper.c
    A target/arm/tcg/mve.decode
    A target/arm/tcg/mve_helper.c
    A target/arm/tcg/neon-dp.decode
    A target/arm/tcg/neon-ls.decode
    A target/arm/tcg/neon-shared.decode
    A target/arm/tcg/neon_helper.c
    A target/arm/tcg/op_helper.c
    A target/arm/tcg/pauth_helper.c
    A target/arm/tcg/psci.c
    A target/arm/tcg/sme-fa64.decode
    A target/arm/tcg/sme.decode
    A target/arm/tcg/sme_helper.c
    A target/arm/tcg/sve.decode
    A target/arm/tcg/sve_helper.c
    A target/arm/tcg/t16.decode
    A target/arm/tcg/t32.decode
    A target/arm/tcg/tlb_helper.c
    A target/arm/tcg/translate-a64.c
    A target/arm/tcg/translate-a64.h
    A target/arm/tcg/translate-m-nocp.c
    A target/arm/tcg/translate-mve.c
    A target/arm/tcg/translate-neon.c
    A target/arm/tcg/translate-sme.c
    A target/arm/tcg/translate-sve.c
    A target/arm/tcg/translate-vfp.c
    A target/arm/tcg/translate.c
    A target/arm/tcg/translate.h
    A target/arm/tcg/vec_helper.c
    A target/arm/tcg/vec_internal.h
    A target/arm/tcg/vfp-uncond.decode
    A target/arm/tcg/vfp.decode
    R target/arm/tlb_helper.c
    R target/arm/translate-a64.c
    R target/arm/translate-a64.h
    R target/arm/translate-m-nocp.c
    R target/arm/translate-mve.c
    R target/arm/translate-neon.c
    R target/arm/translate-sme.c
    R target/arm/translate-sve.c
    R target/arm/translate-vfp.c
    R target/arm/translate.c
    R target/arm/translate.h
    R target/arm/vec_helper.c
    R target/arm/vec_internal.h
    R target/arm/vfp-uncond.decode
    R target/arm/vfp.decode
    M tests/avocado/version.py

  Log Message:
  -----------
  Merge tag 'pull-target-arm-20230227' of 
https://git.linaro.org/people/pmaydell/qemu-arm into staging

target-arm queue:
 * Various code cleanups
 * More refactoring working towards allowing a build
   without CONFIG_TCG

# -----BEGIN PGP SIGNATURE-----
#
# iQJNBAABCAA3FiEE4aXFk81BneKOgxXPPCUl7RQ2DN4FAmP8ty0ZHHBldGVyLm1h
# eWRlbGxAbGluYXJvLm9yZwAKCRA8JSXtFDYM3na0EACToAEGC4/iFigdKD7ZwG3F
# FvoDcMRRSdElcSo7BTDrFBBOH5/BYhorUq+mVpPvEYADXNaPOCmXWieSJpu68sJC
# VpVLPMhGS8lTsT16C2vB/4Lh4t8pJgs7aej90nqKk2rGgKw4ZNwMS+7Eg6n2lKf/
# V27+O+drJxgYzO6feveuKtIQXsHkx4//DNOCDPLLvrrOk+1NWnyPyT/UDxV/emyr
# KLBbeXqcNhPkn7xZtvM7WARSHZcqhEPBkIAJG2H9HE4imxNm8d8ADZjEMbfE9ZNE
# MDanpM6BYYDWw4y2A8J5QmbiLu3znH8RWmWHww1v6UQ7qyBCLx+HyEGKipGd3Eoe
# 48hi/ktsAJUb1lRrk9gOJ+NsokGINzI5urFOReUh1q6+5us0Q0VpwjyVvhi8REy3
# 5gOMDC7O2zH+bLN08kseDXfc7vR9wLrIHqMloMgJzpjG5KcL67nVCPHcOwxe0sfn
# 0SYWUY0UFNSYgEGBG6JfM6LiM1lRREzlw6YnnaJ+GUf/jdIUbMV6PKpL34TGLeQ3
# xEWrKV0+PMoWHwN0Pdo1tMXm7mc/9H27Mf7hB5k0Hp3dfQ7nIdkfnFA2YEUSxIQt
# OXYsKLTJmO/4XIAYCHhIOncPTmM6KWNQajDJMIuEdYYV67Xb88EIv5Hg8q6tS/mN
# uuQfun3Z2UbAtGvzN5Yx1w==
# =K0Vo
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 27 Feb 2023 13:59:09 GMT
# gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
# gpg:                issuer "peter.maydell@linaro.org"
# gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [ultimate]
# gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [ultimate]
# gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" 
[ultimate]
# gpg:                 aka "Peter Maydell <peter@archaic.org.uk>" [ultimate]
# Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE

* tag 'pull-target-arm-20230227' of 
https://git.linaro.org/people/pmaydell/qemu-arm: (25 commits)
  hw: Replace qemu_or_irq typedef by OrIRQState
  hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()
  hw/irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()
  iothread: Remove unused IOThreadClass / IOTHREAD_CLASS
  hw/arm/musicpal: Remove unused dummy MemoryRegion
  hw/intc/armv7m_nvic: Use QOM cast CPU() macro
  hw/timer/cmsdk-apb-timer: Remove unused 'qdev-properties.h' header
  hw/char/cmsdk-apb-uart: Open-code cmsdk_apb_uart_create()
  hw/char/xilinx_uartlite: Open-code xilinx_uartlite_create()
  hw/char/xilinx_uartlite: Expose XILINX_UARTLITE QOM type
  hw/char/pl011: Open-code pl011_luminary_create()
  hw/char/pl011: Un-inline pl011_create()
  hw/gpio/max7310: Simplify max7310_realize()
  tests/avocado: add machine:none tag to version.py
  cpu-defs.h: Expose CPUTLBEntryFull to non-TCG code
  target/arm: Don't access TCG code when debugging with KVM
  target/arm: Move regime_using_lpae_format into internal.h
  target/arm: Move hflags code into the tcg directory
  target/arm: Wrap arm_rebuild_hflags calls with tcg_enabled
  target/arm: Move psci.c into the tcg directory
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/3db629f03e8c...e1f9f73ba15e



reply via email to

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