Show a cover letter.

GET /api/covers/2231658/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2231658,
    "url": "http://patchwork.ozlabs.org/api/covers/2231658/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/cover/cover.1777606826.git.ritesh.list@gmail.com/",
    "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": "<cover.1777606826.git.ritesh.list@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/cover.1777606826.git.ritesh.list@gmail.com/",
    "date": "2026-05-01T04:11:39",
    "name": "[v3,0/9] pseries/papr-hvpipe: Fix deadlock, races and misc cleanups",
    "submitter": {
        "id": 79126,
        "url": "http://patchwork.ozlabs.org/api/people/79126/?format=api",
        "name": "Ritesh Harjani (IBM)",
        "email": "ritesh.list@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/cover/cover.1777606826.git.ritesh.list@gmail.com/mbox/",
    "series": [
        {
            "id": 502420,
            "url": "http://patchwork.ozlabs.org/api/series/502420/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=502420",
            "date": "2026-05-01T04:11:39",
            "name": "pseries/papr-hvpipe: Fix deadlock, races and misc cleanups",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/502420/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2231658/comments/",
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-20351-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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=slQ041kH;\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-20351-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2607:f8b0:4864:20::52a\"",
            "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=slQ041kH;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::52a; helo=mail-pg1-x52a.google.com;\n envelope-from=ritesh.list@gmail.com; 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 4g6HgY6tckz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 14:12:25 +1000 (AEST)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4g6HgV6b75z30B4;\n\tFri, 01 May 2026 14:12:22 +1000 (AEST)",
            "from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com\n [IPv6:2607:f8b0:4864:20::52a])\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 4g6HgS6MWLz2xPW\n\tfor <linuxppc-dev@lists.ozlabs.org>; Fri, 01 May 2026 14:12:20 +1000 (AEST)",
            "by mail-pg1-x52a.google.com with SMTP id\n 41be03b00d2f7-c796163fac5so940372a12.1\n        for <linuxppc-dev@lists.ozlabs.org>;\n Thu, 30 Apr 2026 21:12:20 -0700 (PDT)",
            "from localhost.localdomain ([49.205.216.49])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-83515b485eesm1159428b3a.48.2026.04.30.21.12.11\n        (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n        Thu, 30 Apr 2026 21:12:14 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777608742;\n\tcv=none;\n b=UPnvt3+k17No5LVSw+bXMhGyU3qrZblY9ffY10aBRrJL8pn0AUjt6fdehdjFB6XEXx4Is0182zrtGjpos3Jq79jUfnJx+I3GXgKshOih+/hYF+1RljZBRZ/locUWyXPd/t14i2BZm4sLpKnSDKVNvlGvqFqafSAyBPOjeTJESS2pZhtYl4yGVEksAZhEw55UCz/xT9SLIhnzQK60YL7/lDznK14N8S/pIOEgXty0Izv+xa9PPSU1qRItgnTlRiSheFJiOJOK4PPcTmGdIdxpduCCpECuEoKAQz89hwneiPHSBJ3Jtmy8x+URYEcN9wM7gMIMrYSpUS8/APx7IA+FZw==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1777608742; c=relaxed/relaxed;\n\tbh=4YsBlJc4jNUJBo+7TVpNvISQUlC/MjEmtJwMDNQlOeY=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=OYCaBRhZI3OG5uZQJhrlLLQWO1PTjqbZlxMwuL/FmzX4JPdVnxCDZ5zoX22dEdn71+SikKxwTWTLWrKpDX6dWor+ZsAXjp6IuXoeQPDKsez4yyaCBlXVJ/MnHLi/rCxC9q8evio7YmfFPj57OvUQyzAKe3ErzHrpbsXP7m45Ay7twmfuNnatvdSLo4xeT2/zO9eQSPvNGN3I4JCAtf7wkWUNPVaDu4sLFDVpXIeRpgA+u8rXnIBwUGpU9iA6qarGg6cl+eJd9z/65vrUzY5O7pAOwRiKUWEMZmaMQxwNuZXpb8+lfChmBGNw8iQiuS+2ejLeQ9LtCBxnNcGx6j9VXg==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com; dkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=slQ041kH; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::52a; helo=mail-pg1-x52a.google.com;\n envelope-from=ritesh.list@gmail.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=gmail.com",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1777608735; x=1778213535;\n darn=lists.ozlabs.org;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=4YsBlJc4jNUJBo+7TVpNvISQUlC/MjEmtJwMDNQlOeY=;\n        b=slQ041kH5puPK7QBKEStS/hfZJ6ojM/SBAd1XAhQdN/sxgT2QQO8M4zY034lxZsZak\n         Klz+HmUCnCq4YQBHoD7wfp14CxxZEkezBJZkGpqEeFz6Lkank3mzTvunHVdKjpfEBp0d\n         fG4AHcQ0BFEPsO3hFM3o8TyzPEAxAEPU7YBoOAL9nI1wNdnbTj7FnclIw03TV37sI11S\n         RSuROzb+z7jJYI3FWHsm8CIz+27LTvFregMZP3nHJ0IX72/XgVVAWgTAuzMqzbMNbFPW\n         9VNQl9qkBVaIAGBdFPVMuiOFu9E5Sofdot0DkAtxaq5KOSw3ur1zlQBf6cSQ3qHk2Fka\n         F3OQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777608735; x=1778213535;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=4YsBlJc4jNUJBo+7TVpNvISQUlC/MjEmtJwMDNQlOeY=;\n        b=dYgt9l3fWVutrItxJ8sHZHHXKUzR59RaxLVkgZ8ba48KDZJXOW3/Q7KtE6Q7wV3APx\n         2Dl7qLlxylLu13fipT4sFqf/I8tfX3BgCfKyE1Rvrg24XZB8UyVr+DgFWiTtkz584GmM\n         8MpggxO5pU/Twl5F1HCo/Rl3AH8xmVGxFe52ktxXeHvqeFX8D9cFXBWc0sSyY0iLny7i\n         Kwk7H57G5hCumqu1Pcv2QWzL+gtUxxA5TRqMzo1753mHXqMbPghWCqHt9d9ykDi9Up4S\n         a4Yi8ajNcGeY3pRQXhbXFbxTprmMcYR3gT2MHivCO3KlqdoNrjnPaKfWsyHnuzeO44CV\n         7qdw==",
        "X-Gm-Message-State": "AOJu0YxExvZV8stZaHXRM5L27JzXZBpP2mpc69c6kXKsjYc3LInz3Pwi\n\tQOJXJmt6hbP8WHWmFY861p4wNpRhBqE6VQ1muSULyZHP+MYhNvnua0jHjekgt4hu",
        "X-Gm-Gg": "AeBDiesmBelMomcuuUqiGALH9e+zU45JkFxYqiYGUw125J2uVUuiBEIVRLXxec2zDtw\n\tt3Ugfb1/DL6fcBNsISK4qC5/rJOrg/boWo+aKIgauc4zRhzMozXewkO9Jo/+GamKzR2lv8I0zpy\n\t3WedH/t4ByqOfvHOlCqXqdTsvv905JbGklLfklalbu41YSFFC0XcRtbB2VFfewBv51vO7Gyv+uq\n\tKL9HCAFGBE3S9A9UU/nhbwiSVquhFyRkpMx/vSGNPeCZyLtaSx+n8ppWrDU9rwIOJpxpB+7r+AF\n\tv8esccvGWndudsb7QLpIkryqgDxFY+OputXtLkWM3JpQI/OSfLuxK0Ug3fHXs6VQkH1K0p0OxRB\n\tb/7jGNB3kgZmdKpr3F+WHEp87ND6t90ebpR/jVNOuKxpZfG+1djX+5sBk3bloYmOIcd2yRPH/5s\n\tBaGdGhDwadX0HlzxProTLmNzZy/rp6k7ODCBpVOUrN2IN0W0UlJKGeEMpHryJmg/k=",
        "X-Received": "by 2002:a05:6a00:3e0c:b0:82f:8a29:e3b4 with SMTP id\n d2e1a72fcca58-8351a6077b2mr1546695b3a.50.1777608735185;\n        Thu, 30 Apr 2026 21:12:15 -0700 (PDT)",
        "From": "\"Ritesh Harjani (IBM)\" <ritesh.list@gmail.com>",
        "To": "linuxppc-dev@lists.ozlabs.org,\n\tHaren Myneni <haren@linux.ibm.com>",
        "Cc": "Madhavan Srinivasan <maddy@linux.ibm.com>,\n\tChristophe Leroy <chleroy@kernel.org>,\n\tVenkat Rao Bagalkote <venkat88@linux.ibm.com>,\n\tNicholas Piggin <npiggin@gmail.com>,\n\tlinux-kernel@vger.kernel.org,\n\t\"Ritesh Harjani (IBM)\" <ritesh.list@gmail.com>",
        "Subject": "[PATCH v3 0/9] pseries/papr-hvpipe: Fix deadlock,\n races and misc cleanups",
        "Date": "Fri,  1 May 2026 09:41:39 +0530",
        "Message-ID": "<cover.1777606826.git.ritesh.list@gmail.com>",
        "X-Mailer": "git-send-email 2.50.1",
        "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=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "While going over papr-hvpipe code, there were a few fixes which were identified.\nThis patch series is an attempt to fix those along with some misc cleanups.\nMe and Haren are trying to get these patches verified on a real HW. The tests\nare not straight forward and we are waiting for the results.\nWill update on the test results once we hear back from the internal test team.\n\nv2->v3:\n======\n1. Rearranged the patches in such a way that it is easier to backport the fixes\n   if required.\n2. Clubbed patch-8 and patch-10 (of v2) since they both were changing the same function.\n3. Handled ret>=0 case in copy_to_user patch, when the user itself may request\n   for 0 effective bytes (after the HDR_LEN).\n\n[v2]: https://lore.kernel.org/linuxppc-dev/cover.1775648406.git.ritesh.list@gmail.com/\n\nv1->v2:\n========\n1. Fix a possible deadlock due to use of spin_lock instead of spin_lock_irqsave.\n2. Prevent kernel stack uninit memory leak to userspace\n3. Fix the race condition in null-ptr-deref case where there may be an\n   msg pending to be consumed from the hvpipe.\n4. Fixed error handling in init routine in patch-10\n\n[v1]: https://lore.kernel.org/linuxppc-dev/cover.1775569027.git.ritesh.list@gmail.com/#t\n\nRitesh Harjani (IBM) (9):\n  pseries/papr-hvpipe: Fix race with interrupt handler\n  pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace\n  pseries/papr-hvpipe: Fix null ptr deref in papr_hvpipe_dev_create_handle()\n  pseries/papr-hvpipe: Fix & simplify error handling in papr_hvpipe_init()\n  pseries/papr-hvpipe: Fix the usage of copy_to_user()\n  pseries/papr-hvpipe: Simplify spin unlock usage in papr_hvpipe_handle_release()\n  pseries/papr-hvpipe: Kill task_struct pointer from struct hvpipe_source_info\n  pseries/papr-hvpipe: Refactor and simplify hvpipe_rtas_recv_msg()\n  pseries/papr-hvpipe: Fix style and checkpatch issues in enable_hvpipe_IRQ()\n\n arch/powerpc/platforms/pseries/papr-hvpipe.c | 181 ++++++++++---------\n arch/powerpc/platforms/pseries/papr-hvpipe.h |   1 -\n 2 files changed, 97 insertions(+), 85 deletions(-)\n\n--\n2.39.5"
}