From: Himanshu Madhani <himanshu.madhani@oracle.com>
To: Nilesh Javali <njavali@marvell.com>, martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org,
GR-QLogic-Storage-Upstream@marvell.com, agurumurthy@marvell.com,
sdeodhar@marvell.com, emilne@redhat.com, jmeneghi@redhat.com
Subject: Re: [PATCH v2 08/11] qla2xxx: Fix optrom version displayed in FDMI
Date: Wed, 10 Jul 2024 12:57:31 -0700 [thread overview]
Message-ID: <01db4b82-e698-4fb3-973f-8d7e081d70cf@oracle.com> (raw)
In-Reply-To: <20240710171057.35066-9-njavali@marvell.com>
On 7/10/24 10:10 AM, Nilesh Javali wrote:
> From: Shreyas Deodhar <sdeodhar@marvell.com>
>
> Bios version was popluated for FDMI response. Systems with EFI
> would show optrom version as 0.
> EFI version is populated here and BIOS version is already displayed
> under FDMI_HBA_BOOT_BIOS_NAME.
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Shreyas Deodhar<sdeodhar@marvell.com>
> Signed-off-by: Nilesh Javali <njavali@marvell.com>
> ---
> drivers/scsi/qla2xxx/qla_gs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c
> index e801cd9e2345..caa9a3cd2580 100644
> --- a/drivers/scsi/qla2xxx/qla_gs.c
> +++ b/drivers/scsi/qla2xxx/qla_gs.c
> @@ -1710,7 +1710,7 @@ qla2x00_hba_attributes(scsi_qla_host_t *vha, void *entries,
> eiter->type = cpu_to_be16(FDMI_HBA_OPTION_ROM_VERSION);
> alen = scnprintf(
> eiter->a.orom_version, sizeof(eiter->a.orom_version),
> - "%d.%02d", ha->bios_revision[1], ha->bios_revision[0]);
> + "%d.%02d", ha->efi_revision[1], ha->efi_revision[0]);
> alen += FDMI_ATTR_ALIGNMENT(alen);
> alen += FDMI_ATTR_TYPELEN(eiter);
> eiter->len = cpu_to_be16(alen);
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
--
Himanshu Madhani Oracle Linux Engineering
next prev parent reply other threads:[~2024-07-10 19:57 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-10 17:10 [PATCH v2 00/11] qla2xxx misc. bug fixes Nilesh Javali
2024-07-10 17:10 ` [PATCH v2 01/11] qla2xxx: unable to act on RSCN for port online Nilesh Javali
2024-07-10 17:10 ` [PATCH v2 02/11] qla2xxx: validate nvme_local_port correctly Nilesh Javali
2024-07-10 19:32 ` Himanshu Madhani
2024-07-10 17:10 ` [PATCH v2 03/11] qla2xxx: Fix for possible memory corruption Nilesh Javali
2024-07-10 19:33 ` Himanshu Madhani
2024-07-10 17:10 ` [PATCH v2 04/11] qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds Nilesh Javali
2024-07-10 19:33 ` Himanshu Madhani
2024-07-10 17:10 ` [PATCH v2 05/11] qla2xxx: Fix flash read failure Nilesh Javali
2024-07-10 17:10 ` [PATCH v2 06/11] qla2xxx: complete command early within lock Nilesh Javali
2024-07-10 19:43 ` Himanshu Madhani
2024-07-10 17:10 ` [PATCH v2 07/11] qla2xxx: During vport delete send async logout explicitly Nilesh Javali
2024-07-10 19:55 ` Himanshu Madhani
2024-07-10 17:10 ` [PATCH v2 08/11] qla2xxx: Fix optrom version displayed in FDMI Nilesh Javali
2024-07-10 19:57 ` Himanshu Madhani [this message]
2024-07-10 17:10 ` [PATCH v2 09/11] qla2xxx: Reduce fabric scan duplicate code Nilesh Javali
2024-07-10 22:17 ` Himanshu Madhani
2024-07-10 17:10 ` [PATCH v2 10/11] qla2xxx: Use QP lock to search for bsg Nilesh Javali
2024-07-10 22:20 ` Himanshu Madhani
2024-07-10 17:10 ` [PATCH v2 11/11] qla2xxx: Update version to 10.02.09.300-k Nilesh Javali
2024-07-10 22:20 ` Himanshu Madhani
2024-07-11 2:46 ` [PATCH v2 00/11] qla2xxx misc. bug fixes Martin K. Petersen
2024-07-16 2:29 ` Martin K. Petersen
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=01db4b82-e698-4fb3-973f-8d7e081d70cf@oracle.com \
--to=himanshu.madhani@oracle.com \
--cc=GR-QLogic-Storage-Upstream@marvell.com \
--cc=agurumurthy@marvell.com \
--cc=emilne@redhat.com \
--cc=jmeneghi@redhat.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=njavali@marvell.com \
--cc=sdeodhar@marvell.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