All of lore.kernel.org
 help / color / mirror / Atom feed
* [bnxt] Error: Unable to read VPD
@ 2022-01-10 21:02 Vijay Balakrishna
  2022-01-10 21:15 ` Michael Chan
  0 siblings, 1 reply; 4+ messages in thread
From: Vijay Balakrishna @ 2022-01-10 21:02 UTC (permalink / raw)
  To: netdev, Vasundhara Volam


Since moving to 5.10 from 5.4 we are seeing

> Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.0 (unnamed net_device) (uninitialized): Unable to read VPD
> 
> Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.1 (unnamed net_device) (uninitialized): Unable to read VPD

these appear to be harmless and introduced by

> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0d0fd70fed5cc4f1e2dd98b801be63b07b4d6ac
Does "Unable to read VPD" need to be an error or can it be a warning 
(netdev_warn)?

Thanks,
Vijay

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [bnxt] Error: Unable to read VPD
  2022-01-10 21:02 [bnxt] Error: Unable to read VPD Vijay Balakrishna
@ 2022-01-10 21:15 ` Michael Chan
  2022-01-11 19:41   ` Heiner Kallweit
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Chan @ 2022-01-10 21:15 UTC (permalink / raw)
  To: Vijay Balakrishna; +Cc: Netdev

On Mon, Jan 10, 2022 at 1:02 PM Vijay Balakrishna
<vijayb@linux.microsoft.com> wrote:
>
>
> Since moving to 5.10 from 5.4 we are seeing
>
> > Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.0 (unnamed net_device) (uninitialized): Unable to read VPD
> >
> > Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.1 (unnamed net_device) (uninitialized): Unable to read VPD
>
> these appear to be harmless and introduced by
>
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0d0fd70fed5cc4f1e2dd98b801be63b07b4d6ac
> Does "Unable to read VPD" need to be an error or can it be a warning
> (netdev_warn)?
>

We can change these to warnings.  Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [bnxt] Error: Unable to read VPD
  2022-01-10 21:15 ` Michael Chan
@ 2022-01-11 19:41   ` Heiner Kallweit
  2022-01-11 21:12     ` Vijay Balakrishna
  0 siblings, 1 reply; 4+ messages in thread
From: Heiner Kallweit @ 2022-01-11 19:41 UTC (permalink / raw)
  To: Michael Chan, Vijay Balakrishna; +Cc: Netdev

On 10.01.2022 22:15, Michael Chan wrote:
> On Mon, Jan 10, 2022 at 1:02 PM Vijay Balakrishna
> <vijayb@linux.microsoft.com> wrote:
>>
>>
>> Since moving to 5.10 from 5.4 we are seeing
>>
>>> Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.0 (unnamed net_device) (uninitialized): Unable to read VPD
>>>
>>> Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.1 (unnamed net_device) (uninitialized): Unable to read VPD
>>
>> these appear to be harmless and introduced by
>>
>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0d0fd70fed5cc4f1e2dd98b801be63b07b4d6ac
>> Does "Unable to read VPD" need to be an error or can it be a warning
>> (netdev_warn)?
>>
> 
> We can change these to warnings.  Thanks.

Since 5.15 it is a pci_warn() already. Supposedly "Unable to read VPD" here simply means
that the device has no (valid) VPD. Does "lspci -vv" list any VPD info?
If VPD is an optional feature, then maybe the warning should be changed to info level
and the text should be less alarming.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [bnxt] Error: Unable to read VPD
  2022-01-11 19:41   ` Heiner Kallweit
@ 2022-01-11 21:12     ` Vijay Balakrishna
  0 siblings, 0 replies; 4+ messages in thread
From: Vijay Balakrishna @ 2022-01-11 21:12 UTC (permalink / raw)
  To: Heiner Kallweit, Michael Chan; +Cc: Netdev



On 1/11/2022 11:41 AM, Heiner Kallweit wrote:
> On 10.01.2022 22:15, Michael Chan wrote:
>> On Mon, Jan 10, 2022 at 1:02 PM Vijay Balakrishna
>> <vijayb@linux.microsoft.com> wrote:
>>>
>>>
>>> Since moving to 5.10 from 5.4 we are seeing
>>>
>>>> Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.0 (unnamed net_device) (uninitialized): Unable to read VPD
>>>>
>>>> Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.1 (unnamed net_device) (uninitialized): Unable to read VPD
>>>
>>> these appear to be harmless and introduced by
>>>
>>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0d0fd70fed5cc4f1e2dd98b801be63b07b4d6ac
>>> Does "Unable to read VPD" need to be an error or can it be a warning
>>> (netdev_warn)?
>>>
>>
>> We can change these to warnings.  Thanks.
> 
> Since 5.15 it is a pci_warn() already. Supposedly "Unable to read VPD" here simply means
> that the device has no (valid) VPD. Does "lspci -vv" list any VPD info?
> If VPD is an optional feature, then maybe the warning should be changed to info level
> and the text should be less alarming.

See no VPD info.

> /sys/bus/pci/devices# ls
> 0000:00:00.0  0000:01:00.0  0000:01:00.1  0008:00:00.0  0008:01:00.0  0008:01:00.1
> /sys/bus/pci/devices# for i in `ls`; do cd $i;ls -lR | grep vpd;cd ..; done
> /sys/bus/pci/devices# lspci -vv | egrep -i '(vpd|vital)'
> /sys/bus/pci/devices




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-11 21:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 21:02 [bnxt] Error: Unable to read VPD Vijay Balakrishna
2022-01-10 21:15 ` Michael Chan
2022-01-11 19:41   ` Heiner Kallweit
2022-01-11 21:12     ` Vijay Balakrishna

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.