All of lore.kernel.org
 help / color / mirror / Atom feed
* qca99x0 don't work with MSI-X supported/enabled
@ 2015-09-16  7:54 Janusz Dziedzic
  2015-09-16  9:39 ` Vasanthakumar Thiagarajan
  0 siblings, 1 reply; 2+ messages in thread
From: Janusz Dziedzic @ 2015-09-16  7:54 UTC (permalink / raw)
  To: ath10k@lists.infradead.org; +Cc: vthiagar

Hello,

Seems in case of qca99x0 we request

.msi_assign_ce_max              = 12

Next in case PC support MSI-X we fail when registering CE interrupts
with error msg:
ath10k_pci 0000:04:00.0: failed to request MSI-X ce irq 50: -22


Seems my linux limit max MSI-X to 8, so we should not request irq per CE?
BTW are CE8 .. CE11 used by the driver ? Or we can setup msi_assign_ce_max = 7?

Works fine when single MSI-X or legacy interrupt forced.

BR
Janusz

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

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

* Re: qca99x0 don't work with MSI-X supported/enabled
  2015-09-16  7:54 qca99x0 don't work with MSI-X supported/enabled Janusz Dziedzic
@ 2015-09-16  9:39 ` Vasanthakumar Thiagarajan
  0 siblings, 0 replies; 2+ messages in thread
From: Vasanthakumar Thiagarajan @ 2015-09-16  9:39 UTC (permalink / raw)
  To: Janusz Dziedzic, ath10k@lists.infradead.org

On Wednesday 16 September 2015 01:24 PM, Janusz Dziedzic wrote:
> Hello,
>
> Seems in case of qca99x0 we request
>
> .msi_assign_ce_max              = 12
>
> Next in case PC support MSI-X we fail when registering CE interrupts
> with error msg:
> ath10k_pci 0000:04:00.0: failed to request MSI-X ce irq 50: -22
>
>
> Seems my linux limit max MSI-X to 8, so we should not request irq per CE?
> BTW are CE8 .. CE11 used by the driver ? Or we can setup msi_assign_ce_max = 7?

CE8 is used by the driver to get pktlog information. Currently we are using
7 CEs actively. When copy engine fast path to skip htc layer is added, CE5
will also be used, so it is going to be 8 active CEs. If this would fail
for MSI-X, may be we need to disable MSI-X for qca99x0?.

Vasanth

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

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

end of thread, other threads:[~2015-09-16  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-16  7:54 qca99x0 don't work with MSI-X supported/enabled Janusz Dziedzic
2015-09-16  9:39 ` Vasanthakumar Thiagarajan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.