All of lore.kernel.org
 help / color / mirror / Atom feed
* unable to set smp_affinity of PCIe interrupt
@ 2013-05-08 12:05 Amit Mahadik
  2013-05-10  6:02 ` Mulyadi Santosa
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Mahadik @ 2013-05-08 12:05 UTC (permalink / raw)
  To: kernelnewbies

Hello,
????? Following is the output of cat /proc/interrupts
??????????

?????????? CPU0?????? CPU1?????? CPU2

200:?????? 9634????????? 0????????? 0? PCIe0-MSI? eth0


I want to change the processor affinity of the above PCIe interrupt 


By executing command echo 2 > /proc/irq/200/smp_affinity I get the following error

sh: write error: Input/output error

Even after changing the file permissions I have the same problem.

I would like to know how to change the affinity of the above virtual interrupt??

Regards,
Amit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130508/bdcce6c6/attachment-0001.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* unable to set smp_affinity of PCIe interrupt
  2013-05-08 12:05 unable to set smp_affinity of PCIe interrupt Amit Mahadik
@ 2013-05-10  6:02 ` Mulyadi Santosa
  0 siblings, 0 replies; 2+ messages in thread
From: Mulyadi Santosa @ 2013-05-10  6:02 UTC (permalink / raw)
  To: kernelnewbies

On Wed, May 8, 2013 at 7:05 PM, Amit Mahadik <amitmahadik35@yahoo.com> wrote:
> Hello,
>       Following is the output of cat /proc/interrupts
>
>            CPU0       CPU1       CPU2
>
> 200:       9634          0          0  PCIe0-MSI  eth0
>
> I want to change the processor affinity of the above PCIe interrupt
>
> By executing command echo 2 > /proc/irq/200/smp_affinity I get the following
> error
>
> sh: write error: Input/output error
>
> Even after changing the file permissions I have the same problem.

AFAIK, even if you change that file's permission, actually it stays
the same. So you need to switch into root or use sudo to change the
affinity


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-10  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-08 12:05 unable to set smp_affinity of PCIe interrupt Amit Mahadik
2013-05-10  6:02 ` Mulyadi Santosa

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.