Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1032504ybe; Wed, 4 Sep 2019 11:27:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJchY7pXKWDwvRh845xqHibuA8P8t7wis1U/KtUbdMeE3P8RNiwAkieqxXRR0iyoJojFia X-Received: by 2002:a63:66c5:: with SMTP id a188mr36033436pgc.127.1567621624424; Wed, 04 Sep 2019 11:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567621624; cv=none; d=google.com; s=arc-20160816; b=i/+YLWkOWza9zWgALpSSA7199AXnPRJ2tVvV+qME0YGG6b5dY/CW8Bpyr62S32EKqO GaLX0gz7buQjgFIZQdodx+9bV131ioIbVDIiTI2a9nUXEFakrycny3lyH6+HruDgqh9N LG80wCsx016yoHX6tTOyJER3MrLrzsLuEjYsNMySybom1fn31Blvmvixzp+Ev7u8wGTs NLO5e9JVwH+HZDa9/BXO71RrYW1dv58sukM1nholWYyEFnc4z5Zvb7enC1I0fktXR2fJ d7w9lt4sU4KmOIyPV7JcX6C86zp68amkJoxEb7xNmhRJduigAldGdIdRkPwsd7mQvOdv 6dhw== 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=4VP0/xWaS/l7m4JRww8dnuI0sshaVPp/VZoH33bh1zg=; b=xkacwKl81URn7U8uVW6II7K8Ge3hgEeX5Lxwb4JYjl0hZZ+tnx5IidAeofftRR97RU sfb5EqjNrzjcMLbdeTKA/C1XASCeodgpGAknJEfGut7HjG7bvKYsTuEFFDFXoBIssWNF SqWWGamSfizSZPEIhNYdJeQTgpY3vuE+o646vCTmJlVIB1WHWaWotK1jji7BhICv6qpo 34rfdKYucGv+M3FoFq65lzrcdLaDTjcswQwerdY8ObZyvbm/9t0ril/0P+cqmGmq3nQ+ GGHCMhOZ8m+uPeJrDhvWT42rvgXXjxSklZ/MsysJZFaKAi2TKPnnHrsxS1ceOEJff6hv nxjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ObKryKXq; 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 j12si18217121pgp.261.2019.09.04.11.26.48; Wed, 04 Sep 2019 11:27:04 -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=ObKryKXq; 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 S2388057AbfIDSAY (ORCPT + 99 others); Wed, 4 Sep 2019 14:00:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:39552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388004AbfIDSAV (ORCPT ); Wed, 4 Sep 2019 14:00:21 -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 16F3D21883; Wed, 4 Sep 2019 18:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567620020; bh=sT01fR+XnH3y3f0Hio8gBB8oGNSugXeFEJqbhWXUlTQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ObKryKXq8Vzoy4t6MfFsrScbMooHdFNQ4bfj27DatMw3BG3jL4+881OBBQTocN7hZ 3K1MA5xQ1ph+jz9MS0l5/tr2Fmj1EmO4VNL2gz8gslAAaIAdhJ2MEjoor8TD3l+4eh K3mtNo43cJU0FlfHpL/797teUPZLJJ9GcZg8yuYM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sasha Levin Subject: [PATCH 4.9 44/83] Revert "perf test 6: Fix missing kvm module load for s390" Date: Wed, 4 Sep 2019 19:53:36 +0200 Message-Id: <20190904175307.727656314@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190904175303.488266791@linuxfoundation.org> References: <20190904175303.488266791@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 9a501cdb05348fa8f85db8df5a82f4b8cd11594e. 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 9134a0c3e99df..aa9276bfe3e9b 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); @@ -1619,7 +1593,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