]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Fix TCG temporary leaks in gen_slbia()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 17 Apr 2020 09:07:49 +0000 (11:07 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Apr 2020 21:22:49 +0000 (22:22 +0100)
commit3119154db04890fdf57022a43cf2ee594fd4da5a
treeca0dfe6eea965ebb09eba209195941ee7641a1af
parent5b4273e462515ae2f14cb57954d99416ae1778d9
target/ppc: Fix TCG temporary leaks in gen_slbia()

This fixes:

  $ qemu-system-ppc64 \
  -machine pseries-4.1 -cpu power9 \
  -smp 4 -m 12G -accel tcg ...
  ...
  Quiescing Open Firmware ...
  Booting Linux via __start() @ 0x0000000002000000 ...
  Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries
  Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries
  Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries

[*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html

Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation")
Reported-by: Dennis Clarke <dclarke@blastwave.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20200417090749.14310-1-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/ppc/translate.c