Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C914CC61DA7 for ; Thu, 26 Jan 2023 22:43:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233058AbjAZWn4 (ORCPT ); Thu, 26 Jan 2023 17:43:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232550AbjAZWnx (ORCPT ); Thu, 26 Jan 2023 17:43:53 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF3F4460B1 for ; Thu, 26 Jan 2023 14:43:51 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id nm12-20020a17090b19cc00b0022c2155cc0bso3159414pjb.4 for ; Thu, 26 Jan 2023 14:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=google; h=thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=NFmyaM0qz+rP4yApBEttqduj7Z0OhMB/DfI8H+Cxm7o=; b=ToCn803vC3/2IxDu/GKQ6uEKkfLf2ohR1BjDYu1h0dj3Onrq4G1F98z67g0wI5qure cybGG3OUv832mfxhdAGnSR7dBnUYoYyl/immJn2lYF4rIHeuptoGaxV8+3a4Gj3GBPH2 UBmo3T+2eUf+EBzbSsTCZH4WxmiaOKIIatcrWffs6f4NFML9Okq/MyoOWxhcox5B285d 570yYtFEo2a4zwD2PLJeiudaTFyJ3MRKPNwzBB/Z9UZyvECXEkqNn9SJu5f5BlQV/oS4 4YzHO+9nfo3JRqRw9p9ruu2O67PxCpQyzIk2j68wlkwHs18dUOLF9JIPdWmEg9Rsz1Lg 1o6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NFmyaM0qz+rP4yApBEttqduj7Z0OhMB/DfI8H+Cxm7o=; b=Ht0Ogt7NnAhCvmNKxoUO+LDMZ4df4hdANLBm6gz/Ehgapdt6iVbllAotOyaslWrON0 30CVR/LP5uXPmEiis6h8OW0ydEfXxswmyaWua3pxCb+94xEdrV1TCke2mFsdywERUSf6 h8oPoupc57r+wg302acofjXHEGbN6HgYwsIONNQS6+agWmpZe29T/VlSZ0+76hSgP+YC hnCoEG3a1yPZYzkaMru/yzsGSsWhlOE2bguvSq6fE2P01QBwSo1qxO2WbnN5NK6/HvG9 B93zJ7MNIMDgoWLwWzkd1mrABOHoRuINaROtZCps1WsWKqApFH8obak+vGZwLt62h9R5 qz0g== X-Gm-Message-State: AFqh2kqMJqe5aTjmwmiLrIGCYHApwoVvuqRFMePGg+MWFzhH3MuzW7Ir DeWYiVGxT2kMiJHNvjP6sw5nHA== X-Google-Smtp-Source: AMrXdXuTdeV/8t6XkbnhsD07G5vLYy6Ac3Q2DyKs0AFTVHK8sWOYASSvfvHGsHkc+/vbp9e+OsjJww== X-Received: by 2002:a05:6a20:3d09:b0:b8:6fe8:5ed7 with SMTP id y9-20020a056a203d0900b000b86fe85ed7mr53553747pzi.44.1674773031010; Thu, 26 Jan 2023 14:43:51 -0800 (PST) Received: from DougS18 (s173-180-45-4.bc.hsia.telus.net. [173.180.45.4]) by smtp.gmail.com with ESMTPSA id y15-20020a056a001c8f00b0059260f01115sm165090pfw.76.2023.01.26.14.43.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2023 14:43:50 -0800 (PST) From: "Doug Smythies" To: "'Shuah Khan'" , "'Huang Rui'" , Cc: , , "'Rafael J. Wysocki'" , , "Doug Smythies" , References: <001201d92c93$98c8a040$ca59e0c0$@telus.net> <000601d92db7$39e9d0b0$adbd7210$@telus.net> In-Reply-To: Subject: RE: [PATCH v2] selftests: amd-pstate: Don't delete source files via Makefile Date: Thu, 26 Jan 2023 14:43:53 -0800 Message-ID: <008501d931d7$aaba8360$002f8a20$@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-ca Thread-Index: AQGd7wYRnyVvksQxjZQjWj1dK3j3EwMDsqvcAhOVwtSu/xNR8A== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023.01.25 09:03 Shuah Khan wrote: > On 1/21/23 09:41, Doug Smythies wrote: >> Revert the portion of a recent Makefile change that incorrectly >> deletes source files when doing "make clean". >> >> Fixes: ba2d788aa873 ("selftests: amd-pstate: Trigger tbench benchmark and test cpus") >> Reported-by: Sedat Dilek >> Tested-by: Sedat Dilek >> Reviewed-by: Sedat Dilek >> Acked-by: Huang Rui >> Signed-off-by: Doug Smythies >> --- >> v2: fix address list. >> --- >> tools/testing/selftests/amd-pstate/Makefile | 5 ----- >> 1 file changed, 5 deletions(-) >> >> diff --git a/tools/testing/selftests/amd-pstate/Makefile b/tools/testing/selftests/amd-pstate/Makefile >> index 5f195ee756d6..5fd1424db37d 100644 >> --- a/tools/testing/selftests/amd-pstate/Makefile >> +++ b/tools/testing/selftests/amd-pstate/Makefile >> @@ -7,11 +7,6 @@ all: >> uname_M := $(shell uname -m 2>/dev/null || echo not) >> ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) >> >> -ifeq (x86,$(ARCH)) >> -TEST_GEN_FILES += ../../../power/x86/amd_pstate_tracer/amd_pstate_trace.py >> -TEST_GEN_FILES += ../../../power/x86/intel_pstate_tracer/intel_pstate_tracer.py >> -endif >> - > > This looks good - Do you need these files to run this test and if so > do these need to installed when the test is run on a test system? I do not know. It is a question for the AMD people. > Now applied to linux-kselftest fixes. I will send this up for the next > rc. Thank you ... Doug