[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 0/4] ppc: move the interrupt presenters under the CPU
From: |
Cédric Le Goater |
Subject: |
[Qemu-ppc] [PATCH 0/4] ppc: move the interrupt presenters under the CPU machine_data |
Date: |
Thu, 17 Jan 2019 08:53:23 +0100 |
Hello,
Currently the interrupt presenters of the sPAPR and PowerNV machines
are stored directly under PowerPCCPU which can be problematic as this
model is shared by all PPC machines.
The following patches move the interrupt presenters under the CPU
machine_data pointer which is a private field of the CPU that the
machine can use of its own needs.
To be applied on top of Thomas -std=gnu99 patchset.
Thanks,
C.
Cédric Le Goater (4):
xive: add a get_tctx() method to the XiveRouter
ppc/pnv: introduce a CPU machine_data
spapr: move the interrupt presenters under machine_data
ppc: remove the interrupt presenters from under PowerPCCPU
include/hw/ppc/pnv_core.h | 9 ++++++
include/hw/ppc/spapr_cpu_core.h | 2 ++
include/hw/ppc/xive.h | 57 +++++++++++++++++----------------
target/ppc/cpu.h | 9 ------
hw/intc/spapr_xive.c | 9 ++++++
hw/intc/xics_spapr.c | 11 ++++---
hw/intc/xive.c | 16 +++++----
hw/ppc/pnv.c | 7 ++--
hw/ppc/pnv_core.c | 12 ++++++-
hw/ppc/spapr.c | 2 +-
hw/ppc/spapr_cpu_core.c | 8 ++---
hw/ppc/spapr_irq.c | 17 ++++++----
12 files changed, 95 insertions(+), 64 deletions(-)
--
2.20.1
- [Qemu-ppc] [PATCH 0/4] ppc: move the interrupt presenters under the CPU machine_data,
Cédric Le Goater <=
[Qemu-ppc] [PATCH 2/4] ppc/pnv: introduce a CPU machine_data, Cédric Le Goater, 2019/01/17
[Qemu-ppc] [PATCH 1/4] xive: add a get_tctx() method to the XiveRouter, Cédric Le Goater, 2019/01/17