Show a cover letter.

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

{
    "id": 80967,
    "url": "http://patches.dpdk.org/api/covers/80967/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/20201015172305.105717-1-drc@linux.vnet.ibm.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20201015172305.105717-1-drc@linux.vnet.ibm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201015172305.105717-1-drc@linux.vnet.ibm.com",
    "date": "2020-10-15T17:23:04",
    "name": "[v4,0/1] vfio: change spapr DMA window sizing operation",
    "submitter": {
        "id": 1256,
        "url": "http://patches.dpdk.org/api/people/1256/?format=api",
        "name": "David Christensen",
        "email": "drc@linux.vnet.ibm.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/20201015172305.105717-1-drc@linux.vnet.ibm.com/mbox/",
    "series": [
        {
            "id": 13022,
            "url": "http://patches.dpdk.org/api/series/13022/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13022",
            "date": "2020-10-15T17:23:04",
            "name": "vfio: change spapr DMA window sizing operation",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/13022/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/80967/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 217B3A04DB;\n\tThu, 15 Oct 2020 19:23:14 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id F26661D73C;\n\tThu, 15 Oct 2020 19:23:12 +0200 (CEST)",
            "from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com\n [148.163.158.5]) by dpdk.org (Postfix) with ESMTP id 50BE91D72C\n for <dev@dpdk.org>; Thu, 15 Oct 2020 19:23:10 +0200 (CEST)",
            "from pps.filterd (m0098421.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 09FH4qkC055384; Thu, 15 Oct 2020 13:23:09 -0400",
            "from pps.reinject (localhost [127.0.0.1])\n by mx0a-001b2d01.pphosted.com with ESMTP id 346sygswh8-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Thu, 15 Oct 2020 13:23:09 -0400",
            "from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1])\n by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 09FH5Liv058679;\n Thu, 15 Oct 2020 13:23:09 -0400",
            "from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com\n [169.53.41.122])\n by mx0a-001b2d01.pphosted.com with ESMTP id 346sygswh2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Thu, 15 Oct 2020 13:23:09 -0400",
            "from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1])\n by ppma04dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 09FHHPoY027007;\n Thu, 15 Oct 2020 17:23:08 GMT",
            "from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com\n [9.57.198.23]) by ppma04dal.us.ibm.com with ESMTP id 346dd7ppey-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Thu, 15 Oct 2020 17:23:08 +0000",
            "from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com\n [9.57.199.106])\n by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 09FHN78d54723058\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Thu, 15 Oct 2020 17:23:08 GMT",
            "from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id E137F28059;\n Thu, 15 Oct 2020 17:23:07 +0000 (GMT)",
            "from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id CA34428058;\n Thu, 15 Oct 2020 17:23:07 +0000 (GMT)",
            "from localhost.localdomain (unknown [9.114.224.51])\n by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP;\n Thu, 15 Oct 2020 17:23:07 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com;\n h=from : to : cc : subject\n : date : message-id : in-reply-to : references; s=pp1;\n bh=I+4JRCso2sCm+iNjFYRGVDZNu5h08iG/pG2gH63SbcU=;\n b=ecw1mOF2x2FJCg1kPABA8r+LshO6b1vy+o/O7DUwD4Re+5hSnvM505+133Z3ECa/u2lm\n K1ffHWAzT2qA9s+YG6eezm46h7a+rzWVxAMlrug/vrV116To420xPpcWnutmgLi/eMaM\n p7LpmVrJJkLZAHa4pmWf7ltYBf75iG6C61/oNsy/lAJgLdlXfbnHOBoheDiJHnWWgjjS\n iv01r+ka+UZu8ED7KIZddkM8xEUb0RXp4wlOV30XHRDvBw2882hMw9Y8wVyV+5D4joIM\n 0NRCqwZBaRYSzXijTbx7iJN8/hZvSRd8ODnUS4J4CfIPuXPAjEybhK1LU2CuDTNgafx3 xg==",
        "From": "David Christensen <drc@linux.vnet.ibm.com>",
        "To": "dev@dpdk.org, anatoly.burakov@intel.com, david.marchand@redhat.com",
        "Cc": "David Christensen <drc@linux.vnet.ibm.com>",
        "Date": "Thu, 15 Oct 2020 10:23:04 -0700",
        "Message-Id": "<20201015172305.105717-1-drc@linux.vnet.ibm.com>",
        "X-Mailer": "git-send-email 2.18.4",
        "In-Reply-To": "<20200810210707.745083-1-drc@linux.vnet.ibm.com>",
        "References": "<20200810210707.745083-1-drc@linux.vnet.ibm.com>",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687\n definitions=2020-10-15_10:2020-10-14,\n 2020-10-15 signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n suspectscore=0 phishscore=0\n priorityscore=1501 bulkscore=0 spamscore=0 mlxlogscore=999 clxscore=1015\n mlxscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0\n classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000\n definitions=main-2010150109",
        "Subject": "[dpdk-dev] [PATCH v4 0/1] vfio: change spapr DMA window sizing\n\toperation",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The SPAPR v2 IOMMU used on bare-metal PowerNV systems requires that a DMA\nwindow be defined before mapping/unmapping memory.  The current VFIO code\ndynamically resizes this DMA window every time a new memory request is\nmade, which requires that all existing memory be unmapped/remapped.\nWhile this strategy worked in DPDK 17.11 and earlier where memory was\nstatically allocated during startup, it is potentially dangerous in DPDK\n18.11 and later where memory can be allocated during runtime, temporarily\ninvalidating IOVA memory used by hardware.\n\nThis new code statically sizes the DMA window at startup, based on the\namount of memory installed in the system, avoiding the need to unmap\nmemory during runtime.\n\nReviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\nv4:\n- Move file reading code out of vfio_spapr_window_size_walk()\n\nv3:\n- Rebase for 20.08\n\nv2:\n- Drop patch to wrap ppc64 code with ifdef's\n- Add warning when external memory detected\n- Change VA memory size detection to scan memseg list when setting DMA window\n  for IOVA=VA\n- Add explicit error message when attempting to map outside the DMA window\n\nDavid Christensen (1):\n  vfio: modify spapr iommu support to use static window sizing\n\n lib/librte_eal/linux/eal_vfio.c | 412 +++++++++++++++-----------------\n 1 file changed, 188 insertions(+), 224 deletions(-)"
}