qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/9] sPAPR xics rework/cleanup
@ 2016-09-19  6:29 Nikunj A Dadhania
  2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 1/9] ppc/xics: account correct irq status Nikunj A Dadhania
                   ` (8 more replies)
  0 siblings, 9 replies; 38+ messages in thread
From: Nikunj A Dadhania @ 2016-09-19  6:29 UTC (permalink / raw)
  To: qemu-ppc, david; +Cc: qemu-devel, nikunj, benh, clg

sPAPR xics related changes required for powernv platform. This brings
infrastructure to get the xics native mode for powernv. Tested pseries guests
in KVM and TCG mode. These are the pending patches of the original set.

Changelog v3:
 * Added ICP_Native and XICSNative in "native" implementation
 * Added fix for migration hang when kernel-irqchip=off

Changelog v2:
 * Restore xirr_owner after migration
 * Call icp_resend after restoring all the ICP

Changelog v1:
 * Change XICS to XICS_SPAPR and KVM_XICS to XICS_KVM_SPAPR
 * Added xics_ to function get_cpu_index_by_dt_id as this is a global symbol
 * Dropped server parameter from  icp_check_ipi
 * Send HW_ERROR when ics is NULL
 * Remove redundant parameters in trace routines
 * Use type ICS_SIMPLE, ICS_BASE and ICS_KVM
 * Dropped xics-native and info pic patches for this version

ToDo:
 + xics_spapr_alloc - getting rid of that

Benjamin Herrenschmidt (6):
  ppc/xics: Make the ICSState a list
  ppc/xics: An ICS with offset 0 is assumed to be uninitialized
  ppc/xics: Use a helper to add a new ICS
  ppc/xics: Split ICS into ics-base and ics class
  ppc/xics: Add "native" XICS subclass
  ppc/xics: Add xics to the monitor "info pic" command

Nikunj A Dadhania (3):
  ppc/xics: account correct irq status
  ppc/xics: Fix migration failure with kernel-irqchip=off
  ppc/xics: move set_nr_{irqs,servers} to xics.c

 default-configs/ppc64-softmmu.mak |   3 +-
 hmp-commands-info.hx              |   2 +
 hw/intc/Makefile.objs             |   1 +
 hw/intc/trace-events              |  15 +-
 hw/intc/xics.c                    | 405 ++++++++++++++++++++++++++++----------
 hw/intc/xics_kvm.c                |  55 ++----
 hw/intc/xics_native.c             | 306 ++++++++++++++++++++++++++++
 hw/intc/xics_spapr.c              | 147 +++++++-------
 hw/ppc/ppc.c                      |  14 ++
 hw/ppc/spapr_events.c             |   2 +-
 hw/ppc/spapr_pci.c                |   5 +-
 hw/ppc/spapr_vio.c                |   2 +-
 include/hw/ppc/ppc.h              |   1 +
 include/hw/ppc/xics.h             |  72 +++++--
 monitor.c                         |   4 +
 15 files changed, 787 insertions(+), 247 deletions(-)
 create mode 100644 hw/intc/xics_native.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2016-09-23  2:49 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19  6:29 [Qemu-devel] [PATCH v4 0/9] sPAPR xics rework/cleanup Nikunj A Dadhania
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 1/9] ppc/xics: account correct irq status Nikunj A Dadhania
2016-09-21  6:39   ` David Gibson
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 2/9] ppc/xics: Fix migration failure with kernel-irqchip=off Nikunj A Dadhania
2016-09-21  7:21   ` David Gibson
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 3/9] ppc/xics: Make the ICSState a list Nikunj A Dadhania
2016-09-19  6:59   ` [Qemu-devel] [Qemu-ppc] " Cédric Le Goater
2016-09-19  7:02     ` Nikunj A Dadhania
2016-09-19  7:24       ` Cédric Le Goater
2016-09-20  5:13         ` Nikunj A Dadhania
2016-09-21  7:48   ` [Qemu-devel] " David Gibson
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 4/9] ppc/xics: An ICS with offset 0 is assumed to be uninitialized Nikunj A Dadhania
2016-09-21  7:50   ` David Gibson
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 5/9] ppc/xics: Use a helper to add a new ICS Nikunj A Dadhania
2016-09-21 23:40   ` David Gibson
2016-09-22  6:21     ` Cédric Le Goater
2016-09-23  0:37       ` David Gibson
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 6/9] ppc/xics: Split ICS into ics-base and ics class Nikunj A Dadhania
2016-09-19  7:09   ` [Qemu-devel] [Qemu-ppc] " Cédric Le Goater
2016-09-20  5:14     ` Nikunj A Dadhania
2016-09-19 14:34   ` Cédric Le Goater
2016-09-20  6:02     ` Nikunj A Dadhania
2016-09-20  6:20       ` Cédric Le Goater
2016-09-20  6:29         ` Nikunj A Dadhania
2016-09-20  7:13           ` Cédric Le Goater
2016-09-20  8:10             ` Nikunj A Dadhania
2016-09-20  9:06               ` Cédric Le Goater
2016-09-20  9:41                 ` Nikunj A Dadhania
2016-09-20  9:52                   ` Cédric Le Goater
2016-09-20 10:03                     ` Nikunj A Dadhania
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 7/9] ppc/xics: Add "native" XICS subclass Nikunj A Dadhania
2016-09-19  7:03   ` [Qemu-devel] [Qemu-ppc] " Cédric Le Goater
2016-09-22  0:02   ` [Qemu-devel] " David Gibson
2016-09-22  6:27     ` Cédric Le Goater
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 8/9] ppc/xics: Add xics to the monitor "info pic" command Nikunj A Dadhania
2016-09-22  0:07   ` David Gibson
2016-09-19  6:29 ` [Qemu-devel] [PATCH v4 9/9] ppc/xics: move set_nr_{irqs, servers} to xics.c Nikunj A Dadhania
2016-09-22  0:14   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).