lspci memory behind bridge reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I am currently debugging a PCIE BAR assignment issue and am working on a patch to save me some time in future with lspci. Would patches like this be considered? Does anyone have any input on the proposed formats of the readouts?

1. Currently if a bridge has no memory behind bridge it displays messages like the following, for reasons of PCI implementation detail.

I/O behind bridge: 0000f000-00000fff
Memory behind bridge: fff00000-000fffff
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff

I would prefer:
I/O behind bridge: None
Memory behind bridge: None
Prefetchable memory behind bridge: None

2. It would be useful for me to have access to the amount of memory in these chunks (my mental hex subtraction is pretty terrible). Maybe this would be displayed something like

I/O behind bridge: 0000c000-0000dfff [8.00K]
Memory behind bridge: f4000000-f65fffff [38.00M]
Prefetchable memory behind bridge: 00000000e0000000-00000000f3ffffff [320.00M]


Thanks for your feedback,
Harry Mallon


--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux