<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/misc/habanalabs/common/sysfs.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/misc/habanalabs/common/sysfs.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/misc/habanalabs/common/sysfs.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-02-28T12:22:03Z</updated>
<entry>
<title>habanalabs: add missing error check in sysfs max_power_show</title>
<updated>2022-02-28T12:22:03Z</updated>
<author>
<name>Tomer Tayar</name>
<email>ttayar@habana.ai</email>
</author>
<published>2022-01-12T09:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4ae9548de7f84eb8f166f957cbcb9cc30f51bbd4'/>
<id>urn:sha1:4ae9548de7f84eb8f166f957cbcb9cc30f51bbd4</id>
<content type='text'>
Add a missing error check in the sysfs show function for max_power.

Signed-off-by: Tomer Tayar &lt;ttayar@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: add missing error check in sysfs clk_freq_mhz_show</title>
<updated>2022-02-28T12:22:03Z</updated>
<author>
<name>Tomer Tayar</name>
<email>ttayar@habana.ai</email>
</author>
<published>2022-01-12T09:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=aa3e1f12a2c1d6e36ce18c153706c906306b2e2d'/>
<id>urn:sha1:aa3e1f12a2c1d6e36ce18c153706c906306b2e2d</id>
<content type='text'>
Add a missing error check in the sysfs show functions for
clk_max_freq_mhz and clk_cur_freq_mhz_show.

Signed-off-by: Tomer Tayar &lt;ttayar@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: sysfs support for fw os version</title>
<updated>2022-02-28T12:22:02Z</updated>
<author>
<name>Rajaravi Krishna Katta</name>
<email>rkatta@habana.ai</email>
</author>
<published>2021-12-29T11:13:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4c01e524b21ff4342d8ab16a32a0acf91db761e3'/>
<id>urn:sha1:4c01e524b21ff4342d8ab16a32a0acf91db761e3</id>
<content type='text'>
Adds new sysfs entry to display firmware os version
/sys/class/habanalabs/hl&lt;n&gt;/fw_os_ver

Signed-off-by: Rajaravi Krishna Katta &lt;rkatta@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: add vrm version to sysfs</title>
<updated>2022-02-28T12:22:02Z</updated>
<author>
<name>Oded Gabbay</name>
<email>ogabbay@kernel.org</email>
</author>
<published>2022-01-08T21:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b62ff1a4123693551383f306ab736758e6fe0d84'/>
<id>urn:sha1:b62ff1a4123693551383f306ab736758e6fe0d84</id>
<content type='text'>
infineon version is only applicable to GOYA and GAUDI. For later
ASICs, we display the Voltage Regulator Monitor f/w version.

Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: rename dev_attr_grp to dev_clk_attr_grp</title>
<updated>2022-02-28T12:22:02Z</updated>
<author>
<name>Oded Gabbay</name>
<email>ogabbay@kernel.org</email>
</author>
<published>2022-01-08T20:55:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=be028a3648f3791ce8bc74608477d7846be72c24'/>
<id>urn:sha1:be028a3648f3791ce8bc74608477d7846be72c24</id>
<content type='text'>
In this attribute group we are only adding clocks. This is in
preparation for adding a device specific attribute group which is
not related to clocks.

Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: move more f/w functions to firmware_if.c</title>
<updated>2022-02-28T12:22:01Z</updated>
<author>
<name>Oded Gabbay</name>
<email>ogabbay@kernel.org</email>
</author>
<published>2022-01-08T20:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=092a31c5266282838e98fffc5e80b50e53b7bec9'/>
<id>urn:sha1:092a31c5266282838e98fffc5e80b50e53b7bec9</id>
<content type='text'>
For better maintainability, try to concentrate all the common functions
that communicate with the f/w in firmware_if.c

Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: sysfs functions should be in sysfs.c</title>
<updated>2022-02-28T12:22:01Z</updated>
<author>
<name>Oded Gabbay</name>
<email>ogabbay@kernel.org</email>
</author>
<published>2022-01-08T11:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bfbe9cbedd41402e3be3c5189a6b82933a5cd76d'/>
<id>urn:sha1:bfbe9cbedd41402e3be3c5189a6b82933a5cd76d</id>
<content type='text'>
Move common sysfs store/show functions to sysfs.c file for
consistency.

This is part of a patch-set to remove hwmgr.c

Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: refactor reset information variables</title>
<updated>2021-12-26T12:41:28Z</updated>
<author>
<name>Ofir Bitton</name>
<email>obitton@habana.ai</email>
</author>
<published>2021-11-23T13:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=eb135291912f7554e2a2472befc44818098baa8d'/>
<id>urn:sha1:eb135291912f7554e2a2472befc44818098baa8d</id>
<content type='text'>
Unify variables related to device reset, which will help us to
add some new reset functionality in future patches.

Signed-off-by: Ofir Bitton &lt;obitton@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: fix endianness when reading cpld version</title>
<updated>2021-12-26T06:59:09Z</updated>
<author>
<name>Ofir Bitton</name>
<email>obitton@habana.ai</email>
</author>
<published>2021-12-15T12:48:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a7224c21161b3576cb6875ac86f5ba5e757e4fce'/>
<id>urn:sha1:a7224c21161b3576cb6875ac86f5ba5e757e4fce</id>
<content type='text'>
Current sysfs implementation does not take endianness into
consideration when dumping the cpld version.

Signed-off-by: Ofir Bitton &lt;obitton@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: expose soft reset sysfs nodes for inference ASIC</title>
<updated>2021-12-26T06:59:09Z</updated>
<author>
<name>Ofir Bitton</name>
<email>obitton@habana.ai</email>
</author>
<published>2021-12-12T15:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9993f27de104d8d0f83c332ec5bc7642de20fae4'/>
<id>urn:sha1:9993f27de104d8d0f83c332ec5bc7642de20fae4</id>
<content type='text'>
As we allow soft-reset to be performed only on inference devices,
having the sysfs nodes may cause a confusion. Hence, we remove those
nodes on training ASICs.

Signed-off-by: Ofir Bitton &lt;obitton@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
</feed>
