get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228179,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228179/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260425155140.50186-10-deller@kernel.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260425155140.50186-10-deller@kernel.org>",
    "date": "2026-04-25T15:51:35",
    "name": "[PULL,09/14] linux-user: Define SO_TIMESTAMP*_NEW and SO_RCVTIMEIO_NEW",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e8aa7e00d59304f4ee1195055953f66d351be6b6",
    "submitter": {
        "id": 87076,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/87076/?format=api",
        "name": "Helge Deller",
        "email": "deller@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260425155140.50186-10-deller@kernel.org/mbox/",
    "series": [
        {
            "id": 501448,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501448/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=501448",
            "date": "2026-04-25T15:51:29",
            "name": "[PULL,01/14] MAINTAINERS: Add myself as maintainer for linux-user",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501448/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228179/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228179/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.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=uYvaS7AL;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g2vWF5f42z1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 01:53:29 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wGfIo-00086p-2C; Sat, 25 Apr 2026 11:52:18 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <deller@kernel.org>) id 1wGfIa-00081O-Ca\n for qemu-devel@nongnu.org; Sat, 25 Apr 2026 11:52:08 -0400",
            "from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <deller@kernel.org>) id 1wGfIY-00016s-78\n for qemu-devel@nongnu.org; Sat, 25 Apr 2026 11:52:04 -0400",
            "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n by sea.source.kernel.org (Postfix) with ESMTP id 11CFD41843;\n Sat, 25 Apr 2026 15:52:01 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 80C8AC2BCB4;\n Sat, 25 Apr 2026 15:51:59 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1777132320;\n bh=KG2fwHQvDISByslvVy41WuAySIFV/sri4ZntnBzQCgY=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=uYvaS7ALkpAWjUdgrOOZBg0yir2DziDyj5/pZKfqtaECMFbd8hvFEPnrVzUdENcCg\n 4ZvnjVf0OlxTcUZyM7zWOEY3AnqdEGb7gBg1MM/EZTQckKutVpE3Z908A1N2PjGpkM\n vlDyZNYzRHYz1aLyu9a6rFeR0OchegkW4VOUvlQewsJfJjjkmxv6FmElw/pMVUvMJp\n 0mQb8da5v0Cvin2PKryOxCBCNKT4cnfsd3KuoM1kkgWOr8oZfN/tXOoAoEVuGWBUaz\n ZYZZe0//USeI2olhSNwqiawdnc0rvPdIvNupJ8D10weq/0+7abvoVIXmMcuh99qPXq\n eJNgwgRARU1xA==",
        "From": "Helge Deller <deller@kernel.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Helge Deller <deller@gmx.de>, Jiaxun Yang <jiaxun.yang@flygoat.com>,\n Laurent Vivier <laurent@vivier.eu>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>, =?utf-8?q?Philippe_Mathieu-?=\n\t=?utf-8?q?Daud=C3=A9?= <philmd@linaro.org>",
        "Subject": "[PULL 09/14] linux-user: Define SO_TIMESTAMP*_NEW and\n SO_RCVTIMEIO_NEW",
        "Date": "Sat, 25 Apr 2026 17:51:35 +0200",
        "Message-ID": "<20260425155140.50186-10-deller@kernel.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260425155140.50186-1-deller@kernel.org>",
        "References": "<20260425155140.50186-1-deller@kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2600:3c0a:e001:78e:0:1991:8:25;\n envelope-from=deller@kernel.org; helo=sea.source.kernel.org",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "From: Helge Deller <deller@gmx.de>\n\nDefine the entries which always use the 64-bit timestamps.\n\nSigned-off-by: Helge Deller <deller@gmx.de>\n---\n linux-user/alpha/sockbits.h   | 7 +++++++\n linux-user/generic/sockbits.h | 8 ++++++++\n linux-user/hppa/sockbits.h    | 7 +++++++\n linux-user/mips/sockbits.h    | 7 +++++++\n linux-user/sparc/sockbits.h   | 7 +++++++\n 5 files changed, 36 insertions(+)",
    "diff": "diff --git a/linux-user/alpha/sockbits.h b/linux-user/alpha/sockbits.h\nindex d54dc98c09..0201ab9374 100644\n--- a/linux-user/alpha/sockbits.h\n+++ b/linux-user/alpha/sockbits.h\n@@ -75,6 +75,13 @@\n /* Instruct lower device to use last 4-bytes of skb data as FCS */\n #define TARGET_SO_NOFCS     43\n \n+#define TARGET_SO_TIMESTAMP_NEW        63\n+#define TARGET_SO_TIMESTAMPNS_NEW      64\n+#define TARGET_SO_TIMESTAMPING_NEW     65\n+\n+#define TARGET_SO_RCVTIMEO_NEW         66\n+#define TARGET_SO_SNDTIMEO_NEW         67\n+\n /* TARGET_O_NONBLOCK clashes with the bits used for socket types.  Therefore we\n  * have to define SOCK_NONBLOCK to a different value here.\n  */\ndiff --git a/linux-user/generic/sockbits.h b/linux-user/generic/sockbits.h\nindex b3b4a8e44c..33e6c3a572 100644\n--- a/linux-user/generic/sockbits.h\n+++ b/linux-user/generic/sockbits.h\n@@ -58,4 +58,12 @@\n \n #define TARGET_SO_PROTOCOL             38\n #define TARGET_SO_DOMAIN               39\n+\n+#define TARGET_SO_TIMESTAMP_NEW        63\n+#define TARGET_SO_TIMESTAMPNS_NEW      64\n+#define TARGET_SO_TIMESTAMPING_NEW     65\n+\n+#define TARGET_SO_RCVTIMEO_NEW         66\n+#define TARGET_SO_SNDTIMEO_NEW         67\n+\n #endif\ndiff --git a/linux-user/hppa/sockbits.h b/linux-user/hppa/sockbits.h\nindex 23f69a3293..2304dbbf79 100644\n--- a/linux-user/hppa/sockbits.h\n+++ b/linux-user/hppa/sockbits.h\n@@ -67,6 +67,13 @@\n \n #define TARGET_SO_CNX_ADVICE           0x402E\n \n+#define TARGET_SO_TIMESTAMP_NEW        0x4038\n+#define TARGET_SO_TIMESTAMPNS_NEW      0x4039\n+#define TARGET_SO_TIMESTAMPING_NEW     0x403A\n+\n+#define TARGET_SO_RCVTIMEO_NEW         0x4040\n+#define TARGET_SO_SNDTIMEO_NEW         0x4041\n+\n /* TARGET_O_NONBLOCK clashes with the bits used for socket types.  Therefore we\n  * have to define SOCK_NONBLOCK to a different value here.\n  */\ndiff --git a/linux-user/mips/sockbits.h b/linux-user/mips/sockbits.h\nindex 562cad88e2..1f479d54aa 100644\n--- a/linux-user/mips/sockbits.h\n+++ b/linux-user/mips/sockbits.h\n@@ -71,6 +71,13 @@\n #define TARGET_SO_RCVBUFFORCE          33\n #define TARGET_SO_PASSSEC              34\n \n+#define TARGET_SO_TIMESTAMP_NEW        63\n+#define TARGET_SO_TIMESTAMPNS_NEW      64\n+#define TARGET_SO_TIMESTAMPING_NEW     65\n+\n+#define TARGET_SO_RCVTIMEO_NEW         66\n+#define TARGET_SO_SNDTIMEO_NEW         67\n+\n /** sock_type - Socket types\n  *\n  * Please notice that for binary compat reasons MIPS has to\ndiff --git a/linux-user/sparc/sockbits.h b/linux-user/sparc/sockbits.h\nindex 0a822e3e1f..42ecfdc8f9 100644\n--- a/linux-user/sparc/sockbits.h\n+++ b/linux-user/sparc/sockbits.h\n@@ -61,6 +61,13 @@\n #define TARGET_SO_TIMESTAMPING         0x0023\n #define TARGET_SCM_TIMESTAMPING        TARGET_SO_TIMESTAMPING\n \n+#define TARGET_SO_TIMESTAMP_NEW        0x0046\n+#define TARGET_SO_TIMESTAMPNS_NEW      0x0042\n+#define TARGET_SO_TIMESTAMPING_NEW     0x0043\n+\n+#define TARGET_SO_RCVTIMEO_NEW         0x0044\n+#define TARGET_SO_SNDTIMEO_NEW         0x0045\n+\n #define TARGET_SO_RXQ_OVFL             0x0024\n \n #define TARGET_SO_WIFI_STATUS          0x0025\n",
    "prefixes": [
        "PULL",
        "09/14"
    ]
}