From patchwork Wed Jul 17 08:23:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13735211 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8610C3DA4B for ; Wed, 17 Jul 2024 08:24:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0AD236B0088; Wed, 17 Jul 2024 04:24:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 05DEA6B0092; Wed, 17 Jul 2024 04:24:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E67B66B0096; Wed, 17 Jul 2024 04:24:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id C73F96B0088 for ; Wed, 17 Jul 2024 04:24:03 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 20A97120968 for ; Wed, 17 Jul 2024 08:24:03 +0000 (UTC) X-FDA: 82348556766.02.B700B22 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf06.hostedemail.com (Postfix) with ESMTP id 7D6CE180008 for ; Wed, 17 Jul 2024 08:24:01 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=a+1tQJDc; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf06.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721204612; a=rsa-sha256; cv=none; b=S/XlctYua2/J5lTA5/iNcXFqKWp8Tz7zq8VaqjT0kFSZyapT7ZGqjPhZS3sfIO+9a07+M6 qDpOWgFLheMBlDif6Ik4KH/hjVhzNZ1MnTWQTAv20myeJVHbe+pj2qootBjFXoSoEs+hx/ rjXxcgbveaxezUFBF2UgY2D4rXUdKrY= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=a+1tQJDc; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf06.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721204612; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=/KBsl0iTQtSRFGex9ZBKzQMcA4IcV5VytOHnAej83BM=; b=zPuiQ+mDuWR8NIgXyfI+v4EgKRmvrOH4zTgt6GEY6rVdd6Dqn2Vfs288SL0ksBCGlfVCYu x/NqhhM0jV3dTp1hPu47JHj8uAxmmRirid8quDmj6AxZg20Vrk/dICR3DxbSPWSmeqmVw8 1crtc9DDLhcmQ+Dh2MBa3XwuBPSpkr8= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 710ED61451; Wed, 17 Jul 2024 08:24:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09A97C32782; Wed, 17 Jul 2024 08:23:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721204640; bh=J93PJ80lwzNfVygKXW1Fko1sjw8RHKIQw4PZi1v3lsk=; h=Date:From:To:Cc:Subject:From; b=a+1tQJDcq2AgOiaUBC0X9CSC33nitb4TQYxwYnBQvOhBDRwG723kgOT/jiPfUg0kr 4gmDDJ6xxUo1E1JRH1HuwuIDxzAxW4nrYYYHOGzMpc0uSz3L3W/bCnqW4wo4x54MdX q0KfA+PGLHe9304WIncpl9eYGqK3J4BW5OXcQM1PUp8XStxsYfBMs44yFD52aonM2g Y6l2U7ha+SUNU5RqChpTzjJfUiEXZKtHzVZxce5Wk7SYk3oAFGS+R8WPM2AreTZUkM sinXdEmTnbB1pSGGYJkeLn/qfsiE6k02fXNhAxAqg+Ir0XZnoXhlL3SupqFrBdTqr5 iEay0Z553sNsA== Date: Wed, 17 Jul 2024 11:23:50 +0300 From: Mike Rapoport To: Linus Torvalds Cc: Andrew Morton , James Gowans , Mike Rapoport , Steven Rostedt , Wei Yang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] memblock: updates for 6.11-rc1 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Queue-Id: 7D6CE180008 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 4jojyajhomktanbh531ohqti36mno9ss X-HE-Tag: 1721204641-469234 X-HE-Meta: U2FsdGVkX1+62aKx2oZCyK2Z2tw4DvUVVmyxBT0BunzU+6CBeLji8XiKzG+4Z4UaFEoKDufK+l9w4deDg9dtSyx1xjiWWcla5IERXmS2rF/2xVzCf/k6OLRVeBiqeAbsEuwty4WKdwA8u+JaPhqY7gehi3mAfYOoy5AXr7bmUKyVcoNyFFPBmsmoe9X1KmOwWCa+NC6sB/e4ivMSF9eFxrC1l6vnSvFqbji+YxwRU8B6SfTMBZHrh9AcAMFxycvZ4VQyByFB/IKfgk7TlwUfAAu7rypQuir8mm+n+bHMJEyDkh/XYqBGgslkOsawHnQ3yuD4yifWM/RSL3EtbjZnhVn8hMHtjka4uy0qqjGxFyKHgADvPhgqCiA7F/UCSsV5ORgepOXtdH5ebPoa++xGWT05FLNpQpAP6vYepyeEFmD9eCuXj0m8DxX8gGISDTxrPplsHsAgrBfBLOYlWLIO36ar0QE8yT9Fbe+Jl9EbAK6UDe5Gq8g7N9GvLD/bYyVhgx2v4ruOnGdfdzOcZvuTURHwHDaLbyKX3RI8g8lT3oqd68FhPt0ehqjsrkp4Hu7lPJY4KoUq3kB6+QMtUGmWLoY2mY5XAkyYn9MusjPEf9+nEpHoPozZ/BAiIbGygZ5+HYPBX1+3Fn/t3lwBg52MYjZVN+CF7rc98LR1fQCBBlZrYWpbBvS/8/FywQEonHwRZ2JZnb3twFSay3HMpbqInY3DWvfdMLGPvL5FH8EICELnyFPTP/0Gp6+mbHoRRRagf/Lq51XqEQZBot5p/rTA4Ayup2FiRKlqKAlVd811gLRU7B8QJrpAnmLJobfyCc3HjEvnpQQfNxfhRtZpu7hdjf9BJ4BSlM6qg5PHhMz7sjljFdRs2wILl3j7Jnfk2H8+R2Ey9M4Seix3gz2+wofifYrU4mx8c8EY/rhpWWW1IvE0FqgBzj8SuwX21eAx45PlLm41ByKzYVKGAtj3eIJ etXUKMjg ixSHEMIReix9f+ITNyDSlt12QOuar3B/+HvYkAqBKe07b+cUdflcg+O6Gm1wbEVtA2ZoFc+6ZuWdrDriMOPsjazWSYTj4AtoWqCkzPzjZPic/efl0tT72TLkDFNtYnXdDpmSbKiPrICzHftV0l6/Dv4nHipqIZwtnhzr4bdaA79+SBv5L9vlI0d8WSExAXhAWt5RJVPJjcATqdDPCI95XAu1tjmxVkNGA66zyFNuvbd8aD5TjVbM4/ql5wq++S5/cyRHkC8qFYSWXDZkpw/X8A8ZfT2ZBQlDT6+2gP5DVtmXM66WHx+86SU7v/JYcx3zgvaJTvgk/TRDF9CED9X6NUG488ukoBoXmWyjo X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Linus, The following changes since commit c3f38fa61af77b49866b006939479069cd451173: Linux 6.10-rc2 (2024-06-02 15:44:56 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.11-rc1 for you to fetch changes up to 9364a7e40d54e6858479f0a96e1a04aa1204be16: memblock tests: fix implicit declaration of function 'numa_valid_node' (2024-07-05 11:24:47 +0300) ---------------------------------------------------------------- memblock: updates for 6.11-rc1 * reserve_mem command line parameter to allow creation of named memory reservation at boot time. The driving use-case is to improve the ability of pstore to retain ramoops data across reboots. * cleaunps and small improvements in memblock and mm_init * new tests cases in memblock test suite ---------------------------------------------------------------- James Gowans (1): memblock: Move late alloc warning down to phys alloc Steven Rostedt (Google) (2): mm/memblock: Add "reserve_mem" to reserved named memory at boot up pstore/ramoops: Add ramoops.mem_name= command line option Wei Yang (15): mm/memblock: remove empty dummy entry memblock tests: add memblock_reserve_all_locations_check() memblock tests: add memblock_reserve_many_may_conflict_check() mm/memblock: fix comment for memblock_isolate_range() memblock tests: add memblock_overlaps_region_checks mm/memblock: return true directly on finding overlap region mm/memblock: use PAGE_ALIGN_DOWN to get pgend in free_memmap mm/mm_init.c: use memblock_region_memory_base_pfn() to get startpfn mm/memblock: fix a typo in description of for_each_mem_region() mm/mm_init.c: move nr_initialised reset down a bit mm/mm_init.c: get the highest zone directly mm/mm_init.c: use deferred_init_mem_pfn_range_in_zone() to decide loop condition mm/mm_init.c: not always search next deferred_init_pfn from very beginning mm/mm_init.c: don't initialize page->lru again memblock tests: fix implicit declaration of function 'numa_valid_node' Documentation/admin-guide/kernel-parameters.txt | 22 ++ Documentation/admin-guide/ramoops.rst | 13 + fs/pstore/ram.c | 14 ++ include/linux/memblock.h | 21 +- include/linux/mm.h | 2 + mm/memblock.c | 151 ++++++++++-- mm/mm_init.c | 69 +++--- tools/include/linux/mm.h | 1 + tools/include/linux/numa.h | 5 + tools/testing/memblock/tests/basic_api.c | 314 +++++++++++++++++++++++- tools/testing/memblock/tests/common.c | 8 +- tools/testing/memblock/tests/common.h | 4 + 12 files changed, 542 insertions(+), 82 deletions(-)