lkml.org 
[lkml]   [2015]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/14] genirq: Add a new irq_send_ipi() to irq_chip
    Date
    Introduce the new function to allow generic IPI send mechanism to be
    used from drivers code.

    Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
    ---
    include/linux/irq.h | 3 +++
    1 file changed, 3 insertions(+)

    diff --git a/include/linux/irq.h b/include/linux/irq.h
    index ccd53143cc1e..3b2f448b7ac3 100644
    --- a/include/linux/irq.h
    +++ b/include/linux/irq.h
    @@ -362,6 +362,7 @@ static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d)
    * @irq_get_irqchip_state: return the internal state of an interrupt
    * @irq_set_irqchip_state: set the internal state of a interrupt
    * @irq_set_vcpu_affinity: optional to target a vCPU in a virtual machine
    + * @irq_send_ipi: send an IPI to destination cpus
    * @flags: chip specific flags
    */
    struct irq_chip {
    @@ -406,6 +407,8 @@ struct irq_chip {

    int (*irq_set_vcpu_affinity)(struct irq_data *data, void *vcpu_info);

    + void (*irq_send_ipi)(struct irq_data *data, const struct ipi_mask *dest);
    +
    unsigned long flags;
    };

    --
    2.1.0


    \
     
     \ /
      Last update: 2015-11-03 12:41    [W:4.100 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site