From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0AtB-00039D-Ir for qemu-devel@nongnu.org; Wed, 03 Jun 2015 11:47:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0At6-0001Pt-H5 for qemu-devel@nongnu.org; Wed, 03 Jun 2015 11:47:33 -0400 Received: from mail-vn0-x229.google.com ([2607:f8b0:400c:c0f::229]:45148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0At6-0001Pa-DQ for qemu-devel@nongnu.org; Wed, 03 Jun 2015 11:47:28 -0400 Received: by vnbg7 with SMTP id g7so1620343vnb.12 for ; Wed, 03 Jun 2015 08:47:28 -0700 (PDT) Sender: Richard Henderson Message-ID: <556F218A.3070006@twiddle.net> Date: Wed, 03 Jun 2015 08:47:22 -0700 From: Richard Henderson MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 02/10 v11] linux-user: Support tilegx architecture in linux-user List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Chen Gang Cc: "walt@tilera.com" , Chris Metcalf , Riku Voipio , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , qemu-devel On 06/03/2015 05:34 AM, Peter Maydell wrote: > You must do something. You can't allow guest code (even > broken guest code) to make QEMU assert. You need to find > out what the hardware does here, and do that. These are I/O registers for IPC. I believe that the best thing to do is assume protection is enabled at the "kernel" level, and thus raise the appropriate exception: SN_ACCESS, IDN_ACCESS, UDN_ACCESS. That said, I don't have the system architecture manual handy to check the full details. r~