arch/csky/abiv2/inc/abi/cacheflush.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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@linutronix.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@linutronix.de>
On Mon, Oct 6, 2025 at 8:13 PM Thomas Weißschuh
<thomas.weissschuh@linutronix.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@linutronix.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@linutronix.de>
>
LGTM!
Acked-by: Guo Ren <guoren@kernel.org>
--
Best Regards
Guo Ren
On 6 Oct 2025, at 8:13, Thomas Weißschuh 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@linutronix.de>
> ---
> arch/csky/abiv2/inc/abi/cacheflush.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Zi Yan <ziy@nvidia.com>
Best Regards,
Yan, Zi
© 2016 - 2025 Red Hat, Inc.