mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "NG, ADRIAN HO YIN" <adrian.ho.yin.ng@altera.com>
To: Dinh Nguyen <dinguyen@kernel.org>,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/4] Add Agilex5 support in SVC driver and FPGA configuration and partial reconfiguration support for Agilex5
Date: Fri, 11 Sep 2026 23:13:19 +0800	[thread overview]
Message-ID: <54005f3b-94d6-4047-b969-b10e2cc8daac@altera.com> (raw)
In-Reply-To: <399d0a7d-857c-49bf-8beb-76ce5530184b@kernel.org>


On 9/11/2026 9:54 PM, Dinh Nguyen wrote:
> Sorry, but I had to un-applied the firmware patches.
>
> Patch "firmware: stratix10-svc: add DMA coherent memory allocation for 
> SMMU-enabled platforms", when built by itself produces this warning:
>
> drivers/firmware/stratix10-svc.c:1112:12: warning: 
> ‘svc_setup_dma_memory’ defined but not used [-Wunused-function]
>  1112 | static int svc_setup_dma_memory(struct platform_device *pdev)
>       |            ^~~~~~~~~~~~~~~~~~~~
>
> Looks like you need to bring this function into "firmware: 
> stratix10-svc: enable Agilex5 SMMU support in probe".
>
> Please fix up and resend just the firmware patches.
Hi Dinh,

Thanks for catching that. You are right — svc_setup_dma_memory() was
unused until the probe patch, so building the DMA-allocation commit
alone triggered -Wunused-function. That split was also inert on its own
(use_dma_mem stayed false).

v4 squashes the DMA-allocation and Agilex5 probe enablement patches into
one commit, and resends the firmware patches only.

Best regards,
Adrian
>
> Thanks,
> Dinh 

  reply	other threads:[~2026-09-11 15:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07  8:20 Adrian Ng Ho Yin
2026-09-07  8:20 ` [PATCH v3 1/4] arm64: dts: socfpga: agilex5: add FPGA manager and region nodes Adrian Ng Ho Yin
2026-09-07  8:20 ` [PATCH v3 2/4] firmware: stratix10-svc: warn on unmatched free in stratix10_svc_free_memory Adrian Ng Ho Yin
2026-09-07  8:20 ` [PATCH v3 3/4] firmware: stratix10-svc: add DMA coherent memory allocation for SMMU-enabled platforms Adrian Ng Ho Yin
2026-09-07  8:20 ` [PATCH v3 4/4] firmware: stratix10-svc: enable Agilex5 SMMU support in probe Adrian Ng Ho Yin
2026-09-09 16:40 ` [PATCH v3 0/4] Add Agilex5 support in SVC driver and FPGA configuration and partial reconfiguration support for Agilex5 Dinh Nguyen
2026-09-11 13:54   ` Dinh Nguyen
2026-09-11 15:13     ` NG, ADRIAN HO YIN [this message]
2026-09-11 15:52 ` [PATCH v4 0/2] firmware: stratix10-svc: Agilex5 SMMU DMA coherent support adrian.ho.yin.ng
2026-09-11 15:52   ` [PATCH v4 1/2] firmware: stratix10-svc: warn on unmatched free in stratix10_svc_free_memory adrian.ho.yin.ng
2026-09-11 15:52   ` [PATCH v4 2/2] firmware: stratix10-svc: add Agilex5 SMMU DMA coherent support adrian.ho.yin.ng
2026-09-14 19:16   ` [PATCH v4 0/2] firmware: stratix10-svc: " Dinh Nguyen

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=54005f3b-94d6-4047-b969-b10e2cc8daac@altera.com \
    --to=adrian.ho.yin.ng@altera.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@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

all inboxes | Powered by JetHome®