Re: [PATCH] arm/cpu: revises cortex-r5

2025-01-30 Thread Yanfeng Liu
On Mon, 2025-01-27 at 09:03 +0100, Philippe Mathieu-Daudé wrote: > Hi, > > On 26/1/25 12:43, Yanfeng Liu wrote: > > From: Yanfeng Liu > > > > This enables generic timer feature for Cortex-R5 so that to support guests > > like NuttX RTOS. > > QEMU aims to model CPU faithful to hardware, than the

Re: [PATCH] arm/cpu: revises cortex-r5

2025-01-27 Thread Philippe Mathieu-Daudé
Hi, On 26/1/25 12:43, Yanfeng Liu wrote: From: Yanfeng Liu This enables generic timer feature for Cortex-R5 so that to support guests like NuttX RTOS. QEMU aims to model CPU faithful to hardware, than the R5 doesn't has generic timer. Maybe you want to use the Cortex-R52 instead? I see Nutt

[PATCH] arm/cpu: revises cortex-r5

2025-01-26 Thread Yanfeng Liu
From: Yanfeng Liu This enables generic timer feature for Cortex-R5 so that to support guests like NuttX RTOS. Signed-off-by: Yanfeng Liu --- target/arm/tcg/cpu32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/arm/tcg/cpu32.c b/target/arm/tcg/cpu32.c index 2ad218