lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <357548fa-2987-4a90-1732-ad298384163e@itcare.pl>
Date:   Tue, 15 Aug 2017 14:21:39 +0200
From:   Paweł Staszewski <pstaszewski@...are.pl>
To:     Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: 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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ