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


Groups > linux.kernel > #1543525

Re: [PATCH v2 2/6] KVM: x86: decouple irqchip_in_kernel() and pic_irqchip()

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/6] KVM: x86: decouple irqchip_in_kernel() and pic_irqchip()
Date 2016-12-16 16:30 +0100
Message-ID <sP2Cl-5qY-29@gated-at.bofh.it> (permalink)
References <sP2sF-5nI-3@gated-at.bofh.it> <sP2sG-5nI-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



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();

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


Thread

[PATCH v2 0/6] KVM: x86: minor irqchip improvements (API change) Radim Krčmář <rkrcmar@redhat.com> - 2016-12-16 16:20 +0100
  [PATCH v2 2/6] KVM: x86: decouple irqchip_in_kernel() and pic_irqchip() Radim Krčmář <rkrcmar@redhat.com> - 2016-12-16 16:20 +0100
    Re: [PATCH v2 2/6] KVM: x86: decouple irqchip_in_kernel() and  pic_irqchip() Paolo Bonzini <pbonzini@redhat.com> - 2016-12-16 16:30 +0100
      Re: [PATCH v2 2/6] KVM: x86: decouple irqchip_in_kernel() and  pic_irqchip() Radim Krčmář <rkrcmar@redhat.com> - 2016-12-16 16:50 +0100
    Re: [PATCH v2 2/6] KVM: x86: decouple irqchip_in_kernel() and  pic_irqchip() David Hildenbrand <david@redhat.com> - 2017-01-03 14:00 +0100
  [PATCH v2 4/6] KVM: x86: refactor pic setup in kvm_set_routing_entry Radim Krčmář <rkrcmar@redhat.com> - 2016-12-16 16:20 +0100
    Re: [PATCH v2 4/6] KVM: x86: refactor pic setup in  kvm_set_routing_entry David Hildenbrand <david@redhat.com> - 2017-01-03 14:10 +0100
  [PATCH v2 3/6] KVM: x86: make pic setup code look like ioapic setup Radim Krčmář <rkrcmar@redhat.com> - 2016-12-16 16:20 +0100
    Re: [PATCH v2 3/6] KVM: x86: make pic setup code look like ioapic  setup David Hildenbrand <david@redhat.com> - 2017-01-03 14:10 +0100
      Re: [PATCH v2 3/6] KVM: x86: make pic setup code look like ioapic  setup Paolo Bonzini <pbonzini@redhat.com> - 2017-01-03 17:20 +0100
  [PATCH v2 5/6] KVM: x86: prevent setup of invalid routes Radim Krčmář <rkrcmar@redhat.com> - 2016-12-16 16:20 +0100
    Re: [PATCH v2 5/6] KVM: x86: prevent setup of invalid routes David Hildenbrand <david@redhat.com> - 2017-01-03 14:10 +0100
  [PATCH v2 6/6] KVM: x86: simplify conditions with split/kernel irqchip Radim Krčmář <rkrcmar@redhat.com> - 2016-12-16 16:20 +0100
    Re: [PATCH v2 6/6] KVM: x86: simplify conditions with split/kernel  irqchip David Hildenbrand <david@redhat.com> - 2017-01-03 16:20 +0100
  [PATCH v2 1/6] KVM: x86: don't allow kernel irqchip with split irqchip Radim Krčmář <rkrcmar@redhat.com> - 2016-12-16 16:20 +0100
    Re: [PATCH v2 1/6] KVM: x86: don't allow kernel irqchip with split  irqchip David Hildenbrand <david@redhat.com> - 2017-01-03 13:20 +0100

csiph-web