From: Daniel Henrique Barboza <danielhb413@gmail.com>
To: Matheus Ferst <matheus.ferst@eldorado.org.br>,
qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: clg@kaod.org, david@gibson.dropbear.id.au, groug@kaod.org,
fbarrat@linux.ibm.com, alex.bennee@linaro.org,
farosas@linux.ibm.com
Subject: Re: [PATCH v3 00/29] PowerPC interrupt rework
Date: Mon, 17 Oct 2022 18:28:11 -0300 [thread overview]
Message-ID: <a57da50b-8d6c-945f-b0ac-dfe311d075c1@gmail.com> (raw)
In-Reply-To: <20221011204829.1641124-1-matheus.ferst@eldorado.org.br>
Matheus,
Nice cleanup and rework. The code is way better now.
I send a PR today without this series. As soon as that gets merged I'll
push these patches to ppc-next. This will give us more time to test the
changes and see if we can detect any unintended changes/bugs.
Thanks,
Daniel
On 10/11/22 17:48, Matheus Ferst wrote:
> Link to v2: https://lists.gnu.org/archive/html/qemu-ppc/2022-09/msg00556.html
> This series is also available as a git branch: https://github.com/PPC64/qemu/tree/ferst-interrupt-fix-v3
> Patches without review: 3-27
>
> This new version rebases the patch series on the current master and
> fixes some problems pointed out by Fabiano on v2.
>
> Matheus Ferst (29):
> target/ppc: define PPC_INTERRUPT_* values directly
> target/ppc: always use ppc_set_irq to set env->pending_interrupts
> target/ppc: split interrupt masking and delivery from ppc_hw_interrupt
> target/ppc: prepare to split interrupt masking and delivery by excp_model
> target/ppc: create an interrupt masking method for POWER9/POWER10
> target/ppc: remove unused interrupts from p9_next_unmasked_interrupt
> target/ppc: create an interrupt deliver method for POWER9/POWER10
> target/ppc: remove unused interrupts from p9_deliver_interrupt
> target/ppc: remove generic architecture checks from p9_deliver_interrupt
> target/ppc: move power-saving interrupt masking out of cpu_has_work_POWER9
> target/ppc: add power-saving interrupt masking logic to p9_next_unmasked_interrupt
> target/ppc: create an interrupt masking method for POWER8
> target/ppc: remove unused interrupts from p8_next_unmasked_interrupt
> target/ppc: create an interrupt deliver method for POWER8
> target/ppc: remove unused interrupts from p8_deliver_interrupt
> target/ppc: remove generic architecture checks from p8_deliver_interrupt
> target/ppc: move power-saving interrupt masking out of cpu_has_work_POWER8
> target/ppc: add power-saving interrupt masking logic to p8_next_unmasked_interrupt
> target/ppc: create an interrupt masking method for POWER7
> target/ppc: remove unused interrupts from p7_next_unmasked_interrupt
> target/ppc: create an interrupt deliver method for POWER7
> target/ppc: remove unused interrupts from p7_deliver_interrupt
> target/ppc: remove generic architecture checks from p7_deliver_interrupt
> target/ppc: move power-saving interrupt masking out of cpu_has_work_POWER7
> target/ppc: add power-saving interrupt masking logic to p7_next_unmasked_interrupt
> target/ppc: remove ppc_store_lpcr from CONFIG_USER_ONLY builds
> target/ppc: introduce ppc_maybe_interrupt
> target/ppc: unify cpu->has_work based on cs->interrupt_request
> target/ppc: move the p*_interrupt_powersave methods to excp_helper.c
>
> hw/ppc/pnv_core.c | 1 +
> hw/ppc/ppc.c | 17 +-
> hw/ppc/spapr_hcall.c | 6 +
> hw/ppc/spapr_rtas.c | 2 +-
> hw/ppc/trace-events | 2 +-
> target/ppc/cpu.c | 4 +
> target/ppc/cpu.h | 43 +-
> target/ppc/cpu_init.c | 212 +---------
> target/ppc/excp_helper.c | 887 ++++++++++++++++++++++++++++++++++-----
> target/ppc/helper.h | 1 +
> target/ppc/helper_regs.c | 2 +
> target/ppc/misc_helper.c | 11 +-
> target/ppc/translate.c | 2 +
> 13 files changed, 833 insertions(+), 357 deletions(-)
>
next prev parent reply other threads:[~2022-10-17 21:32 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 20:48 [PATCH v3 00/29] PowerPC interrupt rework Matheus Ferst
2022-10-11 20:48 ` [PATCH v3 01/29] target/ppc: define PPC_INTERRUPT_* values directly Matheus Ferst
2022-10-11 20:48 ` [PATCH v3 02/29] target/ppc: always use ppc_set_irq to set env->pending_interrupts Matheus Ferst
2022-10-11 20:48 ` [PATCH v3 03/29] target/ppc: split interrupt masking and delivery from ppc_hw_interrupt Matheus Ferst
2022-10-13 12:38 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 04/29] target/ppc: prepare to split interrupt masking and delivery by excp_model Matheus Ferst
2022-10-13 12:39 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 05/29] target/ppc: create an interrupt masking method for POWER9/POWER10 Matheus Ferst
2022-10-13 12:40 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 06/29] target/ppc: remove unused interrupts from p9_next_unmasked_interrupt Matheus Ferst
2022-10-13 12:43 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 07/29] target/ppc: create an interrupt deliver method for POWER9/POWER10 Matheus Ferst
2022-10-13 12:44 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 08/29] target/ppc: remove unused interrupts from p9_deliver_interrupt Matheus Ferst
2022-10-13 12:46 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 09/29] target/ppc: remove generic architecture checks " Matheus Ferst
2022-10-13 12:46 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 10/29] target/ppc: move power-saving interrupt masking out of cpu_has_work_POWER9 Matheus Ferst
2022-10-13 12:50 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 11/29] target/ppc: add power-saving interrupt masking logic to p9_next_unmasked_interrupt Matheus Ferst
2022-10-13 13:11 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 12/29] target/ppc: create an interrupt masking method for POWER8 Matheus Ferst
2022-10-14 14:07 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 13/29] target/ppc: remove unused interrupts from p8_next_unmasked_interrupt Matheus Ferst
2022-10-14 14:41 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 14/29] target/ppc: create an interrupt deliver method for POWER8 Matheus Ferst
2022-10-14 14:42 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 15/29] target/ppc: remove unused interrupts from p8_deliver_interrupt Matheus Ferst
2022-10-14 14:47 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 16/29] target/ppc: remove generic architecture checks " Matheus Ferst
2022-10-14 14:47 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 17/29] target/ppc: move power-saving interrupt masking out of cpu_has_work_POWER8 Matheus Ferst
2022-10-14 14:48 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 18/29] target/ppc: add power-saving interrupt masking logic to p8_next_unmasked_interrupt Matheus Ferst
2022-10-14 14:50 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 19/29] target/ppc: create an interrupt masking method for POWER7 Matheus Ferst
2022-10-14 15:06 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 20/29] target/ppc: remove unused interrupts from p7_next_unmasked_interrupt Matheus Ferst
2022-10-14 15:11 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 21/29] target/ppc: create an interrupt deliver method for POWER7 Matheus Ferst
2022-10-14 15:11 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 22/29] target/ppc: remove unused interrupts from p7_deliver_interrupt Matheus Ferst
2022-10-14 15:14 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 23/29] target/ppc: remove generic architecture checks " Matheus Ferst
2022-10-14 15:15 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 24/29] target/ppc: move power-saving interrupt masking out of cpu_has_work_POWER7 Matheus Ferst
2022-10-14 15:15 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 25/29] target/ppc: add power-saving interrupt masking logic to p7_next_unmasked_interrupt Matheus Ferst
2022-10-14 15:16 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 26/29] target/ppc: remove ppc_store_lpcr from CONFIG_USER_ONLY builds Matheus Ferst
2022-10-14 15:16 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 27/29] target/ppc: introduce ppc_maybe_interrupt Matheus Ferst
2022-10-14 15:19 ` Fabiano Rosas
2022-10-11 20:48 ` [PATCH v3 28/29] target/ppc: unify cpu->has_work based on cs->interrupt_request Matheus Ferst
2022-10-11 20:48 ` [PATCH v3 29/29] target/ppc: move the p*_interrupt_powersave methods to excp_helper.c Matheus Ferst
2022-10-17 21:28 ` Daniel Henrique Barboza [this message]
2022-10-19 21:55 ` [PATCH v3 00/29] PowerPC interrupt rework Daniel Henrique Barboza
2022-10-20 11:18 ` Daniel Henrique Barboza
2022-10-20 13:40 ` Matheus K. Ferst
2022-10-21 10:56 ` Daniel Henrique Barboza
2022-10-21 14:21 ` Matheus K. Ferst
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=a57da50b-8d6c-945f-b0ac-dfe311d075c1@gmail.com \
--to=danielhb413@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=clg@kaod.org \
--cc=david@gibson.dropbear.id.au \
--cc=farosas@linux.ibm.com \
--cc=fbarrat@linux.ibm.com \
--cc=groug@kaod.org \
--cc=matheus.ferst@eldorado.org.br \
--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 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).