]> www.infradead.org Git - users/dwmw2/linux.git/commit
MIPS: Alchemy: fix dbdma2
authorManuel Lauss <manuel.lauss@gmail.com>
Thu, 11 May 2023 15:30:10 +0000 (17:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 14:02:07 +0000 (16:02 +0200)
commit5fc220360ef3b45b6c2054d0c5efee4b2e333b29
tree23848f6826b76c875e48715940f8958361fdc60c
parentb5e46d634e581a4afe0fff5e8c6c368dad3a0922
MIPS: Alchemy: fix dbdma2

[ Upstream commit 2d645604f69f3a772d58ead702f9a8e84ab2b342 ]

Various fixes for the Au1200/Au1550/Au1300 DBDMA2 code:

- skip cache invalidation if chip has working coherency circuitry.
- invalidate KSEG0-portion of the (physical) data address.
- force the dma channel doorbell write out to bus immediately with
  a sync.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/alchemy/common/dbdma.c