Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5821748rwe; Tue, 18 Apr 2023 12:03:40 -0700 (PDT) X-Google-Smtp-Source: AKy350Zs3r0eKtLNhs5oL2WarxCsgB/Ob5dxglMTwNiM0qMID+WnCaVK4wC2Wrzwe49UAMhWNu70 X-Received: by 2002:a05:6a00:1749:b0:63d:26c3:fd65 with SMTP id j9-20020a056a00174900b0063d26c3fd65mr897842pfc.1.1681844620321; Tue, 18 Apr 2023 12:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681844620; cv=none; d=google.com; s=arc-20160816; b=teZRAqjy+RZBapdMvsRxdMcB8Vrz7lXgqdhqTrvEkRZZVDy6RAOwf85szHcLBq3f7t hGAMKbZsf0poci7W4ha7fu95DdlvOq9drVx1aWTBBpt7YBcbJ8GULVV0ifPZDoxFcVK9 E0U0ywVHBOoc6OPIBTKd3EaeSAE2hQzJjwdASVuPV1L++Vb3E18JFr9G1MpBXQOlEwsV 7piWV6FvW5LsDzHoK/v85/nzcYMoIMi+tEv/qEV3l9p0T7MYsiic8IMD/u9tJE+okfMO jQgJaE3Efi5dAhwXDJr3VA5phk65Av8J3Jj8Y7+nhVJZCmnM3QV8loWqGOwBJaRqchqu CcPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=3M04/PVG/NW2ywLizOW6+L2fN0aG9yYd0DnDu5UetZk=; b=pIqxNfvo96wp+w325G2eIlwVjOFGoFuLtuZYbGi6uglQArxOiKVLMSYnM0AuPYFyqn /eopamEbpfeqIZgL1olOdrzrZ9tYkbdtbGp3G9Ju9vdVvl58oX/Ux6l/dyXFIsYlMYiw EO57Bfwh+AUXIBC7qyLsKHotLKWXFAbCQEuCUdux8qGz4ngi0drVaEG86X9QC/puw0sl y72dNzaDSTjV6A6toKmJOHbiSpzrwDB+R8O/mKUSxR2TUQnEo7v/qn8aBzRzkA0jQKK8 QaoAnachSbtO8H70re417Oud8Rpz5+Xu72TXKRjhh4IUrcqps/DppVls8HMh93W87mq/ NJ0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=jg+iCQtw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w136-20020a627b8e000000b0063b5e9c3c28si12764497pfc.35.2023.04.18.12.03.28; Tue, 18 Apr 2023 12:03:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=jg+iCQtw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232686AbjDRTCG (ORCPT + 99 others); Tue, 18 Apr 2023 15:02:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232318AbjDRTBw (ORCPT ); Tue, 18 Apr 2023 15:01:52 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 846548A46 for ; Tue, 18 Apr 2023 12:01:51 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-552f169d85eso44888867b3.13 for ; Tue, 18 Apr 2023 12:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1681844510; x=1684436510; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=3M04/PVG/NW2ywLizOW6+L2fN0aG9yYd0DnDu5UetZk=; b=jg+iCQtwdF8xsttudTN/6DvOTpNp4mkmnjDOOLQnElAXlkSTlPdIIA2PKtJG7o6J8k Z5ZIc6nHuE629pFZDMqIMndfSHLVvTAjtrI6dcs8cyWnCHLZjkl6U+XX9oC1biQKyEQc s+xMXOR+KpQsABmTJZL595TnCs/MvZRoUR3InKPvoAUe8nf4RY0gY+Ex5HHroIZel8Fe 3mpbtlZhJfAsTMZGCwt3488DtYArf9ovsAhjZ51Mt64qdcBG6h8fzSZMXeseLPSK6aX6 mpBVOfcMHEDD8DmLqgowfyihlH4Kqj0SOvNuCWsJyKIrYuqoZDQELFQNU4Y9eGTUjdrI qMSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681844510; x=1684436510; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3M04/PVG/NW2ywLizOW6+L2fN0aG9yYd0DnDu5UetZk=; b=WAYI8YhPNUV0Msk2bQdUxyRuV8tUv3oUg5OPsLAGilTfhw2aTH8AkqwOXWIrq7WGSs J4zfNfAqR1fetvGOb87USfbM6GNqFTkZrJ13RmDxbOrwcIXBnovILgNvVJhJmo5Lu/ld DrpOMSwLgcV9vgeeZ9xlzg9ATcXRqM7Ad92cRWHPRHc7EEL1z8CvzAVo3ADo43Ox7qlg H//9OTkfEv/XC5yGBuWRVgkLK2uuo6d6CU0x57pyEiryDlYGSKbk/BxhYiIJabrNzuzD kyTPJt6P8qIeJMDMqp0LqFWIcmxqj1r7AWPi8V7kYoYr+KdZquVJjhxVJrv5Ix9fFD8P RlDQ== X-Gm-Message-State: AAQBX9cH4BTOOI+lWffQSpCj4i35mb6CL02gMGnzQL9JVoIE1pfe1vah arxrRJZ5Frs00K06b6LBMWPLDV0+IbBcgQ== X-Received: from pranav-first.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:390b]) (user=pranavpp job=sendgmr) by 2002:a81:bd4f:0:b0:54c:bf7:1853 with SMTP id n15-20020a81bd4f000000b0054c0bf71853mr499349ywk.6.1681844510798; Tue, 18 Apr 2023 12:01:50 -0700 (PDT) Date: Tue, 18 Apr 2023 19:00:57 +0000 In-Reply-To: <20230418190101.696345-1-pranavpp@google.com> Mime-Version: 1.0 References: <20230418190101.696345-1-pranavpp@google.com> X-Mailer: git-send-email 2.40.0.634.g4ca3ef3211-goog Message-ID: <20230418190101.696345-3-pranavpp@google.com> Subject: [PATCH 2/6] scsi: pm80xx: Enable init logging From: Pranav Prasad To: Jack Wang , "James E . J . Bottomley" , "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Akshat Jain , Pranav Prasad Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Akshat Jain Enable init logging to debug drive discovery issues. Signed-off-by: Akshat Jain Signed-off-by: Pranav Prasad --- drivers/scsi/pm8001/pm8001_init.c | 2 +- drivers/scsi/pm8001/pm80xx_hwi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index d8dc629c0efb..041cdc41af80 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c @@ -44,7 +44,7 @@ #include "pm80xx_hwi.h" static ulong logging_level = PM8001_FAIL_LOGGING | PM8001_IOERR_LOGGING | - PM8001_EVENT_LOGGING; + PM8001_EVENT_LOGGING | PM8001_INIT_LOGGING; module_param(logging_level, ulong, 0644); MODULE_PARM_DESC(logging_level, " bits for enabling logging info."); diff --git a/drivers/scsi/pm8001/pm80xx_hwi.c b/drivers/scsi/pm8001/pm80xx_hwi.c index ce6a442d2418..61c1bf3d98a0 100644 --- a/drivers/scsi/pm8001/pm80xx_hwi.c +++ b/drivers/scsi/pm8001/pm80xx_hwi.c @@ -4837,7 +4837,7 @@ static void mpi_set_phy_profile_req(struct pm8001_hba_info *pm8001_ha, payload.tag = cpu_to_le32(tag); payload.ppc_phyid = cpu_to_le32(((operation & 0xF) << 8) | (phyid & 0xFF)); - pm8001_dbg(pm8001_ha, INIT, + pm8001_dbg(pm8001_ha, DISC, " phy profile command for phy %x ,length is %d\n", le32_to_cpu(payload.ppc_phyid), length); for (i = length; i < (length + PHY_DWORD_LENGTH - 1); i++) { -- 2.40.0.634.g4ca3ef3211-goog