From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v5 15/17] vmx: Add some scheduler hooks for VT-d posted interrupts Date: Thu, 13 Aug 2015 11:06:01 +0200 Message-ID: <1439456761.24583.59.camel@citrix.com> References: <1439346938-31824-1-git-send-email-feng.wu@intel.com> <1439346938-31824-16-git-send-email-feng.wu@intel.com> <20150812171308.GN17650@l.oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1587230380113053780==" Return-path: In-Reply-To: <20150812171308.GN17650@l.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Feng Wu Cc: Kevin Tian , Keir Fraser , George Dunlap , Andrew Cooper , xen-devel@lists.xen.org, Jan Beulich List-Id: xen-devel@lists.xenproject.org --===============1587230380113053780== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ghzb1f7m8dX7xgIwsr4Y" --=-ghzb1f7m8dX7xgIwsr4Y Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-08-12 at 13:13 -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Aug 12, 2015 at 10:35:36AM +0800, Feng Wu wrote: > > This patch adds the following arch hooks in scheduler: > > - vmx_pre_ctx_switch_pi(): > > It is called before context switch, we update the posted > > interrupt descriptor when the vCPU is preempted, go to sleep, > > or is blocked. > >=20 > > - vmx_post_ctx_switch_pi() > > It is called after context switch, we update the posted > > interrupt descriptor when the vCPU is going to run. > >=20 > > - arch_vcpu_wake_prepare() > > It will be called when waking up the vCPU, we update > > the posted interrupt descriptor when the vCPU is unblocked. > >=20 > > CC: Keir Fraser > > CC: Jan Beulich > > CC: Andrew Cooper > > CC: Kevin Tian > > CC: George Dunlap > > CC: Dario Faggioli > > Sugguested-by: Dario Faggioli > > Signed-off-by: Feng Wu > With Konrad's points addressed: Reviewed-by: Dario Faggioli Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-ghzb1f7m8dX7xgIwsr4Y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlXMXfoACgkQk4XaBE3IOsQpqACgmMD+JyDK0lQWDp8NIRZO6c0o FBIAniwbpzA0oGs9zenYntk7jE7QwQnR =PHya -----END PGP SIGNATURE----- --=-ghzb1f7m8dX7xgIwsr4Y-- --===============1587230380113053780== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1587230380113053780==--