From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [RFC PATCH 1/5] powerpc: Split out instruction analysis part of emulate_step() Date: Mon, 28 Jul 2014 14:01:01 +0200 Message-ID: <53D63B7D.4030501@suse.de> References: <1405764872-8744-1-git-send-email-paulus@samba.org> <1405764872-8744-2-git-send-email-paulus@samba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Paul Mackerras , kvm-ppc@vger.kernel.org Return-path: In-Reply-To: <1405764872-8744-2-git-send-email-paulus@samba.org> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 19.07.14 12:14, Paul Mackerras wrote: > This splits out the instruction analysis part of emulate_step() into > a separate analyse_instr() function, which decodes the instruction, > but doesn't execute any load or store instructions. It does execute > integer instructions and branches which can be executed purely by > updating register values in the pt_regs struct. For other instructions, > it returns the instruction type and other details in a new > instruction_op struct. emulate_step() then uses that information > to execute loads, stores, cache operations, mfmsr, mtmsr[d], and > (on 64-bit) sc instructions. > > Signed-off-by: Paul Mackerras This should definitely get posted on the normal Linux PPC list. Alex