From: Angelo Dureghello <angelo@kernel-space.org>
To: Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Huan Wang <alison.wang@nxp.com>
Subject: Acked
Date: Mon, 24 Jun 2024 09:37:39 +0200 [thread overview]
Message-ID: <968b6cae-5f44-4171-b2c2-44ad6f02b113@kernel-space.org> (raw)
In-Reply-To: <20240619212759.3456158-1-trini@konsulko.com>
Hi Tom,
Acked-by: Angelo Dureghello <angelo@kernel-space.org>
thanks,
angelo
On 19/06/24 11:27 PM, Tom Rini wrote:
> Implement a weak default version of flush_dcache_all which is based on
> the ARM default, which is to flush the entire range via
> flush_dcache_range(...).
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
> Cc: Huan Wang <alison.wang@nxp.com>
> Cc: Angelo Dureghello <angelo@kernel-space.org>
> ---
> arch/m68k/lib/cache.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/m68k/lib/cache.c b/arch/m68k/lib/cache.c
> index de04124404cf..dab834c1cbd8 100644
> --- a/arch/m68k/lib/cache.c
> +++ b/arch/m68k/lib/cache.c
> @@ -134,6 +134,15 @@ void dcache_invalid(void)
> #endif
> }
>
> +/*
> + * Default implementation:
> + * do a range flush for the entire range
> + */
> +__weak void flush_dcache_all(void)
> +{
> + flush_dcache_range(0, ~0);
> +}
> +
> __weak void invalidate_dcache_range(unsigned long start, unsigned long stop)
> {
> /* An empty stub, real implementation should be in platform code */
next prev parent reply other threads:[~2024-06-24 7:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 21:27 [PATCH 1/7] m68k: Implement a default flush_dcache_all Tom Rini
2024-06-19 21:27 ` [PATCH 2/7] m68k: Rename icache_invalid to invalidate_icache_all Tom Rini
2024-06-20 5:47 ` Ilias Apalodimas
2024-06-19 21:27 ` [PATCH 3/7] sh: Implement a default flush_dcache_all Tom Rini
2024-06-25 8:23 ` Ilias Apalodimas
2024-09-10 0:17 ` Marek Vasut
2024-06-19 21:27 ` [PATCH 4/7] sh: Add the old invalidate_icache_all function Tom Rini
2024-09-10 0:18 ` Marek Vasut
2024-06-19 21:27 ` [PATCH 5/7] powerpc: Implement a default flush_dcache_all Tom Rini
2024-06-25 9:57 ` Ilias Apalodimas
2024-06-19 21:27 ` [PATCH 6/7] powerpc: Add the old invalidate_icache_all function Tom Rini
2024-06-19 21:27 ` [PATCH 7/7] cmd: cache: Remove weak functions Tom Rini
2024-06-20 5:48 ` Ilias Apalodimas
2024-06-24 7:37 ` Angelo Dureghello [this message]
2024-06-25 8:23 ` [PATCH 1/7] m68k: Implement a default flush_dcache_all Ilias Apalodimas
2024-07-03 23:22 ` Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2024-09-26 20:44 [PATCH 00/27] led: Remove old status-LED code Simon Glass
2024-09-26 20:44 ` [PATCH 15/27] m68k: Drop unused status_led.h header file Simon Glass
2024-10-01 7:21 ` Acked Angelo Dureghello
2024-07-24 15:08 [PATCH 00/35] global_data: Reduce size of struct global_data Simon Glass
2024-07-24 15:08 ` [PATCH 01/35] global_data: Move pci_clk to m68k and powerpc Simon Glass
2024-07-29 7:57 ` Acked Angelo Dureghello
2024-05-28 11:13 [PATCH 0/7] watchdog_reset cleanup Rasmus Villemoes
2024-05-29 7:35 ` Acked Angelo Dureghello
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=968b6cae-5f44-4171-b2c2-44ad6f02b113@kernel-space.org \
--to=angelo@kernel-space.org \
--cc=alison.wang@nxp.com \
--cc=ilias.apalodimas@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/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