From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Daniel Drake <drake@endlessm.com>
Cc: Russell Hu <rhu@qti.qualcomm.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Ryan Hsu <ryanhsu@qti.qualcomm.com>,
Robert Chang <rwchang@qti.qualcomm.com>,
Aeolus Yang <aeolus@qti.qualcomm.com>,
ath9k-devel <ath9k-devel@qca.qualcomm.com>,
"linux@endlessm.com" <linux@endlessm.com>,
"rafael.j.wysocki@intel.com" <rafael.j.wysocki@intel.com>,
"andy@infradead.org" <andy@infradead.org>
Subject: Re: [v2] ath9k: add MSI support
Date: Mon, 13 Nov 2017 08:48:23 +0000 [thread overview]
Message-ID: <87y3na7eei.fsf@qca.qualcomm.com> (raw)
In-Reply-To: <20171110025415.7854-1-drake@endlessm.com> (Daniel Drake's message of "Fri, 10 Nov 2017 10:54:15 +0800")
Daniel Drake <drake@endlessm.com> writes:
>> On new Intel platforms like ApolloLake, legacy interrupt mechanism
>> (INTx) is not supported
>
> Could you please share the background on what you are claiming here.
> I have multiple ApolloLake laptops here with many legacy interrupts
> being used in /proc/interrupts.
>
> I do see this ath9k problem on multiple Acer ApolloLake laptops, however
> I also have an Asus E402NA ApolloLake laptop on hand where the exact same
> ath9k miniPCIe card is working fine with legacy interrupts.
>
>> With module paremeter "use_msi=3D1", ath9k driver would try to
>> use MSI instead of INTx.
>
> In the previous patch review it was suggested that MSI should become
> the default - not a quirk or parameter.
> https://lkml.org/lkml/2017/9/26/64
Enabling MSI by default is just too invasive, ath9k is used in so many
different enviroments that risk of regressions is high. MSI needs a lot
of testing before we can even consider enabling it by default.
> I have tested your patch on Acer Aspire ES1-432. It does not work -
> I still can't connect to wifi.
> /proc/interrupts shows that no MSI interrupts are delivered, the
> counters are 0.
>
> lspci -vv shows:
> Capabilities: [50] MSI: Enable+ Count=3D1/4 Maskable+ 64bit+
> Address: 00000000fee0f00c Data: 4142
> Masking: 0000000e Pending: 00000000
>
> So MSI is enabled and the vector number is 0x42 (decimal 66).
> However my kernel log is now totally spammed with:
> do_IRQ: 0.64 No irq handler for vector
>
> My assumption here is that the ath9k hardware implementation of
> MSI is buggy, and it is therefore corrupting the MSI vector number
> by zeroing out the lower 2 bits (e.g. 66 -> 64).
>
> It would be very useful if Qualcomm could confirm if this behaviour
> is really true and if it could potentially be fixed with a new ath9k
> firmware version.
ath9k does not have firmware.
--=20
Kalle Valo=
next prev parent reply other threads:[~2017-11-13 8:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-11 10:18 [PATCH v2] ath9k: add MSI support Russell Hu
2017-11-10 2:54 ` [v2] " Daniel Drake
2017-11-13 8:48 ` Kalle Valo [this message]
2017-11-13 22:36 ` Daniel Drake
2017-11-14 12:15 ` Kalle Valo
2017-11-15 7:38 ` Daniel Drake
2017-12-12 11:43 ` Daniel Drake
2018-01-08 12:24 ` Kalle Valo
2018-01-08 14:16 ` Andy Shevchenko
2018-01-08 23:07 ` Daniel Drake
2018-01-09 1:16 ` AceLan Kao
2018-01-16 14:29 ` Kalle Valo
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=87y3na7eei.fsf@qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=aeolus@qti.qualcomm.com \
--cc=andy@infradead.org \
--cc=ath9k-devel@qca.qualcomm.com \
--cc=drake@endlessm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linux@endlessm.com \
--cc=rafael.j.wysocki@intel.com \
--cc=rhu@qti.qualcomm.com \
--cc=rwchang@qti.qualcomm.com \
--cc=ryanhsu@qti.qualcomm.com \
/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).