get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2175989,
    "url": "http://patchwork.ozlabs.org/api/patches/2175989/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20251219161559.556737-3-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-3-arnd@kernel.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20251219161559.556737-3-arnd@kernel.org/",
    "date": "2025-12-19T16:15:57",
    "name": "[2/4] ARM: add CONFIG_VMSPLIT_2G_OPT option",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": false,
    "hash": "b08abecba1c0b353fb08fda93a670def5df84925",
    "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-3-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/2175989/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2175989/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-14909-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=cu2dCyJi;\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-14909-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=cu2dCyJi;\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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dXt3N2dlJz1y2r\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 20 Dec 2025 03:17:20 +1100 (AEDT)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4dXt3N1dWyz2yFn;\n\tSat, 20 Dec 2025 03:17:20 +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)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4dXt3M42lpz2yFd\n\tfor <linuxppc-dev@lists.ozlabs.org>; Sat, 20 Dec 2025 03:17:19 +1100 (AEDT)",
            "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n\tby sea.source.kernel.org (Postfix) with ESMTP id 030AD41A3A;\n\tFri, 19 Dec 2025 16:16:48 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id CE9ACC4CEF1;\n\tFri, 19 Dec 2025 16:16:44 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1766161040;\n\tcv=none;\n b=JbvjXIyguEGdc7p3pMKB5soQtCRdzHOekNIQPceQ6TEcfK6L7WubkTRBD1+ngmTvvWk16tSlzUEOn2ngTcHY2ohSxX/Xy6k8C6kMCgBaS7OyjD9mHcoraxegoQ9D7E6+b8Fk2s0kyi7SfU5KubkV+X/4zmrqrEYPBhdD3RXA0YVKyJDsuMcS47TxU4Z9kke2NWU53XEOtxpyEPXhFmSUlF2ODE/G3uaT5Y9rhB1UmU1ehpo4CGo8pCY2TRJPEl+Z/jjSDs8kRLr3LKyHI5cZbe4vlIMn8fEb8jMow3CEhi1PmcJqKL7GUpYnZ+IFcD/bfPTGsi2RwLMzpqUDoB3nNw==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1766161040; c=relaxed/relaxed;\n\tbh=01cMqftZsswJxQ3FrQQhcZuowTNtnEI5y+kOuc6pxjw=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=OwH0wtByB8pbuiQdNa8XEyp5RIP49UjX0KTAaBT+H/kIWAt3pXGasylS4jc3Hkv+B9TstDkZQMwzZdGtN9UBYimV5l/QkMV97QzcLO3FiUrrBA9pt/YgmbZROYfTHBHtgvL5AVwQP8UF00JAlL2XOLkkd5b/1+V0XWj8OdSjkkRAZgHr/upOm8Nywzg+qLM18Jjbp+eCwraozA/RGhFuMX4SDu8bTYF6eeKPmS42NhHf+GmrnEzHgJXCKT1hWkcrx3qmqUUX8ifCTDJ7E7Sjc06EHWu/eSw8WRfDbv9qaCqelkjDBW0IeLZZm2WwFq7Yh/VmzaYkVaFaDwYwB7VH1Q==",
        "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=cu2dCyJi; 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=1766161007;\n\tbh=47hL5I2ijXMcmF1JU7EI3Nhpa9ZQCp3egcgt0wmJuoU=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=cu2dCyJigvnIJ4mGAhXUE+8LQLSdMxxsf9j1n6iwtD4VW3+uKb8f1+ydeAa7BQ8zQ\n\t S+h9zdfukpR/1sKyw8Nv2b86nr52SGY6JZoNsmB5Wlxv/HpNKUZ1oXRuc0+whL4nPQ\n\t n8M07pw863419mdts5E4xVdf+QQ2GL+hgz0UuwBsKdv5/oe1ChTaWfxhmL2BLv8sjy\n\t 7Ck7DTgFi+BX8xgYCywqy7IxdyCa5XadbES2il8LMaf0eu342WX+CZTNt8Tb22655s\n\t bKaqIzztqrF73J1cLSW9sVWu65aIlAguqbxhWwd5aHrU7UWeTQGhofmrZ2lJaFtSVA\n\t ZF79v11xxcRBQ==",
        "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",
        "Subject": "[PATCH 2/4] ARM: add CONFIG_VMSPLIT_2G_OPT option",
        "Date": "Fri, 19 Dec 2025 17:15:57 +0100",
        "Message-Id": "<20251219161559.556737-3-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\nUnlike x86 and powerpc, there is currently no option to use exactly 2GiB\nof lowmem on Arm. Since 2GiB is still a relatively common configuration\non embedded systems, it makes sense to allow this to be used in\nnon-highmem builds.\n\nAdd the Kconfig option and make this the default for non-LPAE builds\nwith highmem enabled instead of CONFIG_VMSPLIT_2G.  LPAE still requires\nthe vmsplit to be on a gigabyte boundary, so this is only available for\nclassic pagetables at the moment, same as CONFIG_VMSPLIT_3G_OPT.\n\nTested in qemu -M virt, both with and without HIGHMEM enabled.\n\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\n---\n arch/arm/Kconfig | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig\nindex 7c0ac017e086..921ea61aa96e 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_2G if HIGHMEM || ARM_LPAE\n+\tdefault VMSPLIT_2G if ARM_LPAE\n+\tdefault VMSPLIT_2G_OPT if HIGHMEM\n \tdefault VMSPLIT_3G_OPT\n \thelp\n \t  Select the desired split between kernel and user memory.\n@@ -1026,6 +1027,9 @@ choice\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\"\n+\tconfig VMSPLIT_2G_OPT\n+\t\tdepends on !ARM_LPAE\n+\t\tbool \"2G/2G user/kernel split (for full 2G low memory)\"\n \tconfig VMSPLIT_1G\n \t\tbool \"1G/3G user/kernel split\"\n endchoice\n@@ -1034,6 +1038,7 @@ config PAGE_OFFSET\n \thex\n \tdefault PHYS_OFFSET if !MMU\n \tdefault 0x40000000 if VMSPLIT_1G\n+\tdefault 0x70000000 if VMSPLIT_2G_OPT\n \tdefault 0x80000000 if VMSPLIT_2G\n \tdefault 0xB0000000 if VMSPLIT_3G_OPT\n \tdefault 0xC0000000\n@@ -1042,6 +1047,7 @@ config KASAN_SHADOW_OFFSET\n \thex\n \tdepends on KASAN\n \tdefault 0x1f000000 if PAGE_OFFSET=0x40000000\n+\tdefault 0x4f000000 if PAGE_OFFSET=0x70000000\n \tdefault 0x5f000000 if PAGE_OFFSET=0x80000000\n \tdefault 0x9f000000 if PAGE_OFFSET=0xC0000000\n \tdefault 0x8f000000 if PAGE_OFFSET=0xB0000000\n",
    "prefixes": [
        "2/4"
    ]
}