qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] xics: Eliminate unnecessary class


From: David Gibson
Subject: [PATCH 0/4] xics: Eliminate unnecessary class
Date: Tue, 24 Sep 2019 14:59:48 +1000

The XICS interrupt controller device used to have separate subtypes
for the KVM and non-KVM variant of the device.  That was a bad idea,
because it leaked information that should be entirely host-side
implementation specific to the kinda-sorta guest visible QOM class
names.

We eliminated the KVM specific class some time ago, but it's left
behind a distinction between the TYPE_ICS_BASE abstract class and
TYPE_ICS_SIMPLE subtype which no longer serves any purpose.

This series collapses the two types back into one.

David Gibson (4):
  xics: Eliminate 'reject', 'resend' and 'eoi' class hooks
  xics: Merge reset and realize hooks
  xics: Rename misleading ics_simple_*() functions
  xics: Merge TYPE_ICS_BASE and TYPE_ICS_SIMPLE classes

 hw/intc/trace-events  |  10 +-
 hw/intc/xics.c        | 211 ++++++++++++++----------------------------
 hw/intc/xics_spapr.c  |  12 +--
 hw/ppc/pnv_psi.c      |   6 +-
 hw/ppc/spapr_irq.c    |   6 +-
 include/hw/ppc/xics.h |  30 +-----
 6 files changed, 92 insertions(+), 183 deletions(-)

-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]