lkml.org 
[lkml]   [2012]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] IRQ: normalize chip->irq_set_affinity return value on x86 and IA64
On Tue, 6 Mar 2012, Jiang Liu wrote:

> On x86 and IA64 platforms, interrupt controller chip's irq_set_affinity()
> method always copies affinity mask to irq_data->affinity field but still
> returns 0(IRQ_SET_MASK_OK). That return value causes the interrupt core
> logic unnecessarily copies the mask to irq_data->affinity field again.
> So return IRQ_SET_MASK_OK_NOCOPY instead of IRQ_SET_MASK_OK to get rid of
> the duplicated copy operation.
>
> This patch applies to v3.3-rc6 and has been tested on x86 platforms.
>
> Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
> ---
> arch/ia64/kernel/iosapic.c | 4 +++-
> arch/ia64/kernel/msi_ia64.c | 4 ++--
> arch/ia64/sn/kernel/irq.c | 2 +-
> arch/ia64/sn/kernel/msi_sn.c | 2 +-
> arch/x86/kernel/apic/io_apic.c | 11 ++++++-----
> arch/x86/platform/uv/uv_irq.c | 2 +-
> kernel/irq/internals.h | 3 +++
> kernel/irq/manage.c | 39 ++++++++++++++++++++++-----------------
> kernel/irq/migration.c | 6 +-----


This does not work that way. The patch wants to be split in 3 parts
(core, x86, ia64). The patches are completely independent. Please
resend.

Thanks,

tglx


\
 
 \ /
  Last update: 2012-03-29 12:01    [W:0.151 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site