qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] cc4a14: mac_newworld: Drop some variables


From: Paolo Bonzini
Subject: [Qemu-commits] [qemu/qemu] cc4a14: mac_newworld: Drop some variables
Date: Tue, 01 Nov 2022 08:01:49 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: cc4a140a755e775f15fbc6339487b55b86b0ed1e
      
https://github.com/qemu/qemu/commit/cc4a140a755e775f15fbc6339487b55b86b0ed1e
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac_newworld.c

  Log Message:
  -----------
  mac_newworld: Drop some variables

Values not used frequently enough may not worth putting in a local
variable, especially with names almost as long as the original value
because that does not improve readability, to the contrary it makes it
harder to see what value is used. Drop a few such variables. This is
the same clean up that was done for mac_oldworld in commit b8df32555ce5.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<a3ee09dea27af9685fd2ccd2f7ab40a813d6812f.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 94c92e1a863b704df5b6c5160e88fd682efc4fe4
      
https://github.com/qemu/qemu/commit/94c92e1a863b704df5b6c5160e88fd682efc4fe4
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac_oldworld.c

  Log Message:
  -----------
  mac_oldworld: Drop some more variables

Drop some more local variables additionally to commit b8df32555ce5 to
match clean ups done to mac_newwold in previous patch.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<1b9a448431d9b1198432151af0511316cfc20d21.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 6b924abe99902ef4fa5b74a24c251fb38fd1e528
      
https://github.com/qemu/qemu/commit/6b924abe99902ef4fa5b74a24c251fb38fd1e528
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c

  Log Message:
  -----------
  mac_{old|new}world: Set tbfreq at declaration

The tbfreq variable is only set once in an if-else which can be done
at the variable declaration saving some lines of code and making it
simpler.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<15668da8eb8bad4561428a5f25b02f91e16d9c1b.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 6120dc8d9d7be4285c93f20f8978e820934b6d6f
      
https://github.com/qemu/qemu/commit/6120dc8d9d7be4285c93f20f8978e820934b6d6f
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c

  Log Message:
  -----------
  mac_{old|new}world: Avoid else branch by setting default value

Several variables are set in if-else branches where the else branch
can be removed by setting a default value at the variable declaration
which leads to simlpler code that is easier to follow.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<8dac3515b29976a61dacda07752175d7531dca3c.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 50c496d2728b26fa93a99dbdb4c93e619c6afe9d
      
https://github.com/qemu/qemu/commit/50c496d2728b26fa93a99dbdb4c93e619c6afe9d
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac_newworld.c

  Log Message:
  -----------
  mac_newworld: Clean up creation of Uninorth devices

Map regions in ascending order and reorganise code a bit to avoid some
casts and move Uninorth parts together.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<a6263b23757dd4a1e1b17a9aa9fb87115f3a1e71.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 18e0383b5c21df348f9d3a1e4bd12747561535f2
      
https://github.com/qemu/qemu/commit/18e0383b5c21df348f9d3a1e4bd12747561535f2
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c

  Log Message:
  -----------
  mac_{old|new}world: Reduce number of QOM casts

By storing the device pointers in a variable with the right type the
number of QOM casts can be reduced which also makes the code more
readable.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<f701e5ae03c806969561a7fd7523ef407db6dc89.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: cfb47bfaa107c3bf8d084d7a027741825fac4fbc
      
https://github.com/qemu/qemu/commit/cfb47bfaa107c3bf8d084d7a027741825fac4fbc
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac.h
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c

  Log Message:
  -----------
  hw/ppc/mac.h: Move newworld specific parts out from shared header

Move the parts specific to and only used by mac99 out from the shared
mac.h into mac_newworld.c where they better belong.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<f3c6862de5b51ef49ae0714cf7ee21828d0502cf.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 55078ea7775f207db5d8bca252151fc85741a8ca
      
https://github.com/qemu/qemu/commit/55078ea7775f207db5d8bca252151fc85741a8ca
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/misc/macio/macio.c
    M hw/ppc/mac.h
    M include/hw/misc/macio/macio.h

  Log Message:
  -----------
  hw/ppc/mac.h: Move macio specific parts out from shared header

Move the parts specific to and only used by macio out from the shared
mac.h into macio.c where they better belong.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<ac570ce9dcbae169310503689053807b8b4b86bc.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 87e5a4f8c23236a559c63ca089c35d3e6066d3df
      
https://github.com/qemu/qemu/commit/87e5a4f8c23236a559c63ca089c35d3e6066d3df
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M MAINTAINERS
    M hw/pci-host/grackle.c
    M hw/ppc/mac.h
    M hw/ppc/mac_oldworld.c
    A include/hw/pci-host/grackle.h

  Log Message:
  -----------
  hw/ppc/mac.h: Move grackle-pcihost type declaration out to a header

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<b133a84dfd38366eea2bb11b7ca433758efacc10.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 3d0031c17d32515914d9b92e540a55af0c7032ca
      
https://github.com/qemu/qemu/commit/3d0031c17d32515914d9b92e540a55af0c7032ca
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac.h
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c

  Log Message:
  -----------
  hw/ppc/mac.h: Move PROM and KERNEL defines to board code

The PROM_FILENAME and KERNEL_* defines are used by mac_oldworld and
mac_newworld but they don't have to be identical so these could be
moved to the individual boards.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<5fa693334adf166d23931c81d81ada4e3441ed7d.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 443f07b73d139e6944bc6af472b6e9df790b6e38
      
https://github.com/qemu/qemu/commit/443f07b73d139e6944bc6af472b6e9df790b6e38
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M MAINTAINERS
    M hw/ide/macio.c
    M hw/intc/heathrow_pic.c
    M hw/intc/openpic.c
    M hw/misc/macio/cuda.c
    M hw/misc/macio/gpio.c
    M hw/misc/macio/macio.c
    M hw/misc/macio/pmu.c
    M hw/nvram/mac_nvram.c
    M hw/pci-host/grackle.c
    M hw/pci-host/uninorth.c
    R hw/ppc/mac.h
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M include/hw/misc/macio/macio.h
    A include/hw/nvram/mac_nvram.h

  Log Message:
  -----------
  hw/ppc/mac.h: Rename to include/hw/nvram/mac_nvram.h

All that is left in mac.h now belongs to the nvram emulation so rename
it accordingly and only include it where it is really used.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<b82449369f718c0e207fe8c332fab550fa0230c0.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 458586fe19585d6949c79c898e2181048565c774
      
https://github.com/qemu/qemu/commit/458586fe19585d6949c79c898e2181048565c774
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/misc/macio/macio.c
    M hw/ppc/mac_newworld.c
    M include/hw/nvram/mac_nvram.h

  Log Message:
  -----------
  mac_nvram: Use NVRAM_SIZE constant

The NVRAM_SIZE constant was defined but not used. Rename it to
MACIO_NVRAM_SIZE to match the device model and use it where appropriate.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<5b53c70438dfb46837af8a094e753706b06c4ec6.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: cc537e1338cc4f16f93f9d1d37ac54fb1c3ffe4f
      
https://github.com/qemu/qemu/commit/cc537e1338cc4f16f93f9d1d37ac54fb1c3ffe4f
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c

  Log Message:
  -----------
  mac_{old|new}world: Code style fix adding missing braces to if-s

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<ab891af01894bc01df0df78247da00fef4f59242.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 53cb552daeb57e0a35f648e42fb28fa38842bd0c
      
https://github.com/qemu/qemu/commit/53cb552daeb57e0a35f648e42fb28fa38842bd0c
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M hw/ppc/mac_newworld.c

  Log Message:
  -----------
  mac_newworld: Turn CORE99_VIA_CONFIG defines into an enum

This might allow the compiler to check values.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: 
<f9da172e486c1f57f8542c7c3cb0223cffa89b1f.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


  Commit: 3a5f6805c7ca7deb8d1abaf0153936eeb51d074e
      
https://github.com/qemu/qemu/commit/3a5f6805c7ca7deb8d1abaf0153936eeb51d074e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M tcg/sparc/tcg-target.c.inc
    M tcg/sparc/tcg-target.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg/sparc: Remove support for sparc32plus

Since 9b9c37c36439, we have only supported sparc64 cpus.
Debian and Gentoo now only support 64-bit sparc64 userland,
so it is time to drop the 32-bit sparc64 userland: sparc32plus.

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


  Commit: 6d0b52ed889f47fa8e39e9611d7bce15cc533369
      
https://github.com/qemu/qemu/commit/6d0b52ed889f47fa8e39e9611d7bce15cc533369
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M MAINTAINERS
    M meson.build
    R tcg/sparc/tcg-target-con-set.h
    R tcg/sparc/tcg-target-con-str.h
    R tcg/sparc/tcg-target.c.inc
    R tcg/sparc/tcg-target.h
    A tcg/sparc64/tcg-target-con-set.h
    A tcg/sparc64/tcg-target-con-str.h
    A tcg/sparc64/tcg-target.c.inc
    A tcg/sparc64/tcg-target.h

  Log Message:
  -----------
  tcg/sparc64: Rename from tcg/sparc

Emphasize that we only support full 64-bit code generation.

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


  Commit: a59a293126604183dd63bf8b890393e32e7702c4
      
https://github.com/qemu/qemu/commit/a59a293126604183dd63bf8b890393e32e7702c4
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M tcg/sparc64/tcg-target-con-set.h
    M tcg/sparc64/tcg-target-con-str.h
    M tcg/sparc64/tcg-target.c.inc

  Log Message:
  -----------
  tcg/sparc64: Remove sparc32plus constraints

With sparc64 we need not distinguish between registers that
can hold 32-bit values and those that can hold 64-bit values.

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


  Commit: 9dd1d56e570e5119fef2b28fda811d6891e597a8
      
https://github.com/qemu/qemu/commit/9dd1d56e570e5119fef2b28fda811d6891e597a8
  Author: Icenowy Zheng <uwu@icenowy.me>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg/tci: fix logic error when registering helpers via FFI

When registering helpers via FFI for TCI, the inner loop that iterates
parameters of the helper reuses (and thus pollutes) the same variable
used by the outer loop that iterates all helpers, thus made some helpers
unregistered.

Fix this logic error by using a dedicated temporary variable for the
inner loop.

Fixes: 22f15579fa ("tcg: Build ffi data structures for helpers")
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Message-Id: <20221028072145.1593205-1-uwu@icenowy.me>
[rth: Move declaration of j to the for loop itself]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 6392bd6b90a488b3254b1cb85d79bf262ed5f9e0
      
https://github.com/qemu/qemu/commit/6392bd6b90a488b3254b1cb85d79bf262ed5f9e0
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M accel/tcg/internal.h
    M accel/tcg/translate-all.c
    M include/exec/exec-all.h

  Log Message:
  -----------
  accel/tcg: Introduce cpu_unwind_state_data

Add a way to examine the unwind data without actually
restoring the data back into env.

Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f484f213c9f4ae1cd30ebdaadc7b539d745d39fb
      
https://github.com/qemu/qemu/commit/f484f213c9f4ae1cd30ebdaadc7b539d745d39fb
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M target/i386/helper.c

  Log Message:
  -----------
  target/i386: Use cpu_unwind_state_data for tpr access

Avoid cpu_restore_state, and modifying env->eip out from
underneath the translator with TARGET_TB_PCREL.  There is
some slight duplication from x86_restore_state_to_opc,
but it's just a few lines.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1269
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 5813c5c74a755fd0c1b10be38c6fdf5c54c468e4
      
https://github.com/qemu/qemu/commit/5813c5c74a755fd0c1b10be38c6fdf5c54c468e4
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M target/openrisc/sys_helper.c

  Log Message:
  -----------
  target/openrisc: Always exit after mtspr npc

We have called cpu_restore_state asserting will_exit.
Do not go back on that promise.  This affects icount.

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


  Commit: cc30dc441b44ad15f4adfb13d9a68cba6fa39a23
      
https://github.com/qemu/qemu/commit/cc30dc441b44ad15f4adfb13d9a68cba6fa39a23
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M target/openrisc/sys_helper.c

  Log Message:
  -----------
  target/openrisc: Use cpu_unwind_state_data for mfspr

Since we do not plan to exit, use cpu_unwind_state_data
and extract exactly the data requested.

This is a bug fix, in that we no longer clobber dflag.

Consider:

        l.j       L2         // branch
        l.mfspr   r1, ppc    // delay

L1:     boom
L2:     l.lwa     r3, (r4)

Here, dflag would be set by cpu_restore_state (because that is the current
state of the cpu), but but not cleared by tb_stop on exiting the TB
(because DisasContext has recorded the current value as zero).

The next TB begins at L2 with dflag incorrectly set.  If the load has a
tlb miss, then the exception will be delivered as per a delay slot:
with DSX set in the status register and PC decremented (delay slots
restart by re-executing the branch). This will cause the return from
interrupt to go to L1, and boom!

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


  Commit: 3d419a4dd227f174447e0b3978028a1cd52ccc5e
      
https://github.com/qemu/qemu/commit/3d419a4dd227f174447e0b3978028a1cd52ccc5e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M accel/tcg/cpu-exec-common.c
    M accel/tcg/translate-all.c
    M include/exec/exec-all.h
    M target/alpha/helper.c
    M target/alpha/mem_helper.c
    M target/arm/op_helper.c
    M target/arm/tlb_helper.c
    M target/cris/helper.c
    M target/i386/tcg/sysemu/svm_helper.c
    M target/m68k/op_helper.c
    M target/microblaze/helper.c
    M target/nios2/op_helper.c
    M target/openrisc/sys_helper.c
    M target/ppc/excp_helper.c
    M target/s390x/tcg/excp_helper.c
    M target/tricore/op_helper.c
    M target/xtensa/helper.c

  Log Message:
  -----------
  accel/tcg: Remove will_exit argument from cpu_restore_state

The value passed is always true, and if the target's
synchronize_from_tb hook is non-trivial, not exiting
may be erroneous.

Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: cfa29dd50611a0ecea9888818692290148773c0d
      
https://github.com/qemu/qemu/commit/cfa29dd50611a0ecea9888818692290148773c0d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M accel/tcg/internal.h
    M accel/tcg/tb-maint.c
    M accel/tcg/translate-all.c

  Log Message:
  -----------
  accel/tcg: Remove reset_icount argument from cpu_restore_state_from_tb

The value passed is always true.

Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 631793308679cf0436cd7145a9ff318331c982c9
      
https://github.com/qemu/qemu/commit/631793308679cf0436cd7145a9ff318331c982c9
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M target/i386/helper.h
    M target/i386/tcg/cc_helper.c
    M target/i386/tcg/translate.c

  Log Message:
  -----------
  target/i386: Expand eflags updates inline

The helpers for reset_rf, cli, sti, clac, stac are
completely trivial; implement them inline.

Drop some nearby #if 0 code.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4e4fa6c12d97ee3ee87623c153009a5abd7b428e
      
https://github.com/qemu/qemu/commit/4e4fa6c12d97ee3ee87623c153009a5abd7b428e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M accel/tcg/cpu-exec.c
    M accel/tcg/translate-all.c
    M cpu.c

  Log Message:
  -----------
  accel/tcg: Complete cpu initialization before registration

Delay cpu_list_add until realize is complete, so that cross-cpu
interaction does not happen with incomplete cpu state.  For this,
we must delay plugin initialization out of tcg_exec_realizefn,
because no cpu_index has been assigned.

Fixes a problem with cross-cpu jump cache flushing, when the
jump cache has not yet been allocated.

Fixes: a976a99a2975 ("include/hw/core: Create struct CPUJumpCache")
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reported-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 83d92559cdf0ce842e52e5bbf230f7f62a6206aa
      
https://github.com/qemu/qemu/commit/83d92559cdf0ce842e52e5bbf230f7f62a6206aa
  Author: Ilya Leoshkevich <iii@linux.ibm.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/munmap-pthread.c

  Log Message:
  -----------
  tests/tcg/multiarch: Add munmap-pthread.c

Add a test to detect races between munmap() and creating new threads.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20221028124227.2354792-3-iii@linux.ibm.com>
[rth: add more return insns]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7ef1d48763d6c6e90d1a4e1dc04b1125e77c2aee
      
https://github.com/qemu/qemu/commit/7ef1d48763d6c6e90d1a4e1dc04b1125e77c2aee
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M MAINTAINERS
    M hw/ide/macio.c
    M hw/intc/heathrow_pic.c
    M hw/intc/openpic.c
    M hw/misc/macio/cuda.c
    M hw/misc/macio/gpio.c
    M hw/misc/macio/macio.c
    M hw/misc/macio/pmu.c
    M hw/nvram/mac_nvram.c
    M hw/pci-host/grackle.c
    M hw/pci-host/uninorth.c
    R hw/ppc/mac.h
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M include/hw/misc/macio/macio.h
    A include/hw/nvram/mac_nvram.h
    A include/hw/pci-host/grackle.h

  Log Message:
  -----------
  Merge tag 'qemu-macppc-20221031' of https://github.com/mcayland/qemu into 
staging

qemu-macppc updates for 7.2

# -----BEGIN PGP SIGNATURE-----
#
# iQFSBAABCgA8FiEEzGIauY6CIA2RXMnEW8LFb64PMh8FAmNgIqAeHG1hcmsuY2F2
# ZS1heWxhbmRAaWxhbmRlLmNvLnVrAAoJEFvCxW+uDzIfWU0H/iG6k04L9jrKJ4ao
# wA/CQlvRxG+gRSj1I5oeuLJEqoMSzU5d5flQNPpfv068wngIS/0gHM7UNRGDAOIj
# 8Gu6lf+eB0lwOlmF0Gq2o9/RV6ZWEZtziX3s7G6CYQK0tkQsKZBD36P3Mssr3pWt
# 2XX44eV1qULreFEHWT6I97zV9gFTEuHXJ3j8YDuz7fpqW1B38WUq1TOftiMi9JP4
# PEVhfTOwi6MhsrRpt2uouGPLhmANLucvaXgKgMFRHyy0xOlzYKxjKXbq6nbAFSRd
# 8xEbnLaMWHUKtsmsxtjPJnCV9obO7YzPLXJBLbg2CxhEc/ktDC7YjKL5EXLT2mHC
# s7kVfyM=
# =rc9K
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 31 Oct 2022 15:31:44 EDT
# gpg:                using RSA key CC621AB98E82200D915CC9C45BC2C56FAE0F321F
# gpg:                issuer "mark.cave-ayland@ilande.co.uk"
# gpg: Good signature from "Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>" 
[full]
# Primary key fingerprint: CC62 1AB9 8E82 200D 915C  C9C4 5BC2 C56F AE0F 321F

* tag 'qemu-macppc-20221031' of https://github.com/mcayland/qemu:
  mac_newworld: Turn CORE99_VIA_CONFIG defines into an enum
  mac_{old|new}world: Code style fix adding missing braces to if-s
  mac_nvram: Use NVRAM_SIZE constant
  hw/ppc/mac.h: Rename to include/hw/nvram/mac_nvram.h
  hw/ppc/mac.h: Move PROM and KERNEL defines to board code
  hw/ppc/mac.h: Move grackle-pcihost type declaration out to a header
  hw/ppc/mac.h: Move macio specific parts out from shared header
  hw/ppc/mac.h: Move newworld specific parts out from shared header
  mac_{old|new}world: Reduce number of QOM casts
  mac_newworld: Clean up creation of Uninorth devices
  mac_{old|new}world: Avoid else branch by setting default value
  mac_{old|new}world: Set tbfreq at declaration
  mac_oldworld: Drop some more variables
  mac_newworld: Drop some variables

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


  Commit: 18cd31ff30883707408c7d6d952310189903939e
      
https://github.com/qemu/qemu/commit/18cd31ff30883707408c7d6d952310189903939e
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M MAINTAINERS
    M accel/tcg/cpu-exec-common.c
    M accel/tcg/cpu-exec.c
    M accel/tcg/internal.h
    M accel/tcg/tb-maint.c
    M accel/tcg/translate-all.c
    M cpu.c
    M include/exec/exec-all.h
    M meson.build
    M target/alpha/helper.c
    M target/alpha/mem_helper.c
    M target/arm/op_helper.c
    M target/arm/tlb_helper.c
    M target/cris/helper.c
    M target/i386/helper.c
    M target/i386/helper.h
    M target/i386/tcg/cc_helper.c
    M target/i386/tcg/sysemu/svm_helper.c
    M target/i386/tcg/translate.c
    M target/m68k/op_helper.c
    M target/microblaze/helper.c
    M target/nios2/op_helper.c
    M target/openrisc/sys_helper.c
    M target/ppc/excp_helper.c
    M target/s390x/tcg/excp_helper.c
    M target/tricore/op_helper.c
    M target/xtensa/helper.c
    R tcg/sparc/tcg-target-con-set.h
    R tcg/sparc/tcg-target-con-str.h
    R tcg/sparc/tcg-target.c.inc
    R tcg/sparc/tcg-target.h
    A tcg/sparc64/tcg-target-con-set.h
    A tcg/sparc64/tcg-target-con-str.h
    A tcg/sparc64/tcg-target.c.inc
    A tcg/sparc64/tcg-target.h
    M tcg/tcg.c
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/munmap-pthread.c

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

Remove sparc32plus support from tcg/sparc.
target/i386: Use cpu_unwind_state_data for tpr access.
target/i386: Expand eflags updates inline
Complete cpu initialization before registration

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmNgQvIdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9bxAf/X6904X+2I55LTMP7
# jLCxMAlSgFiwaWW4sQLvfUS2qjjMNw7dtljF0HaYVJCawABI4tIY3nEYL8dhLiGU
# WpMTmDIY/cBrQ0aMWfUTGRIFZOIpCLsZwiG6zW6w5KxfKUaakeZSgxqhzgFFcM2k
# UDb9HYC6jwEDDZJYTRpcTIsnYHjaiu/ofKjbjWoslq9DIrThLr1UZgoOxzZ9w2Rh
# xEDBNnD42Kzb0Lbc5B1cX4tla43g9KfHkfG6Ww3fJVYZcFxFhAp40y1chtq5qaia
# 64cPOfSdjoHWaZKdXop3hDYvqRTour56S+e1n1VxHVhbsVRh0KKYBvzAZtiN4FEu
# w8E8bA==
# =fxqA
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 31 Oct 2022 17:49:38 EDT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* tag 'pull-tcg-20221031-2' of https://gitlab.com/rth7680/qemu:
  tests/tcg/multiarch: Add munmap-pthread.c
  accel/tcg: Complete cpu initialization before registration
  target/i386: Expand eflags updates inline
  accel/tcg: Remove reset_icount argument from cpu_restore_state_from_tb
  accel/tcg: Remove will_exit argument from cpu_restore_state
  target/openrisc: Use cpu_unwind_state_data for mfspr
  target/openrisc: Always exit after mtspr npc
  target/i386: Use cpu_unwind_state_data for tpr access
  accel/tcg: Introduce cpu_unwind_state_data
  tcg/tci: fix logic error when registering helpers via FFI
  tcg/sparc64: Remove sparc32plus constraints
  tcg/sparc64: Rename from tcg/sparc
  tcg/sparc: Remove support for sparc32plus

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


Compare: https://github.com/qemu/qemu/compare/5107fd3effb1...18cd31ff3088



reply via email to

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