Skip to contentSkip to conversation

linux-next: manual merge of the kunit-next tree with the mm tree

DISCUSSION Stephen Rothwell 4 participants 6 messages Oct 9, 2024 – Oct 10, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the kunit-next tree got a conflict in:

lib/Kconfig.debug

between commit:

0f2016a962f0 ("lib/Kconfig.debug: move int_pow test option to runtime testing section")

from the mm-nonmm-unstable branch of the mm tree and commit:

f099bda563dd ("lib: math: Move kunit tests into tests/ subdir")

from the kunit-next tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 31 lines
Cheers,
Stephen Rothwell

diff --cc lib/Kconfig.debug
index 409dd193c09b,0d6c979f0bfd..000000000000
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@@ -2993,22 -2993,6 +2993,22 @@@ config TEST_OBJPOO
  
  	  If unsure, say N.
  
- config INT_POW_TEST
++config INT_POW_KUNIT_TEST
 +	tristate "Integer exponentiation (int_pow) test" if !KUNIT_ALL_TESTS
 +	depends on KUNIT
 +	default KUNIT_ALL_TESTS
 +	help
 +	  This option enables the KUnit test suite for the int_pow function,
 +	  which performs integer exponentiation. The test suite is designed to
 +	  verify that the implementation of int_pow correctly computes the power
 +	  of a given base raised to a given exponent.
 +
 +	  Enabling this option will include tests that check various scenarios
 +	  and edge cases to ensure the accuracy and reliability of the exponentiation
 +	  function.
 +
 +	  If unsure, say N
 +
  endif # RUNTIME_TESTING_MENU
  
  config ARCH_USE_MEMTEST
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the kunit-next tree got a conflict in:

lib/Kconfig.debug

between commit:

0f2016a962f0 ("lib/Kconfig.debug: move int_pow test option to runtime testing section")

from the mm-nonmm-unstable branch of the mm tree and commit:

f099bda563dd ("lib: math: Move kunit tests into tests/ subdir")

Quoted 9 lines

from the kunit-next tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Andrew,
Another one related to move from lib/ lib/tests/

If you would like to take these patches - it is perfectly fine with me. If not I can handle these.

Adding David as well for feedback on this

thanks,
-- Shuah

#2 lore raw
Quoted 25 lines · Shuah Khan
Quoted 14 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the kunit-next tree got a conflict in:

   lib/Kconfig.debug

between commit:

   0f2016a962f0 ("lib/Kconfig.debug: move int_pow test option to runtime testing section")

from the mm-nonmm-unstable branch of the mm tree and commit:

   f099bda563dd ("lib: math: Move kunit tests into tests/ subdir")

Quoted 9 lines

from the kunit-next tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging.  You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Quoted 5 lines

Andrew,
Another one related to move from lib/ lib/tests/

If you would like to take these patches - it is perfectly fine with me. If not I can handle these.

Andrew,

I dropped this one from linux-kselftest kunit branch. The link to this patch if it isn't in your Inbox:

https://lore.kernel.org/all/[email protected]/

Quoted 2 lines

Adding David as well for feedback on this

David, I think lib/ kunit patches can go through Andrew's tree. Renaming is causing merge conflicts.

thanks,
-- Shuah

#3 lore raw
Quoted 11 lines · On Wed, 9 Oct 2024 15:00:19 -0600 Shuah Khan <[email protected]> wrote:
Quoted 5 lines

Andrew,
Another one related to move from lib/ lib/tests/

If you would like to take these patches - it is perfectly fine with me. If not I can handle these.

Andrew,

I dropped this one from linux-kselftest kunit branch. The link to this patch if it isn't in your Inbox:

Quoted 7 lines

https://lore.kernel.org/all/[email protected]/

Quoted 2 lines

Adding David as well for feedback on this

David, I think lib/ kunit patches can go through Andrew's tree. Renaming is causing merge conflicts.

Cool. David, I think it's simplest to just resend everything please.

#4 lore raw
Quoted 16 lines · Andrew Morton
Quoted 13 lines · On Wed, 9 Oct 2024 15:00:19 -0600 Shuah Khan <[email protected]> wrote:
Quoted 5 lines

Andrew,
Another one related to move from lib/ lib/tests/

If you would like to take these patches - it is perfectly fine with me. If not I can handle these.

Andrew,

I dropped this one from linux-kselftest kunit branch. The link to this patch if it isn't in your Inbox:

https://lore.kernel.org/all/[email protected]/

Quoted 1 line
Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Adding David as well for feedback on this

David, I think lib/ kunit patches can go through Andrew's tree. Renaming is causing merge conflicts.

Cool. David, I think it's simplest to just resend everything please.

No worries: a few of these patches need some small fixes / rebases anyway, so I'll make sure those happen and send them all as one series.

Would you rather this be based on 6.12-rc1, or on the current mm-nonmm-unstable branch, which has a couple of test changes already?

-- David

#5 lore raw
Quoted 23 lines · On Thu, 10 Oct 2024 17:32:33 +0800 David Gow <[email protected]> wrote:
Quoted 22 lines · Andrew Morton
Quoted 18 lines · On Wed, 9 Oct 2024 15:00:19 -0600 Shuah Khan <[email protected]> wrote:
Quoted 5 lines

Andrew,
Another one related to move from lib/ lib/tests/

If you would like to take these patches - it is perfectly fine with me. If not I can handle these.

Andrew,

I dropped this one from linux-kselftest kunit branch. The link to this patch if it isn't in your Inbox:

https://lore.kernel.org/all/[email protected]/

Quoted 2 lines

Adding David as well for feedback on this

David, I think lib/ kunit patches can go through Andrew's tree. Renaming is causing merge conflicts.

Quoted 8 lines
Quoted 1 line

Cool. David, I think it's simplest to just resend everything please.

No worries: a few of these patches need some small fixes / rebases anyway, so I'll make sure those happen and send them all as one series.

Would you rather this be based on 6.12-rc1, or on the current mm-nonmm-unstable branch, which has a couple of test changes already?

The latter would be convenient, thanks.