summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorNishad Saraf <nishads@amd.com>2026-05-05 09:09:36 -0700
committerLizhi Hou <lizhi.hou@amd.com>2026-05-07 14:09:33 -0700
commitc006978163fd001fbca55e5fa57bddcf49f47ad9 (patch)
tree0dcc0243ca3c849d11d05c011fa7b2821aa2a1d4 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent0b087e0636245f7393610cef0f45333effcdd86a (diff)
accel/amdxdna: Add AIE4 work buffer initialization
NPU firmware requires a host-allocated work buffer for hardware contexts. Allocate a 4 MB host buffer and attach it to device during device init. Refactor aie2_alloc_msg_buffer() and aie2_free_msg_buffer() into common helpers by moving them to aie.c and renaming them to amdxdna_alloc_msg_buffer() and amdxdna_free_msg_buffer(), allowing both AIE2 and AIE4 to reuse the implementation. Signed-off-by: Nishad Saraf <nishads@amd.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://lore.kernel.org/all/20260505160936.3917732-7-lizhi.hou@amd.com/
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions