linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Mike Rapoport <rppt@kernel.org>
Cc: James Gowans <jgowans@amazon.com>,
	Jan Beulich <jbeulich@suse.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: manual merge of the memblock tree with the origin tree
Date: Thu, 20 Jun 2024 16:54:39 +0100	[thread overview]
Message-ID: <ZnRQv-EVf2LQ1Cjv@sirena.org.uk> (raw)

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

Hi all,

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

  mm/memblock.c

between commit:

  e0eec24e2e199 ("memblock: make memblock_set_node() also warn about use of MAX_NUMNODES")

from the origin tree and commit:

  94ff46de4a738 ("memblock: Move late alloc warning down to phys alloc")

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

diff --cc mm/memblock.c
index e81fb68f7f888,692dc551c0fde..0000000000000
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@@ -1441,6 -1446,20 +1439,9 @@@ phys_addr_t __init memblock_alloc_range
  	enum memblock_flags flags = choose_memblock_flags();
  	phys_addr_t found;
  
+ 	if (WARN_ONCE(nid == MAX_NUMNODES, "Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead\n"))
+ 		nid = NUMA_NO_NODE;
+ 
 -	/*
 -	 * Detect any accidental use of these APIs after slab is ready, as at
 -	 * this moment memblock may be deinitialized already and its
 -	 * internal data may be destroyed (after execution of memblock_free_all)
 -	 */
 -	if (WARN_ON_ONCE(slab_is_available())) {
 -		void *vaddr = kzalloc_node(size, GFP_NOWAIT, nid);
 -
 -		return vaddr ? virt_to_phys(vaddr) : 0;
 -	}
 -
  	if (!align) {
  		/* Can't use WARNs this early in boot on powerpc */
  		dump_stack();

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

             reply	other threads:[~2024-06-20 15:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20 15:54 Mark Brown [this message]
2024-06-20 16:07 ` linux-next: manual merge of the memblock tree with the origin tree Gowans, James
2024-06-20 16:13   ` Mark Brown
2024-06-20 17:59     ` Gowans, James
2024-06-20 18:00       ` Mark Brown
2024-06-21 20:08         ` Gowans, James
2024-06-21 20:30           ` Mark Brown
2024-06-24  5:53             ` Mike Rapoport

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZnRQv-EVf2LQ1Cjv@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=jbeulich@suse.com \
    --cc=jgowans@amazon.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=rppt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).