lkml.org 
[lkml]   [2016]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 2/6] KVM: x86: decouple irqchip_in_kernel() and pic_irqchip()
    From
    Date


    On 16/12/2016 16:10, Radim Krčmář wrote:
    > + bool ret = irqchip_kernel(kvm) || irqchip_split(kvm);

    bool ret = (kvm->arch.irqchip_mode != KVM_IRQCHIP_NONE);

    :)

    Paolo

    >
    > - ret = (vpic != NULL);
    > - ret |= irqchip_split(kvm);
    > -
    > - /* Read vpic before kvm->irq_routing. */
    > + /* Matches with wmb after initializing kvm->irq_routing. */
    > smp_rmb();

    \
     
     \ /
      Last update: 2016-12-16 16:25    [W:2.556 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site