From patchwork Tue Jun 25 18:53:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Storozhenko X-Patchwork-Id: 13711835 X-Patchwork-Delegate: shuah@kernel.org Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 2381D17D88F; Tue, 25 Jun 2024 18:53:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719341641; cv=none; b=JgUfubfiIVL5+YDCOf4GZDkFdex2ydc/4ksRN3l4hbn4gU7qVGf0PnQtsQmi6Y/XQyAvZwxMRqIN4QBhj6sCtINtwVStShAE8n2/U8sEun6beSh7S7290COTpvH8ZlrJoxuiT7lF75i38PGzPyj3lZ6FzVPlpJLgnz6QYSPZafw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719341641; c=relaxed/simple; bh=1cdOCd8XjLCkgJAFNvN+vahzYa0+JWtKcvY//VUQRW8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lTDHm6zbIlfKhN8leEH7cxmeI97EGbLgSsEcflSLD070Vt/EJU/xqS++PzJGx7WA8jyT4Vq/WrJQrsq1Sol3uOF8CXuVkRZQZCCtjWsitftL945f3NGcNJXFURhCd4OnUF0rBkO664TUPsP8KPw41CQO9/bYof1ZTMfsdU5ETrc= 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=UEvtx91K; arc=none smtp.client-ip=209.85.167.51 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="UEvtx91K" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-52ce6c8db7bso3146836e87.1; Tue, 25 Jun 2024 11:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719341638; x=1719946438; 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=tTqAF0m5NgmNYSmy9QWkbOBTT6cudWzYwZuUJYss6eA=; b=UEvtx91KY8xmnxFLV61doWH8WGUY+kLFTj5oPFWEOf3oV38CphJua3YSQCq3RodgC6 G5Z4y7v58Ppiur2zpGKzVW7RpaVL2UBE8RCDbeRvr/jmI2hr90hDwmG49P8ibum/Qa4O lyPM4raeYN4slLLVSZ4o6xJXzarab4hjskceKCzGq/nm1kRF4PeGk8SceuEG99Bo9xN0 5ywXrBhdUud7QOooMNG6prYqBFvEvro26kuICTZhhC01lQ8AnujvpIRAZGWriZ/wPRsb Hn8g/GWne3DwF0AdprICQsvcB0WimioAyJ0C18MjO+/i6K9JLljOlt0FkG12yfF6d/3d hjJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719341638; x=1719946438; 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=tTqAF0m5NgmNYSmy9QWkbOBTT6cudWzYwZuUJYss6eA=; b=k6GrrgaqkHSVWhzCE8hTjno84fVkjsUZaGrNxHeGtaG0TO0m0OdZNhzfjlF9sY8Wr+ L7bgT1kK+kDcY/0Mvz5Qf9RRA1a+iPeH6OXBa9Pa/s9g74tW27boSSEJIDYhd0kDr2OZ HCwqNzmx9sMhel9uL92NZnF5GjDjA82t6NKjuLFeN7BPu8tz0sa02xM6b9P5wIlYVHAA Z1NPZsCnzyIpRH6XRWkatw1yXpbw9/9FHf8zrH8itIQU+Fw9nxu0C4yrK2imV18yJwNb S1cjH+6sIuYGUPhgwz5rzUDtYS5x23eUx6vt/bR9HHMZNs8GvI7nQWs2k84dVjKDn8Pd K9hg== X-Forwarded-Encrypted: i=1; AJvYcCVCi5jh9eD4+HZULep5af1HQAJ87e4t2G202mr0OqTvWCbUbp8HmPJYUPIgRxrh1hfTkEInRcqaRJrbcH3fu3zxXnJMgTbOji1RImOY X-Gm-Message-State: AOJu0YxgKqEsFw4wBpcyckLWdUzLVEhovpRLhTtJNUlGAKqTpC1U+qCx +jkj8RtDAslU5TZmtdl/PYfWAf/vBveZ41YEF7M/5oamwRb7MrAAtowHWA== X-Google-Smtp-Source: AGHT+IEJAA7XJTdOGBAvwMgGxVd/JOtwaGFJL206n0vAobtmLfTO8rlJwjQ9JVtpVK+2nIQx9Go0kw== X-Received: by 2002:a05:6512:3ba9:b0:52c:df4d:bb9e with SMTP id 2adb3069b0e04-52ce183b7e5mr7491623e87.41.1719341638198; Tue, 25 Jun 2024 11:53:58 -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 4fb4d7f45d1cf-57d30562ef3sm6201650a12.91.2024.06.25.11.53.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 11:53:57 -0700 (PDT) From: Roman Storozhenko Date: Tue, 25 Jun 2024 20:53:55 +0200 Subject: [PATCH 1/2] cpupower: Add 'uninstall' target for 'debug/i386' subproject Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240625-add_uninstall-v1-1-ab031bbd98e6@gmail.com> References: <20240625-add_uninstall-v1-0-ab031bbd98e6@gmail.com> In-Reply-To: <20240625-add_uninstall-v1-0-ab031bbd98e6@gmail.com> To: Thomas Renninger , Shuah Khan Cc: linux-pm@vger.kernel.org, Javier Carrasco , linux-kernel@vger.kernel.org, Roman Storozhenko X-Mailer: b4 0.14.0 Add 'uninstall' target for the 'debug/i386' subproject. The target removes binaries previously installed to the '${DESTDIR}${bindir}' dir. Signed-off-by: Roman Storozhenko --- tools/power/cpupower/debug/i386/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/power/cpupower/debug/i386/Makefile b/tools/power/cpupower/debug/i386/Makefile index b3f771039b17..355f44dafa00 100644 --- a/tools/power/cpupower/debug/i386/Makefile +++ b/tools/power/cpupower/debug/i386/Makefile @@ -39,4 +39,10 @@ install: $(INSTALL) $(OUTPUT)dump_psb $(DESTDIR)${bindir} $(INSTALL) $(OUTPUT)intel_gsic $(DESTDIR)${bindir} -.PHONY: all default clean install +uninstall: + - rm -f $(DESTDIR)${bindir}/centrino-decode + - rm -f $(DESTDIR)${bindir}/powernow-k8-decode + - rm -f $(DESTDIR)${bindir}/dump_psb + - rm -f $(DESTDIR)${bindir}/intel_gsic + +.PHONY: all default clean install uninstall From patchwork Tue Jun 25 18:53:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Storozhenko X-Patchwork-Id: 13711836 X-Patchwork-Delegate: shuah@kernel.org Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.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 E854717D8A3; Tue, 25 Jun 2024 18:54:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719341642; cv=none; b=EnlDlu1c/zJqO4J3fRzJQDeRErcqCm2izFh0SZCyfEsDP61rSJT8EAGznXbzb/HMluHoAENAbsg4uAhjyqhGzjJy+fuTwJYfeqDsCjoKyJcMj5PITbHnhbRguf1TFeG9SY3MqYNiifprv49pHc2RuekZ9pdkv+rfILr/+zH/uv8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719341642; c=relaxed/simple; bh=SSl7W/LMXfkGpEaojIweMuX3+g7tACrRINVNHy3t5Hg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MUfXhIhrQlYgboEdxKL12fMaijoqBjnvPksumJbI1isxNTEijCV90RzgERrPGHJQe+mCxClsz3dTpqq0wQC+TT7YiHMgJNPhMo59+ImrCsVtzjEWpWE1dwOsOAJXM5gyJ3toX2UNheKnJKK3/41n1L1g+/LrIGM3EAgWDQffGIc= 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=D/y94YhO; arc=none smtp.client-ip=209.85.208.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="D/y94YhO" Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-57cc1c00ba6so7453820a12.1; Tue, 25 Jun 2024 11:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719341639; x=1719946439; 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=c6krUym7LbJOKrZm5m5rQIK5d5Boqq/EmHx9VevqWD0=; b=D/y94YhOLvTdnWdic7Zv01zTQLOGtRFwlb5A0A/EfrrKt+dEvOhLQOnBpEWMP0EK2M 32Blzv9DGzCbbFjmV/LO6C4FZPY0L4jkn3An6Qfcw49M5PohZTCs34cRL0CKPNI975HV 4Qf5heDG1cjjRgd9vMuEtrAF4SeUxoK364xbmUCoxNn9XDheInSpwyZFAEKBnT2atUEu pBCPuP+68hVo0NniLjrCTIi62VQEM++YrTCL7LLjrQYFdUM5GJoGH9PlXU3r6WI1ch6H QlJzRn6ttdjyieXWrcdozOe+fQa3FF5hI3SLsPArxirkfJNuTexOnkuxFU0HnRvp4+gr THpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719341639; x=1719946439; 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=c6krUym7LbJOKrZm5m5rQIK5d5Boqq/EmHx9VevqWD0=; b=ID/fK+JZ2/xjwlIv9Fargg/DB+sBxBFRq4hTGQ5B0rl5cYq7Dh+lnrKHzGCMs6UuDu UAQ3jdV+aS8r2XS5Mev4mHEP0hFMl+/BmdtAbo6Iff9ZWBJjcDMAzkyMrcXU5tE7BF3e fW83QbJb7BoNO1InvMUjNE1Lch2yJaJkyGv4t572UxKjAXsdx7Jg7gXyHhMVQiYnkUHJ G3n4RFDMtIQ83dMK4eCxuwP+JKRVOTUcr2+MUqU4GoOMpPibPo1mZ0tJcbhkQyxiWfgU 1vTFbZeIRZNJWY4v91zCrGrFttE6LXPbPPCj0PPHJ9sBxXkhrlsduC8plLypNJ5JbtXv Q3Xg== X-Forwarded-Encrypted: i=1; AJvYcCUUUAClQQVTC1XlSDgbILSG+cVd1WzizPKLrWexVbnculc3v2tptmzHD/IZx9dfMC3xm/e4LG8Y2RL9Zs7lwXG82rltOid0vSZp3ebv X-Gm-Message-State: AOJu0Ywvs+mssGuv2lZqa7IDnviWqnNCtCE/ZmKR8CLceGpDBjWV+oDk 3A7bgxYj0hdVRv439UvMMPvQGfxdVPWbSOMqKIrSaZ6ApPuJPQWF X-Google-Smtp-Source: AGHT+IHqeplcY6EPdujD/snXaz4irRERquhgDR9fzmGAacBIIClLxtCqKM0+MpG0XwXwOdnP3iePSQ== X-Received: by 2002:a50:ab1d:0:b0:57d:4d12:61bd with SMTP id 4fb4d7f45d1cf-57d4d1264b8mr5283317a12.37.1719341639074; Tue, 25 Jun 2024 11:53:59 -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 4fb4d7f45d1cf-57d30562ef3sm6201650a12.91.2024.06.25.11.53.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 11:53:58 -0700 (PDT) From: Roman Storozhenko Date: Tue, 25 Jun 2024 20:53:56 +0200 Subject: [PATCH 2/2] cpupower: Add 'uninstall' target for 'debug/x86_64' subproject Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240625-add_uninstall-v1-2-ab031bbd98e6@gmail.com> References: <20240625-add_uninstall-v1-0-ab031bbd98e6@gmail.com> In-Reply-To: <20240625-add_uninstall-v1-0-ab031bbd98e6@gmail.com> To: Thomas Renninger , Shuah Khan Cc: linux-pm@vger.kernel.org, Javier Carrasco , linux-kernel@vger.kernel.org, Roman Storozhenko X-Mailer: b4 0.14.0 Add 'uninstall' target for the 'debug/x86_64' subproject. The target removes binaries previously installed to the '${DESTDIR}${bindir}' dir. Signed-off-by: Roman Storozhenko --- tools/power/cpupower/debug/x86_64/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/power/cpupower/debug/x86_64/Makefile b/tools/power/cpupower/debug/x86_64/Makefile index b1b6c43644e7..37fd414835b8 100644 --- a/tools/power/cpupower/debug/x86_64/Makefile +++ b/tools/power/cpupower/debug/x86_64/Makefile @@ -28,4 +28,8 @@ install: $(INSTALL) $(OUTPUT)centrino-decode $(DESTDIR)${bindir} $(INSTALL) $(OUTPUT)powernow-k8-decode $(DESTDIR)${bindir} -.PHONY: all default clean install +uninstall: + - rm -f $(DESTDIR)${bindir}/centrino-decode + - rm -f $(DESTDIR)${bindir}/powernow-k8-decode + +.PHONY: all default clean install uninstall