linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the block tree with the pci tree
@ 2017-06-21  2:58 Stephen Rothwell
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Rothwell @ 2017-06-21  2:58 UTC (permalink / raw)
  To: Jens Axboe, Bjorn Helgaas
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Christoph Hellwig

Hi all,

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

  drivers/nvme/host/pci.c

between commit:

  c336cc0ee4eb ("PCI: Split ->reset_notify() method into ->reset_prepare() and ->reset_done()")

from the pci tree and commit:

  d86c4d8ef31b ("nvme: move reset workqueue handling to common code")

from the block 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.

-- 
Cheers,
Stephen Rothwell

diff --cc drivers/nvme/host/pci.c
index 06f014d1a99a,0f09a2d5cf7a..000000000000
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@@ -2150,14 -2281,14 +2281,15 @@@ static int nvme_probe(struct pci_dev *p
  	return result;
  }
  
 -static void nvme_reset_notify(struct pci_dev *pdev, bool prepare)
 +static void nvme_reset_prepare(struct pci_dev *pdev)
  {
 -	struct nvme_dev *dev = pci_get_drvdata(pdev);
 +	nvme_dev_disable(pci_get_drvdata(pdev), false);
 +}
  
 -	if (prepare)
 -		nvme_dev_disable(dev, false);
 -	else
 -		nvme_reset_ctrl(&dev->ctrl);
 +static void nvme_reset_done(struct pci_dev *pdev)
 +{
- 	nvme_reset(pci_get_drvdata(pdev));
++	struct nvme_dev *dev = pci_get_drvdata(pdev);
++	nvme_reset_ctrl(&dev->ctrl);
  }
  
  static void nvme_shutdown(struct pci_dev *pdev)

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

* linux-next: manual merge of the block tree with the pci tree
@ 2018-10-16  0:33 Stephen Rothwell
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Rothwell @ 2018-10-16  0:33 UTC (permalink / raw)
  To: Jens Axboe, Bjorn Helgaas
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Logan Gunthorpe, Bart Van Assche

[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]

Hi Jens,

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

  include/linux/blkdev.h

between commit:

  113ff970ccda ("block: Add PCI P2P flag for request queue")

from the pci tree and commit:

  cd84a62e0078 ("block, scsi: Change the preempt-only flag into a counter")

from the block 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.

-- 
Cheers,
Stephen Rothwell

diff --cc include/linux/blkdev.h
index c32f7171899b,61207560e826..000000000000
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@@ -698,8 -704,6 +704,7 @@@ struct request_queue 
  #define QUEUE_FLAG_REGISTERED  26	/* queue has been registered to a disk */
  #define QUEUE_FLAG_SCSI_PASSTHROUGH 27	/* queue supports SCSI commands */
  #define QUEUE_FLAG_QUIESCED    28	/* queue has been quiesced */
- #define QUEUE_FLAG_PREEMPT_ONLY	29	/* only process REQ_PREEMPT requests */
 +#define QUEUE_FLAG_PCI_P2PDMA  30	/* device supports PCI p2p requests */
  
  #define QUEUE_FLAG_DEFAULT	((1 << QUEUE_FLAG_IO_STAT) |		\
  				 (1 << QUEUE_FLAG_SAME_COMP)	|	\

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: manual merge of the block tree with the pci tree
@ 2024-11-07  5:24 Stephen Rothwell
  2024-11-07  8:13 ` Philipp Stanner
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2024-11-07  5:24 UTC (permalink / raw)
  To: Jens Axboe, Bjorn Helgaas
  Cc: Linux Kernel Mailing List, Linux Next Mailing List,
	Philipp Stanner

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

Hi all,

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

  drivers/block/mtip32xx/mtip32xx.c

between commit:

  5080394a8fcb ("block: mtip32xx: Replace deprecated PCI functions")

from the pci tree and commit:

  91ff97a72259 ("mtip32xx: Replace deprecated PCI functions")

from the block tree.

I fixed it up (I arbitraryly used the former version) 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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: manual merge of the block tree with the pci tree
  2024-11-07  5:24 Stephen Rothwell
@ 2024-11-07  8:13 ` Philipp Stanner
  2024-11-07 12:49   ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Philipp Stanner @ 2024-11-07  8:13 UTC (permalink / raw)
  To: Stephen Rothwell, Jens Axboe, Bjorn Helgaas
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

On Thu, 2024-11-07 at 16:24 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next merge of the block tree got a conflict in:
> 
>   drivers/block/mtip32xx/mtip32xx.c
> 
> between commit:
> 
>   5080394a8fcb ("block: mtip32xx: Replace deprecated PCI functions")
> 
> from the pci tree and commit:
> 
>   91ff97a72259 ("mtip32xx: Replace deprecated PCI functions")
> 
> from the block tree.

Ooops, that should not have happened – I must have lost overview over
my branches when submitting the latter.

I will improve quality ensurence.

> 
> I fixed it up (I arbitraryly used the former version) and can carry
> the
> fix as necessary. This is now fixed as far as linux-next is
> concerned,

Thanks. I think dropping the latter is the right thing to do.

Regards,
Philipp

> 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.
> 


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

* Re: linux-next: manual merge of the block tree with the pci tree
  2024-11-07  8:13 ` Philipp Stanner
@ 2024-11-07 12:49   ` Jens Axboe
  2024-11-07 13:11     ` Bjorn Helgaas
  0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2024-11-07 12:49 UTC (permalink / raw)
  To: Philipp Stanner, Stephen Rothwell, Bjorn Helgaas
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

On 11/7/24 1:13 AM, Philipp Stanner wrote:
> On Thu, 2024-11-07 at 16:24 +1100, Stephen Rothwell wrote:
>> Hi all,
>>
>> Today's linux-next merge of the block tree got a conflict in:
>>
>>   drivers/block/mtip32xx/mtip32xx.c
>>
>> between commit:
>>
>>   5080394a8fcb ("block: mtip32xx: Replace deprecated PCI functions")
>>
>> from the pci tree and commit:
>>
>>   91ff97a72259 ("mtip32xx: Replace deprecated PCI functions")
>>
>> from the block tree.
> 
> Ooops, that should not have happened – I must have lost overview over
> my branches when submitting the latter.

Ehm that's not good. I can't drop it from the block tree, I have
merges sitting on top of it. Can it be dropped from the PCI tree?


-- 
Jens Axboe


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

* Re: linux-next: manual merge of the block tree with the pci tree
  2024-11-07 12:49   ` Jens Axboe
@ 2024-11-07 13:11     ` Bjorn Helgaas
  0 siblings, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2024-11-07 13:11 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Philipp Stanner, Stephen Rothwell, Bjorn Helgaas,
	Linux Kernel Mailing List, Linux Next Mailing List

On Thu, Nov 07, 2024 at 05:49:18AM -0700, Jens Axboe wrote:
> On 11/7/24 1:13 AM, Philipp Stanner wrote:
> > On Thu, 2024-11-07 at 16:24 +1100, Stephen Rothwell wrote:
> >> Hi all,
> >>
> >> Today's linux-next merge of the block tree got a conflict in:
> >>
> >>   drivers/block/mtip32xx/mtip32xx.c
> >>
> >> between commit:
> >>
> >>   5080394a8fcb ("block: mtip32xx: Replace deprecated PCI functions")
> >>
> >> from the pci tree and commit:
> >>
> >>   91ff97a72259 ("mtip32xx: Replace deprecated PCI functions")
> >>
> >> from the block tree.
> > 
> > Ooops, that should not have happened – I must have lost overview over
> > my branches when submitting the latter.
> 
> Ehm that's not good. I can't drop it from the block tree, I have
> merges sitting on top of it. Can it be dropped from the PCI tree?

Sure.  5080394a8fcb dropped from the PCI tree.

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

end of thread, other threads:[~2024-11-07 13:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-21  2:58 linux-next: manual merge of the block tree with the pci tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2018-10-16  0:33 Stephen Rothwell
2024-11-07  5:24 Stephen Rothwell
2024-11-07  8:13 ` Philipp Stanner
2024-11-07 12:49   ` Jens Axboe
2024-11-07 13:11     ` Bjorn Helgaas

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).