Show a cover letter.

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

{
    "id": 808614,
    "url": "http://patchwork.ozlabs.org/api/covers/808614/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-imx/cover/1504261921-39308-1-git-send-email-xiexiuqi@huawei.com/",
    "project": {
        "id": 19,
        "url": "http://patchwork.ozlabs.org/api/projects/19/?format=api",
        "name": "Linux IMX development",
        "link_name": "linux-imx",
        "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org",
        "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504261921-39308-1-git-send-email-xiexiuqi@huawei.com>",
    "list_archive_url": null,
    "date": "2017-09-01T10:31:58",
    "name": "[RFC,v1,0/3] arm64/ras: support sea error recovery",
    "submitter": {
        "id": 24815,
        "url": "http://patchwork.ozlabs.org/api/people/24815/?format=api",
        "name": "Xie XiuQi",
        "email": "xiexiuqi@huawei.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-imx/cover/1504261921-39308-1-git-send-email-xiexiuqi@huawei.com/mbox/",
    "series": [
        {
            "id": 989,
            "url": "http://patchwork.ozlabs.org/api/series/989/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-imx/list/?series=989",
            "date": "2017-09-01T10:31:58",
            "name": "arm64/ras: support sea error recovery",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/989/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/808614/comments/",
    "headers": {
        "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming-imx@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"TQxxHpau\"; dkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkFsf5HCmz9s83\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 20:31:49 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dnjEn-0007XH-S9; Fri, 01 Sep 2017 10:31:45 +0000",
            "from szxga05-in.huawei.com ([45.249.212.191])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dnjEj-0007G1-Ud for linux-arm-kernel@lists.infradead.org;\n\tFri, 01 Sep 2017 10:31:44 +0000",
            "from 172.30.72.58 (EHLO DGGEMS405-HUB.china.huawei.com)\n\t([172.30.72.58])\n\tby dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued)\n\twith ESMTP id DGK21185; Fri, 01 Sep 2017 18:31:07 +0800 (CST)",
            "from localhost.localdomain.localdomain (10.175.113.25) by\n\tDGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP\n\tServer id 14.3.301.0; Fri, 1 Sep 2017 18:30:56 +0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To\n\t: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=0oBhYApRUE+K1ARCBSugtxNS/O+bATxvv15rUmjO8LA=;\n\tb=TQxxHpauRsI1fE\n\tNCVd3hhbQmbmWdDh+akEiR1LwT6XK4HBdjg8wc7YnZNrHMDU1PdCvDBBOFyUSxb6OvPvtqQDELvvZ\n\tzt1mKHWbOgTPEa7CPszO2XZ+HI9K68ZZ/JDPRCAXPrXV+W44H+qLsPuSlvsyVm4nGVCX89xEDWo68\n\t8+D3ZOgsI4ug6jAt29iZRNd0nOmmYgpdkyH09aDI0GMs/CrPl1xqRVqqIOgSuJ4j0sde1uYsd23ab\n\tYmB8FVwbYhgodFpLOSOKv3AkrS2bPolOeGrZVvDfi/t6coskNuSAzfVdeDhpijzJnmmIeMdULRvMu\n\tR8QjWqB2vg1e+9JWPhCw==;",
        "From": "Xie XiuQi <xiexiuqi@huawei.com>",
        "To": "<catalin.marinas@arm.com>, <will.deacon@arm.com>, <mingo@redhat.com>,\n\t<x86@kernel.org>, <mark.rutland@arm.com>, <ard.biesheuvel@linaro.org>,\n\t<james.morse@arm.com>, <takahiro.akashi@linaro.org>,\n\t<tbaicar@codeaurora.org>, <bp@suse.de>, <shiju.jose@huawei.com>,\n\t<zjzhang@codeaurora.org>",
        "Subject": "[RFC PATCH v1 0/3] arm64/ras: support sea error recovery",
        "Date": "Fri, 1 Sep 2017 18:31:58 +0800",
        "Message-ID": "<1504261921-39308-1-git-send-email-xiexiuqi@huawei.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[10.175.113.25]",
        "X-CFilter-Loop": "Reflected",
        "X-Mirapoint-Virus-RAPID-Raw": "score=unknown(0),\n\trefid=str=0001.0A020203.59A936EE.0089, ss=1, re=0.000, recu=0.000,\n\treip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0,\n\tso=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32",
        "X-Mirapoint-Loop-Id": "d302b7ca53860048efdb5b406c310315",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170901_033142_346311_55522FC8 ",
        "X-CRM114-Status": "UNSURE (   9.15  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-1.9 (-)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "X-BeenThere": "linux-arm-kernel@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>",
        "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>",
        "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>",
        "Cc": "xiexiuqi@huawei.com, linux-kernel@vger.kernel.org, gengdongjiu@huawei.com,\n\tlinux-acpi@vger.kernel.org, zhengqiang10@huawei.com,\n\twangxiongfeng2@huawei.com, linux-arm-kernel@lists.infradead.org",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>",
        "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org",
        "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org"
    },
    "content": "With ARM v8.2 RAS Extension, SEA are usually triggered when memory errors\nare consumed. In some cases, if the error address is in a clean page or a\nread-only page, there is a chance to recover. Such as error occurs in a\ninstruction page, we can reread this page from disk instead of killing process.\n\nBecause memory_failure() may sleep, we can not call it directly in SEA exception\ncontext. So we saved faulting physical address associated with a process in the\nghes handler and set __TIF_SEA_NOTIFY. When we return from SEA exception context\nand get into do_notify_resume() before the process running, we could check it\nand call memory_failure() to do recovery. It's safe, because we are in process\ncontext.\n\nIn some platform, when SEA triggerred, physical address could be\nreported by memory section or by processor section, so we save \naddress at this two place.\n\nXie XiuQi (3):\n  arm64/ras: support sea error recovery\n  apei: add ghes param for arch_apei_report_mem_error\n  arm64/apei: get error address from memory section for recovery\n\n arch/arm64/Kconfig                   |  11 +++\n arch/arm64/include/asm/ras.h         |  27 ++++++\n arch/arm64/include/asm/thread_info.h |   4 +-\n arch/arm64/kernel/Makefile           |   1 +\n arch/arm64/kernel/ras.c              | 155 +++++++++++++++++++++++++++++++++++\n arch/arm64/kernel/signal.c           |   8 ++\n arch/arm64/mm/fault.c                |  27 ++++--\n arch/x86/kernel/acpi/apei.c          |   2 +-\n drivers/acpi/apei/apei-base.c        |   4 +-\n drivers/acpi/apei/ghes.c             |   4 +-\n include/acpi/apei.h                  |   4 +-\n include/acpi/ghes.h                  |   3 +-\n 12 files changed, 236 insertions(+), 14 deletions(-)\n create mode 100644 arch/arm64/include/asm/ras.h\n create mode 100644 arch/arm64/kernel/ras.c"
}