ALSA: hda/core: add addr_offset field for bus address translation
authorJoakim Zhang <joakim.zhang@cixtech.com>
Fri, 5 Dec 2025 15:46:20 +0000 (23:46 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sun, 7 Dec 2025 12:13:20 +0000 (13:13 +0100)
commita4f2fa516e83f11c3792405599613c12efe6135e
tree230858e36476f4129350bf816bea9317df5edd41
parent85a6544777e0f57cce902f7217a377eb74b7d1a4
ALSA: hda/core: add addr_offset field for bus address translation

Add bus addr_offset field for dma address translation,
for some SoCs such as CIX SKY1 which is ARM64 Arch, HOST
and HDAC has different memory view, so need to do dma address
translation between HOST and HDAC.

Signed-off-by: Joakim Zhang <joakim.zhang@cixtech.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20251205154621.3019640-3-joakim.zhang@cixtech.com
include/sound/hdaudio.h
sound/hda/core/bus.c
sound/hda/core/controller.c
sound/hda/core/stream.c