Skip to contentSkip to conversation

DMAR faults?

DISCUSSION Ben Greear 3 participants 4 messages Oct 22, 2013 – Oct 28, 2013 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

Any idea what this means? The 05:00.0 is the ath10k device...

ath10k_pci 0000:05:00.0: BAR 0: assigned [mem 0xf4400000-0xf45fffff 64bit]
ath10k: MSI-X interrupt handling (8 intrs)
dmar: DRHD: handling fault status reg 3
dmar: DMAR:[DMA Write] Request device [05:00.0] fault addr ffe46000 DMAR:[fault reason 02] Present bit in context entry is clear
ath10k: Hardware name qca988x hw2.0 version 0x4100016c
ath10k: UART prints disabled
ath10k: firmware 999.999.0.636 booted
ath10k: htt target version 2.1
ath10k: Completion buffers are full

Thanks,
Ben

Signature · 8 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#1 lore raw
Quoted 7 lines · Ben Greear

Any idea what this means? The 05:00.0 is the ath10k device...

ath10k_pci 0000:05:00.0: BAR 0: assigned [mem 0xf4400000-0xf45fffff 64bit]
ath10k: MSI-X interrupt handling (8 intrs)
dmar: DRHD: handling fault status reg 3
dmar: DMAR:[DMA Write] Request device [05:00.0] fault addr ffe46000 DMAR:[fault reason 02] Present bit in context entry is clear

I guess you have iommu enabled? I think that means ath10k device tried to write to a memory area which was not mapped by the driver.

Quoted 5 lines

ath10k: Hardware name qca988x hw2.0 version 0x4100016c
ath10k: UART prints disabled
ath10k: firmware 999.999.0.636 booted
ath10k: htt target version 2.1
ath10k: Completion buffers are full

Timestamps would be really useful. How fast did you get that completion buffers are full message?

Signature · 6 lines
Kalle Valo

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#2 lore raw
Quoted 4 lines · Kalle Valo
Quoted 2 lines · Ben Greear

Any idea what this means? The 05:00.0 is the ath10k device...

Quoted 8 lines
Quoted 5 lines

ath10k_pci 0000:05:00.0: BAR 0: assigned [mem 0xf4400000-0xf45fffff 64bit]
ath10k: MSI-X interrupt handling (8 intrs)
dmar: DRHD: handling fault status reg 3
dmar: DMAR:[DMA Write] Request device [05:00.0] fault addr ffe46000 DMAR:[fault reason 02] Present bit in context entry is clear

I guess you have iommu enabled? I think that means ath10k device tried to write to a memory area which was not mapped by the driver.

From what I understand this is what supposedly can happen when cold booting the hw 2.0.

Quoted 8 lines
Quoted 5 lines

ath10k: Hardware name qca988x hw2.0 version 0x4100016c
ath10k: UART prints disabled
ath10k: firmware 999.999.0.636 booted
ath10k: htt target version 2.1
ath10k: Completion buffers are full

Timestamps would be really useful. How fast did you get that completion buffers are full message?

I'm wondering what CE ring buffer this is reported for. Judging from Ben's recent reports I'd guess this can be an unsolicited interrupt for an unused CE which doesn't have completions allocated at all -- thus this message is printed.

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

author
#3 lore raw
In reply to Kalle Valo
Quoted 13 lines · Kalle Valo
Quoted 7 lines · Ben Greear

Any idea what this means? The 05:00.0 is the ath10k device...

ath10k_pci 0000:05:00.0: BAR 0: assigned [mem 0xf4400000-0xf45fffff 64bit]
ath10k: MSI-X interrupt handling (8 intrs)
dmar: DRHD: handling fault status reg 3
dmar: DMAR:[DMA Write] Request device [05:00.0] fault addr ffe46000 DMAR:[fault reason 02] Present bit in context entry is clear

I guess you have iommu enabled? I think that means ath10k device tried to write to a memory area which was not mapped by the driver.

Quoted 8 lines
Quoted 5 lines

ath10k: Hardware name qca988x hw2.0 version 0x4100016c
ath10k: UART prints disabled
ath10k: firmware 999.999.0.636 booted
ath10k: htt target version 2.1
ath10k: Completion buffers are full

Timestamps would be really useful. How fast did you get that completion buffers are full message?

These mostly happen after I crash firmware if I remember corectly. I haven't looked closely yet.

I'm using a normal-ish Intel core-i7 system with 64-bit Fedora 19 OS. Probably iommu is enabled.

Thanks,
Ben

Signature · 8 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k