[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJF2gTTgbXgVcLeC9eJ2+Rf-+5Zq0tysEV5coZVai1mw+NZCuw@mail.gmail.com>
Date: Wed, 8 Oct 2025 10:19:49 +0800
From: Guo Ren <guoren@...nel.org>
To: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Cc: "Matthew Wilcox (Oracle)" <willy@...radead.org>, Zi Yan <ziy@...dia.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-csky@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] csky: abiv2: Adapt to new folio flags field
On Mon, Oct 6, 2025 at 8:13 PM Thomas Weißschuh
<thomas.weissschuh@...utronix.de> wrote:
>
> Recent changes require the raw folio flags to be accessed via ".f".
> The merge commit introducing this change adapted most architecture code
> but forgot the csky abiv2.
>
> Fixes: 53fbef56e07d ("mm: introduce memdesc_flags_t")
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
> ---
> arch/csky/abiv2/inc/abi/cacheflush.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/csky/abiv2/inc/abi/cacheflush.h b/arch/csky/abiv2/inc/abi/cacheflush.h
> index 6513ac5d257888fbd41385c9263305dfefd18de6..da51a0f02391f7d391ce26a2b11ca82b8c0b6755 100644
> --- a/arch/csky/abiv2/inc/abi/cacheflush.h
> +++ b/arch/csky/abiv2/inc/abi/cacheflush.h
> @@ -20,8 +20,8 @@
>
> static inline void flush_dcache_folio(struct folio *folio)
> {
> - if (test_bit(PG_dcache_clean, &folio->flags))
> - clear_bit(PG_dcache_clean, &folio->flags);
> + if (test_bit(PG_dcache_clean, &folio->flags.f))
> + clear_bit(PG_dcache_clean, &folio->flags.f);
> }
> #define flush_dcache_folio flush_dcache_folio
>
>
> ---
> base-commit: fd94619c43360eb44d28bd3ef326a4f85c600a07
> change-id: 20251006-csky-folio-flags-1376908acbea
>
> Best regards,
> --
> Thomas Weißschuh <thomas.weissschuh@...utronix.de>
>
LGTM!
Acked-by: Guo Ren <guoren@...nel.org>
--
Best Regards
Guo Ren
Powered by blists - more mailing lists