Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1034965ybe; Wed, 4 Sep 2019 11:29:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+Q0cjEYgR5Yl47bjzaRmsza1W+WromlQJZrKNLR/kuqddcRlB355prumWc0OT0Mg/OP9a X-Received: by 2002:aa7:8f08:: with SMTP id x8mr17490741pfr.48.1567621781892; Wed, 04 Sep 2019 11:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567621781; cv=none; d=google.com; s=arc-20160816; b=zVHVxdKoWD/LtIVujmAJdO+y+VZ+dyAe3kgBeCE+BPYe05HTF5LmU5FBSuOw8oiXUL JqwXK0GEKFxx+kScS07DcCZuUVDkYqrKTsBYrYMOpslzlNH+KKzZSLe5D2P9Sbc/BKfc J+dTLGShMBqutgNznIcHfQoZzdTfv/2p3jlAIoMeszv673rLMkzEAvwoYW4Aj5bhZsUu OJi4Yy2RsKgXpWa+pz5i5US0u7LfyvlpMmBVQwJYQUuY8AwnJRjmMK6D42rSLluTPGAU V9eJi6Afw3pxyXPM7n/Br0qf05iVNjM98kL8tr/rwUObPepEfrD9tODTshvjkKFCmdCv fE1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cf1j5mg7uIf0GyS0EryjjK3BtUjlaSXLooNxTuanmBw=; b=NTmwL5wS002BMGE6htYfQgQFzLifimlqsbLxko9kQXPAE8ZWhMBQjFtjBvgPVU2624 LNeyYK8FLKDwSL+J6/Nmr5HOsisTF6JDd4ekORaK3jAZ/YGl2abhD2JMw6z1KMl9Hz5K zUX9s+DJlHb8qWsqU+h0kuWEjL/3Mx+HAVlL7q0HSrcojgfQIfTqUac2fG0f15sucqUC iGCsWSqdtPQZ3TsCgDR/RwMTNGtXltYcXOySHRU853oshjAHFaLlVbg2nKaJcjBtuKbV ldgcxrnRBb5JrgNGoryzDdePpwVpuKQItIIVAJQaioK/lJr+YPWME4M7lRrzkuj3r78h UgmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Wrr+T0j0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19si3260457plr.127.2019.09.04.11.29.25; Wed, 04 Sep 2019 11:29:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Wrr+T0j0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387789AbfIDR5J (ORCPT + 99 others); Wed, 4 Sep 2019 13:57:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:34828 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387782AbfIDR5G (ORCPT ); Wed, 4 Sep 2019 13:57:06 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 55F82208E4; Wed, 4 Sep 2019 17:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567619825; bh=yXn5V3reSUa4JewyBLMYoVI4vg9EKURLb3VjTzOCjj0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wrr+T0j0DIBnGHHMTKINbTqqE3avh/dGdXjDME37+LiBoK2W7fSmHkfLJtewODYui 3j+JHNZAOD2LKcIq/fnVOtX7YIJb/0mvvHAqnKCRmoRjnnZ+pjNd2z1rhF2vOe1Nmb N9W8dOrQdynOiO1dvsP/X/oJLWA0UoEi1nu+nTzg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sasha Levin Subject: [PATCH 4.4 47/77] Revert "perf test 6: Fix missing kvm module load for s390" Date: Wed, 4 Sep 2019 19:53:34 +0200 Message-Id: <20190904175307.884235347@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190904175303.317468926@linuxfoundation.org> References: <20190904175303.317468926@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 5f18429ae48faebefc00533cb24afdd01064754c. Which was upstream commit 53fe307dfd309e425b171f6272d64296a54f4dff. Ben Hutchings reports that this commit depends on new code added in v4.18, and so is irrelevant on older kernels, and breaks the build. Signed-off-by: Sasha Levin --- tools/perf/tests/parse-events.c | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index 1a35ab044c11d..54af2f2e2ee4f 100644 --- a/tools/perf/tests/parse-events.c +++ b/tools/perf/tests/parse-events.c @@ -12,32 +12,6 @@ #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \ PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD) -#if defined(__s390x__) -/* Return true if kvm module is available and loaded. Test this - * and retun success when trace point kvm_s390_create_vm - * exists. Otherwise this test always fails. - */ -static bool kvm_s390_create_vm_valid(void) -{ - char *eventfile; - bool rc = false; - - eventfile = get_events_file("kvm-s390"); - - if (eventfile) { - DIR *mydir = opendir(eventfile); - - if (mydir) { - rc = true; - closedir(mydir); - } - put_events_file(eventfile); - } - - return rc; -} -#endif - static int test__checkevent_tracepoint(struct perf_evlist *evlist) { struct perf_evsel *evsel = perf_evlist__first(evlist); @@ -1587,7 +1561,6 @@ static struct evlist_test test__events[] = { { .name = "kvm-s390:kvm_s390_create_vm", .check = test__checkevent_tracepoint, - .valid = kvm_s390_create_vm_valid, .id = 100, }, #endif -- 2.20.1