<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/accel/amdxdna/npu6_regs.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=master</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2026-02-25T21:51:31Z</updated>
<entry>
<title>accel/amdxdna: Use a different name for latest firmware</title>
<updated>2026-02-25T21:51:31Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2026-02-25T20:47:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=75c151ceaacf5ca8f2f34ebf863d88002fb12587'/>
<id>urn:sha1:75c151ceaacf5ca8f2f34ebf863d88002fb12587</id>
<content type='text'>
Using legacy driver with latest firmware causes a power off issue.

Fix this by assigning a different filename (npu_7.sbin) to the latest
firmware. The driver attempts to load the latest firmware first and falls
back to the previous firmware version if loading fails.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/5009
Fixes: f1eac46fe5f7 ("accel/amdxdna: Update firmware version check for latest firmware")
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/20260225204752.2711734-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Update firmware version check for latest firmware</title>
<updated>2026-01-08T17:48:43Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-12-19T01:43:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f1eac46fe5f7d4569681a648440d0f416a50c476'/>
<id>urn:sha1:f1eac46fe5f7d4569681a648440d0f416a50c476</id>
<content type='text'>
The latest firmware increases the major version number. Update
aie2_check_protocol() to accept and support the new firmware version.

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/20251219014356.2234241-2-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Poll MPNPU_PWAITMODE after requesting firmware suspend</title>
<updated>2025-12-03T00:31:14Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-12-02T16:54:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3d3ac202c7df0923dee7e182c95d170cf9345a9f'/>
<id>urn:sha1:3d3ac202c7df0923dee7e182c95d170cf9345a9f</id>
<content type='text'>
After issuing a firmware suspend request, the driver must ensure that the
suspend operation has completed before proceeding. Add polling of the
MPNPU_PWAITMODE register to confirm that the firmware has fully entered
the suspended state. This prevents race conditions where subsequent
operations assume the firmware is idle before it has actually completed
its suspend sequence.

Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Reviewed-by: Maciej Falkowski &lt;maciej.falkowski@linux.intel.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20251202165427.507414-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add hardware specific attributes</title>
<updated>2025-11-04T17:01:44Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-11-04T06:25:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c48f1f459e4227abbb88271e2717235de575b22e'/>
<id>urn:sha1:c48f1f459e4227abbb88271e2717235de575b22e</id>
<content type='text'>
Add three hardware specific attributes to describe device capabilities:
  hwctx_limit: The maximum number of hardware context supported.
  max_tops: The maximum TOPS supported.
  curr_tops: The TOPS achievable with the current power and frequency
             configuration.

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/20251104062546.833771-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Use MSG_OP_CHAIN_EXEC_NPU when supported</title>
<updated>2025-11-03T17:20:39Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-10-31T01:47:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=71829d7f2f702148a238672785614e1a765fcece'/>
<id>urn:sha1:71829d7f2f702148a238672785614e1a765fcece</id>
<content type='text'>
MSG_OP_CHAIN_EXEC_NPU is a unified mailbox message that replaces
MSG_OP_CHAIN_EXEC_BUFFER_CF and MSG_OP_CHAIN_EXEC_DPU.

Add driver logic to check firmware version, and if MSG_OP_CHAIN_EXEC_NPU
is supported, uses it to submit firmware commands.

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/20251031014700.2919349-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Declare npu6_dev_priv as static</title>
<updated>2025-01-04T05:38:22Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-01-02T21:22:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fee7aaee11f52c231f886d3232c1c20a6a830e45'/>
<id>urn:sha1:fee7aaee11f52c231f886d3232c1c20a6a830e45</id>
<content type='text'>
Fix sparse warning:
  symbol 'npu6_dev_priv' was not declared. Should it be static?

Fixes: 273b5176ac17 ("accel/amdxdna: Add RyzenAI-npu6 support")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202412311819.9mz11Uak-lkp@intel.com/
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20250102212244.1586340-7-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Enhance power management settings</title>
<updated>2024-12-16T21:50:32Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2024-12-13T23:29:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f4d7b8a6bc8c92963876e8e1dbf73b4728445aa2'/>
<id>urn:sha1:f4d7b8a6bc8c92963876e8e1dbf73b4728445aa2</id>
<content type='text'>
Add SET_STATE ioctl to configure device power mode for aie2 device.
Three modes are supported initially.

POWER_MODE_DEFAULT: Enable clock gating and set DPM (Dynamic Power
Management) level to value which has been set by resource solver or
maximum DPM level the device supports.

POWER_MODE_HIGH: Enable clock gating and set DPM level to maximum DPM
level the device supports.

POWER_MODE_TURBO: Disable clock gating and set DPM level to maximum DPM
level the device supports.

Disabling clock gating means all clocks always run on full speed. And
the different clock frequency are used based on DPM level been set.
Initially, the driver set the power mode to default mode.

Co-developed-by: Narendra Gutta &lt;VenkataNarendraKumar.Gutta@amd.com&gt;
Signed-off-by: Narendra Gutta &lt;VenkataNarendraKumar.Gutta@amd.com&gt;
Co-developed-by: George Yang &lt;George.Yang@amd.com&gt;
Signed-off-by: George Yang &lt;George.Yang@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20241213232933.1545388-4-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add RyzenAI-npu6 support</title>
<updated>2024-12-16T21:49:47Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2024-12-13T23:29:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=273b5176ac178d0d890cc1785d3688dc6f8adf37'/>
<id>urn:sha1:273b5176ac178d0d890cc1785d3688dc6f8adf37</id>
<content type='text'>
Add NPU6 registers and other private configurations.

Co-developed-by: Xiaoming Ren &lt;xiaoming.ren@amd.com&gt;
Signed-off-by: Xiaoming Ren &lt;xiaoming.ren@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20241213232933.1545388-2-lizhi.hou@amd.com
</content>
</entry>
</feed>
