Skip to content

hw/intc/arm_gicv5: Implement virtualization support

Peter Maydell qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest86 patches 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/86hw/intc/arm_gicv5: Make IRS_IDR0 reads return actual value, not 0hw/intc/arm_gicv5.c+1 -01 reply
2/86hw/intc/arm_gicv5: Ignore low bits in IRS_IST_BASER.ADDRhw/intc/arm_gicv5.c+28 -01 reply
3/86hw/intc/arm_gicv5: Ignore low bits in L1_ISTE.L2_ADDRhw/intc/arm_gicv5.c include/hw/intc/arm_gicv5.h+7 -01 reply
4/86hw/intc/arm_gicv5: Regularize spacing in config_readl() switchhw/intc/arm_gicv5.c+0 -151 reply
5/86hw/intc/arm_gicv5: Use cached IRS_IST_BASER.VALID statehw/intc/arm_gicv5.c+3 -40 replies
6/86hw/intc/arm_gicv5: Free memory in finalizehw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c+14 -00 replies
7/86target/arm: GICv5 cpuif: Use arm_cpu_set_irq() to set IRQ/FIQ statustarget/arm/cpu.c target/arm/internals.h target/arm/tcg/gicv5-cpuif.c+29 -342 replies
8/86target/arm: Only allow GICv5 on CPUs without AArch32 at EL1..3target/arm/cpu-features.h target/arm/cpu.c+15 -300 replies
9/86hw/intc/arm_gicv5: Pass CPU index to CPU interfacehw/intc/arm_gicv5_common.c include/hw/intc/arm_gicv5_stream.h target/arm/cpu.c +2 more+20 -140 replies
10/86hw/intc/arm_gicv5: Pass cpuidx rather than iaffid in gicv5_get_hppi()hw/intc/arm_gicv5.c include/hw/intc/arm_gicv5_stream.h target/arm/tcg/gicv5-cpuif.c+5 -60 replies
11/86hw/intc/arm_gicv5: Use correct type for value in lpi_cache_get_hppi()hw/intc/arm_gicv5.c+1 -10 replies
12/86hw/intc/arm_gicv5: Relax QEMU_GICV5_MIN_LPI_ID_BITS to 0include/hw/intc/arm_gicv5_common.h+1 -11 reply
13/86target/arm: GICv5 cpuif: Implement ICH_APR_EL2target/arm/cpu.h target/arm/tcg/gicv5-cpuif.c+46 -00 replies
14/86target/arm: GICv5 cpuif: Implement ICH_PPI_{ENABLE, PEND, ACTIVE} regstarget/arm/cpu.h target/arm/tcg/gicv5-cpuif.c+67 -00 replies
15/86target/arm: GICv5 cpuif: Implement ICH_PPI_PRIORITYR<n>_EL2target/arm/cpu.h target/arm/tcg/gicv5-cpuif.c+22 -00 replies
16/86target/arm: GICv5 cpuif: Implement ICH_PPI_DVIR<n>_EL2target/arm/cpu.h target/arm/tcg/gicv5-cpuif.c+28 -00 replies
17/86target/arm: GICv5 cpuif: Implement ICH_VCTLR_EL2 and ICH_VCMR_EL2target/arm/cpu.h target/arm/tcg/gicv5-cpuif.c+30 -00 replies
18/86target/arm: GICv5 cpuif: Implement GIC fine-grained trap registerstarget/arm/cpregs.h target/arm/cpu.h target/arm/tcg/gicv5-cpuif.c+111 -60 replies
19/86target/arm: GICv5 cpuif: Mark GIC registers for fine-grained trapstarget/arm/tcg/gicv5-cpuif.c+20 -00 replies
20/86target/arm: GICv5 cpuif: Mark GIC insns for fine-grained trapstarget/arm/tcg/gicv5-cpuif.c+11 -00 replies
21/86target/arm: GICv5 cpuif: Implement ICC_SRE_ELxtarget/arm/tcg/gicv5-cpuif.c+17 -00 replies
22/86target/arm: GICv5 cpuif: Implement ICH_PPI_HVIR<n>_EL2target/arm/cpu.h target/arm/tcg/gicv5-cpuif.c+23 -00 replies
23/86target/arm: GICv5 cpuif: Implement ICV_APR_EL1target/arm/tcg/gicv5-cpuif.c+25 -50 replies
24/86target/arm: GICv5 cpuif: Implement ICV_CR0_EL1target/arm/tcg/gicv5-cpuif.c+29 -121 reply
25/86target/arm: GICv5 cpuif: Implement ICV_PCR_EL1target/arm/tcg/gicv5-cpuif.c+20 -60 replies
26/86target/arm: GICv5 cpuif: Implement ICV_PPI_ENABLER<n>_EL1target/arm/tcg/gicv5-cpuif.c+20 -20 replies
27/86target/arm: GICv5 cpuif: Implement ICV_PPI_PRIORITYR<n>_EL1target/arm/tcg/gicv5-cpuif.c+62 -20 replies
28/86target/arm: GICv5 cpuif: Add comment about ICV_PPI_HMR<n>_EL1target/arm/tcg/gicv5-cpuif.c+19 -00 replies
29/86target/arm: GICv5 cpuif: Implement ICV_PPI_CACTIVER<n>_EL1, ICV_PPI_SACTIVER<n>_EL1target/arm/tcg/gicv5-cpuif.c+32 -60 replies
30/86target/arm: GICv5 cpuif: Implement ICV_PPI_CPENDR<n>_EL1, ICV_PPI_SPENDR<n>_EL1target/arm/tcg/gicv5-cpuif.c+34 -60 replies
31/86target/arm: GICv5 cpuif: Calculate current virtual PPI HPPItarget/arm/cpu.h target/arm/tcg/gicv5-cpuif.c target/arm/tcg/trace-events+54 -00 replies
32/86target/arm: GICv5 cpuif: Add virtual support to IRS/cpuif HPPI APIshw/intc/arm_gicv5.c include/hw/intc/arm_gicv5_stream.h target/arm/tcg/gicv5-cpuif.c+23 -80 replies
33/86target/arm: GICv5 cpuif: Implement ICV_HPPIR_EL1target/arm/tcg/gicv5-cpuif.c+71 -20 replies
34/86target/arm: GICv5 cpuif: Implement gicv5_update_virq_vfiq()target/arm/tcg/gicv5-cpuif.c target/arm/tcg/trace-events+43 -10 replies
35/86target/arm: GICv5 cpuif: Implement ICH_CONTEXTR_EL2hw/intc/arm_gicv5.c include/hw/intc/arm_gicv5_stream.h target/arm/cpu.h +2 more+161 -01 reply
36/86target/arm: GICv5 cpuif: ask the GIC for the virtual HPPItarget/arm/tcg/gicv5-cpuif.c+21 -60 replies
37/86target/arm: GICv5 cpuif: Handle LD/VD insns when setting domain/virtual argstarget/arm/tcg/gicv5-cpuif.c+53 -180 replies
38/86target/arm: GICv5 cpuif: Handle virtual interrupts for GIC CDEOItarget/arm/tcg/gicv5-cpuif.c target/arm/tcg/trace-events+17 -50 replies
39/86target/arm: GICv5 cpuif: Handle virtual interrupts for GIC CDDItarget/arm/tcg/gicv5-cpuif.c target/arm/tcg/trace-events+9 -40 replies
40/86target/arm: GICv5 cpuif: Handle virtual interrupts for GICR CDIA, CDNMIAtarget/arm/tcg/gicv5-cpuif.c target/arm/tcg/trace-events+31 -130 replies
41/86target/arm: GICv5 cpuif: Handle GIC VDPEND VM argumenthw/intc/arm_gicv5.c hw/intc/trace-events include/hw/intc/arm_gicv5_stream.h +1 more+39 -50 replies
42/86target/arm: GICv5 cpuif: Implement GIC VDnnn insnstarget/arm/tcg/gicv5-cpuif.c+48 -00 replies
43/86target/arm: GICv5 cpuif: Implement GIC LDnnn insnstarget/arm/tcg/gicv5-cpuif.c+40 -00 replies
44/86target/arm: GICv5 cpuif: Handle PPI injection in vPPI pending readstarget/arm/tcg/gicv5-cpuif.c+93 -21 reply
45/86target/arm: GICv5 cpuif: Handle PPI injection in vPPI pending writestarget/arm/tcg/gicv5-cpuif.c+63 -61 reply
46/86target/arm: GICv5 cpuif: Handle injected PPIs in GICR CDIAtarget/arm/tcg/gicv5-cpuif.c+22 -10 replies
47/86target/arm: GICv5 cpuif: Update on HCR_EL2.{NV, NV1} and SCR_EL3.NS changestarget/arm/gicv5-stubs.c target/arm/helper.c target/arm/internals.h +1 more+53 -50 replies
48/86target/arm: GICv5 cpuif: Update VFIQ/VIRQ when direct-injected PPIs changetarget/arm/tcg/gicv5-cpuif.c+26 -00 replies
49/86hw/intc: Move GICv5 register and data definitions into a headerhw/intc/arm_gicv5.c include/hw/intc/arm_gicv5_regs.h+287 -2692 replies
50/86hw/intc/arm_gicv5: Correct offset for IRS_VMT_STATUSRinclude/hw/intc/arm_gicv5_regs.h+1 -10 replies
51/86hw/intc/arm_gicv5: Ask CPUs whether IRS needs virtualization supporthw/intc/arm_gicv5_common.c include/hw/intc/arm_gicv5_common.h include/hw/intc/arm_gicv5_stream.h +1 more+32 -110 replies
52/86hw/intc/arm_gicv5: Indicate virtualization in ID registershw/intc/arm_gicv5.c include/hw/intc/arm_gicv5_common.h+56 -90 replies
53/86hw/intc/arm_gicv5: Implement IRS_VMT_BASER and IRS_VMT_STATUSRhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c hw/intc/trace-events +1 more+80 -00 replies
54/86hw/intc/arm_gicv5: IMplement IRS_VMT_CFGRhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c hw/intc/trace-events +2 more+93 -40 replies
55/86hw/intc/arm_gicv5: Implement IRS_VMAP_L2_VMTRhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c include/hw/intc/arm_gicv5_common.h +1 more+120 -11 reply
56/86hw/intc/arm_gicv5: Implement IRS_VMAP_VMRhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c hw/intc/trace-events +2 more+118 -02 replies
57/86hw/intc/arm_gicv5: Factor out code to fill in a GICv5ISTConfighw/intc/arm_gicv5.c+100 -810 replies
58/86hw/intc/arm_gicv5: Cache info about valid VMs in a hashtablehw/intc/arm_gicv5.c hw/intc/trace-events include/hw/intc/arm_gicv5.h +1 more+216 -60 replies
59/86hw/intc/arm_gicv5: Populate VM cache when VM table becomes validhw/intc/arm_gicv5.c include/hw/intc/arm_gicv5_regs.h+82 -10 replies
60/86hw/intc/arm_gicv5: Implement IRS_VMAP_VISTRhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c hw/intc/trace-events +1 more+157 -00 replies
61/86hw/intc/arm_gicv5: Factor out "make an L2 IST valid" functionhw/intc/arm_gicv5.c+10 -40 replies
62/86hw/intc/arm_gicv5: Implement IRS_VMAP_L2_VISTRhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c include/hw/intc/arm_gicv5_common.h+78 -02 replies
63/86hw/intc/arm_gicv5: Cache VPE table informationhw/intc/arm_gicv5.c hw/intc/trace-events include/hw/intc/arm_gicv5_regs.h+64 -20 replies
64/86hw/intc/arm_gicv5: Implement IRS_VMAP_VPERhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c hw/intc/trace-events +1 more+97 -00 replies
65/86hw/intc/arm_gicv5: Implement IRS_VPE_SELR and IRS_VPE_STATUSRhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c hw/intc/trace-events +1 more+120 -00 replies
66/86hw/intc/arm_gicv5: Implement IRS_VPE_DBRhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c hw/intc/trace-events +1 more+107 -20 replies
67/86hw/intc/arm_gicv5: Implement IRS_VPE_CR0hw/intc/arm_gicv5.c+7 -00 replies
68/86hw/intc/arm_gicv5: Implement gicv5_set_resident()hw/intc/arm_gicv5.c hw/intc/trace-events include/hw/intc/arm_gicv5.h+120 -22 replies
69/86hw/intc/arm_gicv5: Take cpuidx for stream commands on virtual interruptshw/intc/arm_gicv5.c include/hw/intc/arm_gicv5_stream.h target/arm/tcg/gicv5-cpuif.c+39 -250 replies
70/86hw/intc/arm_gicv5: Handle virtual=true in gicv5_set_priority()hw/intc/arm_gicv5.c+82 -80 replies
71/86hw/intc/arm_gicv5: Handle virtual=true for setting enabled, pending, handlinghw/intc/arm_gicv5.c+15 -150 replies
72/86hw/intc/arm_gicv5: Handle virtual=true for setting pendinghw/intc/arm_gicv5.c+26 -80 replies
73/86hw/intc/arm_gicv5: Handle virtual=true in gicv5_set_target()hw/intc/arm_gicv5.c+20 -160 replies
74/86hw/intc/arm_gicv5: Handle virtual=true in gicv5_deactivate()hw/intc/arm_gicv5.c+8 -80 replies
75/86hw/intc/arm_gicv5: Handle activation of a virtual interrupthw/intc/arm_gicv5.c+30 -110 replies
76/86hw/intc/arm_gicv5: Handle virtual=true in gicv5_request_config()hw/intc/arm_gicv5.c+13 -30 replies
77/86hw/intc/arm_gicv5: Implement irs_recalc_vhppi()hw/intc/arm_gicv5.c hw/intc/trace-events+42 -30 replies
78/86hw/intc/arm_gicv5: Recalculate vHPPIs on VIST and VPE mappinghw/intc/arm_gicv5.c+17 -01 reply
79/86hw/intc/arm_gicv5: Add virtual support to gicv5_get_hppi()hw/intc/arm_gicv5.c+7 -50 replies
80/86hw/intc/arm_gicv5: Implement IRS_VPE_HPPIRhw/intc/arm_gicv5.c+39 -00 replies
81/86hw/intc/arm_gicv5: Implement ringing doorbells for VPEshw/intc/arm_gicv5.c hw/intc/trace-events+52 -110 replies
82/86hw/intc/arm_gicv5: Handle vHPPIs when IRS_CR0.IRSEN is toggledhw/intc/arm_gicv5.c+31 -00 replies
83/86hw/intc/arm_gicv5: Implement saving virtual interrupt state to guest memoryhw/intc/arm_gicv5.c hw/intc/arm_gicv5_common.c hw/intc/trace-events +1 more+107 -01 reply
84/86hw/intc/arm_gicv5: Implement reporting of Quiesced statehw/intc/arm_gicv5.c hw/intc/trace-events+75 -30 replies
85/86hw/intc/arm_gicv5: Implement no-passthrough IRS_SPI_VMRhw/intc/arm_gicv5.c+35 -00 replies
86/86hw/arm/virt: allow virtualization=on with gicv5hw/arm/virt.c+2 -30 replies

Reviews trailers per patch

8 of 86 patches have a Reviewed-by or Acked-by.

PatchJim MacArthurPhilippe Mathieu-DaudéRichard HendersonGustavo Romero
SeriesT-b
1/86R-b R-b R-b
2/86R-b
3/86R-b
4/86R-b R-b
5/86
6/86
7/86R-b
8/86
9/86R-b
10/86R-b
11/86
12/86R-b
13/86
14/86
15/86
16/86
17/86
18/86
19/86
20/86
21/86
22/86
23/86
24/86
25/86
26/86
27/86
28/86
29/86
30/86
31/86
32/86
33/86
34/86
35/86
36/86
37/86
38/86
39/86
40/86
41/86
42/86
43/86
44/86
45/86
46/86
47/86
48/86
49/86
50/86
51/86
52/86
53/86
54/86
55/86
56/86
57/86
58/86
59/86
60/86
61/86
62/86
63/86
64/86
65/86
66/86
67/86
68/86
69/86
70/86
71/86
72/86
73/86
74/86
75/86
76/86
77/86
78/86
79/86
80/86
81/86
82/86
83/86
84/86
85/86
86/86

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 00/86] hw/intc/arm_gicv5: Implement virtualization support

This patchset adds virtualization support to our GICv5 model, and lets the "virt" board use -machine gic-version=x-5,virtualization=on.

Virtualization in the GICv5 is more complicated than it is in GICv3. This is because in GICv3 virtualization is mostly delegated to software, and only the CPU interface has hardware virtualization support. In GICv5 the hardware does a lot more of the work, so virtualization support is needed in both the CPU interface and the IRS.

I've structured this patchset as:
* initial preparatory and bug-fixing patches
* add virt support to the cpu interface
* add virt support to the IRS
* remove the check in virt that stops the user enabling virt

The first 11 patches have been on this list already; I've copied across Reviewed-by tags for those patches which got them.

The current spec for the GICv5 is at
https://support.arm.com/documentation/aes0070/00eac0/

The kernel support for using GICv5 virtualization is not yet in mainline, but it has landed in the kvmarm/next tree:
https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next Similarly kvmtool support to run the inner guest is still work in progress, but the tree at
https://gitlab.arm.com/linux-arm/kvmtool-sb.git gicv5_wip will work with the kvmarm/next tree.

This series can pass the kernel's vgic_v5 selftest, and boot an inner guest to userspace with kvmtool.

In an ideal world I'd like to land this for 11.2, but I appreciate that it's a lot of code to review and only two weeks til softfreeze; we'll see how it goes.

If you want a git branch of this I've pushed the patchset to
https://gitlab.com/pm215/qemu.git gicv5-virt

thanks
-- PMM

Peter Maydell (86):
hw/intc/arm_gicv5: Make IRS_IDR0 reads return actual value, not 0 hw/intc/arm_gicv5: Ignore low bits in IRS_IST_BASER.ADDR hw/intc/arm_gicv5: Ignore low bits in L1_ISTE.L2_ADDR hw/intc/arm_gicv5: Regularize spacing in config_readl() switch hw/intc/arm_gicv5: Use cached IRS_IST_BASER.VALID state hw/intc/arm_gicv5: Free memory in finalize
target/arm: GICv5 cpuif: Use arm_cpu_set_irq() to set IRQ/FIQ status target/arm: Only allow GICv5 on CPUs without AArch32 at EL1..3 hw/intc/arm_gicv5: Pass CPU index to CPU interface hw/intc/arm_gicv5: Pass cpuidx rather than iaffid in gicv5_get_hppi() hw/intc/arm_gicv5: Use correct type for value in lpi_cache_get_hppi() hw/intc/arm_gicv5: Relax QEMU_GICV5_MIN_LPI_ID_BITS to 0 target/arm: GICv5 cpuif: Implement ICH_APR_EL2
target/arm: GICv5 cpuif: Implement ICH_PPI_{ENABLE,PEND,ACTIVE} regs target/arm: GICv5 cpuif: Implement ICH_PPI_PRIORITYR<n>_EL2 target/arm: GICv5 cpuif: Implement ICH_PPI_DVIR<n>_EL2 target/arm: GICv5 cpuif: Implement ICH_VCTLR_EL2 and ICH_VCMR_EL2 target/arm: GICv5 cpuif: Implement GIC fine-grained trap registers target/arm: GICv5 cpuif: Mark GIC registers for fine-grained traps target/arm: GICv5 cpuif: Mark GIC insns for fine-grained traps target/arm: GICv5 cpuif: Implement ICC_SRE_ELx
target/arm: GICv5 cpuif: Implement ICH_PPI_HVIR<n>_EL2 target/arm: GICv5 cpuif: Implement ICV_APR_EL1
target/arm: GICv5 cpuif: Implement ICV_CR0_EL1
target/arm: GICv5 cpuif: Implement ICV_PCR_EL1
target/arm: GICv5 cpuif: Implement ICV_PPI_ENABLER<n>_EL1 target/arm: GICv5 cpuif: Implement ICV_PPI_PRIORITYR<n>_EL1 target/arm: GICv5 cpuif: Add comment about ICV_PPI_HMR<n>_EL1 target/arm: GICv5 cpuif: Implement ICV_PPI_CACTIVER<n>_EL1,

    ICV_PPI_SACTIVER<n>_EL1
  target/arm: GICv5 cpuif: Implement ICV_PPI_CPENDR<n>_EL1,
    ICV_PPI_SPENDR<n>_EL1

target/arm: GICv5 cpuif: Calculate current virtual PPI HPPI target/arm: GICv5 cpuif: Add virtual support to IRS/cpuif HPPI APIs target/arm: GICv5 cpuif: Implement ICV_HPPIR_EL1 target/arm: GICv5 cpuif: Implement gicv5_update_virq_vfiq() target/arm: GICv5 cpuif: Implement ICH_CONTEXTR_EL2 target/arm: GICv5 cpuif: ask the GIC for the virtual HPPI target/arm: GICv5 cpuif: Handle LD/VD insns when setting
domain/virtual args
target/arm: GICv5 cpuif: Handle virtual interrupts for GIC CDEOI target/arm: GICv5 cpuif: Handle virtual interrupts for GIC CDDI target/arm: GICv5 cpuif: Handle virtual interrupts for GICR CDIA,
CDNMIA
target/arm: GICv5 cpuif: Handle GIC VDPEND VM argument target/arm: GICv5 cpuif: Implement GIC VDnnn insns target/arm: GICv5 cpuif: Implement GIC LDnnn insns target/arm: GICv5 cpuif: Handle PPI injection in vPPI pending reads target/arm: GICv5 cpuif: Handle PPI injection in vPPI pending writes target/arm: GICv5 cpuif: Handle injected PPIs in GICR CDIA target/arm: GICv5 cpuif: Update on HCR_EL2.{NV,NV1} and SCR_EL3.NS
changes
target/arm: GICv5 cpuif: Update VFIQ/VIRQ when direct-injected PPIs
change
hw/intc: Move GICv5 register and data definitions into a header hw/intc/arm_gicv5: Correct offset for IRS_VMT_STATUSR hw/intc/arm_gicv5: Ask CPUs whether IRS needs virtualization support hw/intc/arm_gicv5: Indicate virtualization in ID registers hw/intc/arm_gicv5: Implement IRS_VMT_BASER and IRS_VMT_STATUSR hw/intc/arm_gicv5: IMplement IRS_VMT_CFGR hw/intc/arm_gicv5: Implement IRS_VMAP_L2_VMTR hw/intc/arm_gicv5: Implement IRS_VMAP_VMR hw/intc/arm_gicv5: Factor out code to fill in a GICv5ISTConfig hw/intc/arm_gicv5: Cache info about valid VMs in a hashtable hw/intc/arm_gicv5: Populate VM cache when VM table becomes valid hw/intc/arm_gicv5: Implement IRS_VMAP_VISTR hw/intc/arm_gicv5: Factor out "make an L2 IST valid" function hw/intc/arm_gicv5: Implement IRS_VMAP_L2_VISTR hw/intc/arm_gicv5: Cache VPE table information hw/intc/arm_gicv5: Implement IRS_VMAP_VPER hw/intc/arm_gicv5: Implement IRS_VPE_SELR and IRS_VPE_STATUSR hw/intc/arm_gicv5: Implement IRS_VPE_DBR hw/intc/arm_gicv5: Implement IRS_VPE_CR0 hw/intc/arm_gicv5: Implement gicv5_set_resident() hw/intc/arm_gicv5: Take cpuidx for stream commands on virtual
interrupts
hw/intc/arm_gicv5: Handle virtual=true in gicv5_set_priority() hw/intc/arm_gicv5: Handle virtual=true for setting enabled, pending,
handling
hw/intc/arm_gicv5: Handle virtual=true for setting pending hw/intc/arm_gicv5: Handle virtual=true in gicv5_set_target() hw/intc/arm_gicv5: Handle virtual=true in gicv5_deactivate() hw/intc/arm_gicv5: Handle activation of a virtual interrupt hw/intc/arm_gicv5: Handle virtual=true in gicv5_request_config() hw/intc/arm_gicv5: Implement irs_recalc_vhppi() hw/intc/arm_gicv5: Recalculate vHPPIs on VIST and VPE mapping hw/intc/arm_gicv5: Add virtual support to gicv5_get_hppi() hw/intc/arm_gicv5: Implement IRS_VPE_HPPIR hw/intc/arm_gicv5: Implement ringing doorbells for VPEs hw/intc/arm_gicv5: Handle vHPPIs when IRS_CR0.IRSEN is toggled hw/intc/arm_gicv5: Implement saving virtual interrupt state to guest
memory
hw/intc/arm_gicv5: Implement reporting of Quiesced state hw/intc/arm_gicv5: Implement no-passthrough IRS_SPI_VMR hw/arm/virt: allow virtualization=on with gicv5

 hw/arm/virt.c                      |    5 +-
 hw/intc/arm_gicv5.c                | 2554 +++++++++++++++++++++++-----
 hw/intc/arm_gicv5_common.c         |   30 +-
 hw/intc/trace-events               |   19 +-
 include/hw/intc/arm_gicv5.h        |   18 +
 include/hw/intc/arm_gicv5_common.h |   40 +-
 include/hw/intc/arm_gicv5_regs.h   |  325 ++++
 include/hw/intc/arm_gicv5_stream.h |   81 +-
 target/arm/cpregs.h                |   85 +-
 target/arm/cpu-features.h          |    8 +
 target/arm/cpu.c                   |   72 +-
 target/arm/cpu.h                   |   33 +-
 target/arm/gicv5-stubs.c           |    8 +
 target/arm/helper.c                |   23 +-
 target/arm/internals.h             |   23 +
 target/arm/tcg/gicv5-cpuif.c       | 1390 +++++++++++++--
 target/arm/tcg/trace-events        |   10 +-
 17 files changed, 4089 insertions(+), 635 deletions(-)
 create mode 100644 include/hw/intc/arm_gicv5_regs.h
Signature · 1 line
2.43.0