From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0531CC433DF for ; Mon, 19 Oct 2020 09:53:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 68E112224D for ; Mon, 19 Oct 2020 09:53:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QbRsM5H6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 68E112224D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CsNqODf6beKJPF6Q7K2EhOlweDQG6vQynbqqgeGW7r4=; b=QbRsM5H6cmljM3nNFzAod82fM Pry28lLQThdUcycnnCPhULcrLAJGiVawBOchNY1EKpgZLXNVwFM6k4tRfAKSAzywJJ8w3Hzq9eqkb ikPekoD98GUL2NvIMao6m+YLEmsh/aMRymvjv1DElttHlPbSC9V/HC1pTqPLy5nVwheMVJwr5SsmU GiuDkg5dekjN/tSDo8kWi69i2+QQ31Ot2mGdqUoC3ue4YvVSLd3sfypYXKdSOdlP4mGzbl7mikKiJ /qi3IYeLvWKd9IGYR9Z+ofF1Me1ywAEY5S0kNXICxrseDZJLlo1j8p3OUQcWYoZh2Q9UXyQjmXOs9 s2+PSyD/w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kURpN-0007bC-4V; Mon, 19 Oct 2020 09:51:41 +0000 Received: from lhrrgout.huawei.com ([185.176.76.210] helo=huawei.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kURpK-0007aC-2t for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2020 09:51:39 +0000 Received: from lhreml724-chm.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 2EA37F02C2EC6AA13725; Mon, 19 Oct 2020 10:51:32 +0100 (IST) Received: from [127.0.0.1] (10.47.6.70) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Mon, 19 Oct 2020 10:51:30 +0100 Subject: Re: [perf metricgroup] fcc9c5243c: perf-sanity-tests.Parse_and_process_metrics.fail To: Ian Rogers , kernel test robot , Jin Yao , Andi Kleen References: <1602152121-240367-10-git-send-email-john.garry@huawei.com> <20201018085031.GK11647@shao2-debian> From: John Garry Message-ID: <602e6bb8-a4ac-fae7-ed61-edf252e08d9a@huawei.com> Date: Mon, 19 Oct 2020 10:48:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Originating-IP: [10.47.6.70] X-ClientProxiedBy: lhreml725-chm.china.huawei.com (10.201.108.76) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201019_055138_260316_E114A5A4 X-CRM114-Status: GOOD ( 18.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Joakim Zhang , 0day robot , Mathieu Poirier , lkp@lists.01.org, Peter Zijlstra , Will Deacon , linuxarm@huawei.com, Arnaldo Carvalho de Melo , LKML , zhangshaokun@hisilicon.com, Alexander Shishkin , Ingo Molnar , James Clark , Leo Yan , Namhyung Kim , Jiri Olsa , Linux ARM , linux-imx@nxp.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 19/10/2020 00:30, Ian Rogers wrote: > On Sun, Oct 18, 2020 at 1:51 AM kernel test robot wrote: >> >> Greeting, >> >> FYI, we noticed the following commit (built with gcc-9): >> >> commit: fcc9c5243c478f104014daf4d23db86098d2aef0 ("perf metricgroup: Hack a fix for aliases when covering multiple PMUs") >> url: https://github.com/0day-ci/linux/commits/John-Garry/perf-pmu-events-Support-event-aliasing-for-system-PMUs/20201008-182049 >> >> >> in testcase: perf-sanity-tests >> version: perf-x86_64-c85fb28b6f99-1_20201008 >> with following parameters: >> >> perf_compiler: gcc >> ucode: 0xdc >> >> >> >> on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory >> >> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): > > I believe this is a Skylake and there is a known bug in the Skylake > metric DRAM_Parallel_Reads as described here: > https://lore.kernel.org/lkml/CAP-5=fXejVaQa9qfW66cY77qB962+jbe8tT5bsLoOOcFmODnWQ@mail.gmail.com/ > Fixing the bug needs more knowledge than what is available in manuals. > Hopefully Intel can take a look. > > Thanks, > Ian So this named patch ("perf metricgroup: Hack a fix for aliases...") is breaking test #67 on my machine also, which is a broadwell. I will have a look, but I was hoping that Ian would have a proper fix for this on top of ("perf metricgroup: Fix uncore metric expressions"), which now looks to be merged. Thanks! > >> >> >> If you fix the issue, kindly add following tag >> Reported-by: kernel test robot >> >> >> 2020-10-16 19:31:52 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 67 >> 67: Parse and process metrics : FAILED! >> 2020-10-16 19:31:52 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 68 >> 68: x86 rdpmc : Ok >> 2020-10-16 19:31:52 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 69 >> 69: Convert perf time to TSC : Ok >> 2020-10-16 19:31:52 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 70 >> 70: DWARF unwind : Ok >> 2020-10-16 19:31:52 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 71 >> 71: x86 instruction decoder - new instructions : Ok >> 2020-10-16 19:31:52 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 72 >> 72: Intel PT packet decoder : Ok >> 2020-10-16 19:31:52 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 73 >> 73: x86 bp modify : Ok >> 2020-10-16 19:31:53 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 74 >> 74: probe libc's inet_pton & backtrace it with ping : Ok >> 2020-10-16 19:31:54 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-fcc9c5243c478f104014daf4d23db86098d2aef0/tools/perf/perf test 75 >> 75: Zstd perf.data compression/decompression : Ok >> >> >> >> To reproduce: >> >> git clone https://github.com/intel/lkp-tests.git >> cd lkp-tests >> bin/lkp install job.yaml # job file is attached in this email >> bin/lkp run job.yaml >> >> >> >> Thanks, >> Rong Chen >> > . > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel