mbox series

[v2,0/2] pnv/xive2: Fix TIMA special ops detection

Message ID 20230622162527.1118350-1-fbarrat@linux.ibm.com (mailing list archive)
Headers show
Series pnv/xive2: Fix TIMA special ops detection | expand

Message

Frederic Barrat June 22, 2023, 4:25 p.m. UTC
Fix the TIMA special ops detection regression, as spotted by Coverity.

Tested by running a pseries guest on top of a powernv9 and powernv10 host.

Changelog:
v2: define get_config for spapr


Frederic Barrat (2):
  pnv/xive2: Add a get_config() method on the presenter class
  pnv/xive2: Check TIMA special ops against a dedicated array for P10

 hw/intc/pnv_xive.c    | 11 +++++++++
 hw/intc/pnv_xive2.c   | 44 +++++++++------------------------
 hw/intc/spapr_xive.c  | 16 ++++++++++++
 hw/intc/xive.c        | 57 +++++++++++++++++++++++++++++++++++++------
 include/hw/ppc/xive.h |  3 +++
 5 files changed, 91 insertions(+), 40 deletions(-)

Comments

Cédric Le Goater June 23, 2023, 9:34 a.m. UTC | #1
On 6/22/23 18:25, Frederic Barrat wrote:
> Fix the TIMA special ops detection regression, as spotted by Coverity.
> 
> Tested by running a pseries guest on top of a powernv9 and powernv10 host.
> 
> Changelog:
> v2: define get_config for spapr
> 
> 
> Frederic Barrat (2):
>    pnv/xive2: Add a get_config() method on the presenter class
>    pnv/xive2: Check TIMA special ops against a dedicated array for P10
> 
>   hw/intc/pnv_xive.c    | 11 +++++++++
>   hw/intc/pnv_xive2.c   | 44 +++++++++------------------------
>   hw/intc/spapr_xive.c  | 16 ++++++++++++
>   hw/intc/xive.c        | 57 +++++++++++++++++++++++++++++++++++++------
>   include/hw/ppc/xive.h |  3 +++
>   5 files changed, 91 insertions(+), 40 deletions(-)
> 

Applied to ppc-next.

Thanks,

C.