]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: fix vio handshake issue
authorThomas Tai <thomas.tai@oracle.com>
Mon, 10 Jul 2017 16:55:55 +0000 (10:55 -0600)
committerAllen Pais <allen.pais@oracle.com>
Tue, 18 Jul 2017 12:25:00 +0000 (17:55 +0530)
commit02908f7424ee74dbfc3776fd8a45ebcafa0f0ff7
tree3a77dd3922b9528d4ef877a2b437ace245e6c1ff
parenteef1174ac3d99740813e31b552b990dc8eccd9ae
sparc64: fix vio handshake issue

When rebooting multiple LDoms together with bind/unbind a separate
LDom, kernel panic with vio handshake error. The panic is caused by
vio trying to allocate a buffer which is not freed properly. The
ldc_unbind should unconfigure and stop the ldc queue before freeing
the irq. If the irq is freed before stopping the queue, interrupts
can continue to happen after the irq is freed which may cause
issue.

Orabug: 26259622

Signed-off-by: Thomas Tai <thomas.tai@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
arch/sparc/kernel/ldc.c