Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1743015 > unrolled thread

Re: btusb "firmware request while host is not available" at resume

Started byKai-Heng Feng <kai.heng.feng@canonical.com>
First post2017-10-02 10:40 +0200
Last post2017-10-02 10:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: btusb "firmware request while host is not available" at resume Kai-Heng Feng <kai.heng.feng@canonical.com> - 2017-10-02 10:40 +0200

#1743015 — Re: btusb "firmware request while host is not available" at resume

FromKai-Heng Feng <kai.heng.feng@canonical.com>
Date2017-10-02 10:40 +0200
SubjectRe: btusb "firmware request while host is not available" at resume
Message-ID<uw4qB-52e-1@gated-at.bofh.it>
Hi Luis,

On Thu, Sep 14, 2017 at 1:39 AM, Luis R. Rodriguez <mcgrof@kernel.org> wrote:
[snipped]
> Would a fw_cache_hint(device, name_list) be reasonable then sometime *before*
> suspend? All this would do is ask the firmware API to extend the fw cache
> list with the entries. It would not load firmware immediately, instead this
> would trigger a request for the hinted firmware to become available for
> suspend. Then these drivers could request for firmware at resume and it
> will pick up the cached firmware.

I think I am the author the patch [1] mentioned by Marcel. I have to
admit, it's quite
clunky in it's current form.
So yes, the new API you proposed is definitely better to solve the
issue. I'll send
new patch for btusb once we have the new API to use.

Also, with patch [1], the "firmware request while host is not
available" may still get hit
on some corner cases. I proposed another patch [2] to tackle the edge
case, can you
take a look?

[1] https://lkml.org/lkml/2017/8/25/58
[2] https://lkml.org/lkml/2017/8/22/123

Kai-Heng

>
>   Luis
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web