From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmWKp-0002BZ-Hu for qemu-devel@nongnu.org; Tue, 20 Sep 2016 21:28:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmWKl-0000lD-5J for qemu-devel@nongnu.org; Tue, 20 Sep 2016 21:28:26 -0400 Date: Wed, 21 Sep 2016 11:28:08 +1000 From: David Gibson Message-ID: <20160921012808.GN20488@umbus> References: <1474389301-4859-1-git-send-email-nikunj@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QeLBvw8fqdL68NWb" Content-Disposition: inline In-Reply-To: <1474389301-4859-1-git-send-email-nikunj@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v6 0/3] ppc: handle broadcast tlb flush List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikunj A Dadhania Cc: qemu-ppc@nongnu.org, benh@kernel.crashing.org, alex.bennee@linaro.org, qemu-devel@nongnu.org --QeLBvw8fqdL68NWb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 20, 2016 at 10:04:58PM +0530, Nikunj A Dadhania wrote: > PowerPC failed to handle broadcast TLB flush operations. Executing=20 > instructions that are defined architecturally as synchronizing global TLB= =20 > should have a global effect. >=20 > * tlbie on BookS > * tlbivax on BookE > * H_CALLs (H_REMOVE, H_BULK_REMOVE and H_PROTECT) in case of pseries,=20 > since they contain a tlbie on a real hypervisor. >=20 > The implementation provides a single point that can be used in MTTCG for= =20 > doing async-flushes. >=20 > The patchset introduces bit-flags in CPUPPCState::tlb_need_flush: >=20 > TLB_NEED_LOCAL_FLUSH (0x1) - Flush local tlb > TLB_NEED_GLOBAL_FLUSH (0x2) - Flush tlb on other cpus. >=20 > Note: Tested patches on commit ebc231d(Merge remote-tracking branch=20 > 'remotes/awilliam/tags/vfio-fixes-20160915.0' into staging), as ppc64=20 > system emulation is broken after that. Applied to ppc-for-2.8. I did make a couple of small tweaks to patches 2 & 3. --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --QeLBvw8fqdL68NWb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX4eIlAAoJEGw4ysog2bOSU3AP/Rj4VwZz2ls8UnPmJ6Q2qzBM V/fJmjxkNQrUEW6m7bld8hvL2N6/bE3XK/8SHfFHjUCHqDlEEyH+LozG6s+yP6SC 7ydSM1x2uQSXQ63SeBilJSNbo1tEvG8OkDkxD2FhTmug0dxvDUcTLyVBo/D93PTj WSz9vAA+P1zLCFQe5tH6GvTyLXq0UNi/ohQb+eg8FKJD1Se2UFdEMckG3lqnuu7w 5NGs0cBE1Muy1yuDuxE13cmgAj4DDioZXLj/TLsWtmgjUlgnF8gS3I64ICEZW2+A xnNC9TqBEAm4U/pziuP+gQv8QDiK4T6HcWJetN8vllIrIPxPSRcRWAwuCIIvDemu 8I88LyXsClrn3TigaqbAFJTBravRKdyy85f3zDj3b97rwgY5/4cBLEOKQU/owYAE 61oXqV76CI/HFBRCV9CSbWetui/ga0IXq+pKn0ks5serINUaWiGti8Aq7MU1O08l q2iYDmh3qK8OL5Z6vxJkKaDGmz0dpRQDtNGsQbIRR+3kSZh+OtiIbC+kb1DYQwys HfCnxFwbJsr9Ugc2xea2s8No7Wlqt6/PiM1fkclUWSWWW/Yx/4AlG7fo28WiF7mS AybsiORpGjNCB6rggXjWrmZswIQI/tnwO2PtE7XIPuZEGB5PFJl0utK/UFiUfzRr RL41liiCAlXy+JUxzPwF =yCO1 -----END PGP SIGNATURE----- --QeLBvw8fqdL68NWb--