From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752600AbdLFQcl (ORCPT ); Wed, 6 Dec 2017 11:32:41 -0500 Received: from terminus.zytor.com ([65.50.211.136]:34567 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbdLFQck (ORCPT ); Wed, 6 Dec 2017 11:32:40 -0500 Date: Wed, 6 Dec 2017 08:31:28 -0800 From: tip-bot for Thomas Richter Message-ID: Cc: brueckner@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, tmricht@linux.vnet.ibm.com, mingo@kernel.org, hpa@zytor.com, acme@redhat.com, schwidefsky@de.ibm.com, tglx@linutronix.de Reply-To: tglx@linutronix.de, acme@redhat.com, schwidefsky@de.ibm.com, hpa@zytor.com, tmricht@linux.vnet.ibm.com, mingo@kernel.org, linux-kernel@vger.kernel.org, brueckner@linux.vnet.ibm.com To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf test: Disable test cases 19 and 20 on s390x Git-Commit-ID: 4ca69ca9db3ae51ac7cc0bd1af7961b7a3ba5b87 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 4ca69ca9db3ae51ac7cc0bd1af7961b7a3ba5b87 Gitweb: https://git.kernel.org/tip/4ca69ca9db3ae51ac7cc0bd1af7961b7a3ba5b87 Author: Thomas Richter AuthorDate: Thu, 23 Nov 2017 08:46:23 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 29 Nov 2017 18:17:59 -0300 perf test: Disable test cases 19 and 20 on s390x The s390x CPU sampling and measurement facilities do not support perf events of type PERF_TYPE_BREAKPOINT. The test cases are executed and fail with -ENOENT due to missing hardware support. Disable the execution of both test cases based on a platform check. This is the same approach as done for PowerPC. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc: Martin Schwidefsky LPU-Reference: 20171123074623.20817-1-tmricht@linux.vnet.ibm.com Link: https://lkml.kernel.org/n/tip-uqvoy6a1tsu8jddo5jjg4h85@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/tests/bp_signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/bp_signal.c b/tools/perf/tests/bp_signal.c index 335b695..a467615 100644 --- a/tools/perf/tests/bp_signal.c +++ b/tools/perf/tests/bp_signal.c @@ -296,7 +296,7 @@ bool test__bp_signal_is_supported(void) * instruction breakpoint using the perf event interface. * Once it's there we can release this. */ -#ifdef __powerpc__ +#if defined(__powerpc__) || defined(__s390x__) return false; #else return true;