Thread (16 messages) 16 messages, 5 authors, 2021-10-28

Re: [PATCH 2/5] PCI/VPD: Use pci_read_vpd_any() in pci_vpd_size()

From: Jon Hunter <jonathanh@nvidia.com>
Date: 2021-10-28 08:45:22
Also in: linux-pci, linux-tegra

On 27/10/2021 12:32, Heiner Kallweit wrote:

...
quoted
This change is breaking a PCI test that we are running on Tegra124
Jetson TK1. The test is parsing the various PCI devices by running
'lspci -vvv' and for one device I am seeing a NULL pointer
dereference crash. Reverting this change or just adding the line
'dev->vpd.len = PCI_VPD_MAX_SIZE;' back fixes the problem.

I have taken a quick look but have not found why this is failing
so far. Let me know if you have any thoughts.
There's a known issue with this change, the fix has just been applied to
linux-next. Can you please re-test with linux-next from today?

Thanks. Looking at yesterday's -next, I do see that it is now working again.

Cheers
Jon

-- 
nvpublic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help