Skip to content
Commit 035b73b2 authored by Ferry Toth's avatar Ferry Toth Committed by Vinod Koul
Browse files

dmaengine: hsu: disable spurious interrupt



On Intel Tangier B0 and Anniedale the interrupt line, disregarding
to have different numbers, is shared between HSU DMA and UART IPs.
Thus on such SoCs we are expecting that IRQ handler is called in
UART driver only. hsu_pci_irq was handling the spurious interrupt
from HSU DMA by returning immediately. This wastes CPU time and
since HSU DMA and HSU UART interrupt occur simultaneously they race
to be handled causing delay to the HSU UART interrupt handling.
Fix this by disabling the interrupt entirely.

Fixes: 4831e0d9 ("serial: 8250_mid: handle interrupt correctly in DMA case")
Signed-off-by: default avatarFerry Toth <ftoth@exalondelft.nl>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210112223749.97036-1-ftoth@exalondelft.nl


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 747ee57b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment