From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhLCv-0004kW-S5 for qemu-devel@nongnu.org; Thu, 23 Oct 2014 12:25:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhLCq-0004BK-Ag for qemu-devel@nongnu.org; Thu, 23 Oct 2014 12:25:49 -0400 Received: from mail-lb0-f177.google.com ([209.85.217.177]:41444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhLCp-0004B9-W8 for qemu-devel@nongnu.org; Thu, 23 Oct 2014 12:25:44 -0400 Received: by mail-lb0-f177.google.com with SMTP id w7so1142278lbi.36 for ; Thu, 23 Oct 2014 09:25:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5449299B.9070902@twiddle.net> References: <20141021121453.7268.529.stgit@PASHA-ISP> <5449299B.9070902@twiddle.net> From: Peter Maydell Date: Thu, 23 Oct 2014 17:25:22 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH] arm: fix TB alignment check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: =?UTF-8?B?QWxleCBCZW5uw6ll?= , QEMU Developers , Kirill Batuzov , maria.klimushenkova@ispras.ru, Pavel Dovgalyuk , Paolo Bonzini , =?UTF-8?B?0JTQtdC90LjRgSDQlNC80LjRgtGA0LjQtdCy?= , Leon Alrae On 23 October 2014 17:15, Richard Henderson wrote: > [1] Why 32 when the maximum insn size is more like 15 bytes, I don't know. But > it likely doesn't matter since I'd expect such large TB's to fill up the opcode > buffer first. There would have to be a lot of nops on that page. Do we actually correctly GPF if the guest hands us an instruction with a huge long set of prefix bytes? I can't see anything obviously in the code that catches this case... -- PMM