Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4862785rdb; Fri, 15 Sep 2023 15:00:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWtJQ2Ekjqc0LKNa3jGCeg5yJdxfUm8+p70vBYTx6lV1HGbb7WSmUjDWTHQs1AutRkoeO8 X-Received: by 2002:a17:902:d4c7:b0:1b8:2ba0:c9a8 with SMTP id o7-20020a170902d4c700b001b82ba0c9a8mr3058728plg.2.1694815213317; Fri, 15 Sep 2023 15:00:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694815213; cv=pass; d=google.com; s=arc-20160816; b=XG3xr9bKyb2Qs74/JwMZDlW7x2KkK5zH0FrrB5fHArno1yxYYdMyMbmPH0ybdmoj0s 0wkwOkFaVp84hXhjVvJojsNdn6Pk94SSUFZ/BmB0BBqDiU8rlazr++yKVHzqbcJ+Uq3r ZExQ70hp/8o/nRabklthaWZSeUDeoI3SMo6lGSfIsDecTo/VGUhTT1YQTZ85z3QB9hqB imA0d4wSKE85ix/lZ57D2k4WVF7KJhYPq6G11bTydiKF14BPlE8X8RyJXfbT6jV9he/v qBKHKl2bcuUr8kpz+NphMenLRbf/+60QXYC8l7VLB2ALt/S5f8ZVpaT+8BcaawGqCY4p aAtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hVGOYC0AG3mvj6i+NeaJGc4eIE+uhrTlrNL/G/z9aUw=; fh=o7iPiwlxjR65vwaVvob7D8hpvAHw9X154rynh969nt0=; b=AKeLmZdJGgfUXFZOKRFikFpeSIwtnz3C3NABG2UORhIY0IjSNqzsMW/p/mng+M5Nw1 esLIpzeGZQBpVNcRBPov1c2vmJUa3uAWT5EZDYqJFZFO7qBUDBRXhK8zW3wMso9fLb2b DhjmRnhmRebMK3/mrNAivWPiiC8xBKcob5TmctNJezQNHVEPskzDMZPfa2IZPaPQbm4J F+UaGmBPlBaZxNQfcbM3lwS4iU6lefdXw33I4GDpbwFpxKyJFY5OuqSQ9ELEPFVluEU9 6TycUqxPy88vvQNJqOkwvcrI/t5kXz07C3kx8Yuihkx3/uruNAVtjY3m6ucDRM851k3t gqJg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=KKpOpugW; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w15-20020a1709026f0f00b001bb9f190bafsi304852plk.526.2023.09.15.15.00.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 15:00:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=KKpOpugW; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BC70B802AF20; Fri, 15 Sep 2023 03:41:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232921AbjIOKlq (ORCPT + 99 others); Fri, 15 Sep 2023 06:41:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbjIOKlo (ORCPT ); Fri, 15 Sep 2023 06:41:44 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2056.outbound.protection.outlook.com [40.107.93.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48779C1; Fri, 15 Sep 2023 03:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wm1zOsBp9+Xfi8dxlwx17g+7h2AwdYLO5jFhwY+j07JtCx6xc8WO3GM5aY9YOrk0R929mnDB/UmAzphIIxTXRPXSGlZ2ROHtzW/HbuxP6HmjsR76mtApbfL57R4J1NQUrOnB8e7XYJzgDrAR++hW3wViIG8qvndYyIg4w5pRigf1RukiiIZzj0M3xUMtjFAVVtvbkUYrJr66YUadNhkohBCA+DryocgCcjC1D9PhijLAxdBrZL7bg+UlfCo1nSjlXe1i170lynUqul/D9qQok/AsC9lPE29Qw2GJJ+1NJnHujMh/DEpW6QwtsT3Xsh8wk0poah+L2uY33muN/HQNjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hVGOYC0AG3mvj6i+NeaJGc4eIE+uhrTlrNL/G/z9aUw=; b=KLd/CN87dZZE9IkIvx+AcTgnLPbO5xiW/Z0MKkTeyXcomvQ35SxW6jH165dpOmWe5qlvqDuiSG4/SiUGtFDtTD5lSE5RJ0qiw0Ym9Uuol/6ARrdsYIwM8Fdx0WhHC0UNyh0hoSX0icya9cPsc6NDLoHDiiDCUP66j+t7tCyoRZD6jrgq8MAkdmpWMlaGgNqKbsjLnNu8oErHW7fp+wUhzXfSZA7UBtuNcy873LS/hAdLkjWrroJgPkdG3zViRy0uzm7rXUWhH74V/ld4mO1OeFzjy9uN1yIzBKf4htJ6D/0T7tYFlMPDEztHAW3QpQ2d3F0CwnlRksRNggOCou+wBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hVGOYC0AG3mvj6i+NeaJGc4eIE+uhrTlrNL/G/z9aUw=; b=KKpOpugWw9df/mGVVJNL+frMaHLpYMVLE5JI+KdowGdmYr9k3dkrBOWiw7//2zgYHMRX+RhE9xHic/e4iIkdCExqErU+zDGJPqmNuSx/m4zqOVfRZfRTT8CCqu7Bh6bF2yhCmISUuZMSHbCoDwdDMIpl+ieF9n+p9r5+H+l8PgE= Received: from CH0PR03CA0245.namprd03.prod.outlook.com (2603:10b6:610:e5::10) by MW4PR12MB7312.namprd12.prod.outlook.com (2603:10b6:303:21a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.30; Fri, 15 Sep 2023 10:41:35 +0000 Received: from DS2PEPF00003444.namprd04.prod.outlook.com (2603:10b6:610:e5:cafe::90) by CH0PR03CA0245.outlook.office365.com (2603:10b6:610:e5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.21 via Frontend Transport; Fri, 15 Sep 2023 10:41:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS2PEPF00003444.mail.protection.outlook.com (10.167.17.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6792.19 via Frontend Transport; Fri, 15 Sep 2023 10:41:35 +0000 Received: from ethanolxb491host.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 15 Sep 2023 05:41:13 -0500 From: Swapnil Sapkal To: , , , CC: , , , , , , , , , "Swapnil Sapkal" Subject: [PATCH 0/2] Fix issues observed with selftests/amd-pstate Date: Fri, 15 Sep 2023 10:40:55 +0000 Message-ID: <20230915104057.132210-1-swapnil.sapkal@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF00003444:EE_|MW4PR12MB7312:EE_ X-MS-Office365-Filtering-Correlation-Id: aa8c5157-2e79-4bfa-33df-08dbb5d85551 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 472I0qFLbEHelSvOAk6kckBuxAGlBH5Pru0EzIJ2Gumf2WR3YLHcCTMjU3dRYJHJkXRiZ4s0xHL4FlpMeEUDDYvFDifjvkYm9ADeH8Z9t1+wXZZABjz+H9MxDePX5AYoIdM3HQTjhY7Yu96Pt6+2yGKjJfJb+e5iCJKx7wHRUzkOlNcOXQhtVHr0Xg9Vy+wejmP1iuubYxWfern5z9BC1DgR/ZWEiMkVD+fsLZ3hIgcklCnJmxkqsmLLr39f21gOV8nnc3Xy/lu7bisgcf7DcKpLyUTG71ZZzLbT3tIRx1/34gh2ToX+ONPcog9ey1rnWOQ1YA32nznvQDsF37AUlvS5ZDmetJiPZhy8s8Cz4I5aZVX/8h74/dCrfJHrd/zCXzEiB/kz11ZvtCIDY3TjmGMyz0ziusLdV7LOwZzbadyeZxlOu5xMCPT9oH7i4RtMkCrqSIDUD4xVuDXS6IgqTcFRxjOWU6nVMuNL/rYjayu/8FX7Bw2bSmpyPP0NafaF0f4x1ViKQLEnt35PvhRz41KSyXzH/w6KF+QZ5e2UW3w7uLIkd0Cf4TkqD7F0BHDBjhmHkIoz6urmmIfG5aguvurBwyqownWW3GH87wdoxSJIxrLraepJNNqRRiDMBQ9CvWkE9+j4I6ByYJIKqGl50VynAZiwnJ6/9Mvmf/GbfDX5/yv7nnJbosaR1j7L/fpebREgSx5GIs5p2i9PvA1wZHeN0pdhd02zpr4F8LVs6B8OCvZVCh/PKty5xR104N7Y6BgBWxV5ONOBTlk61g1xxzYyS2jHlYF+lw7QaEXGv3U= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(396003)(346002)(376002)(136003)(1800799009)(451199024)(82310400011)(186009)(40470700004)(46966006)(36840700001)(70206006)(81166007)(356005)(36860700001)(7696005)(6666004)(36756003)(4744005)(82740400003)(40480700001)(47076005)(336012)(8936002)(426003)(478600001)(26005)(40460700003)(16526019)(86362001)(41300700001)(2906002)(2616005)(70586007)(110136005)(54906003)(4326008)(8676002)(316002)(44832011)(83380400001)(1076003)(5660300002)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2023 10:41:35.1224 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aa8c5157-2e79-4bfa-33df-08dbb5d85551 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS2PEPF00003444.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7312 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 03:41:50 -0700 (PDT) This series fixes the issues observed with selftests/amd-pstate while running performance comparison tests with different governors. First patch changes relative paths with absolute path and also change it with correct path wherever it is broken. The second patch fixes error observed while importing the Gnuplot in intel_pstate_tracer.py. Swapnil Sapkal (2): selftests/amd-pstate: Fix broken paths to run workloads in amd-pstate-ut tools/power/x86/intel_pstate_tracer: Use pygnuplot package for Gnuplot .../x86/amd_pstate_tracer/amd_pstate_trace.py | 3 +-- .../intel_pstate_tracer.py | 4 ++-- .../testing/selftests/amd-pstate/gitsource.sh | 14 +++++++----- tools/testing/selftests/amd-pstate/run.sh | 22 +++++++++++++------ tools/testing/selftests/amd-pstate/tbench.sh | 4 ++-- 5 files changed, 29 insertions(+), 18 deletions(-) -- 2.34.1