* [PATCH] mpt3sas: Remove logging BIOS version in the kernel log
@ 2023-03-22 9:27 Ranjan Kumar
2023-03-25 0:51 ` Martin K. Petersen
2023-04-19 3:20 ` Martin K. Petersen
0 siblings, 2 replies; 5+ messages in thread
From: Ranjan Kumar @ 2023-03-22 9:27 UTC (permalink / raw)
To: linux-scsi, martin.petersen; +Cc: sathya.prakash, sreekanth.reddy, Ranjan Kumar
[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]
It is done to avoid ambiguity between BIOS and UEFI version.
Management tools can be used for getting proper version information
Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com>
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
index 2ee9ea57554d..4bd570204749 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
@@ -4761,21 +4761,15 @@ _base_display_ioc_capabilities(struct MPT3SAS_ADAPTER *ioc)
int i = 0;
char desc[17] = {0};
u32 iounit_pg1_flags;
- u32 bios_version;
- bios_version = le32_to_cpu(ioc->bios_pg3.BiosVersion);
strncpy(desc, ioc->manu_pg0.ChipName, 16);
- ioc_info(ioc, "%s: FWVersion(%02d.%02d.%02d.%02d), ChipRevision(0x%02x), BiosVersion(%02d.%02d.%02d.%02d)\n",
+ ioc_info(ioc, "%s: FWVersion(%02d.%02d.%02d.%02d), ChipRevision(0x%02x)\n",
desc,
(ioc->facts.FWVersion.Word & 0xFF000000) >> 24,
(ioc->facts.FWVersion.Word & 0x00FF0000) >> 16,
(ioc->facts.FWVersion.Word & 0x0000FF00) >> 8,
ioc->facts.FWVersion.Word & 0x000000FF,
- ioc->pdev->revision,
- (bios_version & 0xFF000000) >> 24,
- (bios_version & 0x00FF0000) >> 16,
- (bios_version & 0x0000FF00) >> 8,
- bios_version & 0x000000FF);
+ ioc->pdev->revision);
_base_display_OEMs_branding(ioc);
--
2.31.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4209 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] mpt3sas: Remove logging BIOS version in the kernel log
2023-03-22 9:27 [PATCH] mpt3sas: Remove logging BIOS version in the kernel log Ranjan Kumar
@ 2023-03-25 0:51 ` Martin K. Petersen
2023-03-27 16:57 ` Sathya Prakash Veerichetty
2023-04-19 3:20 ` Martin K. Petersen
1 sibling, 1 reply; 5+ messages in thread
From: Martin K. Petersen @ 2023-03-25 0:51 UTC (permalink / raw)
To: Ranjan Kumar; +Cc: linux-scsi, martin.petersen, sathya.prakash, sreekanth.reddy
Hi Ranjan!
> It is done to avoid ambiguity between BIOS and UEFI version.
> Management tools can be used for getting proper version information
Not everyone uses management tools. Why not print the UEFI version as
well?
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mpt3sas: Remove logging BIOS version in the kernel log
2023-03-25 0:51 ` Martin K. Petersen
@ 2023-03-27 16:57 ` Sathya Prakash Veerichetty
2023-04-03 1:07 ` Martin K. Petersen
0 siblings, 1 reply; 5+ messages in thread
From: Sathya Prakash Veerichetty @ 2023-03-27 16:57 UTC (permalink / raw)
To: Martin K. Petersen; +Cc: Ranjan Kumar, linux-scsi, Sreekanth Reddy
[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]
Martin,
The only proper way to print UEFI Boot Services Driver version and
legacy x86 OpROM version is to upload those image headers from flash
and retrieve the version, various generation of the controllers have
various type of image headers hence a good amount of code needs to be
added to the driver to display them properly and associated feature
maintenance, so we thought it is better to push that to applications
space, if you think the added code is worth the value it provides, we
can add it in the future, we would prefer to remove the current way of
showing a version in that message.
Thanks
Sathya
On Fri, Mar 24, 2023 at 6:51 PM Martin K. Petersen
<martin.petersen@oracle.com> wrote:
>
>
> Hi Ranjan!
>
> > It is done to avoid ambiguity between BIOS and UEFI version.
> > Management tools can be used for getting proper version information
>
> Not everyone uses management tools. Why not print the UEFI version as
> well?
>
> --
> Martin K. Petersen Oracle Linux Engineering
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4227 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mpt3sas: Remove logging BIOS version in the kernel log
2023-03-27 16:57 ` Sathya Prakash Veerichetty
@ 2023-04-03 1:07 ` Martin K. Petersen
0 siblings, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2023-04-03 1:07 UTC (permalink / raw)
To: Sathya Prakash Veerichetty
Cc: Martin K. Petersen, Ranjan Kumar, linux-scsi, Sreekanth Reddy
Sathya,
> The only proper way to print UEFI Boot Services Driver version and
> legacy x86 OpROM version is to upload those image headers from flash
> and retrieve the version, various generation of the controllers have
> various type of image headers hence a good amount of code needs to be
> added to the driver to display them properly and associated feature
> maintenance, so we thought it is better to push that to applications
> space
OK. As long as the firmware version is printed, I guess we can live
without the legacy BIOS.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mpt3sas: Remove logging BIOS version in the kernel log
2023-03-22 9:27 [PATCH] mpt3sas: Remove logging BIOS version in the kernel log Ranjan Kumar
2023-03-25 0:51 ` Martin K. Petersen
@ 2023-04-19 3:20 ` Martin K. Petersen
1 sibling, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2023-04-19 3:20 UTC (permalink / raw)
To: linux-scsi, Ranjan Kumar
Cc: Martin K . Petersen, sathya.prakash, sreekanth.reddy
On Wed, 22 Mar 2023 14:57:13 +0530, Ranjan Kumar wrote:
> It is done to avoid ambiguity between BIOS and UEFI version.
> Management tools can be used for getting proper version information
>
>
Applied to 6.4/scsi-queue, thanks!
[1/1] mpt3sas: Remove logging BIOS version in the kernel log
https://git.kernel.org/mkp/scsi/c/3fc5d6d6dcac
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-04-19 3:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22 9:27 [PATCH] mpt3sas: Remove logging BIOS version in the kernel log Ranjan Kumar
2023-03-25 0:51 ` Martin K. Petersen
2023-03-27 16:57 ` Sathya Prakash Veerichetty
2023-04-03 1:07 ` Martin K. Petersen
2023-04-19 3:20 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).