This website requires JavaScript.
Explore
Help
Register
Sign In
AuxXxilium
/
linux_dsm_epyc7002
Watch
1
Star
0
Fork
0
You've already forked linux_dsm_epyc7002
mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced
2025-01-15 07:16:47 +07:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
a1c92d1c2a
linux_dsm_epyc7002
/
drivers
/
misc
/
habanalabs
/
goya
/
Makefile
4 lines
99 B
Makefile
Raw
Normal View
History
Unescape
Escape
habanalabs: add basic Goya support This patch adds a basic support for the Goya device. The code initializes the device's PCI controller and PCI bars. It also initializes various S/W structures and adds some basic helper functions. Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-16 05:39:13 +07:00
subdir-ccflags-y
+=
-I
$(
src
)
habanalabs: add sysfs and hwmon support This patch add the sysfs and hwmon entries that are exposed by the driver. Goya has several sensors, from various categories such as temperature, voltage, current, etc. The driver exposes those sensors in the standard hwmon mechanism. In addition, the driver exposes a couple of interfaces in sysfs, both for configuration and for providing status of the device or driver. The configuration attributes is for Power Management: - Automatic or manual - Frequency value when moving to high frequency mode - Maximum power the device is allowed to consume The rest of the attributes are read-only and provide the following information: - Versions of the various firmwares running on the device - Contents of the device's EEPROM - The device type (currently only Goya is supported) - PCI address of the device (to allow user-space to connect between /dev/hlX to PCI address) - Status of the device (operational, malfunction, in_reset) - How many processes are open on the device's file Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-16 05:39:19 +07:00
HL_GOYA_FILES
:=
goya/goya.o goya/goya_security.o goya/goya_hwmgr.o
Reference in New Issue
Copy Permalink