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


Groups > linux.kernel > #1558540 > unrolled thread

[RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules

Started byWill Deacon <will.deacon@arm.com>
First post2017-01-13 17:10 +0100
Last post2017-01-16 10:10 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules Will Deacon <will.deacon@arm.com> - 2017-01-13 17:10 +0100
    Re: [RFC PATCH v2 05/10] genirq: export  irq_get_percpu_devid_partition to modules Marc Zyngier <marc.zyngier@arm.com> - 2017-01-13 20:10 +0100
    Re: [RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition  to modules Thomas Gleixner <tglx@linutronix.de> - 2017-01-16 10:10 +0100

#1558540 — [RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules

FromWill Deacon <will.deacon@arm.com>
Date2017-01-13 17:10 +0100
Subject[RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules
Message-ID<sZcAq-2YI-33@gated-at.bofh.it>
Any modular driver using cluster-affine PPIs needs to be able to call
irq_get_percpu_devid_partition so that it can enable the IRQ on the
correct subset of CPUs.

This patch exports the symbol so that it can be called from within a
module.

Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
---
 kernel/irq/irqdesc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
index 00bb0aeea1d0..1e6ae73eae59 100644
--- a/kernel/irq/irqdesc.c
+++ b/kernel/irq/irqdesc.c
@@ -856,6 +856,7 @@ int irq_get_percpu_devid_partition(unsigned int irq, struct cpumask *affinity)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(irq_get_percpu_devid_partition);
 
 void kstat_incr_irq_this_cpu(unsigned int irq)
 {
-- 
2.1.4

[toc] | [next] | [standalone]


#1558688 — Re: [RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules

FromMarc Zyngier <marc.zyngier@arm.com>
Date2017-01-13 20:10 +0100
SubjectRe: [RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules
Message-ID<sZfoC-4EY-33@gated-at.bofh.it>
In reply to#1558540
On 13/01/17 16:03, Will Deacon wrote:
> Any modular driver using cluster-affine PPIs needs to be able to call
> irq_get_percpu_devid_partition so that it can enable the IRQ on the
> correct subset of CPUs.
> 
> This patch exports the symbol so that it can be called from within a
> module.
> 
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Will Deacon <will.deacon@arm.com>
> ---
>  kernel/irq/irqdesc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
> index 00bb0aeea1d0..1e6ae73eae59 100644
> --- a/kernel/irq/irqdesc.c
> +++ b/kernel/irq/irqdesc.c
> @@ -856,6 +856,7 @@ int irq_get_percpu_devid_partition(unsigned int irq, struct cpumask *affinity)
>  
>  	return 0;
>  }
> +EXPORT_SYMBOL_GPL(irq_get_percpu_devid_partition);
>  
>  void kstat_incr_irq_this_cpu(unsigned int irq)
>  {
> 

Acked-by: Marc Zyngier <marc.zyngier@arm.com>

	M.
-- 
Jazz is not dead. It just smells funny...

[toc] | [prev] | [next] | [standalone]


#1559526 — Re: [RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules

FromThomas Gleixner <tglx@linutronix.de>
Date2017-01-16 10:10 +0100
SubjectRe: [RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules
Message-ID<t0bsB-6yd-1@gated-at.bofh.it>
In reply to#1558540
On Fri, 13 Jan 2017, Will Deacon wrote:

> Any modular driver using cluster-affine PPIs needs to be able to call
> irq_get_percpu_devid_partition so that it can enable the IRQ on the
> correct subset of CPUs.
> 
> This patch exports the symbol so that it can be called from within a
> module.
> 
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Will Deacon <will.deacon@arm.com>
> ---
>  kernel/irq/irqdesc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
> index 00bb0aeea1d0..1e6ae73eae59 100644
> --- a/kernel/irq/irqdesc.c
> +++ b/kernel/irq/irqdesc.c
> @@ -856,6 +856,7 @@ int irq_get_percpu_devid_partition(unsigned int irq, struct cpumask *affinity)
>  
>  	return 0;
>  }
> +EXPORT_SYMBOL_GPL(irq_get_percpu_devid_partition);

Acked-by: Thomas Gleixner <tglx@linutronix.de>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web