diff options
| author | Farhan Ali <alifm@linux.ibm.com> | 2026-06-30 09:55:52 -0700 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-08-13 11:36:55 -0600 |
| commit | fa63a2e3f94709c83181a86440f3670e1df52ee8 (patch) | |
| tree | 683efca8b0b8a4720423a46147dcdf028a02220c /scripts | |
| parent | 9f240376d0349a6779bcb48aa74104bbbe8b13c6 (diff) | |
| download | linux-fa63a2e3f94709c83181a86440f3670e1df52ee8.tar.gz linux-fa63a2e3f94709c83181a86440f3670e1df52ee8.zip | |
vfio-pci/zdev: Add a device feature for error information
For zPCI devices, we have platform specific error information. The platform
firmware provides this error information to the operating system in an
architecture specific mechanism. To enable recovery from userspace for
these devices, we want to expose this error information to userspace. Add a
new device feature to expose this information.
Userspace needs to be provide a buffer of fixed size. This size is provided
to userspace via the VFIO_DEVICE_INFO_CAP_ZPCI_BASE capability.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
Link: https://lore.kernel.org/r/20260630165553.725-3-alifm@linux.ibm.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
