Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/813170/?format=api
{ "id": 813170, "url": "http://patchwork.ozlabs.org/api/patches/813170/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170913061049.13256-2-bsingharora@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": "<20170913061049.13256-2-bsingharora@gmail.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170913061049.13256-2-bsingharora@gmail.com/", "date": "2017-09-13T06:10:45", "name": "[v2,1/5] powerpc/mce.c: Remove unused function get_mce_fault_addr()", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c2fbb1c19a08be00e982b4d54ed5c2fc8fcf52b4", "submitter": { "id": 9347, "url": "http://patchwork.ozlabs.org/api/people/9347/?format=api", "name": "Balbir Singh", "email": "bsingharora@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170913061049.13256-2-bsingharora@gmail.com/mbox/", "series": [ { "id": 2813, "url": "http://patchwork.ozlabs.org/api/series/2813/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=2813", "date": "2017-09-13T06:10:44", "name": "Revisit MCE handling for UE Errors", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/2813/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/813170/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/813170/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xsWbr5bWSz9sNr\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 16:15:04 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xsWbr3XH6zDrJl\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 16:15:04 +1000 (AEST)", "from mail-pg0-x243.google.com (mail-pg0-x243.google.com\n\t[IPv6:2607:f8b0:400e:c05::243])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xsWWH56fKzDqlw\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 13 Sep 2017 16:11:06 +1000 (AEST)", "by mail-pg0-x243.google.com with SMTP id j16so4126144pga.2\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 12 Sep 2017 23:11:06 -0700 (PDT)", "from firefly.ozlabs.ibm.com.ozlabs.ibm.com ([122.99.82.10])\n\tby smtp.gmail.com with ESMTPSA id\n\tt65sm22581016pfk.59.2017.09.12.23.11.01\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 12 Sep 2017 23:11:03 -0700 (PDT)" ], "Authentication-Results": [ "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"BuV/PpTn\"; dkim-atps=neutral", "lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"BuV/PpTn\"; dkim-atps=neutral", "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c05::243; helo=mail-pg0-x243.google.com;\n\tenvelope-from=bsingharora@gmail.com; receiver=<UNKNOWN>)", "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"BuV/PpTn\"; dkim-atps=neutral" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=cb/oq/9Ld847hcWmV9Y7jUomVcW/qW7SWYA2g1ZZiaE=;\n\tb=BuV/PpTnDo6qMUK5lpb0Y9KEcMlrSXBCoQcwxnps5hMW8gYCn8M99FfkPdwwYpPwNZ\n\tGZAL4U7O6XfhprDDAE0c0eKxfe03TIP5uVagOYb1Pn7T5NYP+j4zjVu/oQ5CQN85jYQr\n\tssHowIWeKRHbZE9vFTI0q365vxYkrHf7oll6dgshqj+Vpf6/4F1dyJ6cHW6fXC0G76HF\n\tOVD+/lZtsoxCloqUtJ0WR6V4YjAIi1pMe7R+CVOARwQ6hzbqm5JRWlWFM0lux3ha2LYL\n\tk3B6MywAyHo9II1YgbvDmR3LhOzIeO4A8BMcN8VuE8Alx2Q+Ht05bBKOOzAogUpDkFVz\n\twwmA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=cb/oq/9Ld847hcWmV9Y7jUomVcW/qW7SWYA2g1ZZiaE=;\n\tb=SQwMNHmWreKU4nVwYMVtHMtwicMveA2bQT7Llo+1Cu8dhyKK+zJaoHaGcO5yl+RujB\n\tmDRBAKcSp8z6wWxLykacs/EQ0mGuf6c/tdQmm+RP4g9mEDOXi9xXubydQK57714M10LU\n\tRtSflzkxwoBjrgBA3BzOPBy6yZPhJ8fPwzExpo0xLpUNEWL4a3aCzBeLKhMZsibAWyJD\n\tkojzqr5n1ot7+5Ea49sxbmW44JD7JL7EbveGtXPScB58aW47jPNvVIzVIfHdAkKcbVd7\n\tk75eoQRWDcmJwV9xhIWgzCZonJWqhFtNeZNMM+kfbEhYvVC0pQEQmU2zub2CKj5hnI06\n\tGjyw==", "X-Gm-Message-State": "AHPjjUgoVBFccWQJEwfiYRu7zTRBRhVcLNNwm4KvJx7u0coEi4aOjTIK\n\tftmBgEwln78+Jw==", "X-Google-Smtp-Source": "ADKCNb6MIQsYPDHf5TR/VFj31noy8GcdtrTK6Ete9VA53CvWLXcQlIUiDLfeOjABt/68EaaDiAWpNQ==", "X-Received": "by 10.84.133.99 with SMTP id 90mr11941751plf.148.1505283064437; \n\tTue, 12 Sep 2017 23:11:04 -0700 (PDT)", "From": "Balbir Singh <bsingharora@gmail.com>", "To": "mpe@ellerman.id.au,\n\tnpiggin@gmail.com,\n\tmahesh@linux.vnet.ibm.com", "Subject": "[PATCH v2 1/5] powerpc/mce.c: Remove unused function\n\tget_mce_fault_addr()", "Date": "Wed, 13 Sep 2017 16:10:45 +1000", "Message-Id": "<20170913061049.13256-2-bsingharora@gmail.com>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20170913061049.13256-1-bsingharora@gmail.com>", "References": "<20170913061049.13256-1-bsingharora@gmail.com>", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.24", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "linuxppc-dev@lists.ozlabs.org", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "There are no users of get_mce_fault_addr()\n\nFixes: b63a0ff (\"powerpc/powernv: Machine check exception handling.\")\n\nSigned-off-by: Balbir Singh <bsingharora@gmail.com>\n---\n arch/powerpc/include/asm/mce.h | 2 --\n arch/powerpc/kernel/mce.c | 39 ---------------------------------------\n 2 files changed, 41 deletions(-)", "diff": "diff --git a/arch/powerpc/include/asm/mce.h b/arch/powerpc/include/asm/mce.h\nindex 190d69a..75292c7 100644\n--- a/arch/powerpc/include/asm/mce.h\n+++ b/arch/powerpc/include/asm/mce.h\n@@ -210,6 +210,4 @@ extern void release_mce_event(void);\n extern void machine_check_queue_event(void);\n extern void machine_check_print_event_info(struct machine_check_event *evt,\n \t\t\t\t\t bool user_mode);\n-extern uint64_t get_mce_fault_addr(struct machine_check_event *evt);\n-\n #endif /* __ASM_PPC64_MCE_H__ */\ndiff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c\nindex 9b2ea7e..e254399 100644\n--- a/arch/powerpc/kernel/mce.c\n+++ b/arch/powerpc/kernel/mce.c\n@@ -411,45 +411,6 @@ void machine_check_print_event_info(struct machine_check_event *evt,\n }\n EXPORT_SYMBOL_GPL(machine_check_print_event_info);\n \n-uint64_t get_mce_fault_addr(struct machine_check_event *evt)\n-{\n-\tswitch (evt->error_type) {\n-\tcase MCE_ERROR_TYPE_UE:\n-\t\tif (evt->u.ue_error.effective_address_provided)\n-\t\t\treturn evt->u.ue_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_SLB:\n-\t\tif (evt->u.slb_error.effective_address_provided)\n-\t\t\treturn evt->u.slb_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_ERAT:\n-\t\tif (evt->u.erat_error.effective_address_provided)\n-\t\t\treturn evt->u.erat_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_TLB:\n-\t\tif (evt->u.tlb_error.effective_address_provided)\n-\t\t\treturn evt->u.tlb_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_USER:\n-\t\tif (evt->u.user_error.effective_address_provided)\n-\t\t\treturn evt->u.user_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_RA:\n-\t\tif (evt->u.ra_error.effective_address_provided)\n-\t\t\treturn evt->u.ra_error.effective_address;\n-\t\tbreak;\n-\tcase MCE_ERROR_TYPE_LINK:\n-\t\tif (evt->u.link_error.effective_address_provided)\n-\t\t\treturn evt->u.link_error.effective_address;\n-\t\tbreak;\n-\tdefault:\n-\tcase MCE_ERROR_TYPE_UNKNOWN:\n-\t\tbreak;\n-\t}\n-\treturn 0;\n-}\n-EXPORT_SYMBOL(get_mce_fault_addr);\n-\n /*\n * This function is called in real mode. Strictly no printk's please.\n *\n", "prefixes": [ "v2", "1/5" ] }