<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/misc/habanalabs/common/Makefile, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/misc/habanalabs/common/Makefile?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/misc/habanalabs/common/Makefile?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-07-12T06:09:27Z</updated>
<entry>
<title>habanalabs: add generic security module</title>
<updated>2022-07-12T06:09:27Z</updated>
<author>
<name>Ofir Bitton</name>
<email>obitton@habana.ai</email>
</author>
<published>2022-06-26T18:24:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e392d1bd0437d7ac3c945ccdb5362b775c207d67'/>
<id>urn:sha1:e392d1bd0437d7ac3c945ccdb5362b775c207d67</id>
<content type='text'>
As the ASICs become more complex and have many more registers, we need
a better way to configure the security properties.

As a reminder, we have two dedicated mechanisms for security:
Range Registers and Protection bits. Those mechanisms protect sensitive
memory and configuration areas inside the device.

The generic module handles the low-level part of the configuration,
because the configuration mechanism is identical in all ASICs. The
difference is the address ranges and register names.

Any ASIC that use this block should first block all the register
blocks in the ASIC. Then, it should open only the registers that
need to be accessed by the user (This is opposed to Goya and Gaudi,
where we blocked only what should not be accesses by the user).

The module contains several functions, to unblock single register,
multiple registers, entire blocks, ranges, ranges with mask.

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: add gaudi2 asic-specific code</title>
<updated>2022-07-12T06:09:27Z</updated>
<author>
<name>Oded Gabbay</name>
<email>ogabbay@kernel.org</email>
</author>
<published>2022-06-26T15:20:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d7bb1ac89b2f5e230ec87659dabd2600897e49ef'/>
<id>urn:sha1:d7bb1ac89b2f5e230ec87659dabd2600897e49ef</id>
<content type='text'>
Add the ASIC-specific code for Gaudi2. Supply (almost) all of the
function callbacks that the driver's common code need to initialize,
finalize and submit workloads to the Gaudi2 ASIC.

It also contains the code to initialize the F/W of the Gaudi2 ASIC
and to receive events from the F/W.

It contains new debugfs entry to dump razwi events. razwi is a case
where the device's engines create a transaction that reaches an
invalid destination.

Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: unified memory manager infrastructure</title>
<updated>2022-05-22T18:57:36Z</updated>
<author>
<name>Yuri Nudelman</name>
<email>ynudelman@habana.ai</email>
</author>
<published>2022-03-20T14:08:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=babe8e7c04b5d3b7298b77acdd1de922c97442bc'/>
<id>urn:sha1:babe8e7c04b5d3b7298b77acdd1de922c97442bc</id>
<content type='text'>
This is a part of overall refactoring attempt to separate nic and the
core drivers.
Currently, there are 4 different flows, that contain very similar code.
These are the ts, nic, hwblocks and cb alloc/map flows. The similar
aspect of all these flows is that they all contain a central store, with
memory buffers inside, supporting the following set of operations:

- Allocate buffer and return handle
- Get buffer from the store with handle
- Put the buffer (last put releases the buffer)
- Map the buffer to the user

This patch contains a generic data structure used to implement the above
memory buffer store interface. Conversion of the existing code to use
the new data structure will follow.

Signed-off-by: Yuri Nudelman &lt;ynudelman@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: remove hwmgr.c</title>
<updated>2022-02-28T12:22:01Z</updated>
<author>
<name>Oded Gabbay</name>
<email>ogabbay@kernel.org</email>
</author>
<published>2022-01-08T19:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8d96430784fc810e6adfa61bf6bf56cdcdeb7a69'/>
<id>urn:sha1:8d96430784fc810e6adfa61bf6bf56cdcdeb7a69</id>
<content type='text'>
The two remaining functions in this file belong to firmware_if.c,
as they communicate with the firmware.

Signed-off-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
</content>
</entry>
<entry>
<title>habanalabs: Unify frequency set/get functionality</title>
<updated>2021-10-18T09:05:47Z</updated>
<author>
<name>Rajaravi Krishna Katta</name>
<email>rkatta@habana.ai</email>
</author>
<published>2021-09-03T05:01:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=024b7b1d6dcd1960e9b669e981968ca4b6bf80cb'/>
<id>urn:sha1:024b7b1d6dcd1960e9b669e981968ca4b6bf80cb</id>
<content type='text'>
Make the frequency set/get functionality common to all ASICs.
This makes more code reusable when adding support for newer ASICs.

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: expose state dump</title>
<updated>2021-08-29T06:47:46Z</updated>
<author>
<name>Yuri Nudelman</name>
<email>ynudelman@habana.ai</email>
</author>
<published>2021-06-06T07:28:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=938b793fdede518e10c67dc1dcfba1804faf98a6'/>
<id>urn:sha1:938b793fdede518e10c67dc1dcfba1804faf98a6</id>
<content type='text'>
To improve the user's ability to debug the case where a workload that
is part of executing training/inference of a topology is getting stuck,
we need to add a 'core dump' each time a CS times-out. The 'core dump'
shall contain all relevant Sync Manager information and corresponding
fence values.

The most recent dumps shall be accessible via debugfs, under
'state_dump' node. Reading from the node will provide the oldest dump
available. Writing an integer value X will discard X dumps, starting
with the oldest one, i.e. subsequent read will now return newer
dumps.

Signed-off-by: Yuri Nudelman &lt;ynudelman@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: separate common code to dedicated folders</title>
<updated>2021-01-27T19:03:50Z</updated>
<author>
<name>Ofir Bitton</name>
<email>obitton@habana.ai</email>
</author>
<published>2020-12-28T12:36:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8563e19159b02ec26a6ec7dc7bac9766a8ac494c'/>
<id>urn:sha1:8563e19159b02ec26a6ec7dc7bac9766a8ac494c</id>
<content type='text'>
We separate some of the common code source files to different
folders for a better maintainability and testability.

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: refactor MMU as device-oriented</title>
<updated>2020-09-22T15:49:53Z</updated>
<author>
<name>Moti Haimovski</name>
<email>mhaimovski@habana.ai</email>
</author>
<published>2020-08-12T10:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d83fe66928b2ff50367c983c345d17f7b8769235'/>
<id>urn:sha1:d83fe66928b2ff50367c983c345d17f7b8769235</id>
<content type='text'>
As preparation to MMU v2, rework MMU to be device oriented
instantiated according to the device in hand.

Signed-off-by: Moti Haimovski &lt;mhaimovski@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
</content>
</entry>
<entry>
<title>habanalabs: rename mmu.c to mmu_v1.c</title>
<updated>2020-09-22T15:49:53Z</updated>
<author>
<name>Moti Haimovski</name>
<email>mhaimovski@habana.ai</email>
</author>
<published>2020-08-12T08:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c91324f41b27fc3dc7c2000426b1591a7f6d575c'/>
<id>urn:sha1:c91324f41b27fc3dc7c2000426b1591a7f6d575c</id>
<content type='text'>
In the future we will have MMU v2 code, so we need to prepare the
driver for it. The first step is to rename the current MMU file to
mmu_v1.c.

Signed-off-by: Moti Haimovski &lt;mhaimovski@habana.ai&gt;
Reviewed-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
</content>
</entry>
<entry>
<title>habanalabs: fix up absolute include instructions</title>
<updated>2020-07-29T06:15:50Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2020-07-28T17:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7b16a15524d5db449cf5e529602610cdf04eddab'/>
<id>urn:sha1:7b16a15524d5db449cf5e529602610cdf04eddab</id>
<content type='text'>
There's no need to try to be cute with the include file locations in the
Makefile, so just specify exactly where the files are.

Bonus is this fixes the problem of building with O= as well as trying to
just build the subdirectory alone.

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Cc: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
Cc: Omer Shpigelman &lt;oshpigelman@habana.ai&gt;
Cc: Tomer Tayar &lt;ttayar@habana.ai&gt;
Cc: Moti Haimovski &lt;mhaimovski@habana.ai&gt;
Cc: Ofir Bitton &lt;obitton@habana.ai&gt;
Cc: Ben Segal &lt;bpsegal20@gmail.com&gt;
Cc: Christine Gharzuzi &lt;cgharzuzi@habana.ai&gt;
Cc: Pawel Piskorski &lt;ppiskorski@habana.ai&gt;
Link: https://lore.kernel.org/r/20200728171851.55842-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
