<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/next/linux-next.git/drivers/accel/amdxdna/Makefile, branch master</title>
<subtitle>The linux-next integration testing tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/'/>
<updated>2026-05-07T21:07:34+00:00</updated>
<entry>
<title>accel/amdxdna: Add AIE4 VF hardware context create and destroy</title>
<updated>2026-05-07T21:07:34+00:00</updated>
<author>
<name>David Zhang</name>
<email>yidong.zhang@amd.com</email>
</author>
<published>2026-05-05T16:09:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=193612791eea3648e6647ad74cacb191f9d0ef33'/>
<id>urn:sha1:193612791eea3648e6647ad74cacb191f9d0ef33</id>
<content type='text'>
Implement hardware context creation and destruction for AIE4 VF devices.

Co-developed-by: Hayden Laccabue &lt;Hayden.Laccabue@amd.com&gt;
Signed-off-by: Hayden Laccabue &lt;Hayden.Laccabue@amd.com&gt;
Signed-off-by: David Zhang &lt;yidong.zhang@amd.com&gt;
Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260505160936.3917732-4-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add carveout memory support for non-IOMMU systems</title>
<updated>2026-05-05T15:27:04+00:00</updated>
<author>
<name>Max Zhen</name>
<email>max.zhen@amd.com</email>
</author>
<published>2026-04-27T17:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3cc5d7a595197e4438f8f5a4f8cc53497fb7aed6'/>
<id>urn:sha1:3cc5d7a595197e4438f8f5a4f8cc53497fb7aed6</id>
<content type='text'>
Add support for allocating buffers from reserved carveout memory when
IOMMU is not available. This is useful during debugging or bring-up.

In this configuration, the device uses physical addresses and does
not support scatter-gather lists, requiring physically contiguous
buffers.

Implement carveout-backed allocation and integrate it into buffer
management to support operation in physical address mode.

Signed-off-by: Max Zhen &lt;max.zhen@amd.com&gt;
Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260427170949.2666601-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Create common SMU interfaces for AIE2 and AIE4</title>
<updated>2026-04-01T17:44:51+00:00</updated>
<author>
<name>David Zhang</name>
<email>yidong.zhang@amd.com</email>
</author>
<published>2026-03-30T16:37:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8167332554226b0c16ffc3b262afe562e6714bc1'/>
<id>urn:sha1:8167332554226b0c16ffc3b262afe562e6714bc1</id>
<content type='text'>
AIE2 and AIE4 use similar interfaces to the SMU (System Management
Unit). Move the SMU implementation into aie_smu.c and provide common
interfaces for both platforms.

This allows AIE2 and AIE4 to share the same implementation and reduces
code duplication.

Co-developed-by: Hayden Laccabue &lt;Hayden.Laccabue@amd.com&gt;
Signed-off-by: Hayden Laccabue &lt;Hayden.Laccabue@amd.com&gt;
Signed-off-by: David Zhang &lt;yidong.zhang@amd.com&gt;
Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260330163705.3153647-6-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Create common PSP interfaces for AIE2 and AIE4</title>
<updated>2026-04-01T17:12:02+00:00</updated>
<author>
<name>David Zhang</name>
<email>yidong.zhang@amd.com</email>
</author>
<published>2026-03-30T16:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=dd2f592b55dfce0028ed1710d71ff51ef6576064'/>
<id>urn:sha1:dd2f592b55dfce0028ed1710d71ff51ef6576064</id>
<content type='text'>
The AIE2 and AIE4 use the similar interface to PSP (Platform Security
Processor). Move the PSP implementation into aie_psp.c so both platforms
use the same path and future AIE4 PSP work can build on it.

Co-developed-by: Hayden Laccabue &lt;Hayden.Laccabue@amd.com&gt;
Signed-off-by: Hayden Laccabue &lt;Hayden.Laccabue@amd.com&gt;
Signed-off-by: David Zhang &lt;yidong.zhang@amd.com&gt;
Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260330163705.3153647-4-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add basic support for AIE4 devices</title>
<updated>2026-04-01T17:11:53+00:00</updated>
<author>
<name>David Zhang</name>
<email>yidong.zhang@amd.com</email>
</author>
<published>2026-03-30T16:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c02697cb9388b48086314fca90758016bd51b8e4'/>
<id>urn:sha1:c02697cb9388b48086314fca90758016bd51b8e4</id>
<content type='text'>
Add initial support for AIE4 devices (PCI device IDs 0x17F2 and 0x1B0B),
including:
  Device initialization
  Basic mailbox communication
  SR-IOV enablement

This lays the groundwork for full AIE4 support.

Co-developed-by: Hayden Laccabue &lt;Hayden.Laccabue@amd.com&gt;
Signed-off-by: Hayden Laccabue &lt;Hayden.Laccabue@amd.com&gt;
Signed-off-by: David Zhang &lt;yidong.zhang@amd.com&gt;
Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260330163705.3153647-3-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Create shared functions for AIE2 and AIE4</title>
<updated>2026-04-01T17:11:36+00:00</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2026-03-30T16:37:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=5a55a5da1f01274c07359b09abec952ec9f05105'/>
<id>urn:sha1:5a55a5da1f01274c07359b09abec952ec9f05105</id>
<content type='text'>
The AIE4 platform uses a mailbox management channel mechanism similar to
AIE2 to communicate with the firmware.

Create aie.h and aie.c and move the functions and structures that can
be shared by both platforms from the AIE2-specific files into these
common files. This allows AIE2 and AIE4 to reuse the same implementation
and reduces code duplication.

Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260330163705.3153647-2-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Allow forcing IOVA-based DMA via module parameter</title>
<updated>2026-03-12T19:37:56+00:00</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2026-01-26T19:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ece3e8980907818c72dc9faa7bbaf40488ef1824'/>
<id>urn:sha1:ece3e8980907818c72dc9faa7bbaf40488ef1824</id>
<content type='text'>
The amdxdna driver normally performs DMA using userspace virtual address
plus PASID. For debugging and validation purposes, add a module parameter,
force_iova, to force DMA to go through IOMMU IOVA mapping.

When force_iova=1 is set, the driver will allocate and map DMA buffers
using IOVA.

Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260126193001.1400545-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Remove NPU2 support</title>
<updated>2025-12-18T18:36:22+00:00</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-12-17T19:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3ef93841033edc6359146dccd88d2f7ac8d706d1'/>
<id>urn:sha1:3ef93841033edc6359146dccd88d2f7ac8d706d1</id>
<content type='text'>
NPU2 hardware was never publicly released and is now obsolete.
Remove all remaining NPU2 support from the driver.

Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20251217190818.2145781-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Enhance runtime power management</title>
<updated>2025-09-24T20:47:59+00:00</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-09-23T15:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=063db451832b8849faf1b0b8404b3a6a39995b29'/>
<id>urn:sha1:063db451832b8849faf1b0b8404b3a6a39995b29</id>
<content type='text'>
Currently, pm_runtime_resume_and_get() is invoked in the driver's open
callback, and pm_runtime_put_autosuspend() is called in the close
callback. As a result, the device remains active whenever an application
opens it, even if no I/O is performed, leading to unnecessary power
consumption.

Move the runtime PM calls to the AIE2 callbacks that actually interact
with the hardware. The device will automatically suspend after 5 seconds
of inactivity (no hardware accesses and no pending commands), and it will
be resumed on the next hardware access.

Reviewed-by: Karol Wachowski &lt;karol.wachowski@linux.intel.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://lore.kernel.org/r/20250923152229.1303625-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Support user space allocated buffer</title>
<updated>2025-07-22T15:34:29+00:00</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-07-16T16:44:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=bd72d4acda1069579b35123e3cc0b21ec1193a21'/>
<id>urn:sha1:bd72d4acda1069579b35123e3cc0b21ec1193a21</id>
<content type='text'>
Enhance DRM_IOCTL_AMDXDNA_CREATE_BO to accept user space allocated
buffer pointer. The buffer pages will be pinned in memory. Unless
the CAP_IPC_LOCK is enabled for the application process, the total
pinned memory can not beyond rlimit_memlock.

Reviewed-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://lore.kernel.org/r/20250716164414.112091-1-lizhi.hou@amd.com
</content>
</entry>
</feed>
