lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SN6PR11MB284877FDAB929F223AEC14B5E1199@SN6PR11MB2848.namprd11.prod.outlook.com>
Date:   Thu, 8 Jul 2021 19:04:25 +0000
From:   <Don.Brace@...rochip.com>
To:     <pmenzel@...gen.mpg.de>, <Kevin.Barnett@...rochip.com>
CC:     <Scott.Teel@...rochip.com>, <Justin.Lindley@...rochip.com>,
        <Scott.Benesh@...rochip.com>, <Gerry.Morong@...rochip.com>,
        <Mahesh.Rajashekhara@...rochip.com>, <Mike.McGowen@...rochip.com>,
        <Murthy.Bhat@...rochip.com>, <Balsundar.P@...rochip.com>,
        <joseph.szczypek@....com>, <jeff@...onical.com>,
        <POSWALD@...e.com>, <john.p.donnelly@...cle.com>,
        <mwilck@...e.com>, <linux-kernel@...r.kernel.org>,
        <hch@...radead.org>, <martin.peterson@...cle.com>,
        <jejb@...ux.vnet.ibm.com>, <linux-scsi@...r.kernel.org>
Subject: RE: [smartpqi updates PATCH 2/9] smartpqi: rm unsupported controller
 features msgs

-----Original Message-----
From: Paul Menzel [mailto:pmenzel@...gen.mpg.de] 
Sent: Wednesday, July 7, 2021 2:29 AM
Subject: Re: [smartpqi updates PATCH 2/9] smartpqi: rm unsupported controller features msgs

Dear Kevin, dear Don,


Am 06.07.21 um 20:16 schrieb Don Brace:
> From: Kevin Barnett <kevin.barnett@...rochip.com>
>
> 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

Don> Thanks for your Review.
At this time we would prefer to not provide messages about unsupported features. We may add them back at some point but we have taken them out of our out-of-box driver also so we hope to keep the driver code in sync.

> Reviewed-by: Mike McGowen <mike.mcgowen@...rochip.com>
> Reviewed-by: Scott Benesh <scott.benesh@...rochip.com>
> Reviewed-by: Scott Teel <scott.teel@...rochip.com>
> Signed-off-by: Kevin Barnett <kevin.barnett@...rochip.com>
> Signed-off-by: Don Brace <don.brace@...rochip.com>
> ---
>   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,
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ