From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTYIr-00076e-9g for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:53:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTYIo-0006ay-E5 for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:53:05 -0400 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:41665) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTYIo-0006af-8Z for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:53:02 -0400 Received: by mail-pg0-x243.google.com with SMTP id l65-v6so3380491pgl.8 for ; Thu, 14 Jun 2018 12:53:02 -0700 (PDT) References: <152882087494.112322.15549780953419438229.stgit@bahia.lab.toulouse-stg.fr.ibm.com> <152882305541.114463.3137854902721347235.stgit@bahia.lan> <20180613004506.GM30690@umbus.fritz.box> <20180613101915.4cc9485b@bahia.lab.toulouse-stg.fr.ibm.com> From: Richard Henderson Message-ID: Date: Thu, 14 Jun 2018 09:52:55 -1000 MIME-Version: 1.0 In-Reply-To: <20180613101915.4cc9485b@bahia.lab.toulouse-stg.fr.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 3/3] target/ppc: filter out non-zero PCR values when using TCG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz , David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 06/12/2018 10:19 PM, Greg Kurz wrote: > I'm confused... I don't see anything related to HTM in TCG. Also we have > the following in cap_htm_apply(): > > if (tcg_enabled()) { > error_setg(errp, > "No Transactional Memory support in TCG, try cap-htm=off"); > > I'm probably missing something... can you enlighten me ? One of the two IBM machines -- and I thought it was ppc not s390x, but the code you quote seems to deny that memory -- has stub support for TM within TCG. To wit, the instructions are recognized and transactions always fail. Which is not a bad way to test the required fallback paths that rarely fail on hardware. ;-) r~