Show a cover letter.

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

{
    "id": 819135,
    "url": "http://patchwork.ozlabs.org/api/covers/819135/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-imx/cover/1506516620-20033-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": "<1506516620-20033-1-git-send-email-xiexiuqi@huawei.com>",
    "list_archive_url": null,
    "date": "2017-09-27T12:50:16",
    "name": "[v4,0/4] 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/1506516620-20033-1-git-send-email-xiexiuqi@huawei.com/mbox/",
    "series": [
        {
            "id": 5357,
            "url": "http://patchwork.ozlabs.org/api/series/5357/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-imx/list/?series=5357",
            "date": "2017-09-27T12:50:16",
            "name": "arm64/ras: support sea error recovery",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/5357/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/819135/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=\"I2cnSP6V\"; 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 3y2HfB72gJz9t5l\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 22:47:25 +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 1dxBkF-0000pj-Ae; Wed, 27 Sep 2017 12:47:19 +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 1dxBkB-0000m2-44 for linux-arm-kernel@lists.infradead.org;\n\tWed, 27 Sep 2017 12:47:17 +0000",
            "from 172.30.72.59 (EHLO DGGEMS412-HUB.china.huawei.com)\n\t([172.30.72.59])\n\tby dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued)\n\twith ESMTP id DID15376; Wed, 27 Sep 2017 20:46:43 +0800 (CST)",
            "from localhost.localdomain.localdomain (10.175.113.25) by\n\tDGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP\n\tServer id 14.3.301.0; Wed, 27 Sep 2017 20:46:33 +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=G6Q6KhsG5MGqd/PiE9ar9XWsFa2F53GhKca5SCWz53w=;\n\tb=I2cnSP6VPlmDIU\n\tH1wUJvT3Psxl7o9v9EcSMvY4jPsGLXrjzBHziIvma4oJZl9IPwgOywvngTH+Exu1sJ2fuvOzrUqCI\n\tDDMlB4+hyQaLgEa2YJewmdvh25oJgu+ocWb/IzOT4kfj4pcwr7Z+zxY2b+1g3zqmLcZcurwLeP0xI\n\t0p2QiVBA2RL5B1q9mlfFrNvAyaXGNtJbBf5DJ9dPGPs7lhxvTsbfkE5qO6vh8hdpYSuCdfCtwqWS1\n\tnIZWmYqaz/R71oUf7EBiBq7ecU9zWLTXW2iN80nQSd3iVByvVe+FNj7DmhRNbgfku29S4sDX7Ksgx\n\txt442/oM7QzUcke/4BHw==;",
        "From": "Xie XiuQi <xiexiuqi@huawei.com>",
        "To": "<catalin.marinas@arm.com>, <will.deacon@arm.com>, <mingo@redhat.com>,\n\t<mark.rutland@arm.com>, <ard.biesheuvel@linaro.org>,\n\t<james.morse@arm.com>, <Dave.Martin@arm.com>,\n\t<takahiro.akashi@linaro.org>, <tbaicar@codeaurora.org>,\n\t<stephen.boyd@linaro.org>, <bp@suse.de>, <julien.thierry@arm.com>,\n\t<shiju.jose@huawei.com>, <zjzhang@codeaurora.org>",
        "Subject": "[PATCH v4 0/4] arm64/ras: support sea error recovery",
        "Date": "Wed, 27 Sep 2017 20:50:16 +0800",
        "Message-ID": "<1506516620-20033-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.0A020206.59CB9DB3.0189, 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": "137d289734a7138faa9f8037c57b79c3",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170927_054715_520029_6AEE6D78 ",
        "X-CRM114-Status": "GOOD (  13.71  )",
        "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": "wangkefeng.wang@huawei.com, cj.chengjian@huawei.com, xiexiuqi@huawei.com,\n\tlinux-kernel@vger.kernel.org, gengdongjiu@huawei.com,\n\tlijinyue@huawei.com, linux-acpi@vger.kernel.org, hanjun.guo@linaro.org,\n\thuawei.libin@huawei.com, guohanjun@huawei.com, 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. According to the existing process, errors occurred in the\nkernel, leading to direct panic, if it occurred the user-space, we should\njust kill process.\n\nBut there is a class of error, in fact, is not necessary to kill\nprocess, you can recover and continue to run the process. Such as\nthe instruction data corrupted, where the memory page might be\nread-only, which is has not been modified, the disk might have the\ncorrect data, so you can directly drop the page, ant reload it when\nnecessary.\n\nSo this patchset is just try to solve such problem: if the error is\nconsumed in user-space and the error occurs on a clean page, you can\ndirectly drop the memory page without killing process.\n\nIf the corrupted page is clean, just dropped it and return to user-space\nwithout side effects. And if corrupted page is dirty, memory_failure()\nwill send SIGBUS with code=BUS_MCEERR_AR. While without this patchset,\ndo_sea() will just send SIGBUS, so the process was killed in the same place.\n\nBecause memory_failure() may sleep, we can not call it directly in SEA\nexception context. So we saved faulting physical address associated with\na process in the ghes handler and set __TIF_SEA_NOTIFY. When we return\nfrom SEA exception context and get into do_notify_resume() before the\nprocess running, we could check it and call memory_failure() to do\nrecovery. It's safe, because we are in process context.\n\nIn some platform, when SEA triggerred, physical address could be reported\nby memory section or by processor section, so we save address at this two\nplace.\n\n---\nv4 - v3:\n  - rebase on top of the latest mainline\n  - make ghes_arm_process_error as a weak function\n  - only pick cache error from arm processor section for error recovery\n  - fix s-o-b issue\n\n  https://lkml.org/lkml/2017/9/7/98\n\nv3 - v2:\n  - fix patch style issue\n\nv2 - v1:\n  - wrap arm_proc_error_check and log_arm_hw_error in a single arm_process_error()\n  - fix sea_save_info return value issue\n  - fix link error if this CONFIG_ARM64_ERR_RECOV is not selected\n  - use a notify chain instead of call arch_apei_report_mem_error directly\n\n  https://lkml.org/lkml/2017/9/1/189\n\nXie XiuQi (4):\n  ACPI, CPER: add arm error info type definition\n  arm64/ras: support sea error recovery\n  GHES: add a notify chain for process memory section\n  arm64/ras: save error address from memory section for recovery\n\n arch/arm64/Kconfig                   |  11 +++\n arch/arm64/include/asm/ras.h         |  23 +++++\n arch/arm64/include/asm/thread_info.h |   4 +-\n arch/arm64/kernel/Makefile           |   1 +\n arch/arm64/kernel/ras.c              | 173 +++++++++++++++++++++++++++++++++++\n arch/arm64/kernel/signal.c           |   7 ++\n arch/arm64/mm/fault.c                |  27 ++++--\n drivers/acpi/apei/ghes.c             |  18 +++-\n include/acpi/ghes.h                  |  11 +++\n include/linux/cper.h                 |   5 +\n 10 files changed, 270 insertions(+), 10 deletions(-)\n create mode 100644 arch/arm64/include/asm/ras.h\n create mode 100644 arch/arm64/kernel/ras.c"
}