From: Paolo Bonzini Date: Wed, 12 Oct 2016 08:19:46 +0000 Subject: Re: [kvm-unit-tests PATCH v3] powerpc: Check whether TM is available before running other tests Message-Id: <0eeb8d4a-a01f-6d9e-ec12-7b8eef6204b5@redhat.com> List-Id: References: <1475572050-13164-1-git-send-email-thuth@redhat.com> <1475652308.2070.2.camel@gmail.com> <44839565-1783-02f7-8157-53894d527141@redhat.com> In-Reply-To: <44839565-1783-02f7-8157-53894d527141@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Thomas Huth , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= Cc: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org On 12/10/2016 10:04, Thomas Huth wrote: > On 05.10.2016 09:25, Suraj Jitindar Singh wrote: >> On Tue, 2016-10-04 at 11:07 +0200, Thomas Huth wrote: >>> Transactional memory is currently only supported on KVM-HV, and >>> not yet on KVM-PR. So it's better to check the device tree first >>> and fail gracefully if it is not available. >>> >>> Reviewed-by: Laurent Vivier >>> Reviewed-by: Andrew Jones >>> Signed-off-by: Thomas Huth >> Thanks for sending a v3. >> >> Reviewed-by: Suraj Jitindar Singh >>> --- >>> v3: >>> - Removed unnecessary check for "plen >= 26" in cpu_has_tm() >>> >>> v2: >>> - Reworked the check for the "ibm,pa-features" and added a comment >>> - Use a dedicated variable "has_tm" instead of "i" in main() >>> >>> powerpc/tm.c | 43 ++++++++++++++++++++++++++++++++++++++++++- >>> 1 file changed, 42 insertions(+), 1 deletion(-) > > Radim, Paolo, > > I think this patch is now ready to go ... could you please pick it up? > (or shall I send a pull request for it?) Pull requests are always welcome, at least by me. :) Paolo