All of lore.kernel.org
 help / color / mirror / Atom feed
From: Livio Soares <livio@eecg.toronto.edu>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	linuxppc-dev@ozlabs.org
Subject: Re: [PATCH][PowerPC] Remove ineffective CONFIG_IRQ_ALL_CPUS option
Date: Thu, 18 Jan 2007 20:06:05 -0500	[thread overview]
Message-ID: <20070119010605.GA3259@eecg.toronto.edu> (raw)
In-Reply-To: <20070118182152.GA11204@eecg.toronto.edu>

  Sorry to reply to myself, but...

Livio Soares writes:
>   Hello Ben,
> 
> Benjamin Herrenschmidt writes:
> > On Wed, 2007-01-17 at 18:02 -0500, Livio Soares wrote:
> 
> [...]

>   On  a side  note, I  probably need  to make  IRQ distribution  configurable at
> run-time (for  my personal work).  I  was thinking of exporting  a bit-mask type
> structure  through sysfs,  to enable  run-time configuration  of CPUs  which can
> receive interrupts (and possibly priorities). Would people be interested in such
> a patch?

  Looking at  the code, I found out  that this is _already_  being done; through
setting  affinities  of  interrupts.  If  you  can  get  the  bitmask  right  in
/proc/irq/[IRQ#]/smp_affinity,  you can  change the  distribution  of interrupts
(furthermore,  potentially  disable a  particular  IRQ  altogether a  particular
CPU). 

  Sorry for the noise,

			Livio

  reply	other threads:[~2007-01-19  1:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 23:02 [PATCH][PowerPC] Remove ineffective CONFIG_IRQ_ALL_CPUS option Livio Soares
2007-01-18  0:16 ` Benjamin Herrenschmidt
2007-01-18 18:21   ` Livio Soares
2007-01-19  1:06     ` Livio Soares [this message]
2007-01-19  1:35     ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070119010605.GA3259@eecg.toronto.edu \
    --to=livio@eecg.toronto.edu \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.