Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1376068

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

From Shanker Donthineni <shankerd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC information
Date 2016-04-11 17:30 +0200
Message-ID <rmLWO-81T-7@gated-at.bofh.it> (permalink)
References <rkb1o-2kr-7@gated-at.bofh.it> <rkb1p-2kr-31@gated-at.bofh.it> <rmCAa-Bo-3@gated-at.bofh.it> <rmL0K-7lT-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Julien,

On 04/11/2016 09:27 AM, Julien Grall wrote:
> 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?
>
Yes, KVM works without vcpu_base in GICv3 mode. The vcpu_base will be used
for emulatingvGICv2 feature. The vGICv3 emulation isdone through the
system registers.

> vcpu_base is only required for supporting GICv2 on GICv3.
>
Yes, you are right,

> Regards,
>

-- 
Shanker Donthineni
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/9] arm64: Add support for KVM with ACPI Julien Grall <julien.grall@arm.com> - 2016-04-04 13:40 +0200
  [PATCH v5 7/9] KVM: arm/arm64: arch_timer: Rely on the arch timer to parse the firmware tables Julien Grall <julien.grall@arm.com> - 2016-04-04 13:40 +0200
  [PATCH v5 3/9] irqchip/gic-v2: Gather ACPI specific data in a single structure Julien Grall <julien.grall@arm.com> - 2016-04-04 13:40 +0200
    Re: [PATCH v5 3/9] irqchip/gic-v2: Gather ACPI specific data in a  single structure Hanjun Guo <hanjun.guo@linaro.org> - 2016-04-11 04:50 +0200
  [PATCH v5 2/9] clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the virtual IRQ Julien Grall <julien.grall@arm.com> - 2016-04-04 13:40 +0200
    Re: [PATCH v5 2/9] clocksource: arm_arch_timer: Extend  arch_timer_kvm_info to get the virtual IRQ Christoffer Dall <christoffer.dall@linaro.org> - 2016-04-06 19:30 +0200
  [PATCH v5 8/9] KVM: arm/arm64: vgic: Rely on the GIC driver to parse the firmware tables Julien Grall <julien.grall@arm.com> - 2016-04-04 13:40 +0200
    Re: [PATCH v5 8/9] KVM: arm/arm64: vgic: Rely on the GIC driver to  parse the firmware tables Christoffer Dall <christoffer.dall@linaro.org> - 2016-04-06 19:30 +0200
  [PATCH v5 9/9] clocksource: arm_arch_timer: Remove arch_timer_get_timecounter Julien Grall <julien.grall@arm.com> - 2016-04-04 13:40 +0200
  [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC information Julien Grall <julien.grall@arm.com> - 2016-04-04 13:40 +0200
    Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC  information Christoffer Dall <christoffer.dall@linaro.org> - 2016-04-06 19:30 +0200
      Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC  information Julien Grall <julien.grall@arm.com> - 2016-04-06 19:50 +0200
    Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC  information Shanker Donthineni <shankerd@codeaurora.org> - 2016-04-09 04:30 +0200
      Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC  information Julien Grall <julien.grall@arm.com> - 2016-04-11 16:10 +0200
    Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC  information Hanjun Guo <hanjun.guo@linaro.org> - 2016-04-11 07:30 +0200
      Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC  information Julien Grall <julien.grall@arm.com> - 2016-04-11 16:30 +0200
        Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC  information Shanker Donthineni <shankerd@codeaurora.org> - 2016-04-11 17:30 +0200
          Re: [PATCH v5 6/9] irqchip/gic-v3: Parse and export virtual GIC  information Hanjun Guo <hanjun.guo@linaro.org> - 2016-04-13 12:20 +0200
  [PATCH v5 4/9] irqchip/gic-v2: Parse and export virtual GIC information Julien Grall <julien.grall@arm.com> - 2016-04-04 13:40 +0200
    Re: [PATCH v5 4/9] irqchip/gic-v2: Parse and export virtual GIC  information Christoffer Dall <christoffer.dall@linaro.org> - 2016-04-06 19:10 +0200
      Re: [PATCH v5 4/9] irqchip/gic-v2: Parse and export virtual GIC  information Julien Grall <julien.grall@arm.com> - 2016-04-06 19:50 +0200
    Re: [PATCH v5 4/9] irqchip/gic-v2: Parse and export virtual GIC  information Hanjun Guo <hanjun.guo@linaro.org> - 2016-04-11 05:20 +0200
      Re: [PATCH v5 4/9] irqchip/gic-v2: Parse and export virtual GIC  information Julien Grall <julien.grall@arm.com> - 2016-04-11 16:00 +0200
  [PATCH v5 1/9] clocksource: arm_arch_timer: Gather KVM specific information in a structure Julien Grall <julien.grall@arm.com> - 2016-04-04 13:50 +0200
    Re: [PATCH v5 1/9] clocksource: arm_arch_timer: Gather KVM specific  information in a structure Christoffer Dall <christoffer.dall@linaro.org> - 2016-04-06 19:30 +0200
  Re: [PATCH v5 0/9] arm64: Add support for KVM with ACPI Christoffer Dall <christoffer.dall@linaro.org> - 2016-04-06 19:30 +0200
    Re: [PATCH v5 0/9] arm64: Add support for KVM with ACPI Julien Grall <julien.grall@arm.com> - 2016-04-06 20:00 +0200

csiph-web