linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* MIPS: ath79: regressions after dma-mapping changes
@ 2019-01-05 16:39 Oleksij Rempel
  2019-01-08 18:02 ` MIPS: ath79: net boot related regressions Oleksij Rempel
  2019-01-10 19:56 ` MIPS: ath79: regressions after dma-mapping changes Paul Burton
  0 siblings, 2 replies; 6+ messages in thread
From: Oleksij Rempel @ 2019-01-05 16:39 UTC (permalink / raw)
  To: linux-mips, Christoph Hellwig; +Cc: John Crispin, antonynpavlov


[-- Attachment #1.1: Type: text/plain, Size: 1342 bytes --]

Hi all,

I'm working on Atheros ar9331 related patches for upstream. Suddenly
this architecture is not working with latest mips_4.21 tag. Bisecting is
pointing to dma-mapping-4.20 merge.

The symptoms are following:
- networking is broken, getting tx timouts from atheros network driver.
- depending on configuration boot will stall even before UART is enabled
- after reverting some of dma-mapping patches, network seems to work but
init will trigger segfault. It is running from nfs-root.


First patch where regressions started is this:
commit dc3c05504d38849f77149cb962caeaedd1efa127
Author: Christoph Hellwig <hch@lst.de>
Date:   Fri Aug 24 10:28:18 2018 +0200

    dma-mapping: remove dma_deconfigure

    This goes through a lot of hooks just to call arch_teardown_dma_ops.
    Replace it with a direct call instead.

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Robin Murphy <robin.murphy@arm.com>

It is not enough to revert this patch. This rework seems to be huge.

I also tested dma-mapping-4.21 tag, with same result.
In case, some one won't to play with it, the patches can be found here:
https://github.com/olerem/linux-2.6/commits/v4.20/topic/ath79-upstream-2019.01.04.1


It will be great if some one can help me to troubleshoot this issue.

-- 
Regards,
Oleksij


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-11 13:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-05 16:39 MIPS: ath79: regressions after dma-mapping changes Oleksij Rempel
2019-01-08 18:02 ` MIPS: ath79: net boot related regressions Oleksij Rempel
2019-01-08 18:19   ` Trond Myklebust
2019-01-08 19:55     ` Oleksij Rempel
2019-01-10 19:56 ` MIPS: ath79: regressions after dma-mapping changes Paul Burton
2019-01-11 13:53   ` Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).