From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBIRR-000364-UV for qemu-devel@nongnu.org; Mon, 19 Aug 2013 01:55:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBIRG-0005oi-2G for qemu-devel@nongnu.org; Mon, 19 Aug 2013 01:55:49 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:44073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBIRF-0005oS-Oj for qemu-devel@nongnu.org; Mon, 19 Aug 2013 01:55:37 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq2so4580921pbb.33 for ; Sun, 18 Aug 2013 22:55:36 -0700 (PDT) From: Alexey Kardashevskiy Date: Mon, 19 Aug 2013 15:55:18 +1000 Message-Id: <1376891726-26122-1-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v3 0/8] xics: reworks and in-kernel support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Alexey Kardashevskiy , Alexander Graf , qemu-ppc@nongnu.org, Paul Mackerras , =?UTF-8?q?Andreas=20F=C3=A4rber?= , David Gibson Yet another try with XICS-KVM. v2->v3: Addressed multiple comments from Andreas; Added 2 patches for XICS from Ben - I included them into the series as they are about XICS and they won't rebase automatically if moved before XICS rework so it seemed to me that it would be better to carry them toghether. If it is wrong, please let me know, I'll repost them separately. v1->v2: The main change is this adds "xics-common" parent for emulated XICS and XICS-KVM. And many, many small changes, mostly to address Andreas comments. Migration from XICS to XICS-KVM and vice versa still works. Alexey Kardashevskiy (4): xics: add pre_save/post_load/cpu_setup dispatchers xics: move registration of global state to realize() xics: minor changes and cleanups xics: split to xics and xics-common Benjamin Herrenschmidt (2): xics: Add H_IPOLL implementation xics: Implement H_XIRR_X David Gibson (2): target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKEN xics-kvm: Support for in-kernel XICS interrupt controller default-configs/ppc64-softmmu.mak | 1 + hw/intc/Makefile.objs | 1 + hw/intc/xics.c | 358 +++++++++++++++++++++------ hw/intc/xics_kvm.c | 492 ++++++++++++++++++++++++++++++++++++++ hw/ppc/spapr.c | 27 ++- include/hw/ppc/spapr.h | 3 +- include/hw/ppc/xics.h | 68 +++++- target-ppc/kvm.c | 14 ++ target-ppc/kvm_ppc.h | 7 + 9 files changed, 894 insertions(+), 77 deletions(-) create mode 100644 hw/intc/xics_kvm.c -- 1.8.3.2