Richard Henderson writes:
> On 12/16/22 13:29, Fabiano Rosas wrote:
>> -if (arm_is_psci_call(cpu, cs->exception_index)) {
>> -arm_handle_psci_call(cpu);
>> -qemu_log_mask(CPU_LOG_INT, "...handled as PSCI call\n");
>> -return;
>> -}
>> +if (tcg_enabled()) {
>>
On 12/16/22 13:29, Fabiano Rosas wrote:
-if (arm_is_psci_call(cpu, cs->exception_index)) {
-arm_handle_psci_call(cpu);
-qemu_log_mask(CPU_LOG_INT, "...handled as PSCI call\n");
-return;
-}
+if (tcg_enabled()) {
+if (arm_is_psci_call(cpu,
From: Claudio Fontana
for "all" builds (tcg + kvm), we want to avoid doing
the psci and semihosting checks if tcg is built-in, but not enabled.
Signed-off-by: Claudio Fontana
Signed-off-by: Fabiano Rosas
---
Originally from:
[RFC v14 39/80] target/arm: replace CONFIG_TCG with tcg_enabled