Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC information

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

 



Hello Hanjun,

On 11/04/16 06:27, Hanjun Guo wrote:
On 2016/4/4 19:37, Julien Grall wrote:
+static void __init gic_acpi_setup_kvm_info(void)
+{
+    int irq;
+
+    if (!gic_acpi_collect_virt_info()) {
+        pr_warn("Unable to get hardware information used for
virtualization\n");
+        return;
+    }
+
+    gic_v3_kvm_info.type = GIC_V3;
+
+    irq = acpi_register_gsi(NULL, acpi_data.maint_irq,
+                acpi_data.maint_irq_mode,
+                ACPI_ACTIVE_HIGH);
+    if (irq <= 0)
+        return;
+
+    gic_v3_kvm_info.maint_irq = irq;
+
+    if (acpi_data.vcpu_base) {

Sorry, I'm not familiar with KVM, but I got a question here, will
KVM works without valid vcpu_base in GICv3 mode?

vcpu_base is only required for supporting GICv2 on GICv3.

Regards,

--
Julien Grall
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux