[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241111203158.GC71181@unreal>
Date: Mon, 11 Nov 2024 22:31:58 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Bjorn Helgaas <helgaas@...nel.org>
Cc: Krzysztof WilczyĆski <kw@...ux.com>,
linux-pci@...r.kernel.org, Ariel Almog <ariela@...dia.com>,
Aditya Prabhune <aprabhune@...dia.com>,
Hannes Reinecke <hare@...e.de>,
Heiner Kallweit <hkallweit1@...il.com>,
Arun Easi <aeasi@...vell.com>, Jonathan Chocron <jonnyc@...zon.com>,
Bert Kenward <bkenward@...arflare.com>,
Matt Carlson <mcarlson@...adcom.com>,
Kai-Heng Feng <kai.heng.feng@...onical.com>,
Jean Delvare <jdelvare@...e.de>,
Alex Williamson <alex.williamson@...hat.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v1 0/2] Fix read permissions for VPD attributes
On Thu, Nov 07, 2024 at 08:56:55PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@...dia.com>
>
> Changelog:
> v1:
> * Changed implementation from open-read-to-everyone to be opt-in
> * Removed stable and Fixes tags, as it seems like feature now.
> v0: https://lore.kernel.org/all/65791906154e3e5ea12ea49127cf7c707325ca56.1730102428.git.leonro@nvidia.com/
>
> --------------------------------------------------------------------------
> Hi,
>
> The Vital Product Data (VPD) sysfs file is not readable by unprivileged
> users. This limitation is not necessary and can be removed at least for
> devices which are known as safe.
>
> Thanks
>
> Leon Romanovsky (2):
> PCI/sysfs: Change read permissions for VPD attributes
> net/mlx5: Enable unprivileged read of PCI VPD file
>
> drivers/net/ethernet/mellanox/mlx5/core/main.c | 1 +
> drivers/pci/vpd.c | 9 ++++++++-
> include/linux/pci.h | 7 ++++++-
> 3 files changed, 15 insertions(+), 2 deletions(-)
Bjorn,
Does this version resolve your concerns about broken devices in the field?
Thanks
>
> --
> 2.47.0
>
>
Powered by blists - more mailing lists