qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 00/29] PowerPC interrupt rework


From: Daniel Henrique Barboza
Subject: Re: [PATCH v3 00/29] PowerPC interrupt rework
Date: Mon, 17 Oct 2022 18:28:11 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

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(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]