Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/816430/?format=api
{ "id": 816430, "url": "http://patchwork.ozlabs.org/api/patches/816430/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170920194934.23071-2-f4bug@amsat.org/", "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": "<20170920194934.23071-2-f4bug@amsat.org>", "list_archive_url": null, "date": "2017-09-20T19:49:29", "name": "[v4,1/6] mips: move hw/mips/cputimer.c to target/mips/", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "e37a3008fe134d8da2a1aabafca1f21f2e9facd4", "submitter": { "id": 70924, "url": "http://patchwork.ozlabs.org/api/people/70924/?format=api", "name": "Philippe Mathieu-Daudé", "email": "f4bug@amsat.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170920194934.23071-2-f4bug@amsat.org/mbox/", "series": [ { "id": 4216, "url": "http://patchwork.ozlabs.org/api/series/4216/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4216", "date": "2017-09-20T19:49:28", "name": "QOMify MIPS cpu", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/4216/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/816430/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/816430/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\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"CvKtfJg0\"; dkim-atps=neutral" ], "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 3xy9Mh1X75z9sNr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 05:50:40 +1000 (AEST)", "from localhost ([::1]:50382 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 1dul14-0004Dw-7P\n\tfor incoming@patchwork.ozlabs.org; Wed, 20 Sep 2017 15:50:38 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:37665)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dul0G-0004Af-Tc\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 15:49:50 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dul0F-0007r4-PF\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 15:49:48 -0400", "from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:35744)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dul0F-0007qp-KV\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 15:49:47 -0400", "by mail-qt0-x241.google.com with SMTP id l25so2417593qtf.2\n\tfor <qemu-devel@nongnu.org>; Wed, 20 Sep 2017 12:49:47 -0700 (PDT)", "from yoga.offpageads.com ([181.93.89.178])\n\tby smtp.gmail.com with ESMTPSA id\n\ti84sm1952792qkh.17.2017.09.20.12.49.43\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 20 Sep 2017 12:49:46 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=0ooTVwaQg+SzMjVrplQeDk1G3KYqhjMDq9cGiQZux1s=;\n\tb=CvKtfJg0e4bHDSn6Ti6NvlVNIdoGKtsqQOTAonOIp71HxgBvpvtyemX0FUH44Fmu5X\n\t4ny/ld51eOirQBmBToVHzR8u64wF5nZHhy6TK/BrsJ8mwNQ0ZWyYlE5Ud70TxgXl4BLU\n\tKBPFwrazmciYOZFPrK4zajvYmOZhYM4QYmCcBL7gnYpF+W3JNcOmdcDpeHp5opuKBEYV\n\tUK11frCMmuAZaRjuuQxZwCXBDXwnea2rEF32EVdC1HbqMFwxedOL+HSExkrV8PJVby9d\n\tRFVNMLAx+1gaJzUZh1JPFiEDdRpq6QQB0hCi7rabun2fqIImzsSQ21/pnDtIc0pfqOYB\n\tGXBQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=0ooTVwaQg+SzMjVrplQeDk1G3KYqhjMDq9cGiQZux1s=;\n\tb=Qaue9qfwPWbwo80pHqSXDYfCDOwKuFqqbEvCp1DhUAzFCpoRT4KStE9ekp0zeCP5G9\n\t9HFf5GgUGCUULYT1Q/s3pccg4FHPaOyAas7e57uzjjWPf8OKSLw7MQuULX1DDX3G/+nL\n\t3jLyABhD+SNiEeKUWNEKpQnpqFVhyH4naOkbco+JkQqwTrsFxOlppJTsp7IKb8Y0DSjl\n\tFXxwvUkK1oLXxm6EOgOMnRWC0iLjrNyaiHSB6sW1o0AvJ9JIJ+nKAvthOBipHDq9ZAEe\n\tcBCMZ/mBCTsiLFPavhZ/1Rk9vCaVvBBVmlrHM0OH1NIyLMkLnww+q3Mh5Jjk+iXcSkyI\n\tYJXw==", "X-Gm-Message-State": "AHPjjUh0zE2Quy5XRNaW4PYDBv3tPJrTL1XBgP/auI3XK8DRQVGxg9Yz\n\t/10RN43+blryAjd/dcVC+V8=", "X-Google-Smtp-Source": "AOwi7QAsfC2d+TRD/lWMzgTwY40PH0nSDybG5HhIDXCU6kw2MkbhnirSC0ehz8jiu0+7vkwbL4Y5dw==", "X-Received": "by 10.200.3.14 with SMTP id q14mr9620264qtg.336.1505936987029;\n\tWed, 20 Sep 2017 12:49:47 -0700 (PDT)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>", "To": "Igor Mammedov <imammedo@redhat.com>,\n\tEduardo Habkost <ehabkost@redhat.com>, \n\tAurelien Jarno <aurelien@aurel32.net>,\n\tYongbok Kim <yongbok.kim@imgtec.com>,\n\tMarcel Apfelbaum <marcel@redhat.com>", "Date": "Wed, 20 Sep 2017 16:49:29 -0300", "Message-Id": "<20170920194934.23071-2-f4bug@amsat.org>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170920194934.23071-1-f4bug@amsat.org>", "References": "<20170920194934.23071-1-f4bug@amsat.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.", "X-Received-From": "2607:f8b0:400d:c0d::241", "Subject": "[Qemu-devel] [PATCH v4 1/6] mips: move hw/mips/cputimer.c to\n\ttarget/mips/", "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": "Thomas Huth <thuth@redhat.com>, James Hogan <james.hogan@imgtec.com>,\n\t=?utf-8?q?Herv=C3=A9_Poussineau?= <hpoussin@reactos.org>,\n\t=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>,\n\tqemu-devel@nongnu.org", "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": "This timer is a required part of the MIPS32/MIPS64 System Control coprocessor\n(CP0). Moving it with the other architecture related files will allow an opaque\nuse of CPUMIPSState* in the next commit (introduce \"internal.h\").\n\nalso remove it from 'user' targets, remove an unnecessary include.\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nTested-by: Igor Mammedov <imammedo@redhat.com>\nTested-by: James Hogan <james.hogan@imgtec.com>\nAcked-by: Eduardo Habkost <ehabkost@redhat.com>\n---\n hw/mips/cputimer.c => target/mips/cp0_timer.c | 1 -\n hw/mips/Makefile.objs | 2 +-\n target/mips/Makefile.objs | 2 +-\n 3 files changed, 2 insertions(+), 3 deletions(-)\n rename hw/mips/cputimer.c => target/mips/cp0_timer.c (99%)", "diff": "diff --git a/hw/mips/cputimer.c b/target/mips/cp0_timer.c\nsimilarity index 99%\nrename from hw/mips/cputimer.c\nrename to target/mips/cp0_timer.c\nindex 8a166b3ea7..a9a58c5604 100644\n--- a/hw/mips/cputimer.c\n+++ b/target/mips/cp0_timer.c\n@@ -21,7 +21,6 @@\n */\n \n #include \"qemu/osdep.h\"\n-#include \"hw/hw.h\"\n #include \"hw/mips/cpudevs.h\"\n #include \"qemu/timer.h\"\n #include \"sysemu/kvm.h\"\ndiff --git a/hw/mips/Makefile.objs b/hw/mips/Makefile.objs\nindex 48cd2ef50e..17a311aaba 100644\n--- a/hw/mips/Makefile.objs\n+++ b/hw/mips/Makefile.objs\n@@ -1,5 +1,5 @@\n obj-y += mips_r4k.o mips_malta.o mips_mipssim.o\n-obj-y += addr.o cputimer.o mips_int.o\n+obj-y += addr.o mips_int.o\n obj-$(CONFIG_JAZZ) += mips_jazz.o\n obj-$(CONFIG_FULONG) += mips_fulong2e.o\n obj-y += gt64xxx_pci.o\ndiff --git a/target/mips/Makefile.objs b/target/mips/Makefile.objs\nindex bc5ed8511f..651f36f517 100644\n--- a/target/mips/Makefile.objs\n+++ b/target/mips/Makefile.objs\n@@ -1,4 +1,4 @@\n obj-y += translate.o dsp_helper.o op_helper.o lmi_helper.o helper.o cpu.o\n obj-y += gdbstub.o msa_helper.o mips-semi.o\n-obj-$(CONFIG_SOFTMMU) += machine.o\n+obj-$(CONFIG_SOFTMMU) += machine.o cp0_timer.o\n obj-$(CONFIG_KVM) += kvm.o\n", "prefixes": [ "v4", "1/6" ] }