[PATCH] target/tricore: Document architectural interrupts as not implemented

Philippe Mathieu-Daudé posted 1 patch 1 day, 6 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260820140401.26482-1-philmd@oss.qualcomm.com
target/tricore/cpu.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] target/tricore: Document architectural interrupts as not implemented
Posted by Philippe Mathieu-Daudé 1 day, 6 hours ago
As mentioned in commit de680286b52 ("accel/tcg: Make
cpu_exec_interrupt hook mandatory"):

 > Tricore doesn't currently implement the architectural
 > interrupt handling.

Add a comment to help understanding why this SysemuCPUOps
has_work() handler is simply always returning %true.

Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
---
 target/tricore/cpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c
index 6d448727005..82b56c3cd56 100644
--- a/target/tricore/cpu.c
+++ b/target/tricore/cpu.c
@@ -113,6 +113,7 @@ static void tricore_cpu_reset_hold(Object *obj, ResetType type)
 
 static bool tricore_cpu_has_work(CPUState *cs)
 {
+    /* Interrupts are not implemented */
     return true;
 }
 
-- 
2.53.0


Re: [PATCH] target/tricore: Document architectural interrupts as not implemented
Posted by Richard Henderson 1 day, 5 hours ago
On 8/20/26 07:04, Philippe Mathieu-Daudé wrote:
> As mentioned in commit de680286b52 ("accel/tcg: Make
> cpu_exec_interrupt hook mandatory"):
> 
>   > Tricore doesn't currently implement the architectural
>   > interrupt handling.
> 
> Add a comment to help understanding why this SysemuCPUOps
> has_work() handler is simply always returning %true.
> 
> Signed-off-by: Philippe Mathieu-Daudé<philmd@oss.qualcomm.com>
> ---
>   target/tricore/cpu.c | 1 +
>   1 file changed, 1 insertion(+)

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

r~