On Wed, 9 Oct 2024, Zhang Lixu wrote: > Introduce sysfs attributes to the intel-ish-ipc driver to expose the base > and project firmware versions for ISH devices that load firmware from the > host. > > The build tool embeds these versions into the ISH global manifest within > the firmware binary during the firmware build process. The driver, upon > loading the firmware, extracts this version information from the manifest > and makes it accessible via sysfs. The base version corresponds to the > firmware version provided in Intel's Firmware Development Kit (FDK), while > the project version reflects the vendor-customized firmware derived from > the FDK. > > These attributes provide userspace tools and applications with the > ability to easily query the firmware versions, which is essential for > firmware validation and troubleshooting. > > Example usages: > $ cat /sys/devices/pci0000\:00/0000\:00\:12.0/firmware/base_version > 5.8.0.7716 > > $ cat /sys/devices/pci0000\:00/0000\:00\:12.0/firmware/project_version > 5.8.0.12472 > > Signed-off-by: Zhang Lixu <lixu.zhang@xxxxxxxxx> > Acked-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx> Applied, thanks. -- Jiri Kosina SUSE Labs