From: Jacob Keller <jacob.e.keller@intel.com>
To: Shawn.Shao <shawn.shao@jaguarmicro.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] lib: Export the parsing functions and related data structures of the PLDM library
Date: Mon, 9 Sep 2024 13:36:49 -0700 [thread overview]
Message-ID: <a97f1b6e-66a1-4d52-9cfc-ac424263dbf8@intel.com> (raw)
In-Reply-To: <20240909071721.1768-1-shawn.shao@jaguarmicro.com>
On 9/9/2024 12:17 AM, Shawn.Shao wrote:
> From: Shawn Shao <shawn.shao@jaguarmicro.com>
>
> v1 -> v2: Updated the commit message, added a description
> of the changes related to `DeviceUpdateOptionFlags`, etc.
>
> The PLDM library is used to implement firmware upgrades,
> but the current library functions only support the
> `pldmfw_flash_image` function to complete a fixed
> process of parsing, sending data to the backend,
> and flashing (allowing users to implement custom
> logic using `pldmfw_ops`). However, this poses
> significant challenges for device vendors using
> PLDM for firmware upgrades.
> The following scenarios are not supported:
> 1. Only using the PLDM parsing functions, as the
> current library does not support this operation.
> 2. The firmware upgrade process differs from this
> fixed flow (the firmware upgrade process may
> vary across different vendors).
> |-> pldmfw_flash_image
> |-> pldm_parse_image
> |-> pldm_parse_header
> |-> pldm_parse_records
> |-> pldm_parse_components
> -> pldm_verify_header_crc
> |-> pldm_find_matching_record (xxx_match_record)
> |-> pldm_send_package_data (xxx_send_package_data)
> |-> pldm_send_component_tables (xxx_send_package_data)
> |-> pldm_flash_components (xxx_flash_component)
> |-> pldm_finalize_update (xxx_finalize_update)
> 3. The current PLDM library does not support parsing the
> DeviceUpdateOptionFlags parameter, which is defined in the PLDM
> specification to facilitate the transfer of control information
> between the UA (Update Agent) and the firmware.Please refer to:
> https://www.dmtf.org/sites/default/files/standards/documents
> /DSP0267_1.3.0.pdf P37.
>
Thanks! I'd prefer the DeviceUpdateOptionFlags to be separate, but I
think the changes are good.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
next prev parent reply other threads:[~2024-09-09 20:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 7:17 Shawn.Shao
2024-09-09 20:36 ` Jacob Keller [this message]
2024-09-10 2:08 ` 答复: " shawn.shao
2024-09-10 21:05 ` Jacob Keller
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=a97f1b6e-66a1-4d52-9cfc-ac424263dbf8@intel.com \
--to=jacob.e.keller@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=shawn.shao@jaguarmicro.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
all inboxes | Powered by JetHome®