Mellanox driver / cant access /prox/irq/XX/smp_affinity after upgrade from linux-4.13-rc4-next-20170811 to 4.13.0-rc5-next-20170815

From: Paweł Staszewski <hidden>
Date: 2017-08-15 12:22:47

Hi


After upgrading kernel to latest next there is problem with accessing smp_affinity to write for mellanox driver

For example - MEllanox:

cat /proc/interrupts | grep ml
 217:          3          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0   PCI-MSI 91750400-edge mlx5_pages_eq@pci:0000:af:00.0
 218:      12237          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0   PCI-MSI 91750401-edge mlx5_cmd_eq@pci:0000:af:00.0

cat /proc/irq/218/smp_affinity
ffffff,ffffffff

echo  "ffffff,ffffffff " > /proc/irq/218/smp_affinity
-su: echo: write error: Input/output error


For intel ixgbe:

  90:          1          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0          0          0 0          0          0          0   PCI-MSI 12589056-edge enp24s0f3

cat /proc/irq/90/smp_affinity
0003ff,f0003fff

 echo "0003ff,f0003fff" > /proc/irq/90/smp_affinity

Without errors.



BR

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