From: Tedd Ho-Jeong An <tedd.an@linux.intel.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v8 1/6] Bluetooth: btintel: Check firmware version before download
Date: Wed, 10 Feb 2021 23:32:52 -0800 [thread overview]
Message-ID: <9e9b46f42acc828ab362ba7f85ec0850e2d65770.camel@linux.intel.com> (raw)
In-Reply-To: <20210211010900.2326531-1-luiz.dentz@gmail.com>
Hi Luiz,
On Wed, 2021-02-10 at 17:08 -0800, Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> This checks the firmware build number, week and year matches with
> repective version loaded and then skip the download process.
>
> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> ---
> v2: Add patch that mover checks for operational mode after the version
> checking.
> v3: Fix not checking for operation mode before using btintel_read_boot_params
> since some models depend on that to contruct the fw filename. Also attempt to
> cleanup duplicated code.
> v4: Fix forwarding -EALREADY when firmware has already been loaded.
> v5: Fix not advancing fw_ptr.
> v6: Fix btusb_setup_intel_new_get_fw_name error checking for ddc.
> v7: Disable version checking for WsP/SfP.
> v8: Really disables version checking for WsP/SfP.
>
> drivers/bluetooth/btintel.c | 105 +++++++++++++++++++++++++++-------
> drivers/bluetooth/btintel.h | 5 +-
> drivers/bluetooth/btusb.c | 18 +++++-
> drivers/bluetooth/hci_intel.c | 7 ++-
> 4 files changed, 109 insertions(+), 26 deletions(-)
>
I tested with ThP and no issue found.
I also tested with WsP and fw loading fine and no upgrading as expected.
More devices will be tested. Stay tune.
Regards,
Tedd
prev parent reply other threads:[~2021-02-11 7:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-11 1:08 [PATCH v8 1/6] Bluetooth: btintel: Check firmware version before download Luiz Augusto von Dentz
2021-02-11 1:08 ` [PATCH v8 2/6] Bluetooth: btintel: Move operational checks after version check Luiz Augusto von Dentz
2021-02-11 1:08 ` [PATCH v8 3/6] Bluetooth: btintel: Consolidate intel_version_tlv parsing Luiz Augusto von Dentz
2021-02-11 1:08 ` [PATCH v8 4/6] Bluetooth: btintel: Consolidate intel_version parsing Luiz Augusto von Dentz
2021-02-11 1:08 ` [PATCH v8 5/6] Bluetooth: btusb: Consolidate code for waiting firmware download Luiz Augusto von Dentz
2021-02-11 1:09 ` [PATCH v8 6/6] Bluetooth: btusb: Consolidate code for waiting firmware to boot Luiz Augusto von Dentz
2021-02-11 1:51 ` [v8,1/6] Bluetooth: btintel: Check firmware version before download bluez.test.bot
2021-02-11 7:32 ` Tedd Ho-Jeong An [this message]
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=9e9b46f42acc828ab362ba7f85ec0850e2d65770.camel@linux.intel.com \
--to=tedd.an@linux.intel.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.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 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.