* [PATCH] csky: abiv2: Adapt to new folio flags field
@ 2025-10-06 12:13 Thomas Weißschuh
2025-10-06 15:26 ` Zi Yan
2025-10-08 2:19 ` Guo Ren
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Weißschuh @ 2025-10-06 12:13 UTC (permalink / raw)
To: Guo Ren, Matthew Wilcox (Oracle), Zi Yan, Andrew Morton
Cc: linux-csky, linux-kernel, Thomas Weißschuh
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>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] csky: abiv2: Adapt to new folio flags field
2025-10-06 12:13 [PATCH] csky: abiv2: Adapt to new folio flags field Thomas Weißschuh
@ 2025-10-06 15:26 ` Zi Yan
2025-10-08 2:19 ` Guo Ren
1 sibling, 0 replies; 3+ messages in thread
From: Zi Yan @ 2025-10-06 15:26 UTC (permalink / raw)
To: Thomas Weißschuh
Cc: Guo Ren, Matthew Wilcox (Oracle), Andrew Morton, linux-csky,
linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] csky: abiv2: Adapt to new folio flags field
2025-10-06 12:13 [PATCH] csky: abiv2: Adapt to new folio flags field Thomas Weißschuh
2025-10-06 15:26 ` Zi Yan
@ 2025-10-08 2:19 ` Guo Ren
1 sibling, 0 replies; 3+ messages in thread
From: Guo Ren @ 2025-10-08 2:19 UTC (permalink / raw)
To: Thomas Weißschuh
Cc: Matthew Wilcox (Oracle), Zi Yan, Andrew Morton, linux-csky,
linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-08 2:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-06 12:13 [PATCH] csky: abiv2: Adapt to new folio flags field Thomas Weißschuh
2025-10-06 15:26 ` Zi Yan
2025-10-08 2:19 ` Guo Ren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).