From: "Jan Beulich" Subject: Re: [PATCH 0/6] x86: emulation improvements Date: Fri, 20 Sep 2013 09:21:47 +0100 Message-ID: <523C21BB02000078000F4D6D@nat28.tlf.novell.com> References: <523B36F902000078000F4B9A@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VMvyK-0007ht-A3 for xen-devel@lists.xenproject.org; Fri, 20 Sep 2013 08:21:52 +0000 In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 19.09.13 at 18:12, Keir Fraser wrote: > On 19/09/2013 16:40, "Jan Beulich" wrote: > >> 1: x86/HVM: properly handle MMIO reads and writes wider than a machine word >> 2: x86: fix dependencies of emulator test >> 3: x86_emulate: MOVSXD must read source operand just once >> 4: x86_emulate: PUSH must read source operand just once >> 5: x86_emulate: fix flag setting for 8-bit signed multiplication >> 6: x86_emulate: fold wide reads >> >> Signed-off-by: Jan Beulich > > Nice. > > Acked-by: Keir Fraser I'm going to commit them with two tiny adjustments: In the first patch I simplified the initializer of "chunk" to chunk = min(bytes, 1U << LONG_BYTEORDER) And in the fourth patch I replaced the newly added conditional in the 8-bit case with an ASSERT() (which in turn requires the test utility to be adjusted to have ASSERT() available). I'm sure you're fine with both. There's going to be one more, fixing wrap around handling for repeated string instructions; need to still give this some minimal testing before submitting. Jan