Home
last modified time | relevance | path

Searched hist:"1 cde732d88af34849343dc1f0e68072eab0841b9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/misc/macio/
H A Dmac_dbdma.cdiff 1cde732d88af34849343dc1f0e68072eab0841b9 Sun Aug 23 05:50:55 CDT 2015 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> mac_dbdma: always clear FLUSH bit once DBDMA channel flush is complete

The code to flush the DBDMA channel was effectively duplicated in
dbdma_control_write(), except for the fact that the copy executed outside of a
RUN bit transition was broken by not clearing the FLUSH bit once the flush was
complete.

Newer PPC Linux kernels would timeout waiting for the FLUSH bit to clear again
after submitting a FLUSH command. Fix this by always clearing the FLUSH bit
once the channel flush is complete and removing the repeated code.

Reported-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>