All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Magnus Lindholm <linmag7@gmail.com>
Cc: sparclinux@vger.kernel.org, davem@davemloft.net,
	andreas@gaisler.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/5] sparc32: replace sp_banks with memblock
Date: Sat, 29 Aug 2026 08:29:33 +0200	[thread overview]
Message-ID: <20260829062933.GB44338@ravnborg.org> (raw)
In-Reply-To: <20260827182757.6856-1-linmag7@gmail.com>

Hi Magnus.

On Thu, Aug 27, 2026 at 08:24:12PM +0200, Magnus Lindholm wrote:
> Replace the sparc32-private sp_banks memory description with memblock.
> 
> The first two patches convert the SRMMU consumers that already run after
> bootmem_init() has populated memblock. The third patch moves memblock
> population to prom_meminit() and applies the mem= limit there, keeping that
> intermediate state correct. The fourth patch moves the early memory setup
> into setup_32.c and the final patch removes the now-unused sp_banks array.
> 
> This work is based on an earlier eight-patch series by Sam Ravnborg.
> Patch 2 directly carries over Sam's memblock sizing conversion. The series
> has otherwise been substantially reorganized and reworked for the current
> kernel. Compared with Sam's series, this version is ported to the current
> generic MM setup, keeps the sparc32 mem= command-line option by using
> memblock_enforce_memory_limit(), and uses memblock's exclusive range-end
> semantics throughout.
Thanks for picking this up!
Patches 1,2,3,5 are:
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>

I left some comments in patch 4.

	Sam

  parent reply	other threads:[~2026-08-29  6:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-27 18:24 [PATCH 0/5] sparc32: replace sp_banks with memblock Magnus Lindholm
2026-08-27 18:24 ` [PATCH 1/5] sparc32: use memblock when mapping the kernel Magnus Lindholm
2026-08-27 18:24 ` [PATCH 2/5] sparc32: use memblock to find available system memory Magnus Lindholm
2026-08-27 18:24 ` [PATCH 3/5] sparc32: populate memblock from the PROM memory map Magnus Lindholm
2026-08-27 18:24 ` [PATCH 4/5] sparc32: move early memory setup to setup_arch Magnus Lindholm
2026-08-29  6:26   ` Sam Ravnborg
2026-08-29  8:21     ` Magnus Lindholm
2026-08-27 18:24 ` [PATCH 5/5] sparc32: drop sp_banks Magnus Lindholm
2026-08-29  6:29 ` Sam Ravnborg [this message]
2026-08-29  8:54   ` [PATCH 0/5] sparc32: replace sp_banks with memblock Magnus Lindholm

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=20260829062933.GB44338@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=andreas@gaisler.com \
    --cc=davem@davemloft.net \
    --cc=linmag7@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sparclinux@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.