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


Groups > linux.kernel > #1461596

Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain
Date 2016-08-13 08:30 +0200
Message-ID <s5ACd-5tQ-1@gated-at.bofh.it> (permalink)
References <s4YQi-4R3-21@gated-at.bofh.it> <s51l8-6jV-35@gated-at.bofh.it> <s5ilY-yH-7@gated-at.bofh.it> <s5j8l-16d-5@gated-at.bofh.it> <s5sOl-7GA-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 13/08/2016 00:07, Alexander Popov wrote:
> I.e. our irq_mask()/irq_unmask() callbacks get irq_desc of the interrupt
> which should be masked/unmasked and can ask the hypervisor to stop/start
> injecting the vector of that particular interrupt.

So just let the irqdomain know about your hypervisor and avoid the
pointless indirection through function pointers, and only call
arch_init_paravirq_domain in a file specific to your hypervisor.

Paolo

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


Thread

[PATCH 1/1] x86/apic: Introduce paravirq irq_domain Alexander Popov <alex.popov@linux.com> - 2016-08-11 16:10 +0200
  Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Paolo Bonzini <pbonzini@redhat.com> - 2016-08-11 18:50 +0200
    Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Alexander Popov <alex.popov@linux.com> - 2016-08-12 13:00 +0200
      Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Paolo Bonzini <pbonzini@redhat.com> - 2016-08-12 13:50 +0200
        Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Alexander Popov <alex.popov@linux.com> - 2016-08-13 00:10 +0200
          Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Paolo Bonzini <pbonzini@redhat.com> - 2016-08-13 08:30 +0200
            Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Alexander Popov <alex.popov@linux.com> - 2016-08-15 13:50 +0200
              Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Paolo Bonzini <pbonzini@redhat.com> - 2016-08-15 14:40 +0200
                Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Alexander Popov <alex.popov@linux.com> - 2016-08-16 22:00 +0200
                Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Jan Kiszka <jan.kiszka@siemens.com> - 2016-08-17 16:40 +0200
                Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Alexander Popov <alex.popov@linux.com> - 2016-08-18 01:00 +0200
                Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain Jan Kiszka <jan.kiszka@siemens.com> - 2016-08-19 13:00 +0200

csiph-web