All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests
@ 2024-03-26 10:07 David Gow
  2024-03-26 10:16 ` Johannes Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Gow @ 2024-03-26 10:07 UTC (permalink / raw
  To: SeongJae Park, Rae Moar, Mark Brown, Johannes Berg
  Cc: David Gow, linux-kselftest, kunit-dev, linux-kernel, Shuah Khan

This is required, as CONFIG_DAMON_DEBUGFS is enabled, and --alltests UML
builds will fail due to the missing config option otherwise.

Fixes: f4cba4bf6777 ("mm/damon: rename CONFIG_DAMON_DBGFS to DAMON_DBGFS_DEPRECATED")
Signed-off-by: David Gow <davidgow@google.com>
---

This is breaking all UML alltests builds, so we'd like to fix it sooner
rather than later. SeongJae, would you rather take this yourself, or can
we push it alongside any other KUnit fixes?

Johannes: Does this conflict with the CONFIG_NETDEVICES / CONFIG_WLAN
fixes to all_tests.config? I'd assume not, but I'm happy to take them
via KUnit if you'd prefer anyway.

Thanks,
-- David

---
 tools/testing/kunit/configs/all_tests.config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
index aa5ec149f96c..f388742cf266 100644
--- a/tools/testing/kunit/configs/all_tests.config
+++ b/tools/testing/kunit/configs/all_tests.config
@@ -38,6 +38,7 @@ CONFIG_DAMON_VADDR=y
 CONFIG_DAMON_PADDR=y
 CONFIG_DEBUG_FS=y
 CONFIG_DAMON_DBGFS=y
+CONFIG_DAMON_DBGFS_DEPRECATED=y
 
 CONFIG_REGMAP_BUILD=y
 
-- 
2.44.0.396.g6e790dbe36-goog


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests
  2024-03-26 10:07 [PATCH] kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests David Gow
@ 2024-03-26 10:16 ` Johannes Berg
  2024-03-26 14:30 ` SeongJae Park
  2024-03-27 23:32 ` Rae Moar
  2 siblings, 0 replies; 4+ messages in thread
From: Johannes Berg @ 2024-03-26 10:16 UTC (permalink / raw
  To: David Gow, SeongJae Park, Rae Moar, Mark Brown
  Cc: linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com,
	linux-kernel@vger.kernel.org, Shuah Khan

On Tue, 2024-03-26 at 10:07 +0000, David Gow wrote:
> 
> Johannes: Does this conflict with the CONFIG_NETDEVICES / CONFIG_WLAN
> fixes to all_tests.config? I'd assume not, but I'm happy to take them
> via KUnit if you'd prefer anyway.
> 

I already have it in my tree, so I guess I'd prefer it to stay, but it
also doesn't conflict at all, I added the lines before the existing
wireless ones.

johannes

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests
  2024-03-26 10:07 [PATCH] kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests David Gow
  2024-03-26 10:16 ` Johannes Berg
@ 2024-03-26 14:30 ` SeongJae Park
  2024-03-27 23:32 ` Rae Moar
  2 siblings, 0 replies; 4+ messages in thread
From: SeongJae Park @ 2024-03-26 14:30 UTC (permalink / raw
  To: David Gow
  Cc: SeongJae Park, Rae Moar, Mark Brown, Johannes Berg,
	linux-kselftest, kunit-dev, linux-kernel, Shuah Khan, damon

On Tue, 26 Mar 2024 18:07:38 +0800 David Gow <davidgow@google.com> wrote:

> This is required, as CONFIG_DAMON_DEBUGFS is enabled, and --alltests UML
> builds will fail due to the missing config option otherwise.
> 
> Fixes: f4cba4bf6777 ("mm/damon: rename CONFIG_DAMON_DBGFS to DAMON_DBGFS_DEPRECATED")
> Signed-off-by: David Gow <davidgow@google.com>
> ---
> 
> This is breaking all UML alltests builds, so we'd like to fix it sooner
> rather than later. SeongJae, would you rather take this yourself, or can
> we push it alongside any other KUnit fixes?

Both are ok for me, but I think you pushing it with other kunit fixes may make
things simpler.  Please let me know if you'd prefer me to take this, though.

Sorry for the breakage, and thank you for making this nice fix!


Thanks,
SJ

> 
> Johannes: Does this conflict with the CONFIG_NETDEVICES / CONFIG_WLAN
> fixes to all_tests.config? I'd assume not, but I'm happy to take them
> via KUnit if you'd prefer anyway.
> 
> Thanks,
> -- David
> 
> ---
>  tools/testing/kunit/configs/all_tests.config | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
> index aa5ec149f96c..f388742cf266 100644
> --- a/tools/testing/kunit/configs/all_tests.config
> +++ b/tools/testing/kunit/configs/all_tests.config
> @@ -38,6 +38,7 @@ CONFIG_DAMON_VADDR=y
>  CONFIG_DAMON_PADDR=y
>  CONFIG_DEBUG_FS=y
>  CONFIG_DAMON_DBGFS=y
> +CONFIG_DAMON_DBGFS_DEPRECATED=y
>  
>  CONFIG_REGMAP_BUILD=y
>  
> -- 
> 2.44.0.396.g6e790dbe36-goog

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests
  2024-03-26 10:07 [PATCH] kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests David Gow
  2024-03-26 10:16 ` Johannes Berg
  2024-03-26 14:30 ` SeongJae Park
@ 2024-03-27 23:32 ` Rae Moar
  2 siblings, 0 replies; 4+ messages in thread
From: Rae Moar @ 2024-03-27 23:32 UTC (permalink / raw
  To: David Gow
  Cc: SeongJae Park, Mark Brown, Johannes Berg, linux-kselftest,
	kunit-dev, linux-kernel, Shuah Khan

On Tue, Mar 26, 2024 at 6:07 AM David Gow <davidgow@google.com> wrote:
>
> This is required, as CONFIG_DAMON_DEBUGFS is enabled, and --alltests UML
> builds will fail due to the missing config option otherwise.
>
> Fixes: f4cba4bf6777 ("mm/damon: rename CONFIG_DAMON_DBGFS to DAMON_DBGFS_DEPRECATED")
> Signed-off-by: David Gow <davidgow@google.com>

Hello!

This looks good to me. And it takes away the issue with
CONFIG_DAMON_DBGFS. But since this is deprecated now, should we move
to the DAMON sysfs tests instead in the future? No need to let that
stall this patch though.

Reviewed-by: Rae Moar <rmoar@google.com>

Thanks!
-Rae

> ---
>
> This is breaking all UML alltests builds, so we'd like to fix it sooner
> rather than later. SeongJae, would you rather take this yourself, or can
> we push it alongside any other KUnit fixes?
>
> Johannes: Does this conflict with the CONFIG_NETDEVICES / CONFIG_WLAN
> fixes to all_tests.config? I'd assume not, but I'm happy to take them
> via KUnit if you'd prefer anyway.
>
> Thanks,
> -- David
>
> ---
>  tools/testing/kunit/configs/all_tests.config | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
> index aa5ec149f96c..f388742cf266 100644
> --- a/tools/testing/kunit/configs/all_tests.config
> +++ b/tools/testing/kunit/configs/all_tests.config
> @@ -38,6 +38,7 @@ CONFIG_DAMON_VADDR=y
>  CONFIG_DAMON_PADDR=y
>  CONFIG_DEBUG_FS=y
>  CONFIG_DAMON_DBGFS=y
> +CONFIG_DAMON_DBGFS_DEPRECATED=y
>
>  CONFIG_REGMAP_BUILD=y
>
> --
> 2.44.0.396.g6e790dbe36-goog
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-27 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 10:07 [PATCH] kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests David Gow
2024-03-26 10:16 ` Johannes Berg
2024-03-26 14:30 ` SeongJae Park
2024-03-27 23:32 ` Rae Moar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.