qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] GICv3 LPI and ITS feature implementation
@ 2021-04-01  2:41 Shashi Mallela
  2021-04-01  2:41 ` [PATCH v2 1/8] hw/intc: GICv3 ITS initial framework Shashi Mallela
                   ` (7 more replies)
  0 siblings, 8 replies; 25+ messages in thread
From: Shashi Mallela @ 2021-04-01  2:41 UTC (permalink / raw)
  To: peter.maydell, leif, rad; +Cc: qemu-arm, qemu-devel

This patchset implements qemu device model for enabling physical
LPI support and ITS functionality in GIC as per GICv3 specification.
Both flat table and 2 level tables are implemented.The ITS commands
for adding/deleting ITS table entries,trigerring LPI interrupts are 
implemented.Translated LPI interrupt ids are processed by redistributor
to determine priority and set pending state appropriately before
forwarding the same to cpu interface.
The ITS feature support has been added to sbsa-ref platform as well as
virt platform,wherein the emulated functionality co-exists with kvm
kernel functionality.

Changes in v2:
 - used FIELD to avoid manual mask definition/manipulation
 - defined registers in patches that first use them
 - changed LOG_GUEST_ERROR to LOG_UNIMP for unimplemented code
 - all kvm-unit-tests passed except 1 inapplicable case of its-trigger
   which assumes presence of redistributor caching

Shashi Mallela (8):
  hw/intc: GICv3 ITS initial framework
  hw/intc: GICv3 ITS register definitions added
  hw/intc: GICv3 ITS command queue framework
  hw/intc: GICv3 ITS Command processing
  hw/intc: GICv3 ITS Feature enablement
  hw/intc: GICv3 redistributor ITS processing
  hw/arm/sbsa-ref: add ITS support in SBSA GIC
  hw/arm/virt: add ITS support in virt GIC

 hw/arm/sbsa-ref.c                      |   26 +-
 hw/arm/virt.c                          |   10 +-
 hw/intc/arm_gicv3.c                    |    6 +
 hw/intc/arm_gicv3_common.c             |   16 +
 hw/intc/arm_gicv3_cpuif.c              |   15 +-
 hw/intc/arm_gicv3_dist.c               |   22 +-
 hw/intc/arm_gicv3_its.c                | 1359 ++++++++++++++++++++++++
 hw/intc/arm_gicv3_its_common.c         |   54 +-
 hw/intc/arm_gicv3_its_kvm.c            |    2 +-
 hw/intc/arm_gicv3_redist.c             |  152 ++-
 hw/intc/gicv3_internal.h               |  177 ++-
 hw/intc/meson.build                    |    1 +
 include/hw/intc/arm_gicv3_common.h     |   14 +
 include/hw/intc/arm_gicv3_its_common.h |   40 +-
 target/arm/kvm_arm.h                   |    4 +-
 15 files changed, 1867 insertions(+), 31 deletions(-)
 create mode 100644 hw/intc/arm_gicv3_its.c

-- 
2.27.0



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2021-04-30 15:57 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01  2:41 [PATCH v2 0/8] GICv3 LPI and ITS feature implementation Shashi Mallela
2021-04-01  2:41 ` [PATCH v2 1/8] hw/intc: GICv3 ITS initial framework Shashi Mallela
2021-04-16 17:21   ` Peter Maydell
2021-04-29 23:36     ` shashi.mallela
2021-04-30 10:09       ` Peter Maydell
2021-04-30 15:56         ` Shashi Mallela
2021-04-01  2:41 ` [PATCH v2 2/8] hw/intc: GICv3 ITS register definitions added Shashi Mallela
2021-04-16 18:54   ` Peter Maydell
     [not found]     ` <937a2923445e3ff629c9799a8579c470d2636375.camel@linaro.org>
2021-04-29 23:37       ` shashi.mallela
2021-04-01  2:41 ` [PATCH v2 3/8] hw/intc: GICv3 ITS command queue framework Shashi Mallela
2021-04-19 10:30   ` Peter Maydell
2021-04-29 23:38     ` shashi.mallela
2021-04-01  2:41 ` [PATCH v2 4/8] hw/intc: GICv3 ITS Command processing Shashi Mallela
2021-04-19 10:39   ` Peter Maydell
2021-04-01  2:41 ` [PATCH v2 5/8] hw/intc: GICv3 ITS Feature enablement Shashi Mallela
2021-04-19 10:51   ` Peter Maydell
2021-04-29 23:39     ` shashi.mallela
2021-04-01  2:41 ` [PATCH v2 6/8] hw/intc: GICv3 redistributor ITS processing Shashi Mallela
2021-04-19 12:44   ` Peter Maydell
     [not found]     ` <89852279ad379f2e50563dd47eb67376262355c0.camel@linaro.org>
2021-04-29 23:40       ` shashi.mallela
2021-04-01  2:41 ` [PATCH v2 7/8] hw/arm/sbsa-ref: add ITS support in SBSA GIC Shashi Mallela
2021-04-19 12:44   ` Peter Maydell
2021-04-01  2:41 ` [PATCH v2 8/8] hw/arm/virt: add ITS support in virt GIC Shashi Mallela
2021-04-19 12:46   ` Peter Maydell
2021-04-29 23:40     ` shashi.mallela

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