ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 4.3] ath10k: fix DMA related firmware crashes on multiple devices
       [not found] <1442176540-34973-1-git-send-email-nbd@openwrt.org>
@ 2015-09-14  7:00 ` Kalle Valo
  2015-09-14  7:11   ` Felix Fietkau
  0 siblings, 1 reply; 3+ messages in thread
From: Kalle Valo @ 2015-09-14  7:00 UTC (permalink / raw)
  To: Felix Fietkau; +Cc: linux-wireless, ath10k

Felix Fietkau <nbd@openwrt.org> writes:

> Some platforms really don't like DMA bursts of 256 bytes, and this
> causes the firmware to crash when sending beacons.
> Also, changing this based on the firmware version does not seem to make
> much sense, so use 128 bytes for all versions.
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Nice, good catch! Just to make sure, this fixes the issues some people
have reported that 10.1 firmware works but 10.2 firmware crashes when
starting beaconing?

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

* Re: [PATCH 4.3] ath10k: fix DMA related firmware crashes on multiple devices
  2015-09-14  7:00 ` [PATCH 4.3] ath10k: fix DMA related firmware crashes on multiple devices Kalle Valo
@ 2015-09-14  7:11   ` Felix Fietkau
  2015-09-14  7:46     ` Kalle Valo
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Fietkau @ 2015-09-14  7:11 UTC (permalink / raw)
  To: Kalle Valo; +Cc: linux-wireless, ath10k

On 2015-09-14 09:00, Kalle Valo wrote:
> Felix Fietkau <nbd@openwrt.org> writes:
> 
>> Some platforms really don't like DMA bursts of 256 bytes, and this
>> causes the firmware to crash when sending beacons.
>> Also, changing this based on the firmware version does not seem to make
>> much sense, so use 128 bytes for all versions.
>>
>> Cc: stable@vger.kernel.org
>> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
> 
> Nice, good catch! Just to make sure, this fixes the issues some people
> have reported that 10.1 firmware works but 10.2 firmware crashes when
> starting beaconing?
Yes. I was able to reproduce that issue myself on a Gateworks Laguna
device, which is among the affected devices reported in that email
thread. This patch fixes it for me.

- Felix

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

* Re: [PATCH 4.3] ath10k: fix DMA related firmware crashes on multiple devices
  2015-09-14  7:11   ` Felix Fietkau
@ 2015-09-14  7:46     ` Kalle Valo
  0 siblings, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2015-09-14  7:46 UTC (permalink / raw)
  To: Felix Fietkau; +Cc: linux-wireless, ath10k

Felix Fietkau <nbd@openwrt.org> writes:

> On 2015-09-14 09:00, Kalle Valo wrote:
>> Felix Fietkau <nbd@openwrt.org> writes:
>> 
>>> Some platforms really don't like DMA bursts of 256 bytes, and this
>>> causes the firmware to crash when sending beacons.
>>> Also, changing this based on the firmware version does not seem to make
>>> much sense, so use 128 bytes for all versions.
>>>
>>> Cc: stable@vger.kernel.org
>>> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
>> 
>> Nice, good catch! Just to make sure, this fixes the issues some people
>> have reported that 10.1 firmware works but 10.2 firmware crashes when
>> starting beaconing?
>
> Yes. I was able to reproduce that issue myself on a Gateworks Laguna
> device, which is among the affected devices reported in that email
> thread. This patch fixes it for me.

Awesome. Can you please resend this and CC ath10k@lists.infradead.org
(as well as linux-wireless) so that I get this to the correct patchwork
project? I'll then send it forward to 4.3.

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

end of thread, other threads:[~2015-09-14  7:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1442176540-34973-1-git-send-email-nbd@openwrt.org>
2015-09-14  7:00 ` [PATCH 4.3] ath10k: fix DMA related firmware crashes on multiple devices Kalle Valo
2015-09-14  7:11   ` Felix Fietkau
2015-09-14  7:46     ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox