Received: from eggs.gnu.org ([2001:4830:134:3::10]:51438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dunFL-0006hS-MH for qemu-devel@nongnu.org; Wed, 20 Sep 2017 18:13:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dunFH-0002GC-2A for qemu-devel@nongnu.org; Wed, 20 Sep 2017 18:13:31 -0400 Received: from bitwagon.com ([2001:470:0:e6::4a52:27af]:43399) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dunFG-0002CU-K9 for qemu-devel@nongnu.org; Wed, 20 Sep 2017 18:13:26 -0400 Received: from f25e64.local ([24.21.156.164]) by bitwagon.com for ; Wed, 20 Sep 2017 15:13:17 -0700 References: <4d10cdd2-233c-46ac-926b-d4254b017c78@bitwagon.com> From: John Reiser Message-ID: <3d82d0c3-b109-3996-be93-d2e6b5ec5031@bitwagon.com> Date: Wed, 20 Sep 2017 15:13:17 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu-arm SIGSEGV for self-modifying code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , Peter Maydell Cc: QEMU Developers , Richard Henderson >> I don't really know why we use 0xf7000000 as our >> reserved_va value here, though. Alex, you added that >> years ago, can you remember why you used that value? > > IIRC I wanted to map the full 32 bits of address space possibly in use by a 32bit application, but leave some room for something, but I don't remember what that something was :) Now that I know the nature of the conflict, then I will spend a handful of instructions to avoid [0xf7000000, +), and also the stack if it gets placed immediately below that. Thank you, Peter and Alex. -- John