[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 01/15] hw/ppc/spapr: Restrict CONFER hypercall to TCG
From: |
Philippe Mathieu-Daudé |
Subject: |
[RFC PATCH 01/15] hw/ppc/spapr: Restrict CONFER hypercall to TCG |
Date: |
Thu, 23 Jan 2025 22:55:55 +0100 |
TODO: Add PPC folks why :)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
RFC: Missing appropriate commit description...
hw/ppc/spapr_hcall.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c
index f8ab7670630..dbf30358a1a 100644
--- a/hw/ppc/spapr_hcall.c
+++ b/hw/ppc/spapr_hcall.c
@@ -578,6 +578,8 @@ static target_ulong h_confer(PowerPCCPU *cpu,
SpaprMachineState *spapr,
CPUState *cs = CPU(cpu);
SpaprCpuState *spapr_cpu;
+ assert(tcg_enabled()); /* KVM will have handled this */
+
/*
* -1 means confer to all other CPUs without dispatch counter check,
* otherwise it's a targeted confer.
--
2.47.1
- [PATCH 00/15] target/ppc: Move TCG code from excp_helper.c to tcg-excp_helper.c, Philippe Mathieu-Daudé, 2025/01/23
- [RFC PATCH 01/15] hw/ppc/spapr: Restrict CONFER hypercall to TCG,
Philippe Mathieu-Daudé <=
- [PATCH 02/15] hw/ppc/spapr: Restrict part of PAGE_INIT hypercall to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 03/15] target/ppc: Make ppc_ldl_code() declaration public, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 04/15] target/ppc: Move TCG specific exception handlers to tcg-excp_helper.c, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 05/15] target/ppc: Move ppc_ldl_code() to tcg-excp_helper.c, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 06/15] target/ppc: Ensure powerpc_checkstop() is only called under TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 07/15] target/ppc: Restrict powerpc_checkstop() to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 08/15] target/ppc: Remove raise_exception_ra(), Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 09/15] target/ppc: Restrict exception helpers to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 10/15] target/ppc: Restrict ppc_tcg_hv_emu() to TCG, Philippe Mathieu-Daudé, 2025/01/23