* [patch] ARM64/irq: Use access helper irq_data_get_affinity_mask()
@ 2015-07-13 20:30 Thomas Gleixner
2015-07-14 9:07 ` Catalin Marinas
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Gleixner @ 2015-07-13 20:30 UTC (permalink / raw)
To: linux-arm-kernel
From: Jiang Liu <jiang.liu@linux.intel.com>
This is a preparatory patch for moving irq_data struct members.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
arch/arm64/kernel/irq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: tip/arch/arm64/kernel/irq.c
===================================================================
--- tip.orig/arch/arm64/kernel/irq.c
+++ tip/arch/arm64/kernel/irq.c
@@ -61,7 +61,7 @@ void __init init_IRQ(void)
static bool migrate_one_irq(struct irq_desc *desc)
{
struct irq_data *d = irq_desc_get_irq_data(desc);
- const struct cpumask *affinity = d->affinity;
+ const struct cpumask *affinity = irq_data_get_affinity_mask(d);
struct irq_chip *c;
bool ret = false;
@@ -81,7 +81,7 @@ static bool migrate_one_irq(struct irq_d
if (!c->irq_set_affinity)
pr_debug("IRQ%u: unable to set affinity\n", d->irq);
else if (c->irq_set_affinity(d, affinity, false) == IRQ_SET_MASK_OK && ret)
- cpumask_copy(d->affinity, affinity);
+ cpumask_copy(irq_data_get_affinity_mask(d), affinity);
return ret;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [patch] ARM64/irq: Use access helper irq_data_get_affinity_mask()
2015-07-13 20:30 [patch] ARM64/irq: Use access helper irq_data_get_affinity_mask() Thomas Gleixner
@ 2015-07-14 9:07 ` Catalin Marinas
2015-07-14 9:10 ` Thomas Gleixner
0 siblings, 1 reply; 3+ messages in thread
From: Catalin Marinas @ 2015-07-14 9:07 UTC (permalink / raw)
To: linux-arm-kernel
Hi Thomas,
On Mon, Jul 13, 2015 at 08:30:04PM -0000, Thomas Gleixner wrote:
> From: Jiang Liu <jiang.liu@linux.intel.com>
>
> This is a preparatory patch for moving irq_data struct members.
>
> Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
> Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
What's the plan with this patch? Do you get it via your tree together
with other patches or we should merge it via the arm64 tree? If the
former:
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [patch] ARM64/irq: Use access helper irq_data_get_affinity_mask()
2015-07-14 9:07 ` Catalin Marinas
@ 2015-07-14 9:10 ` Thomas Gleixner
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Gleixner @ 2015-07-14 9:10 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 14 Jul 2015, Catalin Marinas wrote:
> Hi Thomas,
>
> On Mon, Jul 13, 2015 at 08:30:04PM -0000, Thomas Gleixner wrote:
> > From: Jiang Liu <jiang.liu@linux.intel.com>
> >
> > This is a preparatory patch for moving irq_data struct members.
> >
> > Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
> > Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
> > Cc: linux-arm-kernel at lists.infradead.org
> > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> What's the plan with this patch? Do you get it via your tree together
> with other patches or we should merge it via the arm64 tree? If the
Just push it through arm64, please.
Thanks,
tglx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-14 9:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 20:30 [patch] ARM64/irq: Use access helper irq_data_get_affinity_mask() Thomas Gleixner
2015-07-14 9:07 ` Catalin Marinas
2015-07-14 9:10 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox