Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1741682rdb; Mon, 2 Oct 2023 22:11:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFV7UH2QOP+yXeBnd0mAgFpzW86jCIZYU5Xe8ztG7gV/6T/TVM9wFgs6p/GVk1hoHoaUBuV X-Received: by 2002:a17:902:7896:b0:1c6:c8d:6b4b with SMTP id q22-20020a170902789600b001c60c8d6b4bmr11699625pll.59.1696309885027; Mon, 02 Oct 2023 22:11:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696309885; cv=pass; d=google.com; s=arc-20160816; b=PdfdPMbMxIvfxwPytBUcIGcxS5fAjGx04GMEZQg2nn22rwAlI0TcyJ5+MNDINX+gPD Kdj1Tn2J7WVco6GmAmTQ5KHm3YFJ0xTt+odDNquh0WFvtPYNjVoKj78m0f/98hqRfqHU MuLvE6s6AOhPym5j2gzkEGoVVBGliJfsVwR++z9KFdrKdkIqKZIfSXbF1Hh8ptXgUxgN 3pX0H+SjsVXVw6Cl6rLu/q1BmH/sZ6zXfB9cuHzdny5hvqCKFouiwrbz3I8g2xQ0sggR ILBbxxKVdHGDSh/M+ESN6oUbxGeaJWZKhhpomhKT5Eb7c+Z6OgzyEcIEjfKwZVdqXekv Zwhw== 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=2K5ofjXkc5TeRt0rSxcMGdt3AGeDWXRqbZ0RgwZzUiM=; fh=sztJ2H0J7K3BGq/KvFSovKT/5Lb9yHj8CaUJifdcFqo=; b=sycil0ql3VtD2u+rJ2YgaRhTaW++AG8rIdh9TylUSg0vTyVNYCohNkh5JEcOzTNZd9 xnCr9LTJ4SSIcXvGyAfaGJbfxcorPlOCIXYAPhd7qp2VXtiwJkLucSGl382K5sFk5BBr 0H94+a9mOeBknBf0trJk5hxVsebHcCohh/90F2Nlc+HbDTHYc+rXWj9iQT0LskDz4sYQ BAWVi4J73r5AH0rikP5piKx0PMyBOJOQLOMXIOjcQ9qpaqq619vH1jlIUMPRXk1C6G+L JySQG3hhxQmRVj8umO0yt+hu/X5gpgZQybyx11JA1t0/o7dM/niuhqmmbNtqi+LUXqbH WWQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=1D1C1zLP; 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:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u1-20020a17090341c100b001bc92dc57bbsi626088ple.633.2023.10.02.22.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 22:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=1D1C1zLP; 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:4 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 howler.vger.email (Postfix) with ESMTP id AF13D80A933D; Mon, 2 Oct 2023 22:10:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239122AbjJCFKe (ORCPT + 99 others); Tue, 3 Oct 2023 01:10:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbjJCFKc (ORCPT ); Tue, 3 Oct 2023 01:10:32 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2047.outbound.protection.outlook.com [40.107.100.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73291D3; Mon, 2 Oct 2023 22:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aT9LuT9J5DuYX+dzLLUdVJqW0ceKNpTWTTJyJXfBG1R+raYg4zV3f/paD0hvPArXqYv877FAkAeECvt946TxxUrfj5ovMIE65+CfSGPMsexcRcfJwWrDYKQtOokdYbxiyiluSY0yFG+aQ4e8/BYQEdoNinGjdlJ2JpZaczMkQOhpjoRLFM3ZD3YWU64SK1yqGwy08tjrPGZYfolQ1Y0lTO6KzlIqLlHZ2cxkbZhqAvPgFKMz2FgtJaIj7c+OFjj7zW/NPJX9bmOeuHDdmpHP5ZEi65pqGt8FDe/TQ8QdYeguI7lZTSev6EuBi0CXWC242VG3euOFT/vtWGPEwjK4+w== 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=2K5ofjXkc5TeRt0rSxcMGdt3AGeDWXRqbZ0RgwZzUiM=; b=aklaRSEG51xPO2WzDKiPF3jgE8E+Ekss1rxk6VZBPiOvPrh6QPa9+TMB5VPt31J1VPpP6Bg4B2Bh0gL3oCH/cXXvt/Ofsu9enm0+3CXXLAQGMDubg8laL/1q79dq1TAUzroBpTnM/Jf1froHcBGZLPJm8s8yqcnF5hqRF3QOMO1EzFMw7qkBZifjOixnicn7QiIn5kHGGtHiNCPtsjAv2wKb1j333L5O+dlQXs6vjZXYbVhKXwU/oXN1mQSgfkPArCyX8ufzyb1RspdozS698v1otuca+xW3l1WWHNaujxIgXSB0DWdNVwrpjLO5sxCw+wOYJDEvW0XdFV8x3uBpwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org 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=2K5ofjXkc5TeRt0rSxcMGdt3AGeDWXRqbZ0RgwZzUiM=; b=1D1C1zLPzHcIMAn1XIKYNQFwGvtk718ptXSfI/sORUEsCGN0NFb5vtT+u508Fud3NwEu+tSqUq+Upl+4qZLKCheuOSp/Ap6o0IAqjAAe+BebXdT8GzSNBKc/FS4214wtYuujnraQdOA4dpvv/v9pBOMmCahW5OJZWo3X3+ZMOOA= Received: from BYAPR08CA0016.namprd08.prod.outlook.com (2603:10b6:a03:100::29) by CH0PR12MB5025.namprd12.prod.outlook.com (2603:10b6:610:d5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.29; Tue, 3 Oct 2023 05:10:25 +0000 Received: from CO1PEPF000042AB.namprd03.prod.outlook.com (2603:10b6:a03:100:cafe::93) by BYAPR08CA0016.outlook.office365.com (2603:10b6:a03:100::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.33 via Frontend Transport; Tue, 3 Oct 2023 05:10:24 +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 CO1PEPF000042AB.mail.protection.outlook.com (10.167.243.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.14 via Frontend Transport; Tue, 3 Oct 2023 05:10:24 +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; Tue, 3 Oct 2023 00:10:23 -0500 From: Swapnil Sapkal To: , CC: , , , , , , , , , Swapnil Sapkal Subject: [PATCH v3 0/2] Fix issues observed in selftests/amd-pstate Date: Tue, 3 Oct 2023 05:10:04 +0000 Message-ID: <20231003051006.6343-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: CO1PEPF000042AB:EE_|CH0PR12MB5025:EE_ X-MS-Office365-Filtering-Correlation-Id: 54bd720c-1b62-4e42-1566-08dbc3cf0d1f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6VNHrFAWdz+Eb0GInQXZOki9AmO+4R0t0a733nORnQxsyW1rMOYqYIRXThZ8hfXpBZ5LTAxpcjMJJV4S6iPFLNNXCFu9TiAngON1BiFgzdlItNzAU24zjc8JCVCu0TZlaagTJ1RIq1dioaoWP0UlKcGBRHLYhN6icdmhNdJwh5YYgFA/LRcSZ5kSsMabvEQfcwBLKEQPlFDZBC77muLWrOjwCoJIDi/thhCsdsPmGLFJSSkXiHfFgLkM6330qGq+z1Jwmt3NTbePbarw+eoLd69tR5HJoFRHt8ikwO2bZ3SWgkY+8tgUl6A9u0XA92I4BwBPX1k45nUaybjGDq3OSB7QI0xvUfWeexzizigJ5pO+Q5XFw1LcemLNRhPQ6sbDsapV8lIg+epZpK5SsZjwXgPHAUVkqEsJ2XhbFz8be2pr6jRIPJwhcOY3VFO18CGtmyNrKKrkySB75xFcMS+0YoqPoatwBnlE4idY314E2zcNJnC8452fp3aNp3VeRlqbi/H1fj2VDwW1nwzyXfg/XoFzW00eFZ0o3K3SL/EhMU/ZxC3NzSQeuL4DK1lqA6yDgarHn1erWkaiq4SrJ2gBiC1krtNaQa8duEKNqtoNToCOuZ3jde1BM7WHQxRw1U5c297JEh59sMnMjUJM/xcG+e4z2XumtJu/YV39YWu+rm6tPq83st2JHuayD9AAIETbRjmKLlbf38nmdqRCOp2/K4OJZxD576MANItMADfptGGpn5raZMa1WjMJc9o8PwS/rHGd2dMT6qCAyDafl8iaxA== 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)(346002)(136003)(376002)(39860400002)(396003)(230922051799003)(82310400011)(64100799003)(186009)(1800799009)(451199024)(46966006)(40470700004)(36840700001)(336012)(426003)(2616005)(40460700003)(1076003)(26005)(16526019)(36860700001)(81166007)(82740400003)(356005)(36756003)(86362001)(40480700001)(47076005)(83380400001)(316002)(4326008)(54906003)(5660300002)(8676002)(44832011)(8936002)(41300700001)(4744005)(70586007)(110136005)(70206006)(2906002)(7696005)(6666004)(478600001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2023 05:10:24.7282 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 54bd720c-1b62-4e42-1566-08dbc3cf0d1f 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: CO1PEPF000042AB.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5025 X-Spam-Status: No, score=-1.7 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_BLOCKED,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 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 22:10:38 -0700 (PDT) This series fixes 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 adds an option to provide perf binary path to handle the case where distro perf does not work. Changelog v2->v3: * Split the patch into two patches Swapnil Sapkal (2): selftests/amd-pstate: Fix broken paths to run workloads in amd-pstate-ut selftests/amd-pstate: Added option to provide perf binary path .../x86/amd_pstate_tracer/amd_pstate_trace.py | 2 +- .../testing/selftests/amd-pstate/gitsource.sh | 14 +++++++---- tools/testing/selftests/amd-pstate/run.sh | 23 +++++++++++++------ tools/testing/selftests/amd-pstate/tbench.sh | 4 ++-- 4 files changed, 28 insertions(+), 15 deletions(-) -- 2.34.1