From: Oleksij Rempel <linux@rempel-privat.de>
To: linux-mips@vger.kernel.org, Christoph Hellwig <hch@lst.de>
Cc: John Crispin <john@phrozen.org>, antonynpavlov@gmail.com
Subject: MIPS: ath79: regressions after dma-mapping changes
Date: Sat, 5 Jan 2019 17:39:06 +0100 [thread overview]
Message-ID: <6fcd16d9-84fc-891e-a295-9146c8071900@rempel-privat.de> (raw)
[-- 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 --]
next reply other threads:[~2019-01-05 16:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-05 16:39 Oleksij Rempel [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6fcd16d9-84fc-891e-a295-9146c8071900@rempel-privat.de \
--to=linux@rempel-privat.de \
--cc=antonynpavlov@gmail.com \
--cc=hch@lst.de \
--cc=john@phrozen.org \
--cc=linux-mips@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).