From: Sebastian Gottschall <s.gottschall@dd-wrt.com>
To: ath10k@lists.infradead.org
Subject: Re: Anyone brought up 9984 NIC on x86-64?
Date: Thu, 14 Jul 2016 01:12:24 +0200 [thread overview]
Message-ID: <6b019cbc-e909-540e-95d1-b14f2be0128d@dd-wrt.com> (raw)
In-Reply-To: <1468430769350.75672@qti.qualcomm.com>
Am 13.07.2016 um 19:26 schrieb Manoharan, Rajkumar:
>> I added a few patches to my 4.7 kernel to enable ath10k to load for 9984,
>> but it immediately crashes due to IOMMU error when trying to allocate
>> memory.
>>
>> I'm building the latest linux-ath tree now and will test that when it
>> is done, but I am curious to know if anyone has successfully booted
>> 9984 on x86-64?
>>
> Ben,
>
> Are you seeing IOMMU error even after wtih your DMA_BIDIRECTIONAL change? Could you please try with
>
> https://patchwork.kernel.org/patch/9175029/
>
> But increase WMI_MAX_MEM_CHUNK_SIZE to 512.
while debugging i found out that it will allocate up to 800 kb here on
99xx chipsets. truncating this value in any way will definitly cause
out of bound access conditions.
so i assume the code is wrong. the firmware requests the size, so it
should get it. otherwise unexpected behaviour is guaranteed
Sebastian
>
> -Rajkumar
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
>
--
Mit freundlichen Grüssen / Regards
Sebastian Gottschall / CTO
NewMedia-NET GmbH - DD-WRT
Firmensitz: Berliner Ring 101, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottschall@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
prev parent reply other threads:[~2016-07-13 23:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 17:01 Anyone brought up 9984 NIC on x86-64? Ben Greear
2016-07-13 17:22 ` Ben Greear
2016-07-13 17:26 ` Manoharan, Rajkumar
2016-07-13 17:54 ` Ben Greear
2016-07-13 19:17 ` Adrian Chadd
2016-07-13 21:14 ` Ben Greear
2016-07-13 23:12 ` Sebastian Gottschall [this message]
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=6b019cbc-e909-540e-95d1-b14f2be0128d@dd-wrt.com \
--to=s.gottschall@dd-wrt.com \
--cc=ath10k@lists.infradead.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