Home
last modified time | relevance | path

Searched hist:"55 c3ceef61fcf06fc98ddc752b7cce788ce7680b" (Results 1 – 22 of 22) sorted by relevance

/qemu/target/mips/
H A Dcpu.c74d7fc7f6385158b8a5c524c61baaef1b66f3dac Thu Oct 26 13:58:14 UTC 2017 Richard Henderson <richard.henderson@linaro.org> tcg: Avoid setting tcg_initialize if !CONFIG_TCG

Fix the build for --disable-tcg.

Fixes: 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 20171026135814.20773-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/alpha/
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
H A Dtranslate.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/s390x/
H A Dcpu.c74d7fc7f6385158b8a5c524c61baaef1b66f3dac Thu Oct 26 13:58:14 UTC 2017 Richard Henderson <richard.henderson@linaro.org> tcg: Avoid setting tcg_initialize if !CONFIG_TCG

Fix the build for --disable-tcg.

Fixes: 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 20171026135814.20773-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/include/hw/core/
H A Dcpu.h2dda635410e95843562e5257a8f173e7115a7a1e Mon Nov 13 13:55:25 UTC 2017 Emilio G. Cota <cota@braap.org> qom: move CPUClass.tcg_initialize to a global

55c3cee ("qom: Introduce CPUClass.tcg_initialize", 2017-10-24)
introduces a per-CPUClass bool that we check so that the target CPU
is initialized for TCG only once. This works well except when
we end up creating more than one CPUClass, in which case we end
up incorrectly initializing TCG more than once, i.e. once for
each CPUClass.

This can be replicated with:
$ aarch64-softmmu/qemu-system-aarch64 -machine xlnx-zcu102 -smp 6 \
-global driver=xlnx,,zynqmp,property=has_rpu,value=on
In this case the class name of the "RPUs" is prefixed by "cortex-r5-",
whereas the "regular" CPUs are prefixed by "cortex-a53-". This
results in two CPUClass instances being created.

Fix it by introducing a static variable, so that only the first
target CPU being initialized will initialize the target-dependent
part of TCG, regardless of CPUClass instances.

Fixes: 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 1510343626-25861-2-git-send-email-cota@braap.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/tricore/
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
H A Dtranslate.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/sh4/
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
H A Dtranslate.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/openrisc/
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/xtensa/
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/sparc/
H A Dcpu.h55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
H A Dtranslate.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/hppa/
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
H A Dtranslate.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/m68k/
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/microblaze/
H A Dcpu.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/mips/tcg/
H A Dtranslate.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/arm/
H A Dcpu.c74d7fc7f6385158b8a5c524c61baaef1b66f3dac Thu Oct 26 13:58:14 UTC 2017 Richard Henderson <richard.henderson@linaro.org> tcg: Avoid setting tcg_initialize if !CONFIG_TCG

Fix the build for --disable-tcg.

Fixes: 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 20171026135814.20773-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/i386/
H A Dcpu.c74d7fc7f6385158b8a5c524c61baaef1b66f3dac Thu Oct 26 13:58:14 UTC 2017 Richard Henderson <richard.henderson@linaro.org> tcg: Avoid setting tcg_initialize if !CONFIG_TCG

Fix the build for --disable-tcg.

Fixes: 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 20171026135814.20773-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/qemu/target/ppc/
H A Dtranslate.c55c3ceef61fcf06fc98ddc752b7cce788ce7680b Mon Oct 16 02:02:42 UTC 2017 Richard Henderson <richard.henderson@linaro.org> qom: Introduce CPUClass.tcg_initialize

Move target cpu tcg initialization to common code,
called from cpu_exec_realizefn.

Acked-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>