From: "Jan Beulich" Subject: Re: [PATCH v7 02/19] VPMU: Mark context LOADED before registers are loaded Date: Tue, 10 Jun 2014 16:29:26 +0100 Message-ID: <539740760200007800019A07@mail.emea.novell.com> References: <1402076415-26475-1-git-send-email-boris.ostrovsky@oracle.com> <1402076415-26475-3-git-send-email-boris.ostrovsky@oracle.com> <53920184.7090000@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53920184.7090000@citrix.com> 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: Boris Ostrovsky Cc: kevin.tian@intel.com, keir@xen.org, suravee.suthikulpanit@amd.com, Andrew Cooper , tim@xen.org, dietmar.hahn@ts.fujitsu.com, xen-devel@lists.xen.org, jun.nakajima@intel.com List-Id: xen-devel@lists.xenproject.org >>> On 06.06.14 at 19:59, wrote: > On 06/06/14 18:39, Boris Ostrovsky wrote: >> Because a PMU interrupt may be generated as soon as PMU registers are loaded (or, >> more precisely, as soon as HW PMU is "armed") we don't want to delay marking >> context as LOADED until after registers are loaded. Otherwise during interrupt >> handling VPMU_CONTEXT_LOADED may not be set and this could be confusing. >> >> (Technically, only SVM needs this change right now since VMX will "arm" PMU later, >> during VMRUN when global control register is loaded from VMCS. However, both >> AMD and Intel code will require this patch when we introduce PV VPMU). >> >> Signed-off-by: Boris Ostrovsky >> Acked-by: Kevin Tian >> Reviewed-by: Dietmar Hahn >> Tested-by: Dietmar Hahn > > Reviewed-by: Andrew Cooper With this not having seen other comments, does it make sense to apply this on its own, while you address comments you got on subsequent patches? Thanks, Jan