grub-devel
[Top][All Lists]
Advanced

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

enhancement request: setpci.mod to work on PCIe registers (0xfff) - curr


From: Paul Stanley
Subject: enhancement request: setpci.mod to work on PCIe registers (0xfff) - currently limited to PCI registers (0xff)
Date: Tue, 28 Mar 2023 20:54:42 +1100

Hello everybody,

As per title, setpci.mod's setpci command can read/write up to 0xFF registers but returns an incorrect (0xFF) value for any registers beyond 0xFF.. There is a 4K PCIe configuration space (0xFFF) per device.

eg:
setpci -s 0:1f.0 0xf0.l -> returns correct value
setpci -s 0:1f.0 0x200.l -> returns 0xff (incorrect)

Extending setpci.mod in this way would bring it's functionality in line with EFI Shells 'mm' command that can read/write all 4K PCIe registers, as well as pciutils' setpci command that can do the same.

Thank you

reply via email to

[Prev in Thread] Current Thread [Next in Thread]