From patchwork Wed Mar 22 09:27:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 13183724 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4A61C6FD1C for ; Wed, 22 Mar 2023 09:27:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbjCVJ1e (ORCPT ); Wed, 22 Mar 2023 05:27:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjCVJ1d (ORCPT ); Wed, 22 Mar 2023 05:27:33 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8996C5679C for ; Wed, 22 Mar 2023 02:27:32 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id y35so8990598pgl.4 for ; Wed, 22 Mar 2023 02:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1679477252; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=8KnXRA4D/1Thno0uOfCZJZH2v4iuEBS95QIScSY6D7I=; b=b7JFkIhn5m97jZ4jbl38BWQOR/0O1QP1fo/Ue84mJ8giGmTq8lAGj16roxkI6SM/vu 9vJA5bwuDzc6U/sGuI17yfC5B7GENmLirwIB+QNGFyM4mfQiNpTMcHsIp98sh/e77heV uwf649SC/Q5htGyX6Ep8ATNprfHB5BEDtxrFw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679477252; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8KnXRA4D/1Thno0uOfCZJZH2v4iuEBS95QIScSY6D7I=; b=lIpvJjK0oYW9XMIRjXHaK6SJjD9SqLp7VaOYrmYwWB+nEJjrEf2oT3zdm6n9ZVve92 CiOBdBAtozGC2lGmT4LUMKYmszlIOHUSuWFSKq5x/SyAVCUG/5DOT69QzJPc/dTgpaWe Il6gTlR8KYa6E8svFlwX/qgb6nqZJvhIycKMEsRfRO+VpvUYv8+5+AVdPAMhrT4xon6r W1ygaIZvgx5kQtqmW0Wc7p/4ZlZnBwBLCbDkpfUx7OJXlP4oL71Vgu+c5ymAv2Rdzaif RFPqKw0wUjhwJCvTTcLv2Wr0SsIRBhw7nhBk1nISrnDakTTmaJnfl1LQmgf4rjZw+Pox mxZA== X-Gm-Message-State: AO0yUKUuwC6saqqpFq4dUD5HgY/gXJ3uResW23XiJJDVndI6os+cKwc9 313PknQSQSNVwj91S4hbG5wnqLLbjZGOR2zfHCbTIWRU9MjgPwGSaYzAi2GRa5mWVKj8ZHX8NLG x/xbWmJN+gQ5M1TA7LebJDyPvnjQXK2FY+WYuLIviB2ukcGSDauRKs/o57dm98d8aoVzE5vI/l3 RnaqGWRMxriQ== X-Google-Smtp-Source: AK7set/4FSAKkxzJVXy80NwXhPWjVnJLZ5U0aNQnpvIdpDkpp27NaPbwEYmTFrfoMgSp2jSnlgIvMw== X-Received: by 2002:a62:6385:0:b0:625:cc03:df34 with SMTP id x127-20020a626385000000b00625cc03df34mr2331484pfb.1.1679477251671; Wed, 22 Mar 2023 02:27:31 -0700 (PDT) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id g67-20020a636b46000000b005035f5e1f9csm9521135pgc.2.2023.03.22.02.27.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 02:27:29 -0700 (PDT) From: Ranjan Kumar To: linux-scsi@vger.kernel.org, martin.petersen@oracle.com Cc: sathya.prakash@broadcom.com, sreekanth.reddy@broadcom.com, Ranjan Kumar Subject: [PATCH] mpt3sas: Remove logging BIOS version in the kernel log Date: Wed, 22 Mar 2023 14:57:13 +0530 Message-Id: <20230322092713.6961-1-ranjan.kumar@broadcom.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org 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 --- 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);