Commit 15c5867
PCI: Don't print stale information about resource
pbus_size_mem() logs the bridge window resource using pci_info() before the
start and end fields of the resource have been updated which then prints
stale information.
Set resource addresses earlier to make understanding logs easier.
Regrettably, this results in setting the addresses multiple times but that
seems unavoidable.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250924135641.3399-1-ilpo.jarvinen@linux.intel.com1 parent 43b4f7c commit 15c5867
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
| 1320 | + | |
1320 | 1321 | | |
1321 | 1322 | | |
1322 | 1323 | | |
| |||
1387 | 1388 | | |
1388 | 1389 | | |
1389 | 1390 | | |
| 1391 | + | |
1390 | 1392 | | |
1391 | 1393 | | |
1392 | 1394 | | |
1393 | | - | |
| 1395 | + | |
1394 | 1396 | | |
1395 | | - | |
| 1397 | + | |
| 1398 | + | |
1396 | 1399 | | |
| 1400 | + | |
1397 | 1401 | | |
1398 | 1402 | | |
1399 | 1403 | | |
1400 | 1404 | | |
1401 | 1405 | | |
1402 | 1406 | | |
1403 | | - | |
| 1407 | + | |
| 1408 | + | |
1404 | 1409 | | |
1405 | 1410 | | |
1406 | 1411 | | |
1407 | 1412 | | |
1408 | 1413 | | |
1409 | 1414 | | |
1410 | 1415 | | |
1411 | | - | |
| 1416 | + | |
1412 | 1417 | | |
1413 | 1418 | | |
1414 | 1419 | | |
1415 | 1420 | | |
1416 | 1421 | | |
1417 | 1422 | | |
1418 | 1423 | | |
1419 | | - | |
| 1424 | + | |
1420 | 1425 | | |
1421 | 1426 | | |
1422 | 1427 | | |
| |||
0 commit comments