]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
accel/amdxdna: Create common PSP interfaces for AIE2 and AIE4
authorDavid Zhang <yidong.zhang@amd.com>
Mon, 30 Mar 2026 16:37:02 +0000 (09:37 -0700)
committerLizhi Hou <lizhi.hou@amd.com>
Wed, 1 Apr 2026 17:12:02 +0000 (10:12 -0700)
commitdd2f592b55dfce0028ed1710d71ff51ef6576064
treec7a206c7d3ee1ecc0b847fd97a67a1dd8a658f99
parentc02697cb9388b48086314fca90758016bd51b8e4
accel/amdxdna: Create common PSP interfaces for AIE2 and AIE4

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 <Hayden.Laccabue@amd.com>
Signed-off-by: Hayden Laccabue <Hayden.Laccabue@amd.com>
Signed-off-by: David Zhang <yidong.zhang@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260330163705.3153647-4-lizhi.hou@amd.com
drivers/accel/amdxdna/Makefile
drivers/accel/amdxdna/aie.h
drivers/accel/amdxdna/aie2_message.c
drivers/accel/amdxdna/aie2_pci.c
drivers/accel/amdxdna/aie2_pci.h
drivers/accel/amdxdna/aie_psp.c [moved from drivers/accel/amdxdna/aie2_psp.c with 88% similarity]