Show a cover letter.

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

{
    "id": 2230810,
    "url": "http://patchwork.ozlabs.org/api/1.1/covers/2230810/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/opensbi/cover/20260430045528.420437-1-npiggin@gmail.com/",
    "project": {
        "id": 67,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/67/?format=api",
        "name": "OpenSBI development",
        "link_name": "opensbi",
        "list_id": "opensbi.lists.infradead.org",
        "list_email": "opensbi@lists.infradead.org",
        "web_url": "https://github.com/riscv/opensbi",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260430045528.420437-1-npiggin@gmail.com>",
    "date": "2026-04-30T04:55:17",
    "name": "[0/7] Make PMP encoding usable for non-hart PMPs",
    "submitter": {
        "id": 69518,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/69518/?format=api",
        "name": "Nicholas Piggin",
        "email": "npiggin@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/opensbi/cover/20260430045528.420437-1-npiggin@gmail.com/mbox/",
    "series": [
        {
            "id": 502193,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502193/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/opensbi/list/?series=502193",
            "date": "2026-04-30T04:55:18",
            "name": "Make PMP encoding usable for non-hart PMPs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502193/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2230810/comments/",
    "headers": {
        "Return-Path": "\n <opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.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 secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=oeSnYFd5;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=P3Zy/jWS;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\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 4g5hhG2vYtz1yJr\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 14:55:53 +1000 (AEST)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wIJR6-00000004g2M-2TJa;\n\tThu, 30 Apr 2026 04:55:40 +0000",
            "from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wIJR4-00000004g1w-02mx\n\tfor opensbi@lists.infradead.org;\n\tThu, 30 Apr 2026 04:55:39 +0000",
            "by mail-pf1-x435.google.com with SMTP id\n d2e1a72fcca58-82f69adeecbso221580b3a.2\n        for <opensbi@lists.infradead.org>;\n Wed, 29 Apr 2026 21:55:37 -0700 (PDT)",
            "from localhost ([124.158.97.178])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-834ed6debacsm3710728b3a.33.2026.04.29.21.55.35\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 29 Apr 2026 21:55:35 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc\n\t:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=iXIyh5CWvun24nfKw7vH8D1GStoj9qNSCTWN4nNz9qo=; b=oeSnYFd5CsOw56\n\tehkC4jr2aAs8dK4Ou8bQKkhPajJvD5JrWK6hOPC0VrwdGQBTafymxGGcALjy3xNx5+xIlNiYCYQ2B\n\tLMp6YWY5JMcdO3ZLY1f1+GdBf//UV0xuEgl5kDPskQ3VH1AqSbO4AR0qP0iIq4QogA0XyrAaewk9C\n\tnYYDTe6Nx2q2/YCcZBDMCJh4DiHKOXWlMLBDKCiJY7idRbG3yfrehQoWeWOaFA3jR0pVw+PwAWivo\n\tkYVQJjxIYdmDGEfuJ/ud/o9mH4tJduJ0qH9S0c0HVDZ1VwybHsjsuzkDuX5q4QEu5XwXE82+uxL98\n\tK0kYTnSJo9+RLylo905Q==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1777524936; x=1778129736;\n darn=lists.infradead.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=jipsZ3SpvN4B/Iirw6YPssnkOymw3XF/VU9Cv16uLZo=;\n        b=P3Zy/jWS2wkJSmKIkRCAZo13iAwtbqS3ICIIP0+AWj+Ru/iTkXcba2JJt9eQZAB6c3\n         lNe00fPkN5yvP55bzz3bNw7ssmXE3meoYLbUj23znonYl9yEt4E/Bk8LMIuVXyKuXl5P\n         lDy4ZSIohVBRT5WNF5yzD8e6jHum8eANFWboM64DBkOhhmUvhvP9TT8Y3g3r+Y9/gQoB\n         INKpGK1W5JyEiTpxJ676PEOT0rmy2RSarhyT0OtFrDOKk4CBx8tc4jn8m795L9DAwHOy\n         bnbJj1WxnqBkeiClo4XkE+Q5zBUJZQuyou1/CiRwTTUG5QErLIcc7V3XCslpXZIxcgKk\n         0Ujg=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777524936; x=1778129736;\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=jipsZ3SpvN4B/Iirw6YPssnkOymw3XF/VU9Cv16uLZo=;\n        b=nu79GtMnQeQRz4OUY87c483/A2R4Mr7n7g8kK8b3BqKMnEQJvIYfQFp6TNgrVpP+GC\n         0aR2IviETe3ees79qpxb/iCaUkD69y3HrQvX6XnTegF1y/6RdJbKFmsZOG6dRqwnCWSU\n         tlSOn59ru1tAKbNJXHMKXXMhuESRa3ptvg2A8K4VYrh5Bo9284ClsT4+a7QwJ8mlxWM/\n         J4JgS/3Rzk7PTIsE4OYactMYeV82zLKuvjioZ7QHMLEukZC1RJ67WtCjWS3h5Z9HuCPx\n         0ITtaFQYgBK+1IJfEkWTIrDJFdKWM1gn0VfWS4Dy2IcGOa9JN7YTFA13TijHn/s/bpOP\n         4x+w==",
        "X-Gm-Message-State": "AOJu0YzzPNeu/NP1zfO++ukWt6oinh09cmdEDszNgNiQAR+jQiJX7KgS\n\t5497YnhS+3+239eyKO+moBE+6Ss/cQcLNWgX7CIGjnmjIZ6gbw7kKvPI95A3/w==",
        "X-Gm-Gg": "AeBDieuNLjXVXH/t+9JJO7LpMEuZwwouUB7E5TlVgQkMdDJUSQgMRZJ8xyheLbaVWU6\n\tVkPMQgP9er6v2az2ZKglrwGtUyjheaYzqCD3wbKL2LjBnQSA5ykU2s++NryFwhDVRfh+D+bqr4v\n\tR1CqAIeuK7zmxepg/m8mP0QmIyEwRTnmX7eHAxuQz7I8dbKpGNQIPd22cYNa9v09qgwc2KHL4Zs\n\tpGosYSdHWklR1WVD9Z4nk4KOS0+gaQEyf1s3mVRy8FVMRYgBG7HQkgYZhZrVJjx2YFOKMRXA/m0\n\tIJC7JO6oOlQVd8f9sZqSVqUsfuaKPlQPhBlLgBeU8frcPMoRLsy66uMzNp1MRGx01eCSX/Fnoba\n\t9opDFBoQ311oqRuQBxNS5WWA5D1HV+8Ew53320bfk3Xu4VwCs6R74GtAAGrGXsnC5olBOmHcrAS\n\t1alIvf19Xt9e4v6TL/QnYKyLmHthnrgwA34Y4QSgtDhC4px8Z1d0RKgQ==",
        "X-Received": "by 2002:a05:6a00:4c90:b0:82c:212a:8023 with SMTP id\n d2e1a72fcca58-834fe092911mr1593986b3a.11.1777524936436;\n        Wed, 29 Apr 2026 21:55:36 -0700 (PDT)",
        "From": "Nicholas Piggin <npiggin@gmail.com>",
        "To": "opensbi@lists.infradead.org",
        "Cc": "Nicholas Piggin <npiggin@gmail.com>",
        "Subject": "[PATCH 0/7] Make PMP encoding usable for non-hart PMPs",
        "Date": "Thu, 30 Apr 2026 14:55:17 +1000",
        "Message-ID": "<20260430045528.420437-1-npiggin@gmail.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260429_215538_104461_64A3DEA6 ",
        "X-CRM114-Status": "GOOD (  10.66  )",
        "X-Spam-Score": "-2.1 (--)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n the administrator of that system for details.\n Content preview:  The Tenstorrent RISC-V IOMMU implements PMPs with MMRs in\n   the same format as specified in the RISC-V ISA for the hart CSRs. This\n series\n    splits out the PMP encoding functions so it can be shared by bot [...]\n Content analysis details:   (-2.1 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/, no\n                             trust\n                             [2607:f8b0:4864:20:0:0:0:435 listed in]\n                             [list.dnswl.org]\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\n  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail\n provider\n                             [npiggin(at)gmail.com]",
        "X-BeenThere": "opensbi@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "<opensbi.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/opensbi>,\n <mailto:opensbi-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/opensbi/>",
        "List-Post": "<mailto:opensbi@lists.infradead.org>",
        "List-Help": "<mailto:opensbi-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/opensbi>,\n <mailto:opensbi-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"opensbi\" <opensbi-bounces@lists.infradead.org>",
        "Errors-To": "opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "The Tenstorrent RISC-V IOMMU implements PMPs with MMRs in the same\nformat as specified in the RISC-V ISA for the hart CSRs. This series\nsplits out the PMP encoding functions so it can be shared by both\nusers.\n\nI moved this series out of the Tenstorrent Atlantis platform series\nthat included IOMMU support, tried to do better at splitting it up,\ntidied and improved code.\n\nThe new user of the API can be seen here for reference (will not\nquite compile with this new series):\n\nhttps://lore.kernel.org/opensbi/20260310005000.3837512-4-npiggin@gmail.com/\n\nI will post that one out again after the base Atlantis platform and\nthis series is merged.\n\nThanks,\nNick\n\nNicholas Piggin (7):\n  lib: sbi: Introduce pmp_t type\n  lib: sbi: split PMP encoding and CSR access\n  lib: sbi: Move RISC-V PMP encoding functions to sbi_pmp.c\n  lib: sbi: Add PMP CSR read and write accessors\n  lib: sbi: Add pmp_is_enabled() helper\n  lib: sbi: Add hart_ prefix to PMP functions\n  lib: sbi: Move hart PMP functions to sbi_hart_pmp.c\n\n include/sbi/riscv_asm.h          |  12 ---\n include/sbi/sbi_hart_pmp.h       |  12 +++\n include/sbi/sbi_pmp.h            |  23 +++++\n lib/sbi/objects.mk               |   1 +\n lib/sbi/riscv_asm.c              | 162 +------------------------------\n lib/sbi/sbi_hart_pmp.c           | 128 ++++++++++++++++++++++--\n lib/sbi/sbi_pmp.c                | 105 ++++++++++++++++++++\n platform/generic/eswin/eic770x.c |  36 +++----\n 8 files changed, 279 insertions(+), 200 deletions(-)\n create mode 100644 include/sbi/sbi_pmp.h\n create mode 100644 lib/sbi/sbi_pmp.c"
}