From: Heiko Stuebner <heiko@sntech.de>
To: u-boot@lists.denx.de, philipp.tomsich@vrull.eu, sjg@chromium.org,
Kever Yang <kever.yang@rock-chips.com>
Cc: ukleinek@debian.org
Subject: Re: [PATCH v2 18/18] board: rockchip: add support for Qnap TS433 devices
Date: Mon, 28 Oct 2024 19:49:12 +0100 [thread overview]
Message-ID: <2882551.mvXUDI8C0e@phil> (raw)
In-Reply-To: <17d20d41-5546-4b11-92b2-b51bfa076bc5@rock-chips.com>
Hi Kever,
Am Montag, 28. Oktober 2024, 09:39:27 CET schrieb Kever Yang:
> On 2024/10/26 10:39, Kever Yang wrote:
> > Hi Heiko,
> >
> > I got a ci error for this patch:
> >
> > https://source.denx.de/u-boot/custodians/u-boot-rockchip/-/jobs/929839
> >
> > +Image 'simple-bin-spi' is missing external blobs and is
> > non-functional: rockchip-tpl
> > +/binman/simple-bin-spi/mkimage/rockchip-tpl (rockchip-tpl):
> > +drivers/net/rtl8169.c:320:2: error: #warning cache-line size is
> > larger than descriptor size [-Werror=cpp]
> > + 320 | #warning cache-line size is larger than descriptor size
> > + | ^~~~~~~
> > +cc1: all warnings being treated as errors
>
> The other boards are using below Kconfig to fix this warning, which is
> suggest by the driver:
>
> CONFIG_SYS_HAS_NONCACHED_MEMORY=y
>
> 307 * Warn if the cache-line size is larger than the descriptor size.
> In such
> 308 * cases the driver will likely fail because the CPU needs to
> flush the cache
> 309 * when requeuing RX buffers, therefore descriptors written by the
> hardware
> 310 * may be discarded.
> 311 *
> 312 * This can be fixed by defining CONFIG_SYS_NONCACHED_MEMORY which
> will cause
> 313 * the driver to allocate descriptors from a pool of non-cached
> memory.
> 314 *
> 315 * Hardware maintain D-cache coherency in RISC-V architecture.
thanks so much for this pointer, I started looking into the issue
today, but your pointer made everything so much easier.
Thanks a lot
Heiko
next prev parent reply other threads:[~2024-10-28 18:49 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-13 19:24 [PATCH v2 00/18] Support for rk3568 based QNAP TS433 NAS Heiko Stuebner
2024-10-13 19:24 ` [PATCH v2 01/18] arm64: dts: rockchip: add PCIe supply regulator to Qnap-TS433 Heiko Stuebner
2024-10-21 1:32 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 02/18] arm64: dts: rockchip: enable second PCIe controller on the Qnap-TS433 Heiko Stuebner
2024-10-13 19:24 ` [PATCH v2 03/18] arm64: dts: rockchip: enable uart0 on Qnap-TS433 Heiko Stuebner
2024-10-25 11:58 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 04/18] arm64: dts: rockchip: enable usb ports " Heiko Stuebner
2024-10-25 11:58 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 05/18] arm64: dts: rockchip: add stdout path " Heiko Stuebner
2024-10-25 11:58 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 06/18] arm64: dts: rockchip: enable sata1+2 " Heiko Stuebner
2024-10-25 11:58 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 07/18] arm64: dts: rockchip: add board-aliases for Qnap-TS433 Heiko Stuebner
2024-10-25 11:58 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 08/18] arm64: dts: rockchip: add hdd leds to Qnap-TS433 Heiko Stuebner
2024-10-25 11:59 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 09/18] arm64: dts: rockchip: enable the tsadc on the Qnap-TS433 Heiko Stuebner
2024-10-25 11:59 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 10/18] arm64: dts: rockchip: add gpio-keys to Qnap-TS433 Heiko Stuebner
2024-10-25 11:59 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 11/18] arm64: dts: rockchip: define cpu-supply on the Qnap-TS433 Heiko Stuebner
2024-10-25 11:59 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 12/18] arm64: dts: rockchip: add missing pmic information on Qnap-TS433 Heiko Stuebner
2024-10-25 11:59 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 13/18] arm64: dts: rockchip: enable gpu " Heiko Stuebner
2024-10-25 11:59 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 14/18] arm64: dts: rockchip: add 2 pmu_io_domain supplies for Qnap-TS433 Heiko Stuebner
2024-10-25 12:00 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 15/18] arm64: dts: rockchip: Simplify network PHY connection on qnap-ts433 Heiko Stuebner
2024-10-25 12:00 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 16/18] arm64: dts: rockchip: actually enable pmu-io-domains " Heiko Stuebner
2024-10-25 12:00 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 17/18] arm64: dts: rockchip: add product-data eeproms to QNAP TS433 Heiko Stuebner
2024-10-25 12:00 ` Kever Yang
2024-10-13 19:24 ` [PATCH v2 18/18] board: rockchip: add support for Qnap TS433 devices Heiko Stuebner
2024-10-25 12:01 ` Kever Yang
2024-10-26 2:39 ` Kever Yang
2024-10-28 8:39 ` Kever Yang
2024-10-28 18:49 ` Heiko Stuebner [this message]
2024-10-26 2:44 ` Kever Yang
2024-10-26 3:36 ` Tom Rini
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=2882551.mvXUDI8C0e@phil \
--to=heiko@sntech.de \
--cc=kever.yang@rock-chips.com \
--cc=philipp.tomsich@vrull.eu \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=ukleinek@debian.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