Re: [RFC PATCH 6/7] cpu: Move CPUClass::has_work() to TCGCPUOps

2021-03-04 Thread Philippe Mathieu-Daudé
On 3/4/21 7:15 AM, Thomas Huth wrote: > On 02/03/2021 11.27, Philippe Mathieu-Daudé wrote: >> We can only check if a vCPU has work with TCG. >> Restrict the has_work() handler to TCG by moving it to >> the TCGCPUOps structure, and adapt all the targets. >> >> Signed-off-by: Philippe Mathieu-Daudé

Re: [RFC PATCH 6/7] cpu: Move CPUClass::has_work() to TCGCPUOps

2021-03-03 Thread Thomas Huth
On 02/03/2021 11.27, Philippe Mathieu-Daudé wrote: We can only check if a vCPU has work with TCG. Restrict the has_work() handler to TCG by moving it to the TCGCPUOps structure, and adapt all the targets. Signed-off-by: Philippe Mathieu-Daudé --- RFC: PPC target incomplete --- [...] diff --gi

RE: [RFC PATCH 6/7] cpu: Move CPUClass::has_work() to TCGCPUOps

2021-03-03 Thread Taylor Simpson
bson > ; Sagar Karandikar > ; Guan Xuetao ; Max > Filippov ; Aurelien Jarno > Subject: [RFC PATCH 6/7] cpu: Move CPUClass::has_work() to TCGCPUOps > > diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c > index b0b3040dd13..d597fe12cdf 100644 > --- a/target/hexagon/cpu.c

[RFC PATCH 6/7] cpu: Move CPUClass::has_work() to TCGCPUOps

2021-03-02 Thread Philippe Mathieu-Daudé
We can only check if a vCPU has work with TCG. Restrict the has_work() handler to TCG by moving it to the TCGCPUOps structure, and adapt all the targets. Signed-off-by: Philippe Mathieu-Daudé --- RFC: PPC target incomplete --- include/hw/core/cpu.h | 2 -- include/hw/core/tcg-cpu-ops.h