NetBSD-Bugs archive

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

bin/57766: pcictl dump doesn't show BAR sizes



>Number:         57766
>Category:       bin
>Synopsis:       pcictl dump doesn't show BAR sizes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 11 00:35:00 +0000 2023
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The NetBAR Foundation
>Environment:
>Description:
The `pcictl dump' command shows the address of each BAR, but not the size of each BAR.

It should print the size too.
>How-To-Repeat:
pcictl dump
>Fix:
Yes, please!

The kernel may have to determine this on userland's behalf, because it involves writing to the BAR to find which bits of the address are write-ignore/read-as-zero and which bits are mutable.



Home | Main Index | Thread Index | Old Index