Home
last modified time | relevance | path

Searched full:gicv2 (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-4.19/Documentation/virtual/kvm/devices/
Darm-vgic.txt13 guest GICv2 through this interface. For information on creating a guest GICv3
15 create both a GICv3 and GICv2 device on the same VM.
47 GICv2 specs. Getting or setting such a register has the same effect as
54 GICv2 is changed in a way directly observable by the guest or userspace.
75 defined in the GICv2 specs. Getting or setting such a register has the
79 fixed format for our implementation that fits with the model of a "GICv2
95 similar to GICv2's GICH_APR.
/kernel/linux/linux-5.10/Documentation/virt/kvm/devices/
Darm-vgic.rst17 guest GICv2 through this interface. For information on creating a guest GICv3
19 create both a GICv3 and GICv2 device on the same VM.
58 GICv2 specs. Getting or setting such a register has the same effect as
65 GICv2 is changed in a way directly observable by the guest or userspace.
92 defined in the GICv2 specs. Getting or setting such a register has the
96 fixed format for our implementation that fits with the model of a "GICv2
112 similar to GICv2's GICH_APR.
/kernel/linux/linux-5.10/include/kvm/
Darm_vgic.h37 VGIC_V2, /* Good ol' GICv2 */
65 /* maximum number of VCPUs allowed (GICv2 limits us to 8) */
120 u8 targets; /* GICv2 target VCPUs mask */
123 u8 source; /* GICv2 SGIs only */
124 u8 active_source; /* GICv2 SGIs only */
208 /* vGIC model the kernel emulates for the guest (GICv2 or GICv3) */
214 /* Userspace can write to GICv2 IGROUPR */
225 /* either a GICv2 CPU interface */
/kernel/linux/linux-4.19/include/kvm/
Darm_vgic.h48 VGIC_V2, /* Good ol' GICv2 */
76 /* maximum number of VCPUs allowed (GICv2 limits us to 8) */
130 u8 targets; /* GICv2 target VCPUs mask */
133 u8 source; /* GICv2 SGIs only */
134 u8 active_source; /* GICv2 SGIs only */
218 /* vGIC model the kernel emulates for the guest (GICv2 or GICv3) */
224 /* Userspace can write to GICv2 IGROUPR */
235 /* either a GICv2 CPU interface */
/kernel/linux/linux-5.10/arch/arm64/boot/dts/arm/
Dfoundation-v8-psci.dts4 * ARMv8 Foundation model DTS (GICv2+PSCI configuration)
8 #include "foundation-v8-gicv2.dtsi"
Dfoundation-v8.dts5 * ARMv8 Foundation model DTS (GICv2 configuration)
9 #include "foundation-v8-gicv2.dtsi"
Dfoundation-v8-gicv2.dtsi4 * ARMv8 Foundation model DTS (GICv2 configuration)
/kernel/linux/linux-4.19/arch/arm64/boot/dts/arm/
Dfoundation-v8-psci.dts4 * ARMv8 Foundation model DTS (GICv2+PSCI configuration)
8 #include "foundation-v8-gicv2.dtsi"
Dfoundation-v8.dts5 * ARMv8 Foundation model DTS (GICv2 configuration)
9 #include "foundation-v8-gicv2.dtsi"
Dfoundation-v8-gicv2.dtsi4 * ARMv8 Foundation model DTS (GICv2 configuration)
/kernel/liteos_a/arch/arm/gic/
Dgic_v2.c165 * gicv2 valid irq ranges from 0~1019, we use OS_HWI_MAX_NUM in HalIrqHandler()
188 case GICV2: in HalIrqVersion()
189 irqVerString = "GICv2"; in HalIrqVersion()
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-mmio-v2.c20 * Revision 1: Report GICv2 interrupts as group 0 instead of group 1
359 /* GICv2 hardware systems support max. 32 groups */ in vgic_mmio_read_apr()
371 /* GICv3 only uses ICH_AP1Rn for memory mapped (GICv2) guests */ in vgic_mmio_read_apr()
385 /* GICv2 hardware systems support max. 32 groups */ in vgic_mmio_write_apr()
397 /* GICv3 only uses ICH_AP1Rn for memory mapped (GICv2) guests */ in vgic_mmio_write_apr()
Dvgic-init.c33 * structures. Can be executed lazily for GICv2.
81 * which had no chance yet to check the availability of the GICv2 in kvm_vgic_create()
147 * initialization when using a virtual GICv2. in kvm_vgic_dist_init()
390 * is a GICv2. A GICv3 must be explicitly initialized by the guest using the
401 * for the legacy case of a GICv2. Any other type must in vgic_lazy_init()
Dvgic-v3.c283 * If we are emulating a GICv3, we do it in an non-GICv2-compatible in vgic_v3_enable()
618 kvm_err("Cannot register GICv2 KVM device.\n"); in vgic_v3_probe()
631 kvm_info("disabling GICv2 emulation\n"); in vgic_v3_probe()
658 * If dealing with a GICv2 emulation on GICv3, VMCR_EL2.VFIQen in vgic_v3_load()
Dvgic-mmio.c327 * GICv2 SGIs are terribly broken. We can't restore in vgic_uaccess_write_spending()
419 * More fun with GICv2 SGIs! If we're clearing one of them in vgic_uaccess_write_cpending()
446 * For GICv2 private interrupts we don't have to do anything because
548 * The GICv2 architecture indicates that the source CPUID for in vgic_mmio_change_active()
556 * for a GICv2 VM on some GIC implementations. Oh well. in vgic_mmio_change_active()
/kernel/linux/linux-4.19/virt/kvm/arm/vgic/
Dvgic-mmio-v2.c28 * Revision 1: Report GICv2 interrupts as group 0 instead of group 1
367 /* GICv2 hardware systems support max. 32 groups */ in vgic_mmio_read_apr()
379 /* GICv3 only uses ICH_AP1Rn for memory mapped (GICv2) guests */ in vgic_mmio_read_apr()
393 /* GICv2 hardware systems support max. 32 groups */ in vgic_mmio_write_apr()
405 /* GICv3 only uses ICH_AP1Rn for memory mapped (GICv2) guests */ in vgic_mmio_write_apr()
Dvgic-init.c44 * structures. Can be executed lazily for GICv2.
91 * which had no chance yet to check the availability of the GICv2 in kvm_vgic_create()
168 * initialization when using a virtual GICv2. in kvm_vgic_dist_init()
394 * is a GICv2. A GICv3 must be explicitly initialized by the guest using the
405 * for the legacy case of a GICv2. Any other type must in vgic_lazy_init()
Dvgic-v2.c220 /* The GICv2 LR only holds five bits of priority. */ in vgic_v2_populate_lr()
371 * vgic_v2_probe - probe for a GICv2 compatible interrupt controller in DT
374 * Returns 0 if a GICv2 has been found, returns an error code otherwise
416 kvm_err("Cannot register GICv2 KVM device\n"); in vgic_v2_probe()
Dvgic-v3.c295 * If we are emulating a GICv3, we do it in an non-GICv2-compatible in vgic_v3_enable()
625 kvm_err("Cannot register GICv2 KVM device.\n"); in vgic_v3_probe()
638 kvm_info("disabling GICv2 emulation\n"); in vgic_v3_probe()
667 * If dealing with a GICv2 emulation on GICv3, VMCR_EL2.VFIQen in vgic_v3_load()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic.c1279 name = kasprintf(GFP_KERNEL, "GICv2"); in __gic_init_bases()
1345 * first page of a GICv2. in gic_check_eoimode()
1351 pr_warn("GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set\n"); in gic_check_eoimode()
1360 * The first page was that of a GICv2, and in gic_check_eoimode()
1362 * to be a GICv2, and update the mapping. in gic_check_eoimode()
1364 pr_warn("GIC: GICv2 at %pa, but range is too small (broken DT?), assuming 8kB\n", in gic_check_eoimode()
1372 * We detected *two* initial GICv2 pages in a in gic_check_eoimode()
1373 * row. Could be a GICv2 aliased over two 64kB in gic_check_eoimode()
1381 pr_warn("GIC: Aliased GICv2 at %pa, trying to find the canonical range over 128kB\n", in gic_check_eoimode()
1389 * Verify that we have the first 4kB of a GICv2 in gic_check_eoimode()
[all …]
/kernel/linux/linux-4.19/drivers/irqchip/
Dirq-gic.c1219 name = kasprintf(GFP_KERNEL, "GICv2"); in __gic_init_bases()
1287 * first page of a GICv2. in gic_check_eoimode()
1293 pr_warn("GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set\n"); in gic_check_eoimode()
1302 * The first page was that of a GICv2, and in gic_check_eoimode()
1304 * to be a GICv2, and update the mapping. in gic_check_eoimode()
1306 pr_warn("GIC: GICv2 at %pa, but range is too small (broken DT?), assuming 8kB\n", in gic_check_eoimode()
1314 * We detected *two* initial GICv2 pages in a in gic_check_eoimode()
1315 * row. Could be a GICv2 aliased over two 64kB in gic_check_eoimode()
1323 pr_warn("GIC: Aliased GICv2 at %pa, trying to find the canonical range over 128kB\n", in gic_check_eoimode()
1331 * Verify that we have the first 4kB of a GICv2 in gic_check_eoimode()
[all …]
/kernel/liteos_a/arch/arm/include/
Dgic_common.h42 GICV2, enumerator
68 #define GICD_ISACTIVER(n) (GICD_OFFSET + 0x300 + (n) * 4) /* GICv2 Interrupt Set-Acti…
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Darm,gic.yaml93 For GICv2 with virtualization extensions, additional regions are
194 // GICv2
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/gpio/
Dgpio-xgene-sb.txt12 | (GICv2) +--------------+ +------ GPIO_[N+8]/EXT_INT_N
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dgpio-xgene-sb.txt12 | (GICv2) +--------------+ +------ GPIO_[N+8]/EXT_INT_N

123