{"id":807960,"url":"http://patchwork.ozlabs.org/api/1.0/covers/807960/?format=json","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.0/projects/14/?format=json","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":""},"msgid":"<20170830225225.27925-1-f4bug@amsat.org>","date":"2017-08-30T22:52:18","name":"[v2,0/7] QOMify MIPS cpu","submitter":{"id":70924,"url":"http://patchwork.ozlabs.org/api/1.0/people/70924/?format=json","name":"Philippe Mathieu-Daudé","email":"f4bug@amsat.org"},"series":[],"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=\"MZRRkuAl\"; 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 3xjLQB17lsz9s8V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 08:53:22 +1000 (AEST)","from localhost ([::1]:53105 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 1dnBrM-0003Lv-5F\n\tfor incoming@patchwork.ozlabs.org; Wed, 30 Aug 2017 18:53:20 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:34655)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dnBqj-0003LL-NT\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:42 -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 1dnBqe-0002CQ-Rd\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:41 -0400","from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:38059)\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 1dnBqe-0002CD-NS\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:36 -0400","by mail-qt0-x22f.google.com with SMTP id w42so33353115qtg.5\n\tfor <qemu-devel@nongnu.org>; Wed, 30 Aug 2017 15:52:36 -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.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 15:52:35 -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:mime-version\n\t:content-transfer-encoding;\n\tbh=H7AN3LCLP0PD32AGD/AF+ybSTaMrdfL/kbt019HWNLY=;\n\tb=MZRRkuAlMZZn4hTsLyK2KcevO//scIYRVvPL8J2xE8+Y2d+EMShYtJypiIj2HS4yDh\n\tr4Y/YDdGFBCA58AKqKfWsrnISDL0DWkNJcWGwF4Mjw1G49ELZmfPdInLRuPQeiNYRfWD\n\t6vy1+lo2a3sHF3/2FgdCID4dM6y2Urqcc1V8zf1ZnQiAjOD7e6urzLONGlbN8t3xNuZf\n\t3STNIVFKz5gEeTyB2pHHASKVUtsnud38k7b1zdYuNSJtFnsuRO77XoiQn4M2z68vYVzk\n\tTB5KqaGtPhhksF5LCynAiIQldc2Ydjy1jrjJWIJpgRj+mihesDYhqgiNcXqiG1EJ7zUv\n\t+MOw==","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:mime-version:content-transfer-encoding;\n\tbh=H7AN3LCLP0PD32AGD/AF+ybSTaMrdfL/kbt019HWNLY=;\n\tb=oQ9Bj5sVA8zSeTYxgYM3cGmKM5L8+eZ1arpXtYpEvLCbjKKwS3tuuNiHJK6pzW8orM\n\tpz2nALbXVRBDU5HAYNqtiObhDg6g0yNYyLli2rEjKMcV/W/Kt1Oxh3aX34r1DRdyJL+J\n\tM0IOzOLDrv6RH6DFtA7MyfYtOhXSlhVf6Jv5z57cUOyKPsE21P42+EjpcEl0K9z4y0N8\n\tRz3TP+KT7t4SvrXXIqtUEtos54CFBX4W/RloExD8ROLNCPPIgXeCExi5zlHTVRn0jMh9\n\t0IsdkLHr3tD3tkrIN1euOcGK83ukNfn/UQ4HH3olMTjgK4gxExcFjczTkTRl62RMULQF\n\teJeA==","X-Gm-Message-State":"AHYfb5g8zuAHlwAlulRtwRy4lkoEfOlEo6svc6/iTJMSpe0ojnlaXd29\n\tOJPeDMJNyjhKDg==","X-Received":"by 10.200.37.110 with SMTP id 43mr4657720qtn.10.1504133556086;\n\tWed, 30 Aug 2017 15:52:36 -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\tMarcel Apfelbaum <marcel@redhat.com>","Date":"Wed, 30 Aug 2017 19:52:18 -0300","Message-Id":"<20170830225225.27925-1-f4bug@amsat.org>","X-Mailer":"git-send-email 2.14.1","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::22f","Subject":"[Qemu-devel] [PATCH v2 0/7] QOMify MIPS cpu","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":"Hi,\n\nThis series is based on Igor's \"complete cpu QOMification\" [1] but only modify\nthe MIPS part. Igor posted an updated series [2], both series should apply\nseparately.\n\nIgor suggested on IRC this series could enter via the Machine core tree, so\nI added Eduardo and Marcel.\n\nRegards,\n\nPhil.\n\n[1]: http://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg04414.html\n[2]: http://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg03364.html\n\nv2: \n- added Igor and James Tested-by\n- squashed \"!fixup mips: now than MIPSCPU is QOMified, mark it abstract\"\n\nPS: code movement somehow triggers a \"binary vs unary operators\" confusion\n    in checkpatch: \"ERROR: space prohibited after that '&' (ctx:WxW)\"\n\nIgor Mammedov (2):\n  mips: MIPSCPU model subclasses\n  mips: replace cpu_mips_init() with cpu_generic_init()\n\nPhilippe Mathieu-Daudé (5):\n  mips: move hw/mips/cputimer.c to target/mips/\n  mips: introduce internal.h and cleanup cpu.h\n  mips: split cpu_mips_realize_env() out of cpu_mips_init()\n  mips: call cpu_mips_realize_env() from mips_cpu_realizefn()\n  mips: update mips_cpu_list() to use object_class_get_list()\n\n target/mips/cpu-qom.h                         |   1 +\n target/mips/cpu.h                             | 357 +---------------------\n target/mips/internal.h                        | 422 ++++++++++++++++++++++++++\n hw/mips/cps.c                                 |   2 +-\n hw/mips/mips_fulong2e.c                       |   2 +-\n hw/mips/mips_jazz.c                           |   2 +-\n hw/mips/mips_malta.c                          |   2 +-\n hw/mips/mips_mipssim.c                        |   2 +-\n hw/mips/mips_r4k.c                            |   2 +-\n hw/mips/cputimer.c => target/mips/cp0_timer.c |   2 +-\n target/mips/cpu.c                             |  57 +++-\n target/mips/gdbstub.c                         |   1 +\n target/mips/helper.c                          |  47 +++\n target/mips/kvm.c                             |   1 +\n target/mips/machine.c                         |   1 +\n target/mips/msa_helper.c                      |   1 +\n target/mips/op_helper.c                       |   1 +\n target/mips/translate.c                       |  23 +-\n target/mips/translate_init.c                  |  68 +----\n hw/mips/Makefile.objs                         |   2 +-\n target/mips/Makefile.objs                     |   2 +-\n 21 files changed, 549 insertions(+), 449 deletions(-)\n create mode 100644 target/mips/internal.h\n rename hw/mips/cputimer.c => target/mips/cp0_timer.c (99%)"}