Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4875312pjb; Mon, 27 Jul 2020 07:21:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxltM1eITyj+CnfRXSQaE4zsUxyYSgNRiEOH9xNTw3EI3e85ijWJugpwrYpN1nK8mDmKnQ X-Received: by 2002:a05:6402:1ca6:: with SMTP id cz6mr20641926edb.171.1595859711132; Mon, 27 Jul 2020 07:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595859711; cv=none; d=google.com; s=arc-20160816; b=VUQHHJbCRdOv2jEFRCOTghRSxlVm+7xW7SBhq6xxuIGyUHF27up9GQ4+HTJVv+d1Wh tvvKFsLfeTiIFgGrog4/r/EYTU3nDzXWVvgEFFLzAfEAe4zuyAB24z+kXnDYFfCAiRUV dgYJ1rHQrhwJzKnF1q1HmEjbKp+a732KfEhk7AmtP761IUXHt8l8EaaEONxsBWRcciAY Ghy5sOE4Ua3NrfgjHYUVCZInukOnCb1ST/5Pyi5RQ1cKzf+PBJCjO71e1ih3a9JfaErz tLNH1JvSjjpzCD8PM/Gh/nC9N1abgUh6JOGHP5FvH+lI8eO+3OEVCsnsjc5pbR8az42F iHcQ== 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=VkJFUKmxNMHFl9tDgZJfPJro8XqyVQROFwoSQwZYe9U=; b=myqcWnaDzK9NkA8pskEzvDVVz1ZNlmrwqkDneWQjiyPNf7s33fXlu5iBDYCL1Kd0yo JLQjR3Y/FggKE7mekCZdHK5y5i8kJaxXYl8e9ntcHk4T/x/erb9PJ39sWKQ85BMcOHBS c2ouBsIOtHUrizk4fa6pFq6E2OKWDPxobBt9m6lyiHmOec5/KDBSgSbWUUWTCISErfU9 dYGc6tvwFIoVyC+mNhn+JkxQ03Govsyze4OhMp1eUt8W8g9+rdbNHb2YDWzFTLS0krIy rD5t1M/+LqtL9eErB5JJ4A4loFNa27E2YJTS/AK7o346llp+jhvTE+1QppxQ4unC3NNJ GB3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EKn9BA2I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v3si5668155edj.285.2020.07.27.07.21.28; Mon, 27 Jul 2020 07:21:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EKn9BA2I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731519AbgG0OUN (ORCPT + 99 others); Mon, 27 Jul 2020 10:20:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:48336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730946AbgG0OUL (ORCPT ); Mon, 27 Jul 2020 10:20:11 -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 1009B2070A; Mon, 27 Jul 2020 14:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859610; bh=wY3gEDid8XRTGPIhPyFJMzXs6oPbE2N5OTb+1bkLyEw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EKn9BA2ILj0LeYC8yz1qVhEGlXb/2oFEayGmRSx4SzU1qMGmE2RGkevsqpwpRcjO/ VPc4u7Ox/hHn1djTwk7UH/6cQUW6uLqs6HByBlScOqglyIZr+cHP/xFZwZtY7YXxbe x5QzhrkB94Bl8Vk/J4IWh0F3XqM0a20gWdifcnW8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Richter , Sumanth Korikkar , Heiko Carstens Subject: [PATCH 5.7 037/179] s390/cpum_cf,perf: change DFLT_CCERROR counter name Date: Mon, 27 Jul 2020 16:03:32 +0200 Message-Id: <20200727134934.478017346@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134932.659499757@linuxfoundation.org> References: <20200727134932.659499757@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 From: Thomas Richter commit 3d3af181d370069861a3be94608464e2ff3682e2 upstream. Change the counter name DLFT_CCERROR to DLFT_CCFINISH on IBM z15. This counter counts completed DEFLATE instructions with exit code 0, 1 or 2. Since exit code 0 means success and exit code 1 or 2 indicate errors, change the counter name to avoid confusion. This counter is incremented each time the DEFLATE instruction completed regardless if an error was detected or not. Fixes: d68d5d51dc89 ("s390/cpum_cf: Add new extended counters for IBM z15") Fixes: e7950166e402 ("perf vendor events s390: Add new deflate counters for IBM z15") Cc: stable@vger.kernel.org # v5.7 Signed-off-by: Thomas Richter Reviewed-by: Sumanth Korikkar Signed-off-by: Heiko Carstens Signed-off-by: Greg Kroah-Hartman --- arch/s390/kernel/perf_cpum_cf_events.c | 4 ++-- tools/perf/pmu-events/arch/s390/cf_z15/extended.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/arch/s390/kernel/perf_cpum_cf_events.c +++ b/arch/s390/kernel/perf_cpum_cf_events.c @@ -292,7 +292,7 @@ CPUMF_EVENT_ATTR(cf_z15, TX_C_TABORT_SPE CPUMF_EVENT_ATTR(cf_z15, DFLT_ACCESS, 0x00f7); CPUMF_EVENT_ATTR(cf_z15, DFLT_CYCLES, 0x00fc); CPUMF_EVENT_ATTR(cf_z15, DFLT_CC, 0x00108); -CPUMF_EVENT_ATTR(cf_z15, DFLT_CCERROR, 0x00109); +CPUMF_EVENT_ATTR(cf_z15, DFLT_CCFINISH, 0x00109); CPUMF_EVENT_ATTR(cf_z15, MT_DIAG_CYCLES_ONE_THR_ACTIVE, 0x01c0); CPUMF_EVENT_ATTR(cf_z15, MT_DIAG_CYCLES_TWO_THR_ACTIVE, 0x01c1); @@ -629,7 +629,7 @@ static struct attribute *cpumcf_z15_pmu_ CPUMF_EVENT_PTR(cf_z15, DFLT_ACCESS), CPUMF_EVENT_PTR(cf_z15, DFLT_CYCLES), CPUMF_EVENT_PTR(cf_z15, DFLT_CC), - CPUMF_EVENT_PTR(cf_z15, DFLT_CCERROR), + CPUMF_EVENT_PTR(cf_z15, DFLT_CCFINISH), CPUMF_EVENT_PTR(cf_z15, MT_DIAG_CYCLES_ONE_THR_ACTIVE), CPUMF_EVENT_PTR(cf_z15, MT_DIAG_CYCLES_TWO_THR_ACTIVE), NULL, --- a/tools/perf/pmu-events/arch/s390/cf_z15/extended.json +++ b/tools/perf/pmu-events/arch/s390/cf_z15/extended.json @@ -380,7 +380,7 @@ { "Unit": "CPU-M-CF", "EventCode": "265", - "EventName": "DFLT_CCERROR", + "EventName": "DFLT_CCFINISH", "BriefDescription": "Increments by one for every DEFLATE CONVERSION CALL instruction executed that ended in Condition Codes 0, 1 or 2", "PublicDescription": "Increments by one for every DEFLATE CONVERSION CALL instruction executed that ended in Condition Codes 0, 1 or 2" },