From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] xen/arm: vgic-v3: Clean the emulation of IROUTER Date: Fri, 5 Jun 2015 14:36:10 +0100 Message-ID: <1433511370.7108.308.camel@citrix.com> References: <1432586660-19414-1-git-send-email-julien.grall@citrix.com> <20150527013338.GB12786@cbz-thinkpad> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z0rvd-0002rF-8z for xen-devel@lists.xenproject.org; Fri, 05 Jun 2015 13:44:57 +0000 In-Reply-To: <20150527013338.GB12786@cbz-thinkpad> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chen Baozi Cc: Julien Grall , xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-05-27 at 09:33 +0800, Chen Baozi wrote: > On Mon, May 25, 2015 at 09:44:20PM +0100, Julien Grall wrote: > > The read emulation of the register IROUTER contains lots of uncessary > > code as irouter is already valid and doesn't need any processing before > > setting the value in a register. > > > > Also take the opportunity to factorize the code to find a vCPU from the > > affinity in a single place. It will be easier to change the way to do it > > later. > > > > Signed-off-by: Julien Grall > > Cc: Chen Baozi > Acked-by: Chen Baozi Acked + applied, thanks.