From patchwork Sun Jun 23 19:19:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Storozhenko X-Patchwork-Id: 13708714 X-Patchwork-Delegate: shuah@kernel.org Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8638146008; Sun, 23 Jun 2024 19:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719170394; cv=none; b=TxaseVbGiIVN9gUt/w9Sxb56oIeEuRzZMnL1oY/QOlGd9vynt9le1lL2b9g3bynnsarvNnNJMD+ydk9TviNHcSPCXMTe9sYLEGXjUU8g953MhHgKLBCuf3hMJrd+ZaFFos9ear3rzzX84HvPppFDgt21z6GwUABUW7c10gJddVU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719170394; c=relaxed/simple; bh=00qXA6IL7Yw/S9twvSBbKymSZnnafOIvWhYBnU7NjjA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qMmZ6p/A+3lPpqp2ogBbSLTfWByq+vZuAdDQp8Axm8vrw6DDagX4obYaMEzrO3ulHLKNVUX2xmhqpYbeqBnTfVXSo/43mJg7JeWiQXz9h3fML74gQDP/H+3Ko30sGgx0xzGWt0PRxqQ8mw1UojKEXjOx3FlFjE8AROp/oGdA+64= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=P/G/weMA; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="P/G/weMA" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a7241b2fe79so102464266b.1; Sun, 23 Jun 2024 12:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719170391; x=1719775191; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=WaTIi5aYkZaCgsP3IdLGfbPnML7N0WxBYlilWAaafU4=; b=P/G/weMAfwaibjvgmqocAUZo/pX2ty9VARq5KJMqkNQizapi8LIVKzfz8zGmshSKo7 dNwLrqfq9JibgidLaFbZPiJOB4NTp4IGfAWRQ34sL7mQDOklFuKy/WPxL4zA+wlaNGsF F2cBbg7zwMGWrB/rZch+A9bFXxJ31PNQbzVaqdJT6/bAw6/r01GXLyZEdGghjhlP3vKd j3aqb86KxqDy8Q49bb7pNjF3psAngQDvzNxqJfdgnk5Z1B6diYZUs+0ay79Ti4n9b0Kc SAqdYYUeAYiSHE3U2/NzIkr0UMNFVU4YwgA7iBXM1gtVj8kOSx7XF40wNpTioxAdkQII /KBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719170391; x=1719775191; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WaTIi5aYkZaCgsP3IdLGfbPnML7N0WxBYlilWAaafU4=; b=HUFNwG4Z+mncdWT3GQnwlXTqBl2vqXmJMxX+jeCHtLUuOHuJf7ysV1uY1e5UECW5Jz 9wq7SkqYj3ZLaF06JlkLRekJdVGdXPkiXBuaEA5XApU3K8pZDksrBS259q307OL6FosK cPC/gSu9WSodWUByEOvlQYf8y1WhMdJ4beCJfmR/MWf8feS0hpAg28qfShY9kA9M6Xpb s+rOTL1Y9Dm6n1U8jIIEGVyR4DERavLVv69D6GCLr4l/q2ypEGD/E/BU2UPbGGl6olZZ 3eLuvWk9hszgdS0AkFL+SoPV/gMx7XQcY31k1/Rdb5vZhHyBAFXS/DKCgAP9IarNOK9C xkTA== X-Forwarded-Encrypted: i=1; AJvYcCXwUcvtXUJSLvJdejrwefmFfDMi4TWwgQcIZCm6ZWVNtWvMLaRbWwIRrJwdIpklnJ+LFF3FiC+2FLJrWPa0+xat4IcTWAEbMcxvKX9P9Zm3HpETGJF6hikpyEKpsN4cg9sBpkYr/zc= X-Gm-Message-State: AOJu0YziDrhH9aBna3rw4w6lOiRrEFfqiGBVkSHCM3gZjZ++6fN6nSEB ytC/k8I8qhzS2yw0E/u8RR8q7UkSA1YMxIsyDHWKPaSPPS7gRMBD X-Google-Smtp-Source: AGHT+IG3csI2gQK9zlXBPvg68Su41NrzsH15u4ipxEnqF+lxNb2ItVc/R+ZUCCcBECx6wd2Se2kLDQ== X-Received: by 2002:a17:907:a70d:b0:a72:542f:8251 with SMTP id a640c23a62f3a-a72542f830amr62708266b.56.1719170391045; Sun, 23 Jun 2024 12:19:51 -0700 (PDT) Received: from [127.0.1.1] (31-179-0-202.dynamic.chello.pl. [31.179.0.202]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7255b56e48sm22075166b.176.2024.06.23.12.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 12:19:50 -0700 (PDT) From: Roman Storozhenko Date: Sun, 23 Jun 2024 21:19:41 +0200 Subject: [PATCH 1/4] cpupower: Add 'help' target to the 'bench' subproject makefile Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240623-make_help_rest-v1-1-4bd3fd51064b@gmail.com> References: <20240623-make_help_rest-v1-0-4bd3fd51064b@gmail.com> In-Reply-To: <20240623-make_help_rest-v1-0-4bd3fd51064b@gmail.com> To: Thomas Renninger , Shuah Khan Cc: Javier Carrasco , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Roman Storozhenko X-Mailer: b4 0.14.0 Add 'help' target, describing all user-available targets, to the 'bench' subproject makefile. Signed-off-by: Roman Storozhenko --- tools/power/cpupower/bench/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/power/cpupower/bench/Makefile b/tools/power/cpupower/bench/Makefile index a4b902f9e1c4..81c862297782 100644 --- a/tools/power/cpupower/bench/Makefile +++ b/tools/power/cpupower/bench/Makefile @@ -41,3 +41,15 @@ install: $(OUTPUT)cpufreq-bench clean: rm -f $(OUTPUT)*.o rm -f $(OUTPUT)cpufreq-bench + +help: + @echo 'Build targets:' + @echo ' all - Default target. Could be omitted. Put build artifacts' + @echo ' to "O" cmdline option dir (default: current dir)' + @echo ' install - Install previously built project files from the output' + @echo ' dir defined by "O" cmdline option (default: current dir)' + @echo ' to the install dir defined by "DESTDIR" cmdline' + @echo '' + @echo 'Clean targets:' + @echo ' clean - Clean build artifacts from the dir defined by "O" cmdline' + @echo ' option (default: current dir)' From patchwork Sun Jun 23 19:19:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Storozhenko X-Patchwork-Id: 13708715 X-Patchwork-Delegate: shuah@kernel.org Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6064617FAB1; Sun, 23 Jun 2024 19:19:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719170396; cv=none; b=LlEyaglikVcNDNQ3NA9fDmHWoB2HvFrZ7Q5yMu1RCq/sEhY+m0mXBmC/6J7BAPFQUOsMZizrpkbUKN+dGOGDAWrZbNUj5nWcKo+mVTLGe0YMnJyH9CVlGQUdu3Vy1sSdhG5HR28YZpEyAz/WTbH1tbjxQZJ24iiFp3Ywac8SUrE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719170396; c=relaxed/simple; bh=VmwSz+BAjdN9l3Gbniwi8kg+aJdHbekuX/d8gaiKTsc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RuMp4dXJ/aRv3BfT41LjavBoPbTIBMsJMfzF7zA/oXJrer0JmQEy1CphudiMGxJ/xcwyn4amGq1pQwwJkanWYCzKTQHJUz3EbdEdxLM3CQvbN/VcIKX0WNjdghuEy5DxDeB144tsZBBhVvV0ty6zfVkM5huWYdGgptktas9ISnw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nWwcipGq; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nWwcipGq" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a72420e84feso127088466b.0; Sun, 23 Jun 2024 12:19:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719170393; x=1719775193; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4QuRUv1/L5Hp5ElG7r1g/1VWFHjTJCPmTUEIIG+Ycvs=; b=nWwcipGq5fH8VJsmeTDHDodC/hLqvBZeHy8nB0iKCfrsTB1QO4iON3ieoTRpAfwQ5q LiEswB3i2UA/tSdT3sZcPudopt12xYdsWAnpZH6GdVe/vbdp9b1+wRNVbryaVn8dr4Uv A1ftvKFgp9dWy7jVQ6NQjQRgybyhG+qGfTDxp2R9M0EUzfxhyD7s7sCGw2aJ5h2odbFu nK4AjyK/BjiEE3Bxsp4AI3+YgfzyFk2M6vxEO5nyfcS3hYrpq1hgaV1+aK+vAqiOWAaq ghcQmLCQoD/e2FXudfYpVaDf0k6oAM5O2TmzOCsfyxU2AnRCcOTzhfmUvToAmYUU3XZ8 teqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719170393; x=1719775193; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4QuRUv1/L5Hp5ElG7r1g/1VWFHjTJCPmTUEIIG+Ycvs=; b=H0B5Eq9mnTy5OLsSVvXggvW1ChKQyqHQ7HSoW+iKqknxWONtE3QsvI6+FNqSx5CGNk lPbXeCb3sEf+EWvb2IvI5ylQGFO+O6TqPAK0kFwNWe7mnmG5XeP8PlZ9lXZWUuzZGQ6T brTBOrsASrN+G6M15NA2mKsBhY9KkzHIa1reCTQbOOy2f88zZ/QBx3Qlia7hGGBFhe2F ZeugnUxslPiGFz3b4XvHagvKMbYKbKG7w3MKfmxV92GOBVk6ZzDQK9R5orHwPG++SDoM uXLBHvVlTYMUPsP1O4kRrXDsEIFHUDFZq5kqe1niSGrcFAAmRkE76a9GF/FuiPMbsRdJ XrCw== X-Forwarded-Encrypted: i=1; AJvYcCXDszv2oRteKHasBkYL4gYrL7UdAf3ygKrkTG6s0SX8rf79e1MQe1H4SQTcNZXQV9uOOC6lpxD/JiaEGMQcAsY/BXEnIIEznDGItjAMJeWhsBy+jf4UnzLUhBLm1b2mlBssrryFed0= X-Gm-Message-State: AOJu0YzgUDLTSOAwmiss5V5Jku07QtQGc8Q9JPNmF9nRc7ZNBwPXD0nQ hxpjg7+Hm19OCDhzppfqkSGCSTCEdv+JxpT/6PWcRp0P6eg+zpV0 X-Google-Smtp-Source: AGHT+IG8MciAXfNEKOvsCbPiKpWoLO3O40LAUfXi3c5TkL/Npg/phJmr8qidnoMbUIBOEHt63Q6cag== X-Received: by 2002:a17:906:2657:b0:a6f:2e80:6e04 with SMTP id a640c23a62f3a-a7245ba3902mr205831166b.19.1719170392487; Sun, 23 Jun 2024 12:19:52 -0700 (PDT) Received: from [127.0.1.1] (31-179-0-202.dynamic.chello.pl. [31.179.0.202]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7255b56e48sm22075166b.176.2024.06.23.12.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 12:19:51 -0700 (PDT) From: Roman Storozhenko Date: Sun, 23 Jun 2024 21:19:42 +0200 Subject: [PATCH 2/4] cpupower: Add 'help' target to the 'debug/kernel' subproject makefile Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240623-make_help_rest-v1-2-4bd3fd51064b@gmail.com> References: <20240623-make_help_rest-v1-0-4bd3fd51064b@gmail.com> In-Reply-To: <20240623-make_help_rest-v1-0-4bd3fd51064b@gmail.com> To: Thomas Renninger , Shuah Khan Cc: Javier Carrasco , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Roman Storozhenko X-Mailer: b4 0.14.0 Add 'help' target, describing all user-available targets, to the 'debug/kernel' subproject makefile. Signed-off-by: Roman Storozhenko --- tools/power/cpupower/debug/kernel/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/power/cpupower/debug/kernel/Makefile b/tools/power/cpupower/debug/kernel/Makefile index 7b5c43684be1..9e4522a42c6b 100644 --- a/tools/power/cpupower/debug/kernel/Makefile +++ b/tools/power/cpupower/debug/kernel/Makefile @@ -21,3 +21,15 @@ install: default /sbin/depmod -a all: default + +help: + @echo 'Build targets:' + @echo ' all - Default target. Could be omitted. Builds "cpufreq-test_tsc"' + @echo ' kernel module against the running kernel if the "CONFIG_X86_TSC"' + @echo ' kernel config parameter is enabled. Puts the built module' + @echo ' to the current dir' + @echo ' install - Install previously built "cpufreq-test_tsc.ko" module' + @echo ' to the running kernel "modules" dir' + @echo '' + @echo 'Clean targets:' + @echo ' clean - Clean "cpufreq-test_tsc" module build artifacts' From patchwork Sun Jun 23 19:19:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Storozhenko X-Patchwork-Id: 13708716 X-Patchwork-Delegate: shuah@kernel.org Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF629184121; Sun, 23 Jun 2024 19:19:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719170396; cv=none; b=u80ASLdll1m62km7D3zOFtMnOruWkAd6OwNXdAIviLGvslFSjzQfOSEEw9rNDp96Nu2B4ovDu1Wh54keEO2DhKDk5NgqCb9zoi4dj/l6iOFk+B9dVxjYLTX3m/aUfxjTM84cyp0E5smod2l56dLOa4y7VB+KVF+3psm0wQfBzV4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719170396; c=relaxed/simple; bh=ffSXY0Ups+C9EqoExRjE1Ykww8QMqpXJaodcArBoaO8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DmL/kUhfYBCRiRHtuLT57hdmAvjSYTqWQKXTIqgCkYnpakeCOcV3nDi1Eia0Hf2kkDqZdyZD2zAHUG90vhpF/VWKA+MF2OopqZ1Ab5BeOf4YDFyC5TEA14lT49KZsp+ozWYyHFaZYUmnGtMHoq1y6o69kdNuqbTmL3vGxGUnxiI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YzCAbqqL; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YzCAbqqL" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a72459d8d6aso82426266b.0; Sun, 23 Jun 2024 12:19:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719170393; x=1719775193; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KluxZFImXf3jUaAoYhwBsEtDYQ+FE6oJ0LC1KjnPSEs=; b=YzCAbqqLN2Qp64WXWTeHwxVZLkthMP9+dntZgOHEfThmcv2Rpa3jqXKwiJhup2HE+y 8KFNlOesb5z3leFVP0xNFpR+Jbhw4+PpIzwFuVS7D+XqAekYdLL4W9jBveXfcHvDHjS4 3L+1nMHdmvXCQU903Pj5swb7BtL/vzZihEz9gAWsKhDmG+uKvIO8xWZxf8Yrt+Jhv+37 dtGUbqdRbUfLYooV0LbEWwCLW1RgLtW3NiheCqQNKl9da75VfRaNUCfaJ9zXesmUXlst vD38DfRuybJbxZVw8zSSLt8eLMW3Vqq+jNGT+4QL9Brlu7VSgHdBWs+TUC82vmObbzWy Lk6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719170393; x=1719775193; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KluxZFImXf3jUaAoYhwBsEtDYQ+FE6oJ0LC1KjnPSEs=; b=VAMbcpg4tulzYT+CKL5ifS4RVWqviZisIWK/dYjp5ZSL6WLYd6CoT/tw206dUNCYB9 ItjVaPgWBiBpUNtyJyaBiqt5Weeia0F6zqWRRM6cfvtYtncun133U/42pAISvr3iM20w yIis/DFCNJYNPgO3LpkAWwEVxjky8WKW3OfLPRER+P8sAlggeF1it1v9hVly9AtIZ3AJ lcojGvb2KWaRGYPe8CYR4L3nIcntWTyi2AfW71+mGxa1Z+GStZppPcARPkOL0kxJgR4b qnvkTWPkPDsemCeno4gfBK7CRNLT5ml9itK2tix1sDBSuwg+4BoIsxnchMIQA1m6FLKm fGTQ== X-Forwarded-Encrypted: i=1; AJvYcCU82/bcnsBHYWXDV4F7/xgEgl09gtorm1F3/yJ7+d8q8j7mkZ1BNn8zGrh1IXmRFa1F96b0TjAMM14rZZEednybVa4iER3jXwbv98kTpmRZi4Glpc76JVq3pD4Zm6ZGwEnLzwPCZfs= X-Gm-Message-State: AOJu0YyYoMj55gFRBbaGRPqS2iHXKEd7OgEyGOgCej1PLs9sv8pSi8w5 QaacW+aVmbcTJR1qpbdFyNqltLGT3h3uNvMumLaswEWAptj5+/Ib X-Google-Smtp-Source: AGHT+IE9K9KZPtMOgI4pHg3Qou3vt2CyTTXulRVx0CL5pTUhEO58v4uMcmVvW8nmv+7bxwpMcjqMng== X-Received: by 2002:a17:907:c78a:b0:a6f:af87:b426 with SMTP id a640c23a62f3a-a7245b5660bmr220939166b.20.1719170393183; Sun, 23 Jun 2024 12:19:53 -0700 (PDT) Received: from [127.0.1.1] (31-179-0-202.dynamic.chello.pl. [31.179.0.202]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7255b56e48sm22075166b.176.2024.06.23.12.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 12:19:52 -0700 (PDT) From: Roman Storozhenko Date: Sun, 23 Jun 2024 21:19:43 +0200 Subject: [PATCH 3/4] cpupower: Add 'help' target to the 'debug/x86_64' subproject makefile Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240623-make_help_rest-v1-3-4bd3fd51064b@gmail.com> References: <20240623-make_help_rest-v1-0-4bd3fd51064b@gmail.com> In-Reply-To: <20240623-make_help_rest-v1-0-4bd3fd51064b@gmail.com> To: Thomas Renninger , Shuah Khan Cc: Javier Carrasco , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Roman Storozhenko X-Mailer: b4 0.14.0 Add 'help' target, describing all user-available targets, to the 'debug/x86_64' subproject makefile. Signed-off-by: Roman Storozhenko --- tools/power/cpupower/debug/x86_64/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/power/cpupower/debug/x86_64/Makefile b/tools/power/cpupower/debug/x86_64/Makefile index b1b6c43644e7..4b35b2474182 100644 --- a/tools/power/cpupower/debug/x86_64/Makefile +++ b/tools/power/cpupower/debug/x86_64/Makefile @@ -28,4 +28,16 @@ install: $(INSTALL) $(OUTPUT)centrino-decode $(DESTDIR)${bindir} $(INSTALL) $(OUTPUT)powernow-k8-decode $(DESTDIR)${bindir} +help: + @echo 'Build targets:' + @echo ' all - Default target. Could be omitted. Put build artifacts' + @echo ' to "O" cmdline option dir (default: current dir)' + @echo ' install - Install previously built project files from the output' + @echo ' dir defined by "O" cmdline option (default: current dir)' + @echo ' to the install dir defined by "DESTDIR" cmdline' + @echo '' + @echo 'Clean targets:' + @echo ' clean - Clean build artifacts from the dir defined by "O" cmdline' + @echo ' option (default: current dir)' + .PHONY: all default clean install From patchwork Sun Jun 23 19:19:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Storozhenko X-Patchwork-Id: 13708717 X-Patchwork-Delegate: shuah@kernel.org Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 530B01849F6; Sun, 23 Jun 2024 19:19:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719170397; cv=none; b=Vz3CK3nhffwL5HrveOJiT18i7YFnIQRtf9j7HVgS9MjeikwIuTHosCHRv6mdaiwMIUy/IhXFvqojK1W4hN/d9UJr535Va6c2jOYxfT5VHC7GxvXZIfa3ukGV+nuJlXFHsCUQbVYhoz9jMonM4LZTSI+TOWLFC0IcIsjns+2bNZE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719170397; c=relaxed/simple; bh=xa2KLdq7W6RVjQg6+y9BC11X3FDbzdTyZBQ4OiqCKvg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rWNR6cuhUITJSE5d7/S6TsnWSl1nf7hm2QEdPM8IwrboFOaMc7xfKKD3yc6gBoFnl6UrHSCtojGAMAbzsw7VA1YkdckL4QZtdSYM7nO6OwwrL29TgSYSJnPTcNkiJPSFxo9/ZVC8zq6bxfvS2cf8ykEI/YUO8e+AgPTg4xpYmO0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PBE7PXyR; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PBE7PXyR" Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-57d10354955so3930190a12.1; Sun, 23 Jun 2024 12:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719170395; x=1719775195; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=TU8jQiuoTxoPN82zxmj2fSUzOkEC0jhTRueQItJpgyQ=; b=PBE7PXyRi0VRM/B3qhLgcG9IVwDcfnDWff+B+7aFbFt0OMr8BR1J0xXYA5XmXBkZKh 2FDUbCxSI9AzA2j6FyPQCdv2ih7uy0/tKD61Y9ecsCi+nx7pmYDHnctB4FzoroFytzOb NgbJLbwdCPV+xtAMwil9ddXrTMUp6VjL8dbhOCznSMWxThX9uNTxmGTKoSbRTePzzvgt gylFuMZPc5UW37o3sNoi6SUW1TJekAsX8iQl7v2aQeAgMhnRX8Y/0O3FUotCCBF5d5HJ me909VmAhQxI/ONXodZCHnxQ20DCZNbG0rILY2GOEMU/jpxPwRVrzb+YU2Jpl8919Yo+ xZvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719170395; x=1719775195; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TU8jQiuoTxoPN82zxmj2fSUzOkEC0jhTRueQItJpgyQ=; b=JDvZRnbHp3A+yw3gqUanOsC4m8QD1IRep0HF962fAhkTrMnntBmLAzxg+jhtTyUS8M al9gPCEQhUiM5pkkbxWhcOCqa1en8WZJbWANnGR7mz3fg+up3F805C8GfXSO88vDuqRz ei/UKnm2/IWueuOm0ZWVZ+tTjlbKO9CJfbvLv+/u663gw2XFNZj62uEGjtgsk/g7wX92 CjT3u/14qHMC8gsAzHSJi2DHQoYVooRNfetGvPus64o/oKLLce4Lz5O2Ccu3LRTLAfPH GyyGl3tNC6oDZJ6kW3GKaWGxA5o5GXrRFF/+foa8dlnXb/etAFvmwzYZVnOL+MEUykQ0 S/HQ== X-Forwarded-Encrypted: i=1; AJvYcCWrYPLgduUmr6ik01OIz0kM8S9ReltyGZF/vuJeLHXu8TWIKOrH8s/Gd9AqnfVqC/fisgbszZ3HvSsTyb3lO5xumEQoq12SqBjumkXo3q96JkMRRMIQ3+iGEEdZJ9uIeUB6G9o6EQ0= X-Gm-Message-State: AOJu0Yw/xUPTYqTOrpfSfKKZ3XedqLO9tDAjGLgbjZ2oY9qFpqyD6Trc LMSElNd0CXALFZArlzWSDZckeKCDgntUcu6k7mpGu5XyAvWKAsaVXMBlEA== X-Google-Smtp-Source: AGHT+IEMj3QReGXW2XCosud9QQe++cQSZMwGjwTD1Bb7BQ39HC1Di8QIpikkv+2SVm6o9K9/M2LFFg== X-Received: by 2002:a17:906:720e:b0:a6f:ac90:754d with SMTP id a640c23a62f3a-a7242c9ca1cmr183888566b.29.1719170394486; Sun, 23 Jun 2024 12:19:54 -0700 (PDT) Received: from [127.0.1.1] (31-179-0-202.dynamic.chello.pl. [31.179.0.202]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7255b56e48sm22075166b.176.2024.06.23.12.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 12:19:53 -0700 (PDT) From: Roman Storozhenko Date: Sun, 23 Jun 2024 21:19:44 +0200 Subject: [PATCH 4/4] cpupower: Add 'help' target to the 'debug/i386' subproject makefile Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240623-make_help_rest-v1-4-4bd3fd51064b@gmail.com> References: <20240623-make_help_rest-v1-0-4bd3fd51064b@gmail.com> In-Reply-To: <20240623-make_help_rest-v1-0-4bd3fd51064b@gmail.com> To: Thomas Renninger , Shuah Khan Cc: Javier Carrasco , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Roman Storozhenko X-Mailer: b4 0.14.0 Add 'help' target, describing all user-available targets, to the 'debug/i386' subproject makefile. Signed-off-by: Roman Storozhenko --- tools/power/cpupower/debug/i386/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/power/cpupower/debug/i386/Makefile b/tools/power/cpupower/debug/i386/Makefile index b3f771039b17..361265170986 100644 --- a/tools/power/cpupower/debug/i386/Makefile +++ b/tools/power/cpupower/debug/i386/Makefile @@ -39,4 +39,16 @@ install: $(INSTALL) $(OUTPUT)dump_psb $(DESTDIR)${bindir} $(INSTALL) $(OUTPUT)intel_gsic $(DESTDIR)${bindir} +help: + @echo 'Build targets:' + @echo ' all - Default target. Could be omitted. Put build artifacts' + @echo ' to "O" cmdline option dir (default: current dir)' + @echo ' install - Install previously built project files from the output' + @echo ' dir defined by "O" cmdline option (default: current dir)' + @echo ' to the install dir defined by "DESTDIR" cmdline' + @echo '' + @echo 'Clean targets:' + @echo ' clean - Clean build artifacts from the dir defined by "O" cmdline' + @echo ' option (default: current dir)' + .PHONY: all default clean install