Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5317320pxv; Wed, 7 Jul 2021 00:30:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm4ikidQznQVNIbPxT6GdSZ/0cfsaMVObHjOrflK7M7LQoMQWsQZEE/S4tnYaeLSs8S8PS X-Received: by 2002:a05:6402:406:: with SMTP id q6mr28062869edv.149.1625643021729; Wed, 07 Jul 2021 00:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625643021; cv=none; d=google.com; s=arc-20160816; b=WcytbKtu1E6BzNFkqhl4uAkxXon3pTcFSVWarAAeanDDbpirhRriSKj5n8l8d0LHkB dHtiEB9/oZ953EcmppI+8SWgcVCbOMBGsXrOkTabppi86kaQbn7keg15SsfS5EStP8OJ CYHO6Dvxttith76RQ5e4vW3NlSbcB2edlRwOL/FkUf1u0daY7HY4UEbyeahcetQrfuXG CC0MmCdZLBT1MXpPIzjGlR3aXGsTpA54X4exg19IU91PxNuDPzKD+JTzUKkHb6XN0OyL jkjO+XVURijD3N3bpvmK9qcF/U4t1vasWKcV5Bl9ajhVy7tNssvrbnlii4EOJZfhzDcu q+zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=HkWhP7bwnU9eg3RTvxZNzloJVQwycAGmxLJEUYxqwS8=; b=kMhE1JQtvDtyTp26Kdyhe9FMY950OiMmP6BE7l+qJhRwt/73LluFyztiaCRScfMke6 dJNj/kD5ErWJyD85uDvIV/d7y4LUBroMr/wyfPknriPVaoezI5OoXE5Rdg2ND4vmGJsR VsPpzqsHfr3fwDP9eTolqR3W8fRBEC/w0Z5xkSP2m2ty1b8CU4kmy6S1d8lRJq5HUCjv DU1xYQKGUMe9NXXidq4FPocg1FbDHCMlm425digVmzJ9u+/huJ+PfLIlG9wkV8hKqVqp LmVpbNJfiF+CVHObxOIwvoy7IKMHY2AMCGJ6AEs9ouRNK+Zvk1KuqfRukkNzy1kmQ27n e7qQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh4si14910849ejb.56.2021.07.07.00.29.58; Wed, 07 Jul 2021 00:30:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbhGGHb3 (ORCPT + 99 others); Wed, 7 Jul 2021 03:31:29 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:37745 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230341AbhGGHb2 (ORCPT ); Wed, 7 Jul 2021 03:31:28 -0400 Received: from [192.168.0.3] (ip5f5aedf7.dynamic.kabel-deutschland.de [95.90.237.247]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id DC32561E64860; Wed, 7 Jul 2021 09:28:46 +0200 (CEST) Subject: Re: [smartpqi updates PATCH 2/9] smartpqi: rm unsupported controller features msgs To: Don Brace , Kevin Barnett Cc: scott.teel@microchip.com, Justin.Lindley@microchip.com, scott.benesh@microchip.com, gerry.morong@microchip.com, mahesh.rajashekhara@microchip.com, mike.mcgowen@microchip.com, murthy.bhat@microchip.com, balsundar.p@microchip.com, joseph.szczypek@hpe.com, jeff@canonical.com, POSWALD@suse.com, john.p.donnelly@oracle.com, mwilck@suse.com, linux-kernel@vger.kernel.org, Christoph Hellwig , martin.peterson@oracle.com, jejb@linux.vnet.ibm.com, linux-scsi@vger.kernel.org References: <20210706181618.27960-1-don.brace@microchip.com> <20210706181618.27960-3-don.brace@microchip.com> From: Paul Menzel Message-ID: <17eeaf22-4625-d733-dcfb-ec2322dd0ca6@molgen.mpg.de> Date: Wed, 7 Jul 2021 09:28:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210706181618.27960-3-don.brace@microchip.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Kevin, dear Don, Am 06.07.21 um 20:16 schrieb Don Brace: > From: Kevin Barnett > > Remove "Feature XYZ not supported by controller" messages. > > During driver initialization, the driver examines the PQI Table Feature bits. > These bits are used by the controller to advertise features supported by the > controller. For any features not supported by the controller, the driver would > display a message in the form: > "Feature XYZ not supported by controller" > Some of these "negative" messages were causing customer confusion. As it’s info log level and not warning or notice, these message are useful in my opinion. You could downgrade them to debug, but I do not see why. If customers do not want to see these info messages, they should filter them out. For completeness, is there an alternative to list the unsupported features from the firmware for example from sysfs? Kind regards, Paul > Reviewed-by: Mike McGowen > Reviewed-by: Scott Benesh > Reviewed-by: Scott Teel > Signed-off-by: Kevin Barnett > Signed-off-by: Don Brace > --- > drivers/scsi/smartpqi/smartpqi_init.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c > index d977c7b30d5c..7958316841a4 100644 > --- a/drivers/scsi/smartpqi/smartpqi_init.c > +++ b/drivers/scsi/smartpqi/smartpqi_init.c > @@ -7255,11 +7255,8 @@ struct pqi_firmware_feature { > static void pqi_firmware_feature_status(struct pqi_ctrl_info *ctrl_info, > struct pqi_firmware_feature *firmware_feature) > { > - if (!firmware_feature->supported) { > - dev_info(&ctrl_info->pci_dev->dev, "%s not supported by controller\n", > - firmware_feature->feature_name); > + if (!firmware_feature->supported) > return; > - } > > if (firmware_feature->enabled) { > dev_info(&ctrl_info->pci_dev->dev, >