2020-06-25 18:22:28

by Wolfram Sang

[permalink] [raw]
Subject: [RFC PATCH] iwlwifi: yoyo: don't print failure if debug firmware is missing

Missing this firmware is not fatal, my wifi card still works. Even more,
I couldn't find any documentation what it is or where to get it. So, I
don't think the users should be notified if it is missing. If you browse
the net, you see the message is present is in quite some logs. Better
remove it.

Signed-off-by: Wolfram Sang <[email protected]>
---

This is only build tested because I wanted to get your opinions first. I
couldn't find any explanation about yoyo, so I am entering unknown
territory here.

drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c b/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
index 7987a288917b..f180db2936e3 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
@@ -468,7 +468,7 @@ void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans)
if (!iwlwifi_mod_params.enable_ini)
return;

- res = request_firmware(&fw, "iwl-debug-yoyo.bin", dev);
+ res = firmware_request_nowarn(&fw, "iwl-debug-yoyo.bin", dev);
if (res)
return;

--
2.20.1


2020-07-26 15:27:30

by Wolfram Sang

[permalink] [raw]
Subject: Re: [RFC PATCH] iwlwifi: yoyo: don't print failure if debug firmware is missing

On Thu, Jun 25, 2020 at 06:52:10PM +0200, Wolfram Sang wrote:
> Missing this firmware is not fatal, my wifi card still works. Even more,
> I couldn't find any documentation what it is or where to get it. So, I
> don't think the users should be notified if it is missing. If you browse
> the net, you see the message is present is in quite some logs. Better
> remove it.
>
> Signed-off-by: Wolfram Sang <[email protected]>
> ---

Any input on this? Or people I should add to CC?

>
> This is only build tested because I wanted to get your opinions first. I
> couldn't find any explanation about yoyo, so I am entering unknown
> territory here.
>
> drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c b/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
> index 7987a288917b..f180db2936e3 100644
> --- a/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
> +++ b/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
> @@ -468,7 +468,7 @@ void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans)
> if (!iwlwifi_mod_params.enable_ini)
> return;
>
> - res = request_firmware(&fw, "iwl-debug-yoyo.bin", dev);
> + res = firmware_request_nowarn(&fw, "iwl-debug-yoyo.bin", dev);
> if (res)
> return;
>
> --
> 2.20.1
>


Attachments:
(No filename) (1.36 kB)
signature.asc (849.00 B)
Download all attachments

2020-07-26 18:12:14

by Kalle Valo

[permalink] [raw]
Subject: Re: [RFC PATCH] iwlwifi: yoyo: don't print failure if debug firmware is missing

Wolfram Sang <[email protected]> writes:

> On Thu, Jun 25, 2020 at 06:52:10PM +0200, Wolfram Sang wrote:
>> Missing this firmware is not fatal, my wifi card still works. Even more,
>> I couldn't find any documentation what it is or where to get it. So, I
>> don't think the users should be notified if it is missing. If you browse
>> the net, you see the message is present is in quite some logs. Better
>> remove it.
>>
>> Signed-off-by: Wolfram Sang <[email protected]>
>> ---
>
> Any input on this? Or people I should add to CC?

This was discussed on another thread:

https://lkml.kernel.org/r/[email protected]

Unless Intel folks object I'm planning to take this to
wireless-drivers-next.

--
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

2020-07-26 18:28:24

by Wolfram Sang

[permalink] [raw]
Subject: Re: [RFC PATCH] iwlwifi: yoyo: don't print failure if debug firmware is missing

On Sun, Jul 26, 2020 at 09:11:25PM +0300, Kalle Valo wrote:
> Wolfram Sang <[email protected]> writes:
>
> > On Thu, Jun 25, 2020 at 06:52:10PM +0200, Wolfram Sang wrote:
> >> Missing this firmware is not fatal, my wifi card still works. Even more,
> >> I couldn't find any documentation what it is or where to get it. So, I
> >> don't think the users should be notified if it is missing. If you browse
> >> the net, you see the message is present is in quite some logs. Better
> >> remove it.
> >>
> >> Signed-off-by: Wolfram Sang <[email protected]>
> >> ---
> >
> > Any input on this? Or people I should add to CC?
>
> This was discussed on another thread:
>
> https://lkml.kernel.org/r/[email protected]
>
> Unless Intel folks object I'm planning to take this to
> wireless-drivers-next.

Cool, thanks for the heads up!


Attachments:
(No filename) (864.00 B)
signature.asc (849.00 B)
Download all attachments

2020-07-27 06:24:57

by Luciano Coelho

[permalink] [raw]
Subject: Re: [RFC PATCH] iwlwifi: yoyo: don't print failure if debug firmware is missing

On Sun, 2020-07-26 at 21:11 +0300, Kalle Valo wrote:
> Wolfram Sang <[email protected]> writes:
>
> > On Thu, Jun 25, 2020 at 06:52:10PM +0200, Wolfram Sang wrote:
> > > Missing this firmware is not fatal, my wifi card still works. Even more,
> > > I couldn't find any documentation what it is or where to get it. So, I
> > > don't think the users should be notified if it is missing. If you browse
> > > the net, you see the message is present is in quite some logs. Better
> > > remove it.
> > >
> > > Signed-off-by: Wolfram Sang <[email protected]>
> > > ---
> >
> > Any input on this? Or people I should add to CC?
>
> This was discussed on another thread:
>
> https://lkml.kernel.org/r/[email protected]
>
> Unless Intel folks object I'm planning to take this to
> wireless-drivers-next.

Yes, please, just go ahead and take it. I have the same change in our
internal tree, but I didn't have the time to send it out due to my
vacations (from which I'm now back).

--
Cheers,
Luca.

2020-08-02 15:11:58

by Kalle Valo

[permalink] [raw]
Subject: Re: [RFC PATCH] iwlwifi: yoyo: don't print failure if debug firmware is missing

Wolfram Sang <[email protected]> wrote:

> Missing this firmware is not fatal, my wifi card still works. Even more,
> I couldn't find any documentation what it is or where to get it. So, I
> don't think the users should be notified if it is missing. If you browse
> the net, you see the message is present is in quite some logs. Better
> remove it.
>
> Signed-off-by: Wolfram Sang <[email protected]>

Patch applied to wireless-drivers-next.git, thanks.

3f4600de8c93 iwlwifi: yoyo: don't print failure if debug firmware is missing

--
https://patchwork.kernel.org/patch/11625759/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches