From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrOru-0005nf-7b for qemu-devel@nongnu.org; Mon, 02 Jun 2014 05:49:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrOrm-00048T-Ur for qemu-devel@nongnu.org; Mon, 02 Jun 2014 05:49:26 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:63596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrOrm-00047K-Ou for qemu-devel@nongnu.org; Mon, 02 Jun 2014 05:49:18 -0400 Message-ID: <538C489C.6060408@imgtec.com> Date: Mon, 2 Jun 2014 10:49:16 +0100 From: Leon Alrae MIME-Version: 1.0 References: <1401461279-59617-1-git-send-email-leon.alrae@imgtec.com> <1401461279-59617-2-git-send-email-leon.alrae@imgtec.com> <20140530164346.GA2766@ohm.rr44.fr> In-Reply-To: <20140530164346.GA2766@ohm.rr44.fr> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 01/21] target-mips: introduce MIPS64R6 ISA and a new generic CPU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: yongbok.kim@imgtec.com, cristian.cuna@imgtec.com, qemu-devel@nongnu.org On 30/05/14 17:43, Aurelien Jarno wrote: >> + /* A generic CPU providing MIPS64 Release 6 features. >> + FIXME: Eventually this should be replaced by a real CPU model. */ >> + .name = "MIPS64R6-generic", >> + .CP0_PRid = 0x00010000, >> + .CP0_Config0 = MIPS_CONFIG0 | (0x2 << CP0C0_AR) | (0x2 << CP0C0_AT) | >> + (MMU_TYPE_R4000 << CP0C0_MT), >> + .CP0_Config1 = MIPS_CONFIG1 | (1 << CP0C1_FP) | (63 << CP0C1_MMU) | >> + (2 << CP0C1_IS) | (4 << CP0C1_IL) | (3 << CP0C1_IA) | >> + (2 << CP0C1_DS) | (4 << CP0C1_DL) | (3 << CP0C1_DA) | >> + (0 << CP0C1_PC) | (1 << CP0C1_WR) | (1 << CP0C1_EP), > > Do we really suppport watch registers or EJTAG in QEMU? > EJTAG seems to be supported to some extent (I haven't tested it though). Therefore I left it available if someone would like to experiment with it. As far as Watch is concerned, it doesn't seem to be functional, but the Watch* registers are available. For me it was enough to leave the feature available in the CPU configuration. Please let me know if in your opinion these features should be disabled. Thanks, Leon