Re: [PATCH] target/ppc: Implement gathering irq statistics

2023-06-13 Thread Cédric Le Goater
On 6/8/23 11:34, BALATON Zoltan wrote: On Thu, 8 Jun 2023, Cédric Le Goater wrote: On 6/7/23 00:02, BALATON Zoltan wrote: Count exceptions which can be queried with info irq monitor command. I don't think the TYPE_INTERRUPT_STATS_PROVIDER interface was designed for CPUs. It is more suitable f

Re: [PATCH] target/ppc: Implement gathering irq statistics

2023-06-08 Thread BALATON Zoltan
On Thu, 8 Jun 2023, Cédric Le Goater wrote: On 6/7/23 00:02, BALATON Zoltan wrote: Count exceptions which can be queried with info irq monitor command. I don't think the TYPE_INTERRUPT_STATS_PROVIDER interface was designed for CPUs. It is more suitable for interrupt controllers. True but: -

Re: [PATCH] target/ppc: Implement gathering irq statistics

2023-06-08 Thread Cédric Le Goater
On 6/7/23 00:02, BALATON Zoltan wrote: Count exceptions which can be queried with info irq monitor command. I don't think the TYPE_INTERRUPT_STATS_PROVIDER interface was designed for CPUs. It is more suitable for interrupt controllers. C. Signed-off-by: BALATON Zoltan --- target/ppc/cpu.

Re: [PATCH] target/ppc: Implement gathering irq statistics

2023-06-07 Thread Daniel Henrique Barboza
On 6/6/23 19:02, BALATON Zoltan wrote: Count exceptions which can be queried with info irq monitor command. Signed-off-by: BALATON Zoltan --- Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks, Daniel target/ppc/cpu.h | 1 + target/ppc/cpu_init.c| 18 +

Re: [PATCH] target/ppc: Implement gathering irq statistics

2023-06-07 Thread Philippe Mathieu-Daudé
On 7/6/23 00:02, BALATON Zoltan wrote: Count exceptions which can be queried with info irq monitor command. Signed-off-by: BALATON Zoltan --- target/ppc/cpu.h | 1 + target/ppc/cpu_init.c| 18 ++ target/ppc/excp_helper.c | 1 + 3 files changed, 20 insertions(+

[PATCH] target/ppc: Implement gathering irq statistics

2023-06-06 Thread BALATON Zoltan
Count exceptions which can be queried with info irq monitor command. Signed-off-by: BALATON Zoltan --- target/ppc/cpu.h | 1 + target/ppc/cpu_init.c| 18 ++ target/ppc/excp_helper.c | 1 + 3 files changed, 20 insertions(+) diff --git a/target/ppc/cpu.h b/target/ppc