From: Fabiano Rosas <farosas@linux.ibm.com>
To: qemu-devel@nongnu.org
Cc: danielhb413@gmail.com, qemu-ppc@nongnu.org, clg@kaod.org,
david@gibson.dropbear.id.au
Subject: [RFC v2 00/12] target/ppc: powerpc_excp improvements
Date: Mon, 20 Dec 2021 15:18:51 -0300 [thread overview]
Message-ID: <20211220181903.3456898-1-farosas@linux.ibm.com> (raw)
This changed a lot since v1, basically what remains is the idea that
we want to have some sort of array of interrupts and some sort of
separation between processors.
At the end of this series we'll have:
- One file with all interrupt implementations (interrupts.c);
- Separate files for each major group of CPUs (book3s, booke,
32bits). Only interrupt code for now, but we could bring pieces of
cpu_init into them;
- Four separate interrupt arrays, one for each of the above groups
plus KVM.
- powerpc_excp calls into the individual files and from there we
dispatch according to what is available in the interrupts array.
Please comment,
Thanks.
v1:
https://lists.nongnu.org/archive/html/qemu-ppc/2021-06/msg00026.html
Fabiano Rosas (12):
target/ppc: powerpc_excp: Set alternate SRRs directly
target/ppc: powerpc_excp: Set vector earlier
target/ppc: powerpc_excp: Move system call vectored code together
target/ppc: powerpc_excp: Stop passing excp_model around
target/ppc: powerpc_excp: Standardize arguments to interrupt code
target/ppc: Extract interrupt routines into a new file
target/ppc: Introduce PPCInterrupt
target/ppc: Remove unimplemented interrupt code
target/ppc: Use common code for Hypervisor interrupts
target/ppc: Split powerpc_excp into book3s, booke and 32 bit
target/ppc: Create new files for book3s, booke and ppc32 exception
code
target/ppc: Do not enable all interrupts when running KVM
target/ppc/cpu.h | 2 +
target/ppc/excp_helper.c | 862 ++-------------------------------------
target/ppc/interrupts.c | 521 +++++++++++++++++++++++
target/ppc/intr-book3s.c | 383 +++++++++++++++++
target/ppc/intr-booke.c | 152 +++++++
target/ppc/intr-ppc32.c | 159 ++++++++
target/ppc/meson.build | 4 +
target/ppc/ppc_intr.h | 62 +++
target/ppc/tcg-stub.c | 6 +
9 files changed, 1323 insertions(+), 828 deletions(-)
create mode 100644 target/ppc/interrupts.c
create mode 100644 target/ppc/intr-book3s.c
create mode 100644 target/ppc/intr-booke.c
create mode 100644 target/ppc/intr-ppc32.c
create mode 100644 target/ppc/ppc_intr.h
--
2.33.1
next reply other threads:[~2021-12-20 18:21 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-20 18:18 Fabiano Rosas [this message]
2021-12-20 18:18 ` [RFC v2 01/12] target/ppc: powerpc_excp: Set alternate SRRs directly Fabiano Rosas
2021-12-21 23:32 ` Richard Henderson
2021-12-22 6:46 ` Cédric Le Goater
2021-12-23 4:39 ` David Gibson
2021-12-20 18:18 ` [RFC v2 02/12] target/ppc: powerpc_excp: Set vector earlier Fabiano Rosas
2021-12-22 6:48 ` Cédric Le Goater
2021-12-25 10:45 ` Nicholas Piggin
2021-12-24 0:11 ` Richard Henderson
2021-12-24 11:14 ` Fabiano Rosas
2021-12-20 18:18 ` [RFC v2 03/12] target/ppc: powerpc_excp: Move system call vectored code together Fabiano Rosas
2021-12-22 6:48 ` Cédric Le Goater
2021-12-24 0:12 ` Richard Henderson
2021-12-20 18:18 ` [RFC v2 04/12] target/ppc: powerpc_excp: Stop passing excp_model around Fabiano Rosas
2021-12-22 6:48 ` Cédric Le Goater
2021-12-24 0:13 ` Richard Henderson
2021-12-25 6:33 ` David Gibson
2021-12-20 18:18 ` [RFC v2 05/12] target/ppc: powerpc_excp: Standardize arguments to interrupt code Fabiano Rosas
2021-12-25 6:35 ` David Gibson
2021-12-27 17:13 ` Fabiano Rosas
2021-12-20 18:18 ` [RFC v2 06/12] target/ppc: Extract interrupt routines into a new file Fabiano Rosas
2021-12-20 18:18 ` [RFC v2 07/12] target/ppc: Introduce PPCInterrupt Fabiano Rosas
2021-12-20 18:18 ` [RFC v2 08/12] target/ppc: Remove unimplemented interrupt code Fabiano Rosas
2021-12-20 18:19 ` [RFC v2 09/12] target/ppc: Use common code for Hypervisor interrupts Fabiano Rosas
2021-12-20 18:19 ` [RFC v2 10/12] target/ppc: Split powerpc_excp into book3s, booke and 32 bit Fabiano Rosas
2021-12-20 18:19 ` [RFC v2 11/12] target/ppc: Create new files for book3s, booke and ppc32 exception code Fabiano Rosas
2021-12-20 18:19 ` [RFC v2 12/12] target/ppc: Do not enable all interrupts when running KVM Fabiano Rosas
2021-12-26 16:48 ` [RFC v2 00/12] target/ppc: powerpc_excp improvements Cédric Le Goater
2021-12-29 14:18 ` Fabiano Rosas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211220181903.3456898-1-farosas@linux.ibm.com \
--to=farosas@linux.ibm.com \
--cc=clg@kaod.org \
--cc=danielhb413@gmail.com \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.