NACK/Cmnt: [SRU][F:linux-bluefield] [PATCH v1 0/1] UBUNTU: SAUCE: mlx-bootctl: Support VPD info in EEPROM MFG

Stefan Bader stefan.bader at canonical.com
Wed Jun 16 06:53:56 UTC 2021


On 14.06.21 12:50, Shravan Kumar Ramani wrote:
> BugLink: https://bugs.launchpad.net/bugs/1931843
> 
> SRU Justification:
> 
> [Impact]
> The EEPROM MFG partition on BlueField-2 has been updated to include the VPD
> information for each card. In order to access these newly added fields,
> the mlx-bootctl driver needs to be updated to provide an access mechanism.
> 
> [Fix]
> Add support for VPD fields in the EEPROM MFG and provide access to these
> via sysfs entries. The newly added sysfs entries are:
> sku (SKU ID), modl (Model Number), sn (Serial Number) and uuid (UUID).
> And the previously added opn_str sysfs has been renamed to opn.
> 
> [Test Case]
> Though the driver provides read and write access through sysfs, the contents
> of the MFG partition are written during Manufacturing and then locked in order
> to protect the info. Writing to this partition will therefore require resetting
> the MFG info from the UEFI Device Manager, which will unlock the partition and
> allow for it to be reprogrammed.
> Reading the sysfs entries will print the contents of each field. It could also
> be empty if the field was not programmed earlier.
> 
> [Regression Potential]
> Can be considered minimum, since the new fields have been added without
> interfering with the existing fields which might already be programmed.
> 
> Shravan Kumar Ramani (1):
>    UBUNTU: SAUCE: mlx-bootctl: Add support for VPD info in EEPROM MFG
> 
>   drivers/platform/mellanox/mlx-bootctl.c | 353 ++++++++++++++++++------
>   1 file changed, 270 insertions(+), 83 deletions(-)
> 
Older threads should be self-nacked if there are newer submissions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210616/3961f631/attachment.sig>


More information about the kernel-team mailing list