summaryrefslogtreecommitdiff
path: root/kernel/debug/gdbstub.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2021-07-22 15:15:51 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-22 05:46:57 -0700
commit7aaa0f311e2df2704fa8ddb8ed681a3b5841d0bf (patch)
tree0c0aaba346c19bc8a15793512cc0e1efa1830abc /kernel/debug/gdbstub.c
parent9d85a6f44bd5585761947f40f7821c9cd78a1bbe (diff)
dpaa2-switch: seed the buffer pool after allocating the swp
Any interraction with the buffer pool (seeding a buffer, acquire one) is made through a software portal (SWP, a DPIO object). There are circumstances where the dpaa2-switch driver probes on a DPSW before any DPIO devices have been probed. In this case, seeding of the buffer pool will lead to a panic since no SWPs are initialized. To fix this, seed the buffer pool after making sure that the software portals have been probed and are ready to be used. Fixes: 0b1b71370458 ("staging: dpaa2-switch: handle Rx path on control interface") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/debug/gdbstub.c')
0 files changed, 0 insertions, 0 deletions