Project

General

Profile

Bug #12914

prtconf fails to decode PCI ranges property

Added by Andy Fiddaman 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Here's an example from prtconf -dDv, with line breaks inserted into the ranges property to show where each entry starts and ends, followed by prtconf's incorrect decode.

    pci, instance #0 (driver name: npe)

            name='ranges' type=int items=49
81000000.00000000.00000000.00000000.00000000.00000000.00000cf8
81000000.00000000.00001000.00000000.00001000.00000000.00007000
82000000.00000000.000a0000.00000000.000a0000.00000000.00020000
82000000.00000000.90000000.00000000.90000000.00000000.37ffc000
82000000.00000000.fff02000.00000000.fff02000.00000000.00000010
82000000.00000000.fff03000.00000000.fff03000.00000000.00000010
c2000000.00000000.90000000.00000000.90000000.00000000.01000000

        Range Specifications:
            Ch: 81000000,00000000 Pa: 00,00000000, Sz: 0
            Ch: 00,00000cf8 Pa: 81000000,00000000, Sz: 1000
            Ch: 00,00001000 Pa: 00,00007000, Sz: 82000000
            Ch: 00,000a0000 Pa: 00,000a0000, Sz: 0
            Ch: 20000,82000000 Pa: 00,90000000, Sz: 0
            Ch: 90000000,00000000 Pa: 37ffc000,82000000, Sz: 0
            Ch: fff02000,00000000 Pa: fff02000,00000000, Sz: 10
            Ch: 82000000,00000000 Pa: fff03000,00000000, Sz: fff03000
            Ch: 00,00000010 Pa: c2000000,00000000, Sz: 90000000

No data to display

Also available in: Atom PDF