Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807962/?format=api
{ "id": 807962, "url": "http://patchwork.ozlabs.org/api/patches/807962/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170830225225.27925-5-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-5-f4bug@amsat.org>", "list_archive_url": null, "date": "2017-08-30T22:52:22", "name": "[v2,4/7] mips: call cpu_mips_realize_env() from mips_cpu_realizefn()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "173a3805a639cff3cc5778c25ccc431df20f76af", "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-5-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/807962/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807962/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=\"XH2HT0JV\"; 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 3xjLQY3L2mz9s65\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 08:53:41 +1000 (AEST)", "from localhost ([::1]:53106 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 1dnBrf-0003Uc-Fq\n\tfor incoming@patchwork.ozlabs.org; Wed, 30 Aug 2017 18:53:39 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:34708)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dnBqv-0003RL-Uh\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:54 -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 1dnBqu-0002Fw-S1\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:53 -0400", "from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:38372)\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 1dnBqu-0002Fq-NT\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:52 -0400", "by mail-qk0-x242.google.com with SMTP id o63so6479271qkb.5\n\tfor <qemu-devel@nongnu.org>; Wed, 30 Aug 2017 15:52:52 -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.48\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 15:52:51 -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=VzPTsmdAXCctai5Nt19kqX8tIuAVZaCm3kz2S1kTjY4=;\n\tb=XH2HT0JV62XDbdpv+IyKiimAKO/AyfRIzMQ7oGs3RqDoXzP+j0V8LFugF2BakXe18m\n\tsYzqt5PfR7t3tWUC/vB1dFFFMLQ/TwgadKcy+d3OFsPpjPHsTIjjbn6RBmN/l5338T/W\n\twwn8aevAE8F4dpg6YdUD1txM/Sgt+9SA/RlkxpgF22N9SurXDAFwKFb2Xx+CDRZhrPn+\n\tNvBXYnSCswMXD6ioaAGXetTIq5o+STKG3kNiZHoIF1t13Mu3NQzYEQS3a9AqDx6y/SKt\n\tqZLKuylenD6if76jUAPTUEuc6gPTUfqGk5cvUxF7ziO0Rt6G9+GCva5kgvrUofJBLNSs\n\tNFPg==", "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=VzPTsmdAXCctai5Nt19kqX8tIuAVZaCm3kz2S1kTjY4=;\n\tb=kDGQImi52dv47Isr5iUC60cMe2AntPtZW2lP/Bw4HKiLcQH0q3oGNGF9fMdY6TUkNU\n\tMex4fuIiUeZphgMrR4gwgbOxWmi/O+UG48nCOH3qP4OZlRlEBSPTlnNt4ADQzX5I5g/d\n\tuPYuMhOhmNM4Yr8SQcEaY0jPgHbKZLyuQjBtfbQW4KIBXkD2TLNvPaU5aPa6BDOxY9Zp\n\tr/sXY49V/1jzMMNq5+uJ7D2ATNAbU+eQ7CT02Fk1BwtqIcTd70J24hAkroKPuzCO65oh\n\t89qjZjASZS4CYAwcpbgWZ4+I008d7eEh2wgyw8kMn+pHwizQgibJ6a8vpKl4r8wpI9g8\n\t8Cww==", "X-Gm-Message-State": "AHYfb5hnpsdV3ELnwWlYAnoufOwFFThqz8Gtzti/xmVY4lQXChQGHKrV\n\tShwUJ8CXCmAy/Q==", "X-Received": "by 10.55.11.140 with SMTP id 134mr1283262qkl.127.1504133572176; \n\tWed, 30 Aug 2017 15:52:52 -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:22 -0300", "Message-Id": "<20170830225225.27925-5-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:c09::242", "Subject": "[Qemu-devel] [PATCH v2 4/7] mips: call cpu_mips_realize_env() from\n\tmips_cpu_realizefn()", "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>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?=\n\t<f4bug@amsat.org>, \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": "Signed-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 target/mips/cpu.c | 3 +++\n target/mips/translate.c | 1 -\n 2 files changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/target/mips/cpu.c b/target/mips/cpu.c\nindex 68bf423e9d..e3ef835599 100644\n--- a/target/mips/cpu.c\n+++ b/target/mips/cpu.c\n@@ -123,6 +123,7 @@ static void mips_cpu_disas_set_info(CPUState *s, disassemble_info *info) {\n static void mips_cpu_realizefn(DeviceState *dev, Error **errp)\n {\n CPUState *cs = CPU(dev);\n+ MIPSCPU *cpu = MIPS_CPU(dev);\n MIPSCPUClass *mcc = MIPS_CPU_GET_CLASS(dev);\n Error *local_err = NULL;\n \n@@ -132,6 +133,8 @@ static void mips_cpu_realizefn(DeviceState *dev, Error **errp)\n return;\n }\n \n+ cpu_mips_realize_env(&cpu->env);\n+\n cpu_reset(cs);\n qemu_init_vcpu(cs);\n \ndiff --git a/target/mips/translate.c b/target/mips/translate.c\nindex 5fc7979ac5..94c38e8755 100644\n--- a/target/mips/translate.c\n+++ b/target/mips/translate.c\n@@ -20535,7 +20535,6 @@ MIPSCPU *cpu_mips_init(const char *cpu_model)\n cpu = MIPS_CPU(object_new(TYPE_MIPS_CPU));\n env = &cpu->env;\n env->cpu_model = def;\n- cpu_mips_realize_env(env);\n \n object_property_set_bool(OBJECT(cpu), true, \"realized\", NULL);\n \n", "prefixes": [ "v2", "4/7" ] }