PCI: Include human-readable BAR and window sizes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vsprintf: Add %pR human-readable sizelib/ | +14 | 4 replies | |
| 2/2 | PCI: Include human-readable sizes in resource assignment messagesdrivers/ drivers/ | +40 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] PCI: Include human-readable BAR and window sizes
PCI and other subsystems often use %pR to decode and print memory ranges. The size of the range is useful to know but hard to read off at a glance, e.g.,
BAR 0 [mem 0xfea80000-0xfea9ffff]
Add more user-friendly size information to the %pR format, e.g.,
BAR 0 [mem 0xfea80000-0xfea9ffff (128 KiB)]
%pR is also used to print I/O port, bus number, and DMA resources, where the size is not as relevant, so this only applies to IORESOURCE_MEM resources.
Bjorn Helgaas (2):
vsprintf: Add %pR human-readable size
PCI: Include human-readable sizes in resource assignment messages
vfio_pci_info_atomic_cap
drivers/pci/setup-bus.c | 46 +++++++++++++++++++++++++++++------------ drivers/pci/setup-res.c | 11 ++++++---- lib/vsprintf.c | 18 ++++++++++++---- 3 files changed, 54 insertions(+), 21 deletions(-)
Signature · 1 line
2.53.0