get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2175986/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2175986,
    "url": "http://patchwork.ozlabs.org/api/patches/2175986/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20251219161559.556737-2-arnd@kernel.org/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<20251219161559.556737-2-arnd@kernel.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20251219161559.556737-2-arnd@kernel.org/",
    "date": "2025-12-19T16:15:56",
    "name": "[1/4] arch/*: increase lowmem size to avoid highmem use",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": false,
    "hash": "cd1ad02e6a0b945241bccf4e1cbbfe988efb33c6",
    "submitter": {
        "id": 80402,
        "url": "http://patchwork.ozlabs.org/api/people/80402/?format=api",
        "name": "Arnd Bergmann",
        "email": "arnd@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20251219161559.556737-2-arnd@kernel.org/mbox/",
    "series": [
        {
            "id": 486021,
            "url": "http://patchwork.ozlabs.org/api/series/486021/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=486021",
            "date": "2025-12-19T16:15:56",
            "name": "mm: increase lowmem size in linux-7.0",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/486021/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2175986/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2175986/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-14906-incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=A7OuTvnR;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-14906-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=172.234.252.31",
            "lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org",
            "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=A7OuTvnR;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org\n (client-ip=172.234.252.31; helo=sea.source.kernel.org;\n envelope-from=arnd@kernel.org; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dXt2q21tNz1y2r\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 20 Dec 2025 03:16:49 +1100 (AEDT)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4dXt2m2b6dz2yFY;\n\tSat, 20 Dec 2025 03:16:48 +1100 (AEDT)",
            "from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4dXt2k6JXvz2xfK\n\tfor <linuxppc-dev@lists.ozlabs.org>; Sat, 20 Dec 2025 03:16:46 +1100 (AEDT)",
            "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n\tby sea.source.kernel.org (Postfix) with ESMTP id 7C9B84026B;\n\tFri, 19 Dec 2025 16:16:44 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 3D04DC116C6;\n\tFri, 19 Dec 2025 16:16:38 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1766161008;\n\tcv=none;\n b=KoJfU3fWtQ1HyCinkeJo7Q2/KLs3Vnh6J6Ki1NKQtcowJc5lA3FHWhNnIczxsyTvUKk8nJ///WPc6hpzvx7GOzkEBeSgu3asuqlQbeZ+Wq32GdEJF1Ip/Zg9yZ+Sl7JrOTZXDPBT7sHxEtI03tLF5TxqkQhS3RutK87e1e9x4epp0imlp8QQBe5IdeN5wKE0P9ptNLfnRSZffehXbvX9T5FKsMO+F96xIyly6TnqEpXG3jrKdDRHq4ZsH42AzTYh4TpuNjNhuJTCKGZAcHTgQTeL/4eo8nm4Vt/B9UA3bTvYGf2SITILXYvNu5OEydpxwAait3yHFojy9Y208/LktA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1766161008; c=relaxed/relaxed;\n\tbh=MU2GkItNProYBRDJlKA+M328m+1JhXZ/rYC6un2NVm4=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=JYaQEgxr3gX9h15QKjRS3amWoyf+rkqYFZ+U8T90HhCmqeyQCt6frA8BSva4PwVbUY0z8bwQNU7/W4BBoF59qG13EVpe46LJ9A6lTupyBalTvjWG7urnBmy6SFXY54ICWQtTdcYVmkBaHt2+R9A2GMyoy6Xvmge3TXF0NwMiwDj/upO1tr9KxgCIG5MCzD557vi+KnjBbHjlMC/cUkFpolqD7f3r7yZvFZCVi4xlaDwCyyxBL5AEM88sAMmVBq3kQsCQyLtdvkdVJCfp70eM6dxEn0DM0tb1bt97IRhrso8doaC6GtHshhnE+jkfsrfKHB+Mm+70KwU46jXMD4UQpQ==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=A7OuTvnR; dkim-atps=neutral;\n spf=pass (client-ip=172.234.252.31; helo=sea.source.kernel.org;\n envelope-from=arnd@kernel.org;\n receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1766161004;\n\tbh=y2TDenBgzz1JkKgbnUspPJnIA+uv4gCj0emzILOiwVI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=A7OuTvnReFS3MrkYNOIEGgcs+Z7OvkKsMu+2esQMRsv5WMHjDb/+jWEumFggTQn/d\n\t B0pvYTi1xGaHAXqrORU8GPSt7G0P9gXQEx22QhpdaCI+L0odetlWwgex5eThtMzOBm\n\t m+575wBeBX44bLofNLR5SKMGWOUw/kNt7bdJzsQvyYsLsjDlbOh9XD+C9jsmsdLv8J\n\t ptzbgKHGftEuZ558Q8PVqSJumz+sKt1yDXVl1mvy/LdLVUpswhbb9EjCTQe7hbrNrR\n\t LSWSiuClawxuVXmfiTbHnpW3geR2gowerapXT2cS5IT8zMeJY65QrQeSNpWoM6bx1R\n\t wvkfS3AQV7a7Q==",
        "From": "Arnd Bergmann <arnd@kernel.org>",
        "To": "linux-mm@kvack.org",
        "Cc": "Arnd Bergmann <arnd@arndb.de>,\n\tAndrew Morton <akpm@linux-foundation.org>,\n\tAndreas Larsson <andreas@gaisler.com>,\n\tChristophe Leroy <chleroy@kernel.org>,\n\tDave Hansen <dave.hansen@linux.intel.com>,\n\tJason Gunthorpe <jgg@nvidia.com>,\n\tLinus Walleij <linus.walleij@linaro.org>,\n\tMatthew Wilcox <willy@infradead.org>,\n\tRichard Weinberger <richard@nod.at>,\n\tRussell King <linux@armlinux.org.uk>,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinux-fsdevel@vger.kernel.org,\n\tlinuxppc-dev@lists.ozlabs.org,\n\tx86@kernel.org,\n\tThomas Gleixner <tglx@linutronix.de>,\n\tIngo Molnar <mingo@redhat.com>,\n\tBorislav Petkov <bp@alien8.de>,\n\t\"H. Peter Anvin\" <hpa@zytor.com>,\n\tMadhavan Srinivasan <maddy@linux.ibm.com>,\n\tMichael Ellerman <mpe@ellerman.id.au>,\n\tNicholas Piggin <npiggin@gmail.com>,\n\tMichal Simek <monstr@monstr.eu>,\n\tDavid Hildenbrand <david@kernel.org>,\n\tLorenzo Stoakes <lorenzo.stoakes@oracle.com>,\n\t\"Liam R . Howlett\" <Liam.Howlett@oracle.com>,\n\tVlastimil Babka <vbabka@suse.cz>,\n\tMike Rapoport <rppt@kernel.org>,\n\tSuren Baghdasaryan <surenb@google.com>,\n\tMichal Hocko <mhocko@suse.com>,\n\tNishanth Menon <nm@ti.com>,\n\tLucas Stach <l.stach@pengutronix.de>",
        "Subject": "[PATCH 1/4] arch/*: increase lowmem size to avoid highmem use",
        "Date": "Fri, 19 Dec 2025 17:15:56 +0100",
        "Message-Id": "<20251219161559.556737-2-arnd@kernel.org>",
        "X-Mailer": "git-send-email 2.39.5",
        "In-Reply-To": "<20251219161559.556737-1-arnd@kernel.org>",
        "References": "<20251219161559.556737-1-arnd@kernel.org>",
        "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org",
        "List-Id": "<linuxppc-dev.lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>",
        "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>",
        "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>",
        "Precedence": "list",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Spam-Status": "No, score=-0.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,\n\tDKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS\n\tautolearn=disabled version=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "From: Arnd Bergmann <arnd@arndb.de>\n\nMost of the common 32-bit architectures (x86, arm, powerpc) all use the\ndefault virtual memory layout that was already in place for i386 systems\nin the 1990s, using exactly 3GiB of user TASK_SIZE, with the upper 1GiB\nof addresses split between (at most 896MiB) lowmem and vmalloc.\n\nLinux-2.3 introduced CONFIG_HIGHMEM for large x86 server machines that\nhad 4GiB of RAM or more, with the VMSPLIT_3G/2G/1G options added in\nv2.6.16 for machines that had one or two gigabytes of memory but wanted\nto avoid the overhead from managing highmem. Over time, similar options\nappeared on other 32-bit architectures.\n\nTwenty years later, it makes sense to reconsider the default settings,\nas the tradeoffs have changed a bit:\n\n - Configurations with more than 2GiB have become extremely rare,\n   as any users with large memory have moved on to 64-bit systems.\n   There were only ever a few Laptop models in this category: Apple\n   Powerbook G4 (2005), Macbook (2006), IBM Thinkpad X60 (2006), Arm\n   Chromebooks based on Exynos 5800 (2014), Tegra K1 (2014) and RK3288\n   (2015), and manufacturer support for all of these has ended in 2020\n   or (much) earlier.\n   Embedded systems with more than 2GiB use additional SoCs of a\n   similar vintage: Intel Atom Z5xx (2008), Freescale QorIQ (2008),\n   Marvell Armada XP (2010), Freescale i.MX6Q (2011), LSI Axxia (2013),\n   TI Keystone2 (2014), Renesas RZ/G1M (2015). Most boards based on\n   these have stopped receiving kernel upgrades. Newer 32-bit chips\n   only support smaller memory configurations, though in particular the\n   i.MX6Q and Keystone2 families have expected support cycles past 2035.\n   While 32-bit server installations used to support even larger memory,\n   none of those seem to still be used in production on any architecture.\n\n - While general-purpose distributes for 32-bit targets were common,\n   it was rather risky to change the CONFIG_VMSPLIT setting because\n   there is always a possibility of running into device driver bugs or\n   applications that need a large virtual memory size. Presumably\n   a lot of these issues have been resolved now, so most setups should\n   be fine using a custom vmsplit instead of highmem now.\n\n - As fewer users test highmem, the expectation is that it will\n   increasingly break in the future, so getting users to change the\n   vmsplit means that even if there is a bug to fix initially,\n   it improves the situation in the long run.\n\n - Highmem will ultimately need to be removed, at least for the page\n   cache and most other code using it today. In a previous discussion, I\n   had suggested doing this as early as 2029, but based on the discussions\n   since ELC, the plan is now to leave highmem-enabled page cache as an\n   option until at least 2029, at which point remaining users will have\n   the choice between no longer updating kernels or using a combination of\n   a custom vmsplit and zram/zswap. Changing the defaults now should both\n   speed up the highmem deprecation and make it less painful for users.\n\n - The most VM space intensive applications tend to be web browsers,\n   specifcally Chrome/ChromeOS and Firefox. Both have now stopped\n   providing binary updates, but Firefox can still be built from source.\n   Testing various combinations on Debian/armhf, I found that Firefox 140\n   can still show complex websites with VMSPLIT_2G_OPT with and without\n   HIGHMEM, though it failed for me both with the small address space\n   of VMSPLIT_1G and the small lowmem of VMSPLIT_3G_OPT when HIGHMEM\n   is disabled.\n   This is likely to get worse with future versions, so embedded users\n   may still be forced to migrate to specialized browsers like WPE Webkit\n   when HIGHMEM pagecache is finally removed.\n\nBased on the above observations and the discussion at the kernel summit,\nchange the defaults to the most appropriate values: use 1GiB of lowmem on\nnon-highmem configurations, and either 2GiB or 1.75GiB of lowmem on highmem\nbuilds, depending on what is available on the architecture.  As ARM_LPAE\nand X86_PAE builds both require a gigabyte-aligned vmsplit, those get\nto use VMSPLIT_2G. The result is that the majority of previous highmem\nusers now only need lowmem. For platform specific defconfig files that\nare known to only support up to 1GiB of RAM, drop the CONFIG_HIGHMEM line\nas well as a simplification.\n\nOn PowerPC and Microblaze, the options have somewhat different names but\nshould have the same effect. MIPS and Xtensa cannot support a larger\nthan 512MB of lowmem but are limited to small DDR2 memory in most\nimplementations, with MT7621 being a notable exception. ARC and C-Sky\ncould support a configurable vmsplit in theory, but it's not clear\nif anyone still cares.\nSPARC is currently limited to 192MB of lowmem and should get patched\nto behave either like arm/x86 or powerpc/microblaze to support 2GiB\nof lowmem.\n\nThere are likely going to be regressions from the changed defaults,\nin particular when hitting previously hidden device driver bugs\nthat fail to set the correct DMA mask, or from applications that\nneed a large virtual address space.\nIdeally the in-kernel problems should all be fixable, but the previous\nbehavior is still selectable as a fallback with CONFIG_EXPERT=y\n\nCc: Russell King <linux@armlinux.org.uk>\nCc: linux-arm-kernel@lists.infradead.org\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Ingo Molnar <mingo@redhat.com>\nCc: Borislav Petkov <bp@alien8.de>\nCc: Dave Hansen <dave.hansen@linux.intel.com>\nCc: x86@kernel.org\nCc: \"H. Peter Anvin\" <hpa@zytor.com>\nCc: Madhavan Srinivasan <maddy@linux.ibm.com>\nCc: Michael Ellerman <mpe@ellerman.id.au>\nCc: Nicholas Piggin <npiggin@gmail.com>\nCc: Christophe Leroy (CS GROUP) <chleroy@kernel.org>\nCc: linuxppc-dev@lists.ozlabs.org\nCc: Michal Simek <monstr@monstr.eu>\nCc: Andrew Morton <akpm@linux-foundation.org>\nCc: David Hildenbrand <david@kernel.org>\nCc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>\nCc: Liam R. Howlett <Liam.Howlett@oracle.com>\nCc: Vlastimil Babka <vbabka@suse.cz>\nCc: Mike Rapoport <rppt@kernel.org>\nCc: Suren Baghdasaryan <surenb@google.com>\nCc: Michal Hocko <mhocko@suse.com>\nCc: Matthew Wilcox <willy@infradead.org>\nCc: linux-mm@kvack.org\nCc: Richard Weinberger <richard@nod.at>\nCc: Linus Walleij <linus.walleij@linaro.org>\nCc: Nishanth Menon <nm@ti.com>\nCc: Andreas Larsson <andreas@gaisler.com>\nCc: Lucas Stach <l.stach@pengutronix.de>\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\n---\n arch/arm/Kconfig                            |  5 ++++-\n arch/arm/configs/aspeed_g5_defconfig        |  1 -\n arch/arm/configs/dove_defconfig             |  2 --\n arch/arm/configs/mv78xx0_defconfig          |  2 --\n arch/arm/configs/u8500_defconfig            |  1 -\n arch/arm/configs/vt8500_v6_v7_defconfig     |  3 ---\n arch/arm/mach-omap2/Kconfig                 |  1 -\n arch/microblaze/Kconfig                     |  9 ++++++---\n arch/microblaze/configs/mmu_defconfig       |  1 -\n arch/powerpc/Kconfig                        | 17 +++++++++++------\n arch/powerpc/configs/44x/akebono_defconfig  |  1 -\n arch/powerpc/configs/85xx/ksi8560_defconfig |  1 -\n arch/powerpc/configs/85xx/stx_gp3_defconfig |  1 -\n arch/x86/Kconfig                            |  4 +++-\n 14 files changed, 24 insertions(+), 25 deletions(-)",
    "diff": "diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig\nindex fa83c040ee2d..7c0ac017e086 100644\n--- a/arch/arm/Kconfig\n+++ b/arch/arm/Kconfig\n@@ -1009,7 +1009,8 @@ config BL_SWITCHER_DUMMY_IF\n choice\n \tprompt \"Memory split\"\n \tdepends on MMU\n-\tdefault VMSPLIT_3G\n+\tdefault VMSPLIT_2G if HIGHMEM || ARM_LPAE\n+\tdefault VMSPLIT_3G_OPT\n \thelp\n \t  Select the desired split between kernel and user memory.\n \n@@ -1018,8 +1019,10 @@ choice\n \n \tconfig VMSPLIT_3G\n \t\tbool \"3G/1G user/kernel split\"\n+\t\tdepends on !HIGHMEM || EXPERT\n \tconfig VMSPLIT_3G_OPT\n \t\tdepends on !ARM_LPAE\n+\t\tdepends on !HIGHMEM || EXPERT\n \t\tbool \"3G/1G user/kernel split (for full 1G low memory)\"\n \tconfig VMSPLIT_2G\n \t\tbool \"2G/2G user/kernel split\"\ndiff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig\nindex 2e6ea13c1e9b..be5ea1775b3f 100644\n--- a/arch/arm/configs/aspeed_g5_defconfig\n+++ b/arch/arm/configs/aspeed_g5_defconfig\n@@ -27,7 +27,6 @@ CONFIG_SMP=y\n # CONFIG_ARM_CPU_TOPOLOGY is not set\n CONFIG_VMSPLIT_2G=y\n CONFIG_NR_CPUS=2\n-CONFIG_HIGHMEM=y\n CONFIG_UACCESS_WITH_MEMCPY=y\n # CONFIG_ATAGS is not set\n CONFIG_VFP=y\ndiff --git a/arch/arm/configs/dove_defconfig b/arch/arm/configs/dove_defconfig\nindex e98c35df675e..75c67678c4ba 100644\n--- a/arch/arm/configs/dove_defconfig\n+++ b/arch/arm/configs/dove_defconfig\n@@ -7,8 +7,6 @@ CONFIG_EXPERT=y\n CONFIG_ARCH_MULTI_V7=y\n CONFIG_ARCH_DOVE=y\n CONFIG_MACH_CM_A510=y\n-CONFIG_AEABI=y\n-CONFIG_HIGHMEM=y\n CONFIG_ARM_APPENDED_DTB=y\n CONFIG_ARM_ATAG_DTB_COMPAT=y\n CONFIG_VFP=y\ndiff --git a/arch/arm/configs/mv78xx0_defconfig b/arch/arm/configs/mv78xx0_defconfig\nindex d3a26efe766c..cbd47155eca9 100644\n--- a/arch/arm/configs/mv78xx0_defconfig\n+++ b/arch/arm/configs/mv78xx0_defconfig\n@@ -11,7 +11,6 @@ CONFIG_ARCH_MULTI_V5=y\n CONFIG_ARCH_MV78XX0=y\n CONFIG_MACH_TERASTATION_WXL=y\n CONFIG_AEABI=y\n-CONFIG_HIGHMEM=y\n CONFIG_FPE_NWFPE=y\n CONFIG_VFP=y\n CONFIG_KPROBES=y\ndiff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig\nindex e88533b78327..a53269cbe475 100644\n--- a/arch/arm/configs/u8500_defconfig\n+++ b/arch/arm/configs/u8500_defconfig\n@@ -6,7 +6,6 @@ CONFIG_KALLSYMS_ALL=y\n CONFIG_ARCH_U8500=y\n CONFIG_SMP=y\n CONFIG_NR_CPUS=2\n-CONFIG_HIGHMEM=y\n CONFIG_ARM_APPENDED_DTB=y\n CONFIG_ARM_ATAG_DTB_COMPAT=y\n CONFIG_CMDLINE=\"root=/dev/ram0 console=ttyAMA2,115200n8\"\ndiff --git a/arch/arm/configs/vt8500_v6_v7_defconfig b/arch/arm/configs/vt8500_v6_v7_defconfig\nindex 41607a84abc8..1f6dca21d569 100644\n--- a/arch/arm/configs/vt8500_v6_v7_defconfig\n+++ b/arch/arm/configs/vt8500_v6_v7_defconfig\n@@ -8,8 +8,6 @@ CONFIG_ARM_ERRATA_720789=y\n CONFIG_ARM_ERRATA_775420=y\n CONFIG_HAVE_ARM_ARCH_TIMER=y\n CONFIG_AEABI=y\n-CONFIG_HIGHMEM=y\n-CONFIG_HIGHPTE=y\n CONFIG_ARM_APPENDED_DTB=y\n CONFIG_ARM_ATAG_DTB_COMPAT=y\n CONFIG_VFP=y\ndiff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig\nindex 821727eefd5a..4a2591985ff3 100644\n--- a/arch/arm/mach-omap2/Kconfig\n+++ b/arch/arm/mach-omap2/Kconfig\n@@ -135,7 +135,6 @@ config ARCH_OMAP2PLUS_TYPICAL\n \tbool \"Typical OMAP configuration\"\n \tdefault y\n \tselect AEABI\n-\tselect HIGHMEM\n \tselect I2C\n \tselect I2C_OMAP\n \tselect MENELAUS if ARCH_OMAP2\ndiff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig\nindex 484ebb3baedf..c25b8185bbbd 100644\n--- a/arch/microblaze/Kconfig\n+++ b/arch/microblaze/Kconfig\n@@ -163,7 +163,8 @@ config LOWMEM_SIZE_BOOL\n \n config LOWMEM_SIZE\n \thex \"Maximum low memory size (in bytes)\" if LOWMEM_SIZE_BOOL\n-\tdefault \"0x30000000\"\n+\tdefault \"0x80000000\" if HIGHMEM\n+\tdefault \"0x40000000\"\n \n config MANUAL_RESET_VECTOR\n \thex \"Microblaze reset vector address setup\"\n@@ -189,7 +190,8 @@ config KERNEL_START_BOOL\n \n config KERNEL_START\n \thex \"Virtual address of kernel base\" if KERNEL_START_BOOL\n-\tdefault \"0xc0000000\"\n+\tdefault \"0x70000000\" if HIGHMEM\n+\tdefault \"0xb0000000\"\n \n config TASK_SIZE_BOOL\n \tbool \"Set custom user task size\"\n@@ -203,7 +205,8 @@ config TASK_SIZE_BOOL\n \n config TASK_SIZE\n \thex \"Size of user task space\" if TASK_SIZE_BOOL\n-\tdefault \"0x80000000\"\n+\tdefault \"0x70000000\" if HIGHMEM\n+\tdefault \"0xb0000000\"\n \n config MB_MANAGER\n \tbool \"Support for Microblaze Manager\"\ndiff --git a/arch/microblaze/configs/mmu_defconfig b/arch/microblaze/configs/mmu_defconfig\nindex fbbdcb394ca2..255fa7b69117 100644\n--- a/arch/microblaze/configs/mmu_defconfig\n+++ b/arch/microblaze/configs/mmu_defconfig\n@@ -15,7 +15,6 @@ CONFIG_XILINX_MICROBLAZE0_USE_FPU=2\n CONFIG_HZ_100=y\n CONFIG_CMDLINE_BOOL=y\n CONFIG_CMDLINE_FORCE=y\n-CONFIG_HIGHMEM=y\n CONFIG_MODULES=y\n CONFIG_MODULE_UNLOAD=y\n CONFIG_PARTITION_ADVANCED=y\ndiff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig\nindex 9537a61ebae0..1fa92ed8f28c 100644\n--- a/arch/powerpc/Kconfig\n+++ b/arch/powerpc/Kconfig\n@@ -490,6 +490,7 @@ menu \"Kernel options\"\n config HIGHMEM\n \tbool \"High memory support\"\n \tdepends on PPC32\n+\tdepends on PPC_BOOK3S_32 || PPC_85xx || 44x\n \tselect KMAP_LOCAL\n \n source \"kernel/Kconfig.hz\"\n@@ -1190,7 +1191,8 @@ config LOWMEM_SIZE_BOOL\n \n config LOWMEM_SIZE\n \thex \"Maximum low memory size (in bytes)\" if LOWMEM_SIZE_BOOL\n-\tdefault \"0x30000000\"\n+\tdefault \"0x80000000\" if HIGHMEM\n+\tdefault \"0x40000000\"\n \n config LOWMEM_CAM_NUM_BOOL\n \tbool \"Set number of CAMs to use to map low memory\"\n@@ -1242,7 +1244,8 @@ config PAGE_OFFSET_BOOL\n \n config PAGE_OFFSET\n \thex \"Virtual address of memory base\" if PAGE_OFFSET_BOOL\n-\tdefault \"0xc0000000\"\n+\tdefault \"0x70000000\" if HIGHMEM\n+\tdefault \"0xb0000000\"\n \n config KERNEL_START_BOOL\n \tbool \"Set custom kernel base address\"\n@@ -1258,8 +1261,9 @@ config KERNEL_START_BOOL\n config KERNEL_START\n \thex \"Virtual address of kernel base\" if KERNEL_START_BOOL\n \tdefault PAGE_OFFSET if PAGE_OFFSET_BOOL\n-\tdefault \"0xc2000000\" if CRASH_DUMP && !NONSTATIC_KERNEL\n-\tdefault \"0xc0000000\"\n+\tdefault \"0x72000000\" if HIGHMEM && CRASH_DUMP && !NONSTATIC_KERNEL\n+\tdefault \"0xb2000000\" if CRASH_DUMP && !NONSTATIC_KERNEL\n+\tdefault PAGE_OFFSET\n \n config PHYSICAL_START_BOOL\n \tbool \"Set physical address where the kernel is loaded\"\n@@ -1295,8 +1299,9 @@ config TASK_SIZE_BOOL\n config TASK_SIZE\n \thex \"Size of user task space\" if TASK_SIZE_BOOL\n \tdefault \"0x80000000\" if PPC_8xx\n-\tdefault \"0xb0000000\" if PPC_BOOK3S_32 && EXECMEM\n-\tdefault \"0xc0000000\"\n+\tdefault \"0x60000000\" if PPC_BOOK3S_32 && EXECMEM && HIGHMEM\n+\tdefault \"0xa0000000\" if PPC_BOOK3S_32 && EXECMEM\n+\tdefault PAGE_OFFSET\n \n config MODULES_SIZE_BOOL\n \tbool \"Set custom size for modules/execmem area\"\ndiff --git a/arch/powerpc/configs/44x/akebono_defconfig b/arch/powerpc/configs/44x/akebono_defconfig\nindex 02e88648a2e6..992db368848f 100644\n--- a/arch/powerpc/configs/44x/akebono_defconfig\n+++ b/arch/powerpc/configs/44x/akebono_defconfig\n@@ -14,7 +14,6 @@ CONFIG_MODULE_UNLOAD=y\n CONFIG_PPC_47x=y\n # CONFIG_EBONY is not set\n CONFIG_AKEBONO=y\n-CONFIG_HIGHMEM=y\n CONFIG_HZ_100=y\n CONFIG_IRQ_ALL_CPUS=y\n # CONFIG_COMPACTION is not set\ndiff --git a/arch/powerpc/configs/85xx/ksi8560_defconfig b/arch/powerpc/configs/85xx/ksi8560_defconfig\nindex 9cb211fb6d1e..f2ac1fc41303 100644\n--- a/arch/powerpc/configs/85xx/ksi8560_defconfig\n+++ b/arch/powerpc/configs/85xx/ksi8560_defconfig\n@@ -9,7 +9,6 @@ CONFIG_PARTITION_ADVANCED=y\n CONFIG_KSI8560=y\n CONFIG_CPM2=y\n CONFIG_GEN_RTC=y\n-CONFIG_HIGHMEM=y\n CONFIG_BINFMT_MISC=y\n CONFIG_MATH_EMULATION=y\n # CONFIG_SECCOMP is not set\ndiff --git a/arch/powerpc/configs/85xx/stx_gp3_defconfig b/arch/powerpc/configs/85xx/stx_gp3_defconfig\nindex 0a42072fa23c..1033977711d6 100644\n--- a/arch/powerpc/configs/85xx/stx_gp3_defconfig\n+++ b/arch/powerpc/configs/85xx/stx_gp3_defconfig\n@@ -7,7 +7,6 @@ CONFIG_MODULES=y\n CONFIG_MODVERSIONS=y\n # CONFIG_BLK_DEV_BSG is not set\n CONFIG_STX_GP3=y\n-CONFIG_HIGHMEM=y\n CONFIG_BINFMT_MISC=m\n CONFIG_MATH_EMULATION=y\n CONFIG_PCI=y\ndiff --git a/arch/x86/Kconfig b/arch/x86/Kconfig\nindex 80527299f859..b40c8fd6cac1 100644\n--- a/arch/x86/Kconfig\n+++ b/arch/x86/Kconfig\n@@ -1416,7 +1416,9 @@ config HIGHMEM4G\n \n choice\n \tprompt \"Memory split\" if EXPERT\n-\tdefault VMSPLIT_3G\n+\tdefault VMSPLIT_2G_OPT if HIGHMEM && !X86_PAE\n+\tdefault VMSPLIT_2G if X86_PAE\n+\tdefault VMSPLIT_3G_OPT\n \tdepends on X86_32\n \thelp\n \t  Select the desired split between kernel and user memory.\n",
    "prefixes": [
        "1/4"
    ]
}