Message ID | 20230915104057.132210-1-swapnil.sapkal@amd.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1016063vqi; Fri, 15 Sep 2023 05:46:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBsj9BC+pcNdwWgAlePTgpQAnsGTvG5SegrhUfPjysbF3dEWsjcCkkxMQa1Fb+IvXbdQrj X-Received: by 2002:a17:902:c404:b0:1b8:8b72:fa28 with SMTP id k4-20020a170902c40400b001b88b72fa28mr1659847plk.58.1694782000019; Fri, 15 Sep 2023 05:46:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694782000; cv=pass; d=google.com; s=arc-20160816; b=LQHKG7Z67VvQI4p2dkf5hBZs5+yF0Zx9RMPwV/GqLP9I6QElF9W8HvUzI4TICZNqnh HCS9QX7SKuGpyki/xf4hX79YEnICEDq+0cBnPC05FvWQQTPy4wGNlaVTXXDTtEEQW/fL Ka2DJ4rwReyhZX49rZ8gkZma5ANyWoW0jh95qqjGNkGnxGU+ezaAKJM0pgpYvafwnZDt 4gIxt0irzxQSrbegjn7Jt0YpAcdVS0Fqh8MffZbZAeG2PsfWK+xM17hVxBkufZkooKtw 2FzMR3uJCvBm+4d812sZ+U+ynd7YL7wEr2InwTxD78alVIWLu+qnsLcnoYbkVUTk7O9x ydiQ== 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:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id b3-20020a170903228300b001c33cde7b3asi3607111plh.410.2023.09.15.05.46.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 05:46:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; 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:3 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 lipwig.vger.email (Postfix) with ESMTP id B9C9783AA386; Fri, 15 Sep 2023 03:41:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233000AbjIOKlq (ORCPT <rfc822;ruipengqi7@gmail.com> + 32 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <swapnil.sapkal@amd.com> To: <rafael.j.wysocki@intel.com>, <Ray.Huang@amd.com>, <li.meng@amd.com>, <shuah@kernel.org> CC: <sukrut.bellary@gmail.com>, <gautham.shenoy@amd.com>, <wyes.karny@amd.com>, <Perry.Yuan@amd.com>, <Mario.Limonciello@amd.com>, <zwisler@chromium.org>, <linux-pm@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-kselftest@vger.kernel.org>, "Swapnil Sapkal" <swapnil.sapkal@amd.com> 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=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 15 Sep 2023 03:41:53 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777107730339685378 X-GMAIL-MSGID: 1777107730339685378 |
Series |
Fix issues observed with selftests/amd-pstate
|
|
Message
Swapnil Sapkal
Sept. 15, 2023, 10:40 a.m. UTC
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(-)