Thread (42 messages) 42 messages, 5 authors, 2007-02-15

Re: [PATCH 13/12] mpic: add affinity callback for IPI "chip"

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-02-09 15:41:08
Also in: linux-pm

On Fri, 2007-02-09 at 08:14 +1100, Benjamin Herrenschmidt wrote:
quoted
This patch adds a dummy affinity callback for the IPI "chip" to avoid
getting a warning ("Cannot set affinity for irq 251") when taking a
CPU offline via sysfs or during suspend.
Wouldn't be a better option to make sure they have IRQF_PERCPU set and
that we don't do the affinity thing on interrupts with that flag when 
offlining a CPU ?
Hmm. Yeah, something like that could be possible. Looking at
fixup_irqs() there is a test:

                if (irq_desc[irq].status & IRQ_PER_CPU)
                        continue;

but I'd have to dig what else this means.

johannes

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help