Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Jan 1, 2024 – Jan 2, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/accel/qaic/qaic_data.c

between commit:

78f5d33f3dd4 ("mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER")

from the mm tree and commit:

47fbee5f27ed ("accel/qaic: Update MAX_ORDER use to be inclusive")

from the drm 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 · 17 lines
Cheers,
Stephen Rothwell

diff --cc drivers/accel/qaic/qaic_data.c
index 24e886f857d5,cf2898eda7ae..000000000000
--- a/drivers/accel/qaic/qaic_data.c
+++ b/drivers/accel/qaic/qaic_data.c
@@@ -451,7 -452,7 +452,7 @@@ static int create_sgt(struct qaic_devic
  		 * later
  		 */
  		buf_extra = (PAGE_SIZE - size % PAGE_SIZE) % PAGE_SIZE;
- 		max_order = min(MAX_PAGE_ORDER - 1, get_order(size));
 -		max_order = min(MAX_ORDER, get_order(size));
++		max_order = min(MAX_PAGE_ORDER, get_order(size));
  	} else {
  		/* allocate a single page for book keeping */
  		nr_pages = 1;
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi all,

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

drivers/accel/qaic/qaic_data.c

between commit:

78f5d33f3dd4 ("mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER")

from the mm tree and commit:

47fbee5f27ed ("accel/qaic: Update MAX_ORDER use to be inclusive")

Quoted 9 lines

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

Thanks Stephen. Your fixup is correct.

-Jeff