From: David Gibson Date: Thu, 28 Feb 2019 04:02:21 +0000 Subject: Re: [PATCH] pwoerpc: Enable HTM capability for h_cede_tm testcase Message-Id: <20190228040221.GE27799@umbus.fritz.box> MIME-Version: 1 Content-Type: multipart/mixed; boundary="lkTb+7nhmha7W+c3" List-Id: References: <20190227022354.12726-1-david@gibson.dropbear.id.au> In-Reply-To: <20190227022354.12726-1-david@gibson.dropbear.id.au> To: kvm-ppc@vger.kernel.org --lkTb+7nhmha7W+c3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2019 at 08:40:12AM +0100, Thomas Huth wrote: > On 27/02/2019 03.23, David Gibson wrote: > > The h_cede_tm case is specifically about an edge case with the H_CEDE > > hypercall while using hardware transactional memory (HTM). Current qemu > > versions don't enable HTM instructions in guests by default, so we shou= ld > > explicitly enable them in order to execute this test. > >=20 > > Signed-off-by: David Gibson > > --- > > powerpc/unittests.cfg | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg > > index 4eda258..af535b7 100644 > > --- a/powerpc/unittests.cfg > > +++ b/powerpc/unittests.cfg > > @@ -63,7 +63,7 @@ file =3D emulator.elf > > [h_cede_tm] > > file =3D tm.elf > > smp =3D 2,threads=3D2 > > -extra_params =3D -append "h_cede_tm" > > +extra_params =3D -machine cap-htm=3Don -append "h_cede_tm" > > groups =3D nodefault,h_cede_tm >=20 > There is a typo in the subject (which I can fix while applying the > patch), but apart from that: Oops, sorry. >=20 > Reviewed-by: Thomas Huth >=20 --=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 --lkTb+7nhmha7W+c3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdfRlhq5hpmzETofcbDjKyiDZs5IFAlx3XU0ACgkQbDjKyiDZ s5K5sw//c1JHobVru7n+8FCRuFgQQCoIsSU5vsaWqAlPylViaTgF2h28HJrsI/bt 7dFc55il43U94v6sZ4vCNUQiDZTdS1CLbKAPawbX4xjm5MV11VDTXyJvf664TcAh n6SwFRgpmZsC6ULmvMZUk0tlUAUBNqE960PpSTAjNQlEbw/blOQsvnlG2QAjDwSm DaUIKGaIq4XmA6CspQyJdGQTmpmoQXgyJC8EtkuRyow7ZADGLmQ6qvfce20Ip0fO ctdxTUf6XyBmT0SCkBzigLNw1rW3RKM4rHImUs0+LBJ6/7zKEuV2qrLn9PJCTNGb Ffm5VZWManpf1d91FmxMhkoxN0Xkfm/sgdenDxxBH+O6Qb/XFnfZMhXNFvb35pfb kwetFudG2YW4FHxaveEtaT0YuJxM0jYwvmO9ty7aQXMMXIqtZ6UaDLMCgy50sH9p miTXDdoMCRwE3Tg8tYqK3toY0g60Adfg6taX32cGaHdkQrOzxPfhKITGiCg1n3Af 5j8uvDrO1dfYKXfkAzji4RTd+tP7gjjBGwPKdhzB9m2gxQsY4iyRP0pZl1ux3jdo 6tM6NFEga5obyp+ba3ROvEEgtcNhZonXMU5Cs2txbTgDi2ixcSqFzYTldVZPmOW0 GdYC+cC5q3kzM6adbtqC3kbKWg6tAQ4k4oIygHiGP5siVET13p4= =L/sK -----END PGP SIGNATURE----- --lkTb+7nhmha7W+c3--