Skip to contentSkip to conversation

linux-next: manual merge of the char-misc tree with the mfd tree

DISCUSSION Stephen Rothwell 4 participants 14 messages Feb 28, 2022 – Mar 2, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/mfd/simple-mfd-i2c.c

between commit:

5913eb45d036 ("mfd: simple-mfd-i2c: Enable support for the silergy,sy7636a")

from the mfd tree and commit:

d0cac2434c8e ("mfd: simple-mfd-i2c: Add Delta TN48M CPLD support")

from the char-misc 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 · 28 lines
Cheers,
Stephen Rothwell

diff --cc drivers/mfd/simple-mfd-i2c.c
index f4c8fc3ee463,0d6a51ed6286..000000000000
--- a/drivers/mfd/simple-mfd-i2c.c
+++ b/drivers/mfd/simple-mfd-i2c.c
@@@ -62,19 -62,9 +62,20 @@@ static int simple_mfd_i2c_probe(struct 
  	return ret;
  }
  
 +static const struct mfd_cell sy7636a_cells[] = {
 +	{ .name = "sy7636a-regulator", },
 +	{ .name = "sy7636a-temperature", },
 +};
 +
 +static const struct simple_mfd_data silergy_sy7636a = {
 +	.mfd_cell = sy7636a_cells,
 +	.mfd_cell_size = ARRAY_SIZE(sy7636a_cells),
 +};
 +
  static const struct of_device_id simple_mfd_i2c_of_match[] = {
  	{ .compatible = "kontron,sl28cpld" },
 +	{ .compatible = "silergy,sy7636a", .data = &silergy_sy7636a},
+ 	{ .compatible = "delta,tn48m-cpld" },
  	{}
  };
  MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);
#1 lore raw
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

I'll follow-up with Greg.

Quoted 19 lines

drivers/mfd/simple-mfd-i2c.c

between commit:

5913eb45d036 ("mfd: simple-mfd-i2c: Enable support for the silergy,sy7636a")

from the mfd tree and commit:

d0cac2434c8e ("mfd: simple-mfd-i2c: Add Delta TN48M CPLD support")

from the char-misc 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 · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
#2 lore raw
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

thanks,

greg k-h

#3 lore raw
Quoted 7 lines · Greg KH
Quoted 6 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

Quoted 8 lines
Quoted 1 line

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

I did try to catch it before a revert would have been required.

But yes, please revert it.

The Ack is not standard and should not be merged.

Signature · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
#4 lore raw
Quoted 11 lines · Lee Jones
Quoted 9 lines · Greg KH
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Quoted 8 lines
Quoted 6 lines

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

I did try to catch it before a revert would have been required.

My fault.

Quoted 1 line

But yes, please revert it.

Will go do so now.

Quoted 1 line

The Ack is not standard and should not be merged.

I do not understand this, what went wrong here?

thanks,

greg k-h

#5 lore raw
Quoted 19 lines · Greg KH
Quoted 18 lines · Lee Jones
Quoted 15 lines · Greg KH
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

Quoted 7 lines
Quoted 1 line

I did try to catch it before a revert would have been required.

My fault.

Quoted 1 line

But yes, please revert it.

Will go do so now.

Thank you.

Quoted 3 lines
Quoted 1 line

The Ack is not standard and should not be merged.

I do not understand this, what went wrong here?

The "Ack" you saw was just a placeholder.

When I provided it, I would have done so like this:

"For my own reference (apply this as-is to your sign-off block):

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

The majority of maintainers I regularly work with know this to mean that the set is due to be routed via MFD (with a subsequent pull-request to an immutable branch to follow), since MFD is often the centre piece (parent) of the patch-sets I deal with.

I appreciate that this could cause confusion, but I'm not sure of a better way to convey this information such that it survives through various submission iterations.

Signature · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
#6 lore raw
Quoted 45 lines · Lee Jones
Quoted 19 lines · Greg KH
Quoted 18 lines · Lee Jones
Quoted 15 lines · Greg KH
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

Quoted 7 lines
Quoted 1 line

I did try to catch it before a revert would have been required.

My fault.

Quoted 1 line

But yes, please revert it.

Will go do so now.

Thank you.

Quoted 3 lines
Quoted 1 line

The Ack is not standard and should not be merged.

I do not understand this, what went wrong here?

The "Ack" you saw was just a placeholder.

When I provided it, I would have done so like this:

"For my own reference (apply this as-is to your sign-off block):

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

Quoted 8 lines

The majority of maintainers I regularly work with know this to mean that the set is due to be routed via MFD (with a subsequent pull-request to an immutable branch to follow), since MFD is often the centre piece (parent) of the patch-sets I deal with.

I appreciate that this could cause confusion, but I'm not sure of a better way to convey this information such that it survives through various submission iterations.

But what else is another maintainer supposed to think if they see that ack on the patch? Ignore it? I took that to mean "this is good from a mfd-point-of-view" which meant it can go through whatever tree it is supposed to.

Are you wanting this individual patch to go through your tree now only? If so, you should say that by NOT acking it :)

How do you want to see this merged?

thanks,

greg k-h

#7 lore raw
Quoted 55 lines · Greg KH
Quoted 45 lines · Lee Jones
Quoted 19 lines · Greg KH
Quoted 18 lines · Lee Jones
Quoted 15 lines · Greg KH
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

Quoted 7 lines
Quoted 1 line

I did try to catch it before a revert would have been required.

My fault.

Quoted 1 line

But yes, please revert it.

Will go do so now.

Thank you.

Quoted 3 lines
Quoted 1 line

The Ack is not standard and should not be merged.

I do not understand this, what went wrong here?

The "Ack" you saw was just a placeholder.

When I provided it, I would have done so like this:

"For my own reference (apply this as-is to your sign-off block):

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

Quoted 8 lines

The majority of maintainers I regularly work with know this to mean that the set is due to be routed via MFD (with a subsequent pull-request to an immutable branch to follow), since MFD is often the centre piece (parent) of the patch-sets I deal with.

I appreciate that this could cause confusion, but I'm not sure of a better way to convey this information such that it survives through various submission iterations.

Quoted 7 lines

But what else is another maintainer supposed to think if they see that ack on the patch? Ignore it? I took that to mean "this is good from a mfd-point-of-view" which meant it can go through whatever tree it is supposed to.

Are you wanting this individual patch to go through your tree now only? If so, you should say that by NOT acking it :)

It's not quite as easy as that.

It wouldn't be fair to the contributor to start reviews once all the other patches in the set are ready to be merged. So how would I indicate that the MFD part is ready, fully expecting some of the other patches in the set to be reworked and subsequent revisions are to be submitted?

This method actually works really well the majority of the time, and has done for a number of years. However, I am always willing to improve on my processes given the opportunity.

Quoted 1 line

How do you want to see this merged?

The plan is for the whole set to be merged together via MFD.

All of the other maintainers have now Acked, so it's ready to go:

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

Looking at the diff, I'm not entirely sure why you took it in the first place?

Signature · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
#8 lore raw
Quoted 65 lines · Lee Jones
Quoted 55 lines · Greg KH
Quoted 45 lines · Lee Jones
Quoted 19 lines · Greg KH
Quoted 18 lines · Lee Jones
Quoted 15 lines · Greg KH
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

Quoted 7 lines
Quoted 1 line

I did try to catch it before a revert would have been required.

My fault.

Quoted 1 line

But yes, please revert it.

Will go do so now.

Thank you.

Quoted 3 lines
Quoted 1 line

The Ack is not standard and should not be merged.

I do not understand this, what went wrong here?

The "Ack" you saw was just a placeholder.

When I provided it, I would have done so like this:

"For my own reference (apply this as-is to your sign-off block):

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

Quoted 8 lines

The majority of maintainers I regularly work with know this to mean that the set is due to be routed via MFD (with a subsequent pull-request to an immutable branch to follow), since MFD is often the centre piece (parent) of the patch-sets I deal with.

I appreciate that this could cause confusion, but I'm not sure of a better way to convey this information such that it survives through various submission iterations.

Quoted 7 lines

But what else is another maintainer supposed to think if they see that ack on the patch? Ignore it? I took that to mean "this is good from a mfd-point-of-view" which meant it can go through whatever tree it is supposed to.

Are you wanting this individual patch to go through your tree now only? If so, you should say that by NOT acking it :)

Quoted 7 lines

It's not quite as easy as that.

It wouldn't be fair to the contributor to start reviews once all the other patches in the set are ready to be merged. So how would I indicate that the MFD part is ready, fully expecting some of the other patches in the set to be reworked and subsequent revisions are to be submitted?

But from an "outside" observer, this patch series seemed to have acks from all maintainers, yet no one was taking it. Which is why I picked it up (someone asked me to.) Having the subsystem maintainer ack it implied to me that there was no problem. Odd that you later on had one :)

Quoted 10 lines
Quoted 1 line

How do you want to see this merged?

The plan is for the whole set to be merged together via MFD.

All of the other maintainers have now Acked, so it's ready to go:

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

Looking at the diff, I'm not entirely sure why you took it in the first place?

As I mentioned above, someone else asked me to as it was sitting around for quite a while with no movement.

thanks,

greg k-h

#12 lore raw
In reply to Lee Jones
Quoted 78 lines · Lee Jones
Quoted 55 lines · Greg KH
Quoted 45 lines · Lee Jones
Quoted 19 lines · Greg KH
Quoted 18 lines · Lee Jones
Quoted 15 lines · Greg KH
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

Quoted 7 lines
Quoted 1 line

I did try to catch it before a revert would have been required.

My fault.

Quoted 1 line

But yes, please revert it.

Will go do so now.

Thank you.

Quoted 3 lines
Quoted 1 line

The Ack is not standard and should not be merged.

I do not understand this, what went wrong here?

The "Ack" you saw was just a placeholder.

When I provided it, I would have done so like this:

"For my own reference (apply this as-is to your sign-off block):

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

Quoted 8 lines

The majority of maintainers I regularly work with know this to mean that the set is due to be routed via MFD (with a subsequent pull-request to an immutable branch to follow), since MFD is often the centre piece (parent) of the patch-sets I deal with.

I appreciate that this could cause confusion, but I'm not sure of a better way to convey this information such that it survives through various submission iterations.

Quoted 7 lines

But what else is another maintainer supposed to think if they see that ack on the patch? Ignore it? I took that to mean "this is good from a mfd-point-of-view" which meant it can go through whatever tree it is supposed to.

Are you wanting this individual patch to go through your tree now only? If so, you should say that by NOT acking it :)

It's not quite as easy as that.

It wouldn't be fair to the contributor to start reviews once all the other patches in the set are ready to be merged. So how would I indicate that the MFD part is ready, fully expecting some of the other patches in the set to be reworked and subsequent revisions are to be submitted?

This method actually works really well the majority of the time, and has done for a number of years. However, I am always willing to improve on my processes given the opportunity.

Quoted 7 lines
Quoted 1 line

How do you want to see this merged?

The plan is for the whole set to be merged together via MFD.

All of the other maintainers have now Acked, so it's ready to go:

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

Hi Lee, as far as I understand you will now take this series up via your MFD tree?

Regards,
Robert

Quoted 9 lines

Looking at the diff, I'm not entirely sure why you took it in the first place?

--
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services

Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Signature · 7 lines
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: [email protected]
Web: www.sartura.hr
#9 lore raw
In reply to Greg KH
Quoted 74 lines · Greg KH
Quoted 65 lines · Lee Jones
Quoted 55 lines · Greg KH
Quoted 45 lines · Lee Jones
Quoted 19 lines · Greg KH
Quoted 18 lines · Lee Jones
Quoted 15 lines · Greg KH
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

Quoted 7 lines
Quoted 1 line

I did try to catch it before a revert would have been required.

My fault.

Quoted 1 line

But yes, please revert it.

Will go do so now.

Thank you.

Quoted 3 lines
Quoted 1 line

The Ack is not standard and should not be merged.

I do not understand this, what went wrong here?

The "Ack" you saw was just a placeholder.

When I provided it, I would have done so like this:

"For my own reference (apply this as-is to your sign-off block):

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

Quoted 8 lines

The majority of maintainers I regularly work with know this to mean that the set is due to be routed via MFD (with a subsequent pull-request to an immutable branch to follow), since MFD is often the centre piece (parent) of the patch-sets I deal with.

I appreciate that this could cause confusion, but I'm not sure of a better way to convey this information such that it survives through various submission iterations.

Quoted 7 lines

But what else is another maintainer supposed to think if they see that ack on the patch? Ignore it? I took that to mean "this is good from a mfd-point-of-view" which meant it can go through whatever tree it is supposed to.

Are you wanting this individual patch to go through your tree now only? If so, you should say that by NOT acking it :)

Quoted 7 lines

It's not quite as easy as that.

It wouldn't be fair to the contributor to start reviews once all the other patches in the set are ready to be merged. So how would I indicate that the MFD part is ready, fully expecting some of the other patches in the set to be reworked and subsequent revisions are to be submitted?

Quoted 4 lines

But from an "outside" observer, this patch series seemed to have acks from all maintainers, yet no one was taking it. Which is why I picked it up (someone asked me to.) Having the subsystem maintainer ack it implied to me that there was no problem. Odd that you later on had one :)

I understand the problem and I'm not blaming you for your assumptions.

Can you recommend a better solution though?

To be fair this very seldom causes issues.

And now you know, you know. :)

Quoted 6 lines
Quoted 6 lines
Quoted 1 line

How do you want to see this merged?

The plan is for the whole set to be merged together via MFD.

All of the other maintainers have now Acked, so it's ready to go:

Quoted 7 lines
Quoted 4 lines

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

Looking at the diff, I'm not entirely sure why you took it in the first place?

As I mentioned above, someone else asked me to as it was sitting around for quite a while with no movement.

Probably better for them to reply to the 0th patch in the first instance.

Signature · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
#13 lore raw
In reply to Robert Marko
Quoted 81 lines · Robert Marko
Quoted 80 lines · Lee Jones
Quoted 55 lines · Greg KH
Quoted 45 lines · Lee Jones
Quoted 19 lines · Greg KH
Quoted 18 lines · Lee Jones
Quoted 15 lines · Greg KH
Quoted 7 lines · Lee Jones
Quoted 3 lines · Stephen Rothwell

Hi all,

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

I did ask for this *not* to be merged when it was in -testing.

Sorry, I missed that, I saw your ack on the patch so that's why I took it.

Quoted 1 line

I'll follow-up with Greg.

Should I revert this from my tree?

Quoted 7 lines
Quoted 1 line

I did try to catch it before a revert would have been required.

My fault.

Quoted 1 line

But yes, please revert it.

Will go do so now.

Thank you.

Quoted 3 lines
Quoted 1 line

The Ack is not standard and should not be merged.

I do not understand this, what went wrong here?

The "Ack" you saw was just a placeholder.

When I provided it, I would have done so like this:

"For my own reference (apply this as-is to your sign-off block):

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

Quoted 8 lines

The majority of maintainers I regularly work with know this to mean that the set is due to be routed via MFD (with a subsequent pull-request to an immutable branch to follow), since MFD is often the centre piece (parent) of the patch-sets I deal with.

I appreciate that this could cause confusion, but I'm not sure of a better way to convey this information such that it survives through various submission iterations.

Quoted 7 lines

But what else is another maintainer supposed to think if they see that ack on the patch? Ignore it? I took that to mean "this is good from a mfd-point-of-view" which meant it can go through whatever tree it is supposed to.

Are you wanting this individual patch to go through your tree now only? If so, you should say that by NOT acking it :)

It's not quite as easy as that.

It wouldn't be fair to the contributor to start reviews once all the other patches in the set are ready to be merged. So how would I indicate that the MFD part is ready, fully expecting some of the other patches in the set to be reworked and subsequent revisions are to be submitted?

This method actually works really well the majority of the time, and has done for a number of years. However, I am always willing to improve on my processes given the opportunity.

Quoted 1 line

How do you want to see this merged?

Quoted 8 lines
Quoted 5 lines

The plan is for the whole set to be merged together via MFD.

All of the other maintainers have now Acked, so it's ready to go:

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

Hi Lee, as far as I understand you will now take this series up via your MFD tree?

Yes, that's correct.

Signature · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
#10 lore raw
In reply to Greg KH
Quoted 6 lines · Greg KH
Quoted 6 lines
Quoted 1 line

How do you want to see this merged?

The plan is for the whole set to be merged together via MFD.

All of the other maintainers have now Acked, so it's ready to go:

Quoted 7 lines
Quoted 4 lines

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

Looking at the diff, I'm not entirely sure why you took it in the first place?

As I mentioned above, someone else asked me to as it was sitting around for quite a while with no movement.

Okay, just went to investigate.

The set hasn't been merged because it is missing a DT Ack from Rob.

Signature · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
#11 lore raw
Quoted 13 lines · Lee Jones
Quoted 11 lines · Greg KH
Quoted 10 lines
Quoted 1 line

How do you want to see this merged?

The plan is for the whole set to be merged together via MFD.

All of the other maintainers have now Acked, so it's ready to go:

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

Looking at the diff, I'm not entirely sure why you took it in the first place?

Quoted 6 lines
Quoted 2 lines

As I mentioned above, someone else asked me to as it was sitting around for quite a while with no movement.

Okay, just went to investigate.

The set hasn't been merged because it is missing a DT Ack from Rob.

Does anybody know if Rob is active?
He has not replied to any of the patch revisions in many months. I have tried pinging/bumping on the patches but it did not help.

Regards,
Robert

Quoted 6 lines

--
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services

Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Signature · 7 lines
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: [email protected]
Web: www.sartura.hr