linux-mips
[Top] [All Lists]

Re: [RFC PATCH 1/2] genirq: Add chip hooks for taking CPUs on/off line.

To: David Daney <ddaney.cavm@gmail.com>
Subject: Re: [RFC PATCH 1/2] genirq: Add chip hooks for taking CPUs on/off line.
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 23 Mar 2011 23:09:32 +0100 (CET)
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
In-reply-to: <4D8A6E38.7020203@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1300484916-11133-1-git-send-email-ddaney@caviumnetworks.com> <1300484916-11133-2-git-send-email-ddaney@caviumnetworks.com> <alpine.LFD.2.00.1103192050400.2787@localhost6.localdomain6> <4D879869.8060405@caviumnetworks.com> <alpine.LFD.2.00.1103212136430.24415@localhost6.localdomain6> <4D8A6E38.7020203@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Alpine 2.00 (LFD 1167 2008-08-23)
On Wed, 23 Mar 2011, David Daney wrote:
> On 03/21/2011 02:13 PM, Thomas Gleixner wrote:
> > I can't imagine any other purpose for that.
> 
> Modifying the affinity of non-per-cpu IRQs to use the new CPU?

Hmm. Good point. Ok, go ahead with that name.

> > Hmm. The offline fixup_irq() code is arch specific and usually calls
> > desc->irq_data.chip->irq_set_affinity under desc->lock. I have not yet
> > found an arch independent way to do that. Any ideas welcome.
> > 
> 
> There are all the new affinity callbacks, and the things shown in procfs?  Are
> those handled properly if I call chip->irq_set_affinity?  I think not.

If the arch code updates irq_data.affinity then yes. I still need to
go through all that maze and figure out what all the archs really want
to do in that case.

Thanks,

        tglx

<Prev in Thread] Current Thread [Next in Thread>