Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807961/?format=api
{ "id": 807961, "url": "http://patchwork.ozlabs.org/api/patches/807961/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170830225225.27925-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": "<20170830225225.27925-2-f4bug@amsat.org>", "list_archive_url": null, "date": "2017-08-30T22:52:19", "name": "[v2,1/7] mips: move hw/mips/cputimer.c to target/mips/", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "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/20170830225225.27925-2-f4bug@amsat.org/mbox/", "series": [ { "id": 718, "url": "http://patchwork.ozlabs.org/api/series/718/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=718", "date": "2017-08-30T22:52:19", "name": "[v2,1/7] mips: move hw/mips/cputimer.c to target/mips/", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/718/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807961/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807961/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=\"GEHzsBzo\"; 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 3xjLQ94JKhz9s65\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 08:53:21 +1000 (AEST)", "from localhost ([::1]:53104 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 1dnBrL-0003LV-LX\n\tfor incoming@patchwork.ozlabs.org; Wed, 30 Aug 2017 18:53:19 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:34663)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dnBqk-0003LM-80\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:43 -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 1dnBqj-0002DF-DV\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:42 -0400", "from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:34288)\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 1dnBqj-0002DA-97\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:41 -0400", "by mail-qt0-x241.google.com with SMTP id v20so947761qtg.1\n\tfor <qemu-devel@nongnu.org>; Wed, 30 Aug 2017 15:52:41 -0700 (PDT)", "from yoga.offpageads.com ([181.93.89.178])\n\tby smtp.gmail.com with ESMTPSA id\n\t54sm4449874qts.31.2017.08.30.15.52.36\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 15:52:40 -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=BU6yiW3YboVU9Vl89usNIRj6zVhejZfkvwh9uq4aWV4=;\n\tb=GEHzsBzoFS9Srg2j051MkN4wFtcZUmKX2qdk8H9aGCuH5aq6iFQO4PC2mVTtVfLcoG\n\tXEc6G3rewkjYl45NzvhE9e7qETKvJjV0qXhR704e9WtLu/M3+Vw5bGn3FAcn392pi3ab\n\t0dSuxex4hf3i0W5wmEKPeX15MTbmHparilK9vHpkSsr458zj2uaWRARHukpam1bEUmfm\n\tE+eEpD5EcKT/kCS3/S+TmxGvVt8naZ0ctKQIt07vq9AZDn0k9Y13DcOACcjaMBvwHtYV\n\tKZL6ZvUMVxS035yMNeH/e6Dw6FabnjaR1pB0uNmWckoSHPDd2YOWqCmjK817wS4X+5CP\n\tNWXg==", "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=BU6yiW3YboVU9Vl89usNIRj6zVhejZfkvwh9uq4aWV4=;\n\tb=SmQyukgrfGK7+Z8096pY9oMpapbzfZGfeU6OgUEECY4cxgo36LDuOWwO2MFjdAh+cA\n\tOe9rDqMS3PqfFyGKfpnViqWE8sep21IFD8UWKSBZnrMvcaODGqeO34G0faGo1Abxqo7R\n\thlDOgnalc9ovsXxUfhN0GDM2nt4uZx/P4Sn+LzlD+NjU1L9l/qN0vFzWGRZc55w3cE0n\n\tN8p3Qaf4872FBWmqX7o4/pZSatd5XvkSG5QQCzBHf30OBWH9aD8LTZS/GtmIrvZprmyz\n\tZjAKsdy5VzE5iQcYtvfwJTx3RFN4n6mGjGh/HcpCf5rLTmkyFDBJ+msAyiWqgO+Nk6Aq\n\tjXxQ==", "X-Gm-Message-State": "AHYfb5hinFNUvjh/Sgj9ZWGTH4xDZCjMikwv+bc+nw+7mIPTVVnfMUHe\n\t6WbEy+ene5v08w==", "X-Received": "by 10.200.37.147 with SMTP id e19mr4560993qte.86.1504133560598; \n\tWed, 30 Aug 2017 15:52:40 -0700 (PDT)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>", "To": "Igor Mammedov <imammedo@redhat.com>, =?utf-8?q?Herv=C3=A9_Poussineau?=\n\t<hpoussin@reactos.org>, \tAurelien Jarno <aurelien@aurel32.net>,\n\tEduardo Habkost <ehabkost@redhat.com>, \n\tMarcel Apfelbaum <marcel@redhat.com>,\n\tJames Hogan <james.hogan@imgtec.com>, Yongbok Kim\n\t<yongbok.kim@imgtec.com>", "Date": "Wed, 30 Aug 2017 19:52:19 -0300", "Message-Id": "<20170830225225.27925-2-f4bug@amsat.org>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170830225225.27925-1-f4bug@amsat.org>", "References": "<20170830225225.27925-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 v2 1/7] 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": "Peter Maydell <peter.maydell@linaro.org>, Thomas Huth <thuth@redhat.com>,\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>\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": [ "v2", "1/7" ] }