Petr Oros
d6765985a4
Revert "be2net: disable bh with spin_lock in be_process_mcc"
Patch was based on wrong presumption that be_poll can be called only
from bh context. It reintroducing old regression (also reverted) and
causing deadlock when we use netconsole with benet in bonding.
Old revert: commit 072a9c4860 ("netpoll: revert 6bdb7fe310 and fix
be_poll() instead")
[ 331.269715] bond0: (slave enp0s7f0): Releasing backup interface
[ 331.270121] CPU: 4 PID: 1479 Comm: ifenslave Not tainted 5.13.0-rc7+ #2
[ 331.270122] Call Trace:
[ 331.270122] [c00000001789f200] [c0000000008c505c] dump_stack+0x100/0x174 (unreliable)
[ 331.270124] [c00000001789f240] [c008000001238b9c] be_poll+0x64/0xe90 [be2net]
[ 331.270125] [c00000001789f330] [c000000000d1e6e4] netpoll_poll_dev+0x174/0x3d0
[ 331.270127] [c00000001789f400] [c008000001bc167c] bond_poll_controller+0xb4/0x130 [bonding]
[ 331.270128] [c00000001789f450] [c000000000d1e624] netpoll_poll_dev+0xb4/0x3d0
[ 331.270129] [c00000001789f520] [c000000000d1ed88] netpoll_send_skb+0x448/0x470
[ 331.270130] [c00000001789f5d0] [c0080000011f14f8] write_msg+0x180/0x1b0 [netconsole]
[ 331.270131] [c00000001789f640] [c000000000230c0c] console_unlock+0x54c/0x790
[ 331.270132] [c00000001789f7b0] [c000000000233098] vprintk_emit+0x2d8/0x450
[ 331.270133] [c00000001789f810] [c000000000234758] vprintk+0xc8/0x270
[ 331.270134] [c00000001789f850] [c000000000233c28] printk+0x40/0x54
[ 331.270135] [c00000001789f870] [c000000000ccf908] __netdev_printk+0x150/0x198
[ 331.270136] [c00000001789f910] [c000000000ccfdb4] netdev_info+0x68/0x94
[ 331.270137] [c00000001789f950] [c008000001bcbd70] __bond_release_one+0x188/0x6b0 [bonding]
[ 331.270138] [c00000001789faa0] [c008000001bcc6f4] bond_do_ioctl+0x42c/0x490 [bonding]
[ 331.270139] [c00000001789fb60] [c000000000d0d17c] dev_ifsioc+0x17c/0x400
[ 331.270140] [c00000001789fbc0] [c000000000d0db70] dev_ioctl+0x390/0x890
[ 331.270141] [c00000001789fc10] [c000000000c7c76c] sock_do_ioctl+0xac/0x1b0
[ 331.270142] [c00000001789fc90] [c000000000c7ffac] sock_ioctl+0x31c/0x6e0
[ 331.270143] [c00000001789fd60] [c0000000005b9728] sys_ioctl+0xf8/0x150
[ 331.270145] [c00000001789fdb0] [c0000000000336c0] system_call_exception+0x160/0x2f0
[ 331.270146] [c00000001789fe10] [c00000000000d35c] system_call_common+0xec/0x278
[ 331.270147] --- interrupt: c00 at 0x7fffa6c6ec00
[ 331.270147] NIP: 00007fffa6c6ec00 LR: 0000000105c4185c CTR: 0000000000000000
[ 331.270148] REGS: c00000001789fe80 TRAP: 0c00 Not tainted (5.13.0-rc7+)
[ 331.270148] MSR: 800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE> CR: 28000428 XER: 00000000
[ 331.270155] IRQMASK: 0
[ 331.270156] GPR00: 0000000000000036 00007fffd494d5b0 00007fffa6d57100 0000000000000003
[ 331.270158] GPR04: 0000000000008991 00007fffd494d6d0 0000000000000008 00007fffd494f28c
[ 331.270161] GPR08: 0000000000000003 0000000000000000 0000000000000000 0000000000000000
[ 331.270164] GPR12: 0000000000000000 00007fffa6dfa220 0000000000000000 0000000000000000
[ 331.270167] GPR16: 0000000105c44880 0000000000000000 0000000105c60088 0000000105c60318
[ 331.270170] GPR20: 0000000105c602c0 0000000105c44560 0000000000000000 0000000000000000
[ 331.270172] GPR24: 00007fffd494dc50 00007fffd494d6a8 0000000105c60008 00007fffd494d6d0
[ 331.270175] GPR28: 00007fffd494f27e 0000000105c6026c 00007fffd494f284 0000000000000000
[ 331.270178] NIP [00007fffa6c6ec00] 0x7fffa6c6ec00
[ 331.270178] LR [0000000105c4185c] 0x105c4185c
[ 331.270179] --- interrupt: c00
This reverts commit d0d006a43e.
Fixes: d0d006a43e ("be2net: disable bh with spin_lock in be_process_mcc")
Signed-off-by: Petr Oros <poros@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-25 11:44:16 -07:00
..
2021-04-26 11:20:10 -07:00
2021-06-11 17:57:24 +02:00
2021-05-13 20:35:26 +02:00
2021-05-05 13:24:11 -07:00
2021-06-21 14:28:53 -07:00
2021-05-07 00:26:34 -07:00
2021-06-05 08:58:11 -07:00
2021-04-18 09:36:56 +03:00
2021-06-12 11:59:58 -07:00
2021-06-04 18:25:39 -07:00
2021-06-12 12:13:55 -07:00
2021-05-13 18:58:44 +02:00
2021-05-20 06:31:52 -10:00
2021-05-11 08:47:25 +02:00
2021-05-14 14:55:13 +02:00
2021-04-15 09:26:25 +02:00
2021-06-14 15:55:02 +02:00
2021-04-08 20:05:49 +02:00
2021-05-13 17:23:05 +02:00
2021-04-16 18:21:56 -07:00
2021-04-08 13:14:51 +09:00
2021-06-16 09:03:52 -07:00
2021-05-20 14:02:27 +02:00
2021-05-10 07:51:38 +02:00
2021-04-28 15:59:13 -07:00
2021-04-26 09:43:16 -07:00
2021-05-23 11:39:02 +02:00
2021-04-26 12:11:52 -07:00
2021-05-27 09:51:35 +02:00
2021-06-16 16:04:20 -04:00
2021-04-16 07:26:50 +02:00
2021-05-27 15:40:35 +02:00
2021-04-16 00:14:49 +02:00
2021-04-27 18:09:44 -07:00
2021-06-10 08:40:09 -07:00
2021-05-01 10:14:08 -07:00
2021-06-04 22:32:58 +02:00
2021-04-24 22:21:01 +02:00
2021-04-08 19:18:07 +02:00
2021-05-22 08:32:36 +01:00
2021-06-10 08:59:34 -03:00
2021-05-06 23:37:55 -07:00
2021-05-11 07:26:31 +03:00
2021-05-27 16:07:08 +02:00
2021-05-16 13:07:18 +01:00
2021-05-26 17:44:49 -10:00
2021-05-13 17:30:15 +02:00
2021-04-13 09:16:12 -06:00
2021-04-16 23:57:51 +10:00
2021-04-28 16:10:33 -07:00
2021-06-12 11:59:58 -07:00
2021-05-13 18:58:32 +02:00
2021-05-02 00:43:35 +09:00
2021-04-26 11:08:23 +02:00
2021-04-13 01:39:12 -04:00
2021-04-28 15:59:13 -07:00
2021-06-09 19:10:22 +02:00
2021-06-08 14:56:54 +02:00
2021-04-26 11:14:21 -07:00
2021-05-10 18:34:30 +02:00
2021-06-25 11:44:16 -07:00
2021-05-23 17:26:38 -07:00
2021-05-06 19:24:11 -07:00
2021-06-02 10:10:38 +03:00
2021-05-03 13:57:56 -05:00
2021-05-07 00:26:34 -07:00
2021-06-18 13:54:11 -07:00
2021-05-01 10:14:08 -07:00
2021-06-03 11:18:19 +05:30
2021-06-09 13:15:20 +02:00
2021-06-04 22:03:13 +02:00
2021-04-28 15:43:58 -07:00
2021-04-26 11:20:10 -07:00
2021-06-15 10:59:46 -07:00
2021-05-05 12:53:16 -07:00
2021-05-13 18:32:19 +02:00
2021-06-08 09:41:16 -07:00
2021-05-04 11:13:33 -07:00
2021-05-05 13:24:11 -07:00
2021-04-09 11:08:42 -05:00
2021-05-03 12:15:21 -07:00
2021-05-29 05:51:53 -10:00
2021-06-13 12:25:33 -07:00
2021-04-26 09:43:16 -07:00
2021-05-31 09:26:58 +02:00
2021-05-13 11:14:13 +05:30
2021-06-03 13:55:36 +01:00
2021-06-18 18:55:29 -07:00
2021-05-31 22:59:13 -04:00
2021-06-05 15:43:11 -07:00
2021-06-06 12:25:43 -07:00
2021-05-20 11:52:58 +03:00
2021-06-09 14:40:48 +02:00
2021-05-14 13:26:04 +02:00
2021-06-17 15:34:21 +02:00
2021-05-18 23:01:48 -07:00
2021-05-24 13:40:13 -06:00
2021-05-05 13:31:39 -07:00
2021-06-01 17:38:40 +02:00
2021-04-29 19:06:49 +02:00
2021-05-04 04:19:59 -04:00
2021-04-10 10:58:21 +02:00
2021-04-28 15:59:13 -07:00
2021-05-21 09:55:16 +02:00
2021-04-15 09:26:25 +02:00
2021-05-05 13:31:39 -07:00