Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2703914rdg; Mon, 16 Oct 2023 12:08:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4x7MNsdVRfFBx/4Cw9gDUTsFUcm/DtKiolnlwKXJU1fEL+H5jORN6nPalLqDOOUUpkv7B X-Received: by 2002:a05:6a20:7f9a:b0:160:6983:91d6 with SMTP id d26-20020a056a207f9a00b00160698391d6mr13896195pzj.22.1697483332647; Mon, 16 Oct 2023 12:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697483332; cv=none; d=google.com; s=arc-20160816; b=GOCkefMrfmzYt50KzHVY2EnE7fwaW/sL29yYSIbFVd10XuEjbjb507GFNfgFI7dI7h rR88qTuHO4/pqqBpdElEShasNhNBJu1TUabln08ga7fKM+j3AUt3GKx6yXPvSL5gA9pJ IOPRpDboOU4i96Th1G+MewwC/EhjRjlK1bO1ZH2cBb1Ctyi2QE5YhUgTs8pOtqcFOh1J 6w3s3LgnO+gdbIVIP2hvh4DoJsKSkcZf/5Pml8NBwjZZEKkXHjbqyl/SuwUieHUUdfJP jHdSWnaG9y9Bkd7L1JOGJmjSht4/ZP4iQwCwdri36urnM0SpM9UwjYhQUfKge/WqVxWg I1xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JcTH0VsoF1buUa3wYI5JOhUxSLxinwGPh2bn6jgrf1M=; fh=2DR7xh8kGNr5H7Hl7Pqq8g3VjAU3A9o6fF6DYYe2/dU=; b=J/WBJe3gIQRvSPkH8q9orlx0gbRgMpYBI+JVKG1bdg/m6J8LsRcyU+QetYhWhPyoMW HuTsLkGZb3cdt9sVMLMJuHA8QgLrqwa91nRihFTT6ynXjMFRtHQfivN18IjV6be0T3GH EH/mvhHu8TkJUxOFxxgC3/Zn+EFaRPt90iEdNMltwyvPdN5zwULbXVKpYAwRWeif+yWj DR7qWiNZchw+OjZXZTs+5VLq9T43c6CFcCcO2hBhnXMRJDyhpmI0V7DsU9EWaBRyQyso SjiCXTyrgOTbGPnfi5Og1LaqmAzQKhsf6hhw3MxVAPVQcguxvG2rLsFGs9ZoEd5Ma3FJ 9JAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=e9LhRIbv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id h67-20020a636c46000000b0056952b496efsi10980048pgc.366.2023.10.16.12.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 12:08:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=e9LhRIbv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C98098041390; Mon, 16 Oct 2023 12:08:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231508AbjJPTIl (ORCPT + 99 others); Mon, 16 Oct 2023 15:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229943AbjJPTIj (ORCPT ); Mon, 16 Oct 2023 15:08:39 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0EA7B4 for ; Mon, 16 Oct 2023 12:08:37 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id ca18e2360f4ac-7a2874d2820so59376139f.1 for ; Mon, 16 Oct 2023 12:08:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1697483317; x=1698088117; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=JcTH0VsoF1buUa3wYI5JOhUxSLxinwGPh2bn6jgrf1M=; b=e9LhRIbvi72jdoM/sj1fB8VUKUya4Os1hXbTXmkbsDdRj4jpYqhhu5c/l5qS30Y7KE TX85O4ZHF/B8wcuoqb588Socp4Y93e6GH3cbdLbC7B1q8v5oNXwfdN8lbIVqTkewcO05 LHTUYfxIxiiEliGf715YwOlb2pT0RXLXMPfrg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697483317; x=1698088117; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JcTH0VsoF1buUa3wYI5JOhUxSLxinwGPh2bn6jgrf1M=; b=niLU7eIAutuqt9zHOYFauIxV89YTZHsKGkzwC42bJ8eP/XsTewUWyOM3FED0P6BHVP j23KB+bgyMcNKoIeYbAWVw6vZ2/LhhHT1sPcTxumywCvlooCYmytP0b67g96kaWBpqGF S4AUICD9mBoTeuAzVukZpiYSH1n/PaTVr+Jj2ArsbDGBSpBc6+WX6X731r3LHi1784GS bZ4EnVojFSBbaC5ojDerBoAuSs3+nStPvXP2CtJgkDuivWgI9W3hXdgbF4wtsQKHzWDZ xyC2nJs5Hrg/Xg9HCr/oCBxTGreV3NDsUBhEu182iuYaJU5py5YE+c8lyHOHoHRwdX6/ Hz2g== X-Gm-Message-State: AOJu0YyvqP825w6p3aID5PKxAJaEiChm3OjFECw6/NmlGUjHuF1OsCTk +fg8tm2ehRk8T1zy75KoKYl8iQ== X-Received: by 2002:a05:6602:1513:b0:79f:a8c2:290d with SMTP id g19-20020a056602151300b0079fa8c2290dmr199390iow.0.1697483316996; Mon, 16 Oct 2023 12:08:36 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id r22-20020a028816000000b004301f422fbdsm6498947jai.178.2023.10.16.12.08.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Oct 2023 12:08:36 -0700 (PDT) Message-ID: <213fb592-de7d-405e-88bd-595a1cb33d48@linuxfoundation.org> Date: Mon, 16 Oct 2023 13:08:35 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/2] Fix issues observed in selftests/amd-pstate Content-Language: en-US To: Swapnil Sapkal , ray.huang@amd.com, shuah@kernel.org Cc: sukrut.bellary@gmail.com, li.meng@amd.com, gautham.shenoy@amd.com, wyes.karny@amd.com, Perry.Yuan@amd.com, Mario.Limonciello@amd.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan References: <20231012093225.2045109-1-swapnil.sapkal@amd.com> From: Shuah Khan In-Reply-To: <20231012093225.2045109-1-swapnil.sapkal@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 pete.vger.email 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 (pete.vger.email [0.0.0.0]); Mon, 16 Oct 2023 12:08:50 -0700 (PDT) On 10/12/23 03:32, Swapnil Sapkal wrote: > This series fixes issues observed with selftests/amd-pstate while > running performance comparison tests with different governors. First > patch changes relative paths with absolute paths and also change it > with correct paths 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 v3->v4: > * Addressed review comments from v3 > > 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 | 3 +-- > .../testing/selftests/amd-pstate/gitsource.sh | 17 +++++++++------ > tools/testing/selftests/amd-pstate/run.sh | 21 +++++++++++++------ > tools/testing/selftests/amd-pstate/tbench.sh | 4 ++-- > 4 files changed, 29 insertions(+), 16 deletions(-) > Both applied to linux-kselftest next for Linux 6.7-rc1 thanks, -- Shuah