Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/953998/?format=api
{ "id": 953998, "url": "http://patchwork.ozlabs.org/api/patches/953998/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1533574847-19294-12-git-send-email-aleksandar.markovic@rt-rk.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1533574847-19294-12-git-send-email-aleksandar.markovic@rt-rk.com>", "list_archive_url": null, "date": "2018-08-06T16:59:38", "name": "[v7,11/80] elf: Add ELF flags for MIPS machine variants", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "a2e146a40689333434526112e574555e82cfe469", "submitter": { "id": 68635, "url": "http://patchwork.ozlabs.org/api/people/68635/?format=api", "name": "Aleksandar Markovic", "email": "aleksandar.markovic@rt-rk.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1533574847-19294-12-git-send-email-aleksandar.markovic@rt-rk.com/mbox/", "series": [ { "id": 59520, "url": "http://patchwork.ozlabs.org/api/series/59520/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=59520", "date": "2018-08-06T16:59:27", "name": "Add nanoMIPS support to QEMU", "version": 7, "mbox": "http://patchwork.ozlabs.org/series/59520/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/953998/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/953998/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=rt-rk.com" ], "Received": [ "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 41kkbF4wNYz9ryt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 7 Aug 2018 03:07:05 +1000 (AEST)", "from localhost ([::1]:35187 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1fmiyE-0005vA-4e\n\tfor incoming@patchwork.ozlabs.org; Mon, 06 Aug 2018 13:07:02 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:53854)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <aleksandar.markovic@rt-rk.com>) id 1fmiww-0005RK-Ng\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:05:43 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <aleksandar.markovic@rt-rk.com>) id 1fmiwt-0006lR-R6\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:05:42 -0400", "from mx2.rt-rk.com ([89.216.37.149]:43630 helo=mail.rt-rk.com)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <aleksandar.markovic@rt-rk.com>)\n\tid 1fmiwt-0006ku-Ho\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:05:39 -0400", "from localhost (localhost [127.0.0.1])\n\tby mail.rt-rk.com (Postfix) with ESMTP id A1DCB1A21BD;\n\tMon, 6 Aug 2018 19:05:37 +0200 (CEST)", "from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local\n\t[10.10.13.43])\n\tby mail.rt-rk.com (Postfix) with ESMTPSA id 750981A212C;\n\tMon, 6 Aug 2018 19:05:37 +0200 (CEST)" ], "X-Virus-Scanned": "amavisd-new at rt-rk.com", "From": "Aleksandar Markovic <aleksandar.markovic@rt-rk.com>", "To": "qemu-devel@nongnu.org", "Date": "Mon, 6 Aug 2018 18:59:38 +0200", "Message-Id": "<1533574847-19294-12-git-send-email-aleksandar.markovic@rt-rk.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1533574847-19294-1-git-send-email-aleksandar.markovic@rt-rk.com>", "References": "<1533574847-19294-1-git-send-email-aleksandar.markovic@rt-rk.com>", "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 3.x [fuzzy]", "X-Received-From": "89.216.37.149", "Subject": "[Qemu-devel] [PATCH v7 11/80] elf: Add ELF flags for MIPS machine\n\tvariants", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Cc": "peter.maydell@linaro.org, thuth@redhat.com, pburton@wavecomp.com,\n\tsmarkovic@wavecomp.com, riku.voipio@iki.fi,\n\trichard.henderson@linaro.org, laurent@vivier.eu,\n\tarmbru@redhat.com, arikalo@wavecomp.com,\n\tphilippe.mathieu.daude@gmail.com, amarkovic@wavecomp.com,\n\tpjovanovic@wavecomp.com, aurelien@aurel32.net", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>" }, "content": "From: Aleksandar Markovic <amarkovic@wavecomp.com>\n\nAdd MIPS machine variants ELF flags so that the emulation behavior\ncan be adjusted if needed.\n\nReviewed-by: Laurent Vivier <laurent@vivier.eu>\nReviewed-by: Richard Henderson <richard.henderson@linaro.org>\nSigned-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>\nSigned-off-by: Stefan Markovic <smarkovic@wavecomp.com>\n---\n include/elf.h | 23 +++++++++++++++++++++++\n 1 file changed, 23 insertions(+)", "diff": "diff --git a/include/elf.h b/include/elf.h\nindex 60f6cbe..002a002 100644\n--- a/include/elf.h\n+++ b/include/elf.h\n@@ -62,6 +62,29 @@ typedef int64_t Elf64_Sxword;\n #define EF_MIPS_FP64 0x00000200\n #define EF_MIPS_NAN2008 0x00000400\n \n+/* MIPS machine variant */\n+#define EF_MIPS_MACH_NONE 0x00000000 /* A standard MIPS implementation */\n+#define EF_MIPS_MACH_3900 0x00810000 /* Toshiba R3900 */\n+#define EF_MIPS_MACH_4010 0x00820000 /* LSI R4010 */\n+#define EF_MIPS_MACH_4100 0x00830000 /* NEC VR4100 */\n+#define EF_MIPS_MACH_4650 0x00850000 /* MIPS R4650 */\n+#define EF_MIPS_MACH_4120 0x00870000 /* NEC VR4120 */\n+#define EF_MIPS_MACH_4111 0x00880000 /* NEC VR4111/VR4181 */\n+#define EF_MIPS_MACH_SB1 0x008a0000 /* Broadcom SB-1 */\n+#define EF_MIPS_MACH_OCTEON 0x008b0000 /* Cavium Networks Octeon */\n+#define EF_MIPS_MACH_XLR 0x008c0000 /* RMI Xlr */\n+#define EF_MIPS_MACH_OCTEON2 0x008d0000 /* Cavium Networks Octeon2 */\n+#define EF_MIPS_MACH_OCTEON3 0x008e0000 /* Cavium Networks Octeon3 */\n+#define EF_MIPS_MACH_5400 0x00910000 /* NEC VR5400 */\n+#define EF_MIPS_MACH_5900 0x00920000 /* MIPS R5900 */\n+#define EF_MIPS_MACH_5500 0x00980000 /* NEC VR5500 */\n+#define EF_MIPS_MACH_9000 0x00990000 /* Unknown */\n+#define EF_MIPS_MACH_LS2E 0x00a00000 /* ST Microelectronics Loongson 2E */\n+#define EF_MIPS_MACH_LS2F 0x00a10000 /* ST Microelectronics Loongson 2F */\n+#define EF_MIPS_MACH_LS3A 0x00a20000 /* Loongson 3A */\n+#define EF_MIPS_MACH 0x00ff0000 /* EF_MIPS_MACH_xxx selection mask */\n+\n+\n /* These constants define the different elf file types */\n #define ET_NONE 0\n #define ET_REL 1\n", "prefixes": [ "v7", "11/80" ] }