get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2233233,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2233233/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260505213606.3873472-1-ju.o@free.fr/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260505213606.3873472-1-ju.o@free.fr>",
    "date": "2026-05-05T21:36:04",
    "name": "[1/2] board/pc/linux.config: enable CONFIG_EFI_STUB",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "0103307f08df9edcac144ab951a4efcbc985fc86",
    "submitter": {
        "id": 80537,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/80537/?format=api",
        "name": "Julien Olivain",
        "email": "ju.o@free.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260505213606.3873472-1-ju.o@free.fr/mbox/",
    "series": [
        {
            "id": 502900,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502900/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=502900",
            "date": "2026-05-05T21:36:04",
            "name": "[1/2] board/pc/linux.config: enable CONFIG_EFI_STUB",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502900/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2233233/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2233233/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=KUPkkAdI;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g9BfQ3Cccz1yJV\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 06 May 2026 07:36:30 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 5151760BB0;\n\tTue,  5 May 2026 21:36:27 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Ls0tymHUhbAc; Tue,  5 May 2026 21:36:25 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 4B74760B9F;\n\tTue,  5 May 2026 21:36:25 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists1.osuosl.org (Postfix) with ESMTP id 3FC8D280\n for <buildroot@buildroot.org>; Tue,  5 May 2026 21:36:24 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 3A8C440451\n for <buildroot@buildroot.org>; Tue,  5 May 2026 21:36:24 +0000 (UTC)",
            "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id XogHHgSPgl32 for <buildroot@buildroot.org>;\n Tue,  5 May 2026 21:36:21 +0000 (UTC)",
            "from smtp5-g21.free.fr (smtp5-g21.free.fr\n [IPv6:2a01:e0c:1:1599::14])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 8AD3840297\n for <buildroot@buildroot.org>; Tue,  5 May 2026 21:36:21 +0000 (UTC)",
            "from home.juju.sh (unknown\n [IPv6:2a01:e0a:1065:2100:52d9:65fe:2df3:c492])\n (Authenticated sender: ju.o@free.fr)\n by smtp5-g21.free.fr (Postfix) with ESMTPSA id 3564D5FFB1;\n Tue,  5 May 2026 23:36:14 +0200 (CEST)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4B74760B9F",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8AD3840297"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1778016985;\n\tbh=DzwtkV6cLPtlUbNRjug+i7p4+MDs4FfPFhudHzdnmPc=;\n\th=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From:Reply-To:From;\n\tb=KUPkkAdI/DjH1RfSJisqO6RnLAdyI9OMuvsW2zkq2KJR4I/O+4mlqIvDfQl4uiP79\n\t MBrViu31Rem2ONzbVK2SA5hy3s1o+OF4rZUylADRHBKfMflY+CbsOIySiXr0/oXglk\n\t MIc/Mchg+4ucseODf2UkeuaAzG7r0608UrNIllqPcnAW3SLgZky2tPREk2vJhwVqo9\n\t rapz3J91UAJWQxj+2jWeqdFGIJrShSKbaRPPooBU7lUqPH6pp4UaXqNFB7JwJAV0tD\n\t SzP+8LAxoTaBA8CK/vKZuNPX33kda8Rk72vGPuLz/M0Bk7S6cz/CJfCDNQK+vItyEe\n\t Ro3dUVqUHi4IA==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2a01:e0c:1:1599::14;\n helo=smtp5-g21.free.fr; envelope-from=ju.o@free.fr; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org 8AD3840297",
        "To": "buildroot@buildroot.org",
        "Cc": "Dick Olsson <hi@senzilla.io>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n Julien Olivain <ju.o@free.fr>",
        "Date": "Tue,  5 May 2026 23:36:04 +0200",
        "Message-ID": "<20260505213606.3873472-1-ju.o@free.fr>",
        "X-Mailer": "git-send-email 2.54.0",
        "MIME-Version": "1.0",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=free.fr; s=smtp-20201208; t=1778016979;\n bh=MuNkOR0w35JocdvYWgBJR897UNTXsKjv4q7APK7cyGk=;\n h=From:To:Cc:Subject:Date:From;\n b=fzBmBOg/gZIC6UHqE+R4iDhRimOFoBWNDo3w5JDwlbXHoiadzbUKSEPmc/ofsqbCp\n HO/qV4hXoc6WywiVmEs22A6loAA+x+qthmitbCIhREDWqNypwTpJKS9DsuEMySeYMO\n 76cIs2n+CulpF+8eXkNcYKtnXBzEZf6Ov/z8IwTF6YicC3brYd+5EdS3lWOe9rO960\n 2I7YNgYjP9ODNTpLg6IJDH8x1CAirBlIqBv3d4s8/SUYqKc3eTQYX7m/yi3kxPsTCH\n vkAEeQ150uNjsBOONz19MP8CVxVpI0JB8KFhcSrYZqmcP5rvJUe35bmwq3XxavpDi8\n 4Yva1nuXVLxcA==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp2.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=free.fr",
            "smtp2.osuosl.org;\n dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr\n header.a=rsa-sha256 header.s=smtp-20201208 header.b=fzBmBOg/"
        ],
        "Subject": "[Buildroot] [PATCH 1/2] board/pc/linux.config: enable\n CONFIG_EFI_STUB",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "From": "Julien Olivain via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Julien Olivain <ju.o@free.fr>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "When the Linux Kernel image does not include the EFI stub [1],\nGrub2 EFI linux loader fallback to the legacy i386 loading.\nSee [2] [3]. Grub 2.14 enabled the NX compatible for the EFI\nimage in [4].\n\nWhen booting a Linux Kernel without the EFI stub with Grub 2.14 with\nNX flag, the boot fails before starting the kernel with a EDK2 page\nfault error [5]:\n\n!!!! X64 Exception Type - 0E(#PF - Page-Fault)  CPU Apic ID - 00000000 !!!!\nExceptionData - 0000000000000003  I:0 R:0 U:0 W:1 P:1 PK:0 SS:0 SGX:0\n\nThis commit adds CONFIG_EFI_STUB to board/pc/linux.config to make sure\ngrub will load the Kernel using its efi loading code.\n\nThis commit is needed with EDK2 with NX protection enabled and\nGrub 2.14 also enabling NX.\n\n[1] https://docs.kernel.org/admin-guide/efi-stub.html\n[2] https://gitlab.freedesktop.org/gnu-grub/grub/-/blob/grub-2.14/grub-core/loader/efi/linux.c#L532\n[3] https://gitlab.freedesktop.org/gnu-grub/grub/-/blob/grub-2.14/grub-core/loader/i386/linux.c#L675\n[4] https://gitlab.freedesktop.org/gnu-grub/grub/-/commit/f5bb766e688b1180e0ace3417d4947a934957a31\n[5] https://github.com/tianocore/edk2/blob/edk2-stable202602/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c#L273\n\nSigned-off-by: Julien Olivain <ju.o@free.fr>\n---\n board/pc/linux.config | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/board/pc/linux.config b/board/pc/linux.config\nindex 43b15c94be..cbc4f5a6b0 100644\n--- a/board/pc/linux.config\n+++ b/board/pc/linux.config\n@@ -5,6 +5,7 @@ CONFIG_SMP=y\n CONFIG_HYPERVISOR_GUEST=y\n CONFIG_PARAVIRT=y\n CONFIG_EFI=y\n+CONFIG_EFI_STUB=y\n CONFIG_NET=y\n CONFIG_PACKET=y\n CONFIG_UNIX=y\n",
    "prefixes": [
        "1/2"
    ]
}