From: sashiko-bot@kernel.org
To: "Jelly Jia" <Jelly.Jia@cixtech.com>
Cc: Frank.Li@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org, dmaengine@vger.kernel.org,
robh@kernel.org, vkoul@kernel.org
Subject: Re: [PATCH v3 6/6] arm64: dts: cix: Describe the Sky1 DMA-350 bus integration
Date: Mon, 12 Oct 2026 08:52:15 +0000 [thread overview]
Message-ID: <sashiko-outbox-167870@kernel.org> (raw)
In-Reply-To: <20261012084155.2547480-7-Jelly.Jia@cixtech.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] dts: cix: missing memory-region for restricted AUDSS DMA
--
commit bb152839bba0e4fcf17541cd1a7e5a05b3b33ae1
Author: Jelly Jia <Jelly.Jia@cixtech.com>
arm64: dts: cix: Describe the Sky1 DMA-350 bus integration
The FCH DMA-350 controller sits behind an interconnect window, so the
addresses its DMA master uses differ from the CPU physical addresses.
Describe the integration as a bus node carrying the dma-ranges of that
window, with the controller itself as a child, and give the controller
the SoC compatible and the clock feeding it.
> diff --git a/arch/arm64/boot/dts/cix/sky1.dtsi b/arch/arm64/boot/dts/cix/sky1.dtsi
> index 0a820f45feb96..1262f34794d21 100644
> --- a/arch/arm64/boot/dts/cix/sky1.dtsi
> +++ b/arch/arm64/boot/dts/cix/sky1.dtsi
[ ... ]
> @@ -576,6 +591,35 @@ mbox_pm2ap: mailbox@65a0080 {
> cix,mbox-dir = "rx";
> };
>
> + /*
> + * The AUDSS DMA-350 master sits behind an interconnect window;
> + * the dma-ranges below are its view of the address space.
> + */
> + audss-dma-bus {
> + compatible = "simple-bus";
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> + dma-ranges = <0x0 0x20000000 0x0 0x07010000 0x0 0x00100000>,
> + <0x0 0x30000000 0x0 0xc0000000 0x0 0x20000000>;
> +
> + audss_dmac: dma-controller@7010000 {
> + compatible = "cix,sky1-dma350", "arm,dma-350";
[Severity: High]
Does this node need a memory-region property to provide a restricted DMA pool?
The AUDSS DMA-350 controller restricts its DRAM access to a 512MB window at
0xc0000000 via its parent's dma-ranges. Since system RAM normally starts at
0x80000000, default allocations for descriptors will fall outside this reachable
window.
When a driver calls generic routines to allocate and map these descriptors,
such as in drivers/dma/arm-dma350.c:d350_alloc_cmds():
desc->cmds_dma = dma_map_single(dev, desc->cmds, desc->cmds_size,
DMA_TO_DEVICE);
if (dma_mapping_error(dev, desc->cmds_dma)) {
the mapping will fail because the generic allocation is out of bounds for this
device's DMA ranges. The global SWIOTLB bounce buffer would also be
inaccessible for the same reason.
> + reg = <0x0 0x07010000 0x0 0x10000>;
> + clocks = <&audss_cru CLK_DMAC_AXI>;
> + resets = <&audss_cru AUDSS_DMAC_SW_RST>;
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261012084155.2547480-1-Jelly.Jia@cixtech.com?part=6
next prev parent reply other threads:[~2026-10-12 8:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 8:41 [PATCH v3 0/6] dmaengine: arm-dma350: Add slave support and CIX Sky1 integration Jelly Jia
2026-10-12 8:41 ` [PATCH v3 1/6] dmaengine: arm-dma350: Fix source trigger bit Jelly Jia
2026-10-12 15:09 ` Frank Li
2026-10-12 8:41 ` [PATCH v3 2/6] dmaengine: arm-dma350: Add slave and cyclic transfer support Jelly Jia
2026-10-12 8:52 ` sashiko-bot
2026-10-12 15:10 ` Frank Li
2026-10-12 8:41 ` [PATCH v3 3/6] dmaengine: arm-dma350: Sync the slave command list before starting Jelly Jia
2026-10-12 8:41 ` [PATCH v3 4/6] dt-bindings: dma: arm,dma-350: Document the CIX Sky1 integration Jelly Jia
2026-10-12 19:06 ` Conor Dooley
2026-10-12 8:41 ` [PATCH v3 5/6] dmaengine: arm-dma350: Support integration clocks, resets and reserved memory Jelly Jia
2026-10-12 8:51 ` sashiko-bot
2026-10-12 8:41 ` [PATCH v3 6/6] arm64: dts: cix: Describe the Sky1 DMA-350 bus integration Jelly Jia
2026-10-12 8:52 ` sashiko-bot [this message]
2026-10-12 19:07 ` Conor Dooley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-167870@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=Jelly.Jia@cixtech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox