get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2175471,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175471/?format=api",
    "project": {
        "id": 15,
        "url": "http://patchwork.ozlabs.org/api/1.0/projects/15/?format=api",
        "name": "Ubuntu Kernel",
        "link_name": "ubuntu-kernel",
        "list_id": "kernel-team.lists.ubuntu.com",
        "list_email": "kernel-team@lists.ubuntu.com",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20251218085133.26028-2-mehmet.basaran@canonical.com>",
    "date": "2025-12-18T08:51:33",
    "name": "[1/1] UBUNTU: SAUCE: Enable upstream config option \"CONFIG_CPUSETS_V1\"",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "45752ef6fcb2ce601ae9611aa068a640f5d9109a",
    "submitter": {
        "id": 89305,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/89305/?format=api",
        "name": "Mehmet Basaran",
        "email": "mehmet.basaran@canonical.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20251218085133.26028-2-mehmet.basaran@canonical.com/mbox/",
    "series": [
        {
            "id": 485802,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/485802/?format=api",
            "date": "2025-12-18T08:51:32",
            "name": "Fix cpuset behavior to v1 following the changes from upstream stable patches.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/485802/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2175471/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<kernel-team-bounces@lists.ubuntu.com>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=qQDarcWC;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\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 4dX4Cw4tdfz1y3k\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 19:51:55 +1100 (AEDT)",
            "from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1vW9jZ-0000nd-10; Thu, 18 Dec 2025 08:51:41 +0000",
            "from smtp-relay-internal-0.internal ([10.131.114.225]\n helo=smtp-relay-internal-0.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <mehmet.basaran@canonical.com>)\n id 1vW9jW-0000mZ-F8\n for kernel-team@lists.ubuntu.com; Thu, 18 Dec 2025 08:51:38 +0000",
            "from mail-wr1-f72.google.com (mail-wr1-f72.google.com\n [209.85.221.72])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 532503F078\n for <kernel-team@lists.ubuntu.com>; Thu, 18 Dec 2025 08:51:38 +0000 (UTC)",
            "by mail-wr1-f72.google.com with SMTP id\n ffacd0b85a97d-43065ad16a8so181071f8f.1\n for <kernel-team@lists.ubuntu.com>; Thu, 18 Dec 2025 00:51:38 -0800 (PST)",
            "from localhost ([149.86.141.164]) by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43244940148sm3876720f8f.15.2025.12.18.00.51.36\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 18 Dec 2025 00:51:36 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1766047898;\n bh=jK2mJe/8E4eEkgefxDLzrzWaYqjqo+omQfwAcfUlvng=;\n h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n MIME-Version;\n b=qQDarcWC2nURp2QM0ITMxHWQf1UCMClhb2TMmxqf1dpUGcS6EIMXkBh/XR8LvzXPC\n pasnBhz4OT7xciwS4aYCuxyXEMR9CcExlhhNXizI7qsxpjSoSh+kGb8LmARBRBHXiq\n 9Ul0IwiKLkjZ3HZSPKT/0Sw0pYU9s7jHa7gPryXypz9BLtnPbq25rgRerATsRTk7tb\n Yn7fAUZv//DS0sVM3pXwfMVBM3Rbyac6PV0iC41v1HVgRUIwLSzHzH617MU3yi+jw3\n wctsLdzCHDGOy5LhKphknpPuYfuMxsWyxPqoMsAEmJ/j5/RfaJf8PfuQYDDKwNGdd0\n sqhEWpFGzhR042rCnaTjrHIuaUh6cFRgOE0JE6174zN8eilaQF+XpaUKpNb2b0/HIF\n fFEideP22Whm2Bw8hS/AjagKxSTOfZnovnwWDXgxg5FGf74x18t4RM67x4fv1I/AOa\n wAmrCfBnN/cbElX6SuRtFM/GZg3odNTLZqJ9jtJlYc+736A6xfz+Xt7wEQDTeWQ5fN\n FzfGqvjKrFcvgJWWkqUjtwVREVGtDPK+KxBnabMQJn2YDPHh4nC6c6ClmsWFxME75w\n ZatuU/YuthlllgrjaRORJsnUQWqzj1r/NvalyHiZj3HeG1BKsvx5OP+aHKQIcdXe+v\n ZydUbr/5Dy73y5OXCYnKfx6U=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1766047897; x=1766652697;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=jK2mJe/8E4eEkgefxDLzrzWaYqjqo+omQfwAcfUlvng=;\n b=CnpJXqrmGy2fDC+4Zgwhhevxx0yh3PxEnYgEqD00ExdRflk+EDkF6/I2czTZtu2OhA\n hqHIigzmsRvpL4IgxPtuEXqwpes4/Ge8s9ZRciI7zIPlUfhoDdoTTBNNFsRMZdWPMWX4\n CAm6UEztHX0Mj9+apIGvoMklV03uQdeyo/tEWQFx5D8BL6MSSDUT2goQDgk/YinPL2vA\n oL2RDNpsyfy4lNtBuUpVDbXY/XtT1xNjzPJCUBoO8SKrbGxdYv6HiEQkWvCKSxEpX4Z4\n lX5bsjHTahLJEmMe649ww0OvKclI16ktjQVU5pMPTx2W/UpNHkCjgUgBdsJoxfDK/hHL\n II7Q==",
        "X-Gm-Message-State": "AOJu0YxYfPwVLH2mcWcsNAQ4fFDX/ijM3fy2jPoYZHh6CsD2iIlYdBP+\n phHfUBOzQ5zNGTlYqkqBPAR65cFlkP1nLOiXZI6ot9dmtCCX6J1CuB61K0SoJLPkF948Z0DjKT5\n YJpRTzV1AO0cwrzu+HGZ9mGi1IJkNykuRkpmUHUyvohsXp3KiPU+ebdLunAz8Q/UQ5w4nEiNEw1\n hIo+ykcId4qSVGDKBkrE4=",
        "X-Gm-Gg": "AY/fxX4gOYli8Fmw+ksorZEDgIa/adp+MuHg7uvCqSGwYnqvYtJCfsaCAi9I4LOpX5T\n 1WQ4M6iF0ctM+A/YmgAGm8oAcUiEhW4xuWM3VbrA7Hdlz7qygzfswBtv8cxDPe4vZswWBGd55QQ\n bDOCU9tuqILHbWWtS+IaKXqa8QUKEk1Rb+iRsrV10OrjTIM7Z5s1CHgLwV9c5n7u+CqskGK91Ig\n 2ArbddhgP/5OD+oVFenGQKkfZqPaitjtwTtU4y7GQkL9w7epDr6g3zh+nblPXQcAmf/YjRD+IwQ\n 3uJcWajtluuMVcPxYRdlYMlEke3u1izusXDEdjjJb3i2hbe6JskfUTM3cBOZ37hvtrB6PjLVSMs\n FND7y0/U98o/e6qQqFw==",
        "X-Received": [
            "by 2002:a05:6000:230f:b0:430:fa9a:75a with SMTP id\n ffacd0b85a97d-430fa9a0d44mr16324333f8f.62.1766047897458;\n Thu, 18 Dec 2025 00:51:37 -0800 (PST)",
            "by 2002:a05:6000:230f:b0:430:fa9a:75a with SMTP id\n ffacd0b85a97d-430fa9a0d44mr16324308f8f.62.1766047896933;\n Thu, 18 Dec 2025 00:51:36 -0800 (PST)"
        ],
        "X-Google-Smtp-Source": "\n AGHT+IEDNRkc/WSKIZpCpdQcpfGZ8bW0hOVo/Nzq9t7gXDIP9Fnyzjfs9gPhXCgx+bvD7WHPNnh3WQ==",
        "From": "Mehmet Basaran <mehmet.basaran@canonical.com>",
        "To": "kernel-team@lists.ubuntu.com",
        "Subject": "[PATCH 1/1] UBUNTU: SAUCE: Enable upstream config option\n \"CONFIG_CPUSETS_V1\"",
        "Date": "Thu, 18 Dec 2025 11:51:33 +0300",
        "Message-ID": "<20251218085133.26028-2-mehmet.basaran@canonical.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20251218085133.26028-1-mehmet.basaran@canonical.com>",
        "References": "<20251218085133.26028-1-mehmet.basaran@canonical.com>",
        "MIME-Version": "1.0",
        "X-BeenThere": "kernel-team@lists.ubuntu.com",
        "X-Mailman-Version": "2.1.20",
        "Precedence": "list",
        "List-Id": "Kernel team discussions <kernel-team.lists.ubuntu.com>",
        "List-Unsubscribe": "<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>",
        "List-Archive": "<https://lists.ubuntu.com/archives/kernel-team>",
        "List-Post": "<mailto:kernel-team@lists.ubuntu.com>",
        "List-Help": "<mailto:kernel-team-request@lists.ubuntu.com?subject=help>",
        "List-Subscribe": "<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "kernel-team-bounces@lists.ubuntu.com",
        "Sender": "\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"
    },
    "content": "BugLink: https://bugs.launchpad.net/bugs/2128722\n\nFor noble , some of the applied upstream commits are using \"CONFIG_CPUSETS_V1\"\nto enable/disable some code paths. This changes the behaviour of cpusets and\ncurrently noble is neither V1 nor V2. Because of this, \"cpuset_inherit\" and\n\"cpuset_hotplug\" test cases are failing in ubuntu_ltp_controllers test suite.\nFor noble, since this is an LTS release we should continue behave like V1.\n\nAdded \"CONFIG_CPUSETS_V1\" kernel config option. This was added to upstream\nvia the following commit:\n\n    commit 1abab1ba0775036bb67c6c57945c637be644c04f\n    cgroup/cpuset: guard cpuset-v1 code under CONFIG_CPUSETS_V1\n\nI have chosen to go with a SAUCE patch since, the commit above depends on\nother commits. And in the future, we can revert this one and apply the\ndependent commits if we want to follow cpusets follow from 6.12 versions so\nthat there are less conflicts between upstream stable and noble sources.\n\nThe other solution is to remove the use of \"CONFIG_CPUSETS_V1\" macro from\nsources. However this will also cause noble and upstream stable sources to\ndiverge and make it difficult to backport patches.\n\nSigned-off-by: Mehmet Basaran <mehmet.basaran@canonical.com>\n---\n debian.master/config/annotations |  1 +\n init/Kconfig                     | 13 +++++++++++++\n 2 files changed, 14 insertions(+)",
    "diff": "diff --git a/debian.master/config/annotations b/debian.master/config/annotations\nindex 9ebb2a92ba55..3f3150b3aa99 100644\n--- a/debian.master/config/annotations\n+++ b/debian.master/config/annotations\n@@ -3293,6 +3293,7 @@ CONFIG_CPU5_WDT                                 policy<{'amd64': 'm'}>\n CONFIG_CPUFREQ_DT_PLATDEV                       policy<{'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y'}>\n CONFIG_CPUMASK_OFFSTACK                         policy<{'amd64': 'y'}>\n CONFIG_CPUSETS                                  policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>\n+CONFIG_CPUSETS_V1                               policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>\n CONFIG_CPU_32v6K                                policy<{'armhf': 'y'}>\n CONFIG_CPU_32v7                                 policy<{'armhf': 'y'}>\n CONFIG_CPU_ABRT_EV7                             policy<{'armhf': 'y'}>\ndiff --git a/init/Kconfig b/init/Kconfig\nindex 426c2464f653..3b728ed594cc 100644\n--- a/init/Kconfig\n+++ b/init/Kconfig\n@@ -1143,6 +1143,19 @@ config CPUSETS\n \n \t  Say N if unsure.\n \n+config CPUSETS_V1\n+       bool \"Legacy cgroup v1 cpusets controller\"\n+       depends on CPUSETS\n+       default n\n+       help\n+         Legacy cgroup v1 cpusets controller which has been deprecated by\n+         cgroup v2 implementation. The v1 is there for legacy applications\n+         which haven't migrated to the new cgroup v2 interface yet. If you\n+         do not have any such application then you are completely fine leaving\n+         this option disabled.\n+\n+         Say N if unsure.\n+\n config PROC_PID_CPUSET\n \tbool \"Include legacy /proc/<pid>/cpuset file\"\n \tdepends on CPUSETS\n",
    "prefixes": [
        "1/1"
    ]
}