From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-acpi-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,
	HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,
	SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no
	version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 39C52C4320A
	for <linux-acpi@archiver.kernel.org>; Fri, 30 Jul 2021 12:00:51 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 0FE0D61054
	for <linux-acpi@archiver.kernel.org>; Fri, 30 Jul 2021 12:00:51 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S238311AbhG3MAy (ORCPT <rfc822;linux-acpi@archiver.kernel.org>);
        Fri, 30 Jul 2021 08:00:54 -0400
Received: from mx1.emlix.com ([136.243.223.33]:42230 "EHLO mx1.emlix.com"
        rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
        id S238275AbhG3MAy (ORCPT <rfc822;linux-acpi@vger.kernel.org>);
        Fri, 30 Jul 2021 08:00:54 -0400
X-Greylist: delayed 522 seconds by postgrey-1.27 at vger.kernel.org; Fri, 30 Jul 2021 08:00:54 EDT
Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82])
        (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
        (No client certificate requested)
        by mx1.emlix.com (Postfix) with ESMTPS id D26EE5FCF2;
        Fri, 30 Jul 2021 13:52:05 +0200 (CEST)
From:   Rolf Eike Beer <eb@emlix.com>
To:     linux-acpi@vger.kernel.org
Cc:     Zhang Rui <rui.zhang@intel.com>,
        Markus Mayer <mmayer@broadcom.com>,
        linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
        Jiri Olsa <jolsa@kernel.org>,
        Arnaldo Carvalho de Melo <acme@redhat.com>,
        Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH][RESEND] tools/thermal/tmon: simplify Makefile and fix cross build
Date:   Fri, 30 Jul 2021 13:47:20 +0200
Message-ID: <2149399.oOxd0sxVbX@devpool47>
Organization: emlix GmbH
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1627647755.ozqCpXpxaW"; micalg="pgp-sha256"; protocol="application/pgp-signature"
Precedence: bulk
List-ID: <linux-acpi.vger.kernel.org>
X-Mailing-List: linux-acpi@vger.kernel.org

--nextPart1627647755.ozqCpXpxaW
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"; protected-headers="v1"
From: Rolf Eike Beer <eb@emlix.com>
To: linux-acpi@vger.kernel.org
Cc: Zhang Rui <rui.zhang@intel.com>, Markus Mayer <mmayer@broadcom.com>, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Olsa <jolsa@kernel.org>, Arnaldo Carvalho de Melo <acme@redhat.com>, Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH][RESEND] tools/thermal/tmon: simplify Makefile and fix cross build
Date: Fri, 30 Jul 2021 13:47:20 +0200
Message-ID: <2149399.oOxd0sxVbX@devpool47>
Organization: emlix GmbH

Hi,

cross-building tmon can fail because it uses the non-prefixed, i.e. host, p=
kg-
config.

If you prefer a merge the code is also available at:

   https://github.com/emlix/linux thermal-makefile

Would be nice if someone could finally pick this up, it's almost 3 years no=
w=E2=80=A6

If someone knows anyone who better fits into these reviews please add CC's,=
=20
sadly tools/thermal/ is not covered in MAINTAINERS.

Eike
=2D-=20
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
=46on +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 G=C3=B6ttingen, Germany
Sitz der Gesellschaft: G=C3=B6ttingen, Amtsgericht G=C3=B6ttingen HR B 3160
Gesch=C3=A4ftsf=C3=BChrung: Heike Jordan, Dr. Uwe Kracke =E2=80=93 Ust-IdNr=
=2E: DE 205 198 055

emlix - smart embedded open source

--nextPart1627647755.ozqCpXpxaW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iLMEAAEIAB0WIQQ/Uctzh31xzAxFCLur5FH7Xu2t/AUCYQPmyAAKCRCr5FH7Xu2t
/KiQA/9XUdQ7eHdvuapPVi/2sSmpiKJLcHuP6Fr52fB14b3f9Ssi1PuMht1fhkyy
JoesrKMRsxZJ0PBVNpUKshgRtZqKnvvDcb4lAdhWYCR2Qm/udbqpA3UwNLXO1H29
8M4RPfXxPjuxH+Q/PG/dGvNRKdHXJp9nKcIsU5tC1SkiFGc13w==
=XbLH
-----END PGP SIGNATURE-----

--nextPart1627647755.ozqCpXpxaW--




From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-acpi-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,
	HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH,
	MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable
	autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 780C2C4320A
	for <linux-acpi@archiver.kernel.org>; Fri, 30 Jul 2021 12:00:57 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 5BFB160F5C
	for <linux-acpi@archiver.kernel.org>; Fri, 30 Jul 2021 12:00:57 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S238375AbhG3MBB convert rfc822-to-8bit (ORCPT
        <rfc822;linux-acpi@archiver.kernel.org>);
        Fri, 30 Jul 2021 08:01:01 -0400
Received: from mx1.emlix.com ([136.243.223.33]:42232 "EHLO mx1.emlix.com"
        rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
        id S238275AbhG3MBA (ORCPT <rfc822;linux-acpi@vger.kernel.org>);
        Fri, 30 Jul 2021 08:01:00 -0400
Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82])
        (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
        (No client certificate requested)
        by mx1.emlix.com (Postfix) with ESMTPS id BB5185F807;
        Fri, 30 Jul 2021 13:52:05 +0200 (CEST)
From:   Rolf Eike Beer <eb@emlix.com>
To:     linux-acpi@vger.kernel.org
Cc:     Zhang Rui <rui.zhang@intel.com>,
        Markus Mayer <mmayer@broadcom.com>,
        linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
        Jiri Olsa <jolsa@kernel.org>,
        Arnaldo Carvalho de Melo <acme@redhat.com>,
        Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH 2/2] tools/thermal: tmon: default to prefixed pkg-config when  crosscompiling
Date:   Fri, 30 Jul 2021 13:51:54 +0200
Message-ID: <31302992.qZodDJZGDc@devpool47>
Organization: emlix GmbH
In-Reply-To: <2149399.oOxd0sxVbX@devpool47>
References: <2149399.oOxd0sxVbX@devpool47>
MIME-Version: 1.0
Content-Transfer-Encoding: 8BIT
Content-Type: text/plain; charset="UTF-8"
Precedence: bulk
List-ID: <linux-acpi.vger.kernel.org>
X-Mailing-List: linux-acpi@vger.kernel.org

This matches what other parts of the tools/ directory already do.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Cc: stable@vger.kernel.org
---
 tools/thermal/tmon/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile
index 3e650878ea824..f9c52b7fab7bc 100644
--- a/tools/thermal/tmon/Makefile
+++ b/tools/thermal/tmon/Makefile
@@ -10,7 +10,7 @@ override CFLAGS+= $(call cc-option,-O3,-O1) ${WARNFLAGS}
 # Add "-fstack-protector" only if toolchain supports it.
 override CFLAGS+= $(call cc-option,-fstack-protector-strong)
 CC?= $(CROSS_COMPILE)gcc
-PKG_CONFIG?= pkg-config
+PKG_CONFIG?= $(CROSS_COMPILE)pkg-config
 
 override CFLAGS+=-D VERSION=\"$(VERSION)\"
 TARGET=tmon
-- 
2.32.0

-- 
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source




From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-acpi-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,
	HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH,
	MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable
	autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id A6C76C432BE
	for <linux-acpi@archiver.kernel.org>; Fri, 30 Jul 2021 12:01:03 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 91A8861055
	for <linux-acpi@archiver.kernel.org>; Fri, 30 Jul 2021 12:01:03 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S238617AbhG3MBH convert rfc822-to-8bit (ORCPT
        <rfc822;linux-acpi@archiver.kernel.org>);
        Fri, 30 Jul 2021 08:01:07 -0400
Received: from mx1.emlix.com ([136.243.223.33]:42238 "EHLO mx1.emlix.com"
        rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
        id S238275AbhG3MBH (ORCPT <rfc822;linux-acpi@vger.kernel.org>);
        Fri, 30 Jul 2021 08:01:07 -0400
Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82])
        (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
        (No client certificate requested)
        by mx1.emlix.com (Postfix) with ESMTPS id C9B575F82D;
        Fri, 30 Jul 2021 13:52:05 +0200 (CEST)
From:   Rolf Eike Beer <eb@emlix.com>
To:     linux-acpi@vger.kernel.org
Cc:     Zhang Rui <rui.zhang@intel.com>,
        Markus Mayer <mmayer@broadcom.com>,
        linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
        Jiri Olsa <jolsa@kernel.org>,
        Arnaldo Carvalho de Melo <acme@redhat.com>,
        Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH 1/2] tools/thermal: tmon: simplify Makefile
Date:   Fri, 30 Jul 2021 13:49:04 +0200
Message-ID: <1951386.ZPQrlMDjM2@devpool47>
Organization: emlix GmbH
In-Reply-To: <2149399.oOxd0sxVbX@devpool47>
References: <2149399.oOxd0sxVbX@devpool47>
MIME-Version: 1.0
Content-Transfer-Encoding: 8BIT
Content-Type: text/plain; charset="UTF-8"
Precedence: bulk
List-ID: <linux-acpi.vger.kernel.org>
X-Mailing-List: linux-acpi@vger.kernel.org

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
---
 tools/thermal/tmon/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile
index 9db867df76794..3e650878ea824 100644
--- a/tools/thermal/tmon/Makefile
+++ b/tools/thermal/tmon/Makefile
@@ -13,7 +13,6 @@ CC?= $(CROSS_COMPILE)gcc
 PKG_CONFIG?= pkg-config
 
 override CFLAGS+=-D VERSION=\"$(VERSION)\"
-LDFLAGS+=
 TARGET=tmon
 
 INSTALL_PROGRAM=install -m 755 -p
@@ -33,7 +32,6 @@ override CFLAGS += $(shell $(PKG_CONFIG) --cflags $(STATIC) panelw ncursesw 2> /
 		     $(PKG_CONFIG) --cflags $(STATIC) panel ncurses 2> /dev/null)
 
 OBJS = tmon.o tui.o sysfs.o pid.o
-OBJS +=
 
 tmon: $(OBJS) Makefile tmon.h
 	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS)  -o $(TARGET) $(TMON_LIBS)
@@ -42,15 +40,13 @@ valgrind: tmon
 	 sudo valgrind -v --track-origins=yes --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./$(TARGET)  1> /dev/null
 
 install:
-	- mkdir -p $(INSTALL_ROOT)/$(BINDIR)
-	- $(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)"
+	- $(INSTALL_PROGRAM) -D "$(TARGET)" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)"
 
 uninstall:
 	$(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)"
 
 clean:
-	find . -name "*.o" | xargs $(DEL_FILE)
-	rm -f $(TARGET)
+	rm -f $(TARGET) $(OBJS)
 
 dist:
 	git tag v$(VERSION)
-- 
2.32.0

-- 
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source




From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-acpi-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-13.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,
	SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable
	autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id DEDABC4320A
	for <linux-acpi@archiver.kernel.org>; Thu, 19 Aug 2021 09:40:36 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id C229561157
	for <linux-acpi@archiver.kernel.org>; Thu, 19 Aug 2021 09:40:36 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S237374AbhHSJlJ (ORCPT <rfc822;linux-acpi@archiver.kernel.org>);
        Thu, 19 Aug 2021 05:41:09 -0400
Received: from mail.kernel.org ([198.145.29.99]:36536 "EHLO mail.kernel.org"
        rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
        id S230220AbhHSJlI (ORCPT <rfc822;linux-acpi@vger.kernel.org>);
        Thu, 19 Aug 2021 05:41:08 -0400
Received: by mail.kernel.org (Postfix) with ESMTPSA id 43530610CF;
        Thu, 19 Aug 2021 09:40:31 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
        s=k20201202; t=1629366032;
        bh=pn1+aJZ5D4PQ4DCq3A4hEX/ROi2pp61SP2+ot9uVk9I=;
        h=Date:From:To:cc:Subject:In-Reply-To:References:From;
        b=bMjEq5IUZHMH6ruUqnDXbDJqEhYyuBSDbhX2BSsKgRQTiJQo+Dj5cLsYh/WtWKW6j
         rKOwo5kNVEk+tLfRH1yP7UgHWYda3hnveYWWlNidA8jDslNpFBtzq2RXU6Gm6AnPUk
         qvkcvNyDZ7MDkeHvMvLczO5nGEDe4U0HRBx4frLO/MG1aAzJWREpIyzLVS/zjua++x
         +FJqp5aoC6vuGu9amQ3kK7NtCgH4qHGsY14KLDHlEwaXRvda6y7/Qv+QjYV7Fx/Sgi
         N7EyFj/dultpxKCgzjXLT0stx8n4G9NPvc4j/uDhdT45MzgEweTE7AIgRSXmC2gTV7
         bH6e2q+TU7G9Q==
Date:   Thu, 19 Aug 2021 11:40:28 +0200 (CEST)
From:   Jiri Kosina <jikos@kernel.org>
To:     Rolf Eike Beer <eb@emlix.com>
cc:     linux-acpi@vger.kernel.org, Zhang Rui <rui.zhang@intel.com>,
        Markus Mayer <mmayer@broadcom.com>,
        linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
        Jiri Olsa <jolsa@kernel.org>,
        Arnaldo Carvalho de Melo <acme@redhat.com>,
        Daniel Lezcano <daniel.lezcano@linaro.org>
Subject: Re: [PATCH][RESEND] tools/thermal/tmon: simplify Makefile and fix
 cross build
In-Reply-To: <2149399.oOxd0sxVbX@devpool47>
Message-ID: <nycvar.YFH.7.76.2108191140000.8253@cbobk.fhfr.pm>
References: <2149399.oOxd0sxVbX@devpool47>
User-Agent: Alpine 2.21 (LSU 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8BIT
Precedence: bulk
List-ID: <linux-acpi.vger.kernel.org>
X-Mailing-List: linux-acpi@vger.kernel.org

On Fri, 30 Jul 2021, Rolf Eike Beer wrote:

> Hi,
> 
> cross-building tmon can fail because it uses the non-prefixed, i.e. host, pkg-
> config.
> 
> If you prefer a merge the code is also available at:
> 
>    https://github.com/emlix/linux thermal-makefile
> 
> Would be nice if someone could finally pick this up, it's almost 3 years now…
> 
> If someone knows anyone who better fits into these reviews please add CC's, 
> sadly tools/thermal/ is not covered in MAINTAINERS.

That would be Daniel Lezcano. CCing.

-- 
Jiri Kosina
SUSE Labs


From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-acpi-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.8 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
	MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1
	autolearn=unavailable autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 813FDC432BE
	for <linux-acpi@archiver.kernel.org>; Thu, 19 Aug 2021 10:02:31 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 6C74861130
	for <linux-acpi@archiver.kernel.org>; Thu, 19 Aug 2021 10:02:31 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S238051AbhHSKDG (ORCPT <rfc822;linux-acpi@archiver.kernel.org>);
        Thu, 19 Aug 2021 06:03:06 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37224 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S238081AbhHSKDF (ORCPT
        <rfc822;linux-acpi@vger.kernel.org>); Thu, 19 Aug 2021 06:03:05 -0400
Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30186C061756
        for <linux-acpi@vger.kernel.org>; Thu, 19 Aug 2021 03:02:29 -0700 (PDT)
Received: by mail-wr1-x429.google.com with SMTP id x12so8141277wrr.11
        for <linux-acpi@vger.kernel.org>; Thu, 19 Aug 2021 03:02:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=linaro.org; s=google;
        h=subject:to:cc:references:from:message-id:date:user-agent
         :mime-version:in-reply-to:content-language:content-transfer-encoding;
        bh=FJuMRe5kb1JvgUgFNZUn5Lcxof2ueFSpC6SJl/1L8JQ=;
        b=LuQTp231BMa4P6ZCibX62HDHFlGtLR15MOvb2vOMrfj60dgDZ54FVG0zcAuEctonju
         9CHTYK+O+5o4ct3KjpV/JFsvf2hy0Qd85VO/H9u2PJvdb58Xe/aTqQfX5g2P+gUAG4vb
         6RuAzKNQT2wYYMkN+VORGm5SrvH95SIkb6zanslGCwINnm8/nC95fkb0VfHp95y8xW1q
         UYDtNFTNOK/50JSzjcPi2r6cLfvpCR3U/V0fMwvVePM09zZtkifEQvZRVXfeFlxN3cNH
         xHKeBMeNrVv4dClxQsoE1arGYYahWBXNt2CcNuSYhKu5jg0yb3dFUdPuiEe33TDo/vfh
         zpEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:cc:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-language
         :content-transfer-encoding;
        bh=FJuMRe5kb1JvgUgFNZUn5Lcxof2ueFSpC6SJl/1L8JQ=;
        b=YRHjUWZ1zbc5fCy6aHWHnGsSv/utmLxuqHDX7A9nPObmUmhON4bTT+x2lEqXKuypYK
         0kQrLuv5x9RRoNBy4xCEW4MqjhpBx1CMLjHUL9YqC25VDCptjfhjAhaW91Ka9SGs7rnK
         6viwR6d800wwua+duYo4iA4Z864A+VRBIouLbKYZBmr7obm4Lm2HC/6uauDrvHnMSCl1
         dc/dg6gC/oTtUJl10+HpoeZNuNowYFdHOTcyKRLyO7xJcMeJ4KTa9vTAApNti7av+Rfe
         Xkk3lF8+iRN4JZl0JsxMu3MJFS3hXYNXtWozC6KdgGgJnKIbi4Rpd7Kjkde4nWzEfjp3
         ob9g==
X-Gm-Message-State: AOAM531tgKMwqjwSsDEW+EX5vqtjAWGpuTaRLUVgJAsyvx4nEI7ldovL
        uOxa32ppBios0UZSXChQ22S/mw==
X-Google-Smtp-Source: ABdhPJxAqnOpMv5auNzh4QNvVPUNqVU4zj54j14k0a+ZxxHZmDS9bBmn96ft4weoVYlDZrqL0xJATw==
X-Received: by 2002:adf:f748:: with SMTP id z8mr2776052wrp.25.1629367347598;
        Thu, 19 Aug 2021 03:02:27 -0700 (PDT)
Received: from ?IPv6:2a01:e34:ed2f:f020:12cc:ffac:3aeb:8cf3? ([2a01:e34:ed2f:f020:12cc:ffac:3aeb:8cf3])
        by smtp.googlemail.com with ESMTPSA id c9sm2519595wrm.43.2021.08.19.03.02.26
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Thu, 19 Aug 2021 03:02:26 -0700 (PDT)
Subject: Re: [PATCH][RESEND] tools/thermal/tmon: simplify Makefile and fix
 cross build
To:     Jiri Kosina <jikos@kernel.org>, Rolf Eike Beer <eb@emlix.com>
Cc:     linux-acpi@vger.kernel.org, Zhang Rui <rui.zhang@intel.com>,
        Markus Mayer <mmayer@broadcom.com>,
        linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
        Jiri Olsa <jolsa@kernel.org>,
        Arnaldo Carvalho de Melo <acme@redhat.com>
References: <2149399.oOxd0sxVbX@devpool47>
 <nycvar.YFH.7.76.2108191140000.8253@cbobk.fhfr.pm>
From:   Daniel Lezcano <daniel.lezcano@linaro.org>
Message-ID: <df0349e5-ff89-23a9-7853-5f830c5d43f9@linaro.org>
Date:   Thu, 19 Aug 2021 12:02:25 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <nycvar.YFH.7.76.2108191140000.8253@cbobk.fhfr.pm>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Precedence: bulk
List-ID: <linux-acpi.vger.kernel.org>
X-Mailing-List: linux-acpi@vger.kernel.org


Hi Jiri,

On 19/08/2021 11:40, Jiri Kosina wrote:
> On Fri, 30 Jul 2021, Rolf Eike Beer wrote:
> 
>> Hi,
>>
>> cross-building tmon can fail because it uses the non-prefixed, i.e. host, pkg-
>> config.
>>
>> If you prefer a merge the code is also available at:
>>
>>    https://github.com/emlix/linux thermal-makefile
>>
>> Would be nice if someone could finally pick this up, it's almost 3 years now…
>>
>> If someone knows anyone who better fits into these reviews please add CC's, 
>> sadly tools/thermal/ is not covered in MAINTAINERS.
> 
> That would be Daniel Lezcano. CCing.

I sent a patch for that

https://lkml.org/lkml/2021/8/14/152

and applied the series


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-pm-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-20.7 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,
	INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id EC9E1C433EF
	for <linux-pm@archiver.kernel.org>; Thu,  9 Sep 2021 14:47:03 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id D251261101
	for <linux-pm@archiver.kernel.org>; Thu,  9 Sep 2021 14:47:03 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S239930AbhIIOsI (ORCPT <rfc822;linux-pm@archiver.kernel.org>);
        Thu, 9 Sep 2021 10:48:08 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47480 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S241663AbhIIOru (ORCPT
        <rfc822;linux-pm@vger.kernel.org>); Thu, 9 Sep 2021 10:47:50 -0400
Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C995DC0560C0;
        Thu,  9 Sep 2021 07:38:41 -0700 (PDT)
Date:   Thu, 09 Sep 2021 14:38:39 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de;
        s=2020; t=1631198320;
        h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
         message-id:message-id:to:to:cc:cc:mime-version:mime-version:
         content-type:content-type:
         content-transfer-encoding:content-transfer-encoding:
         in-reply-to:in-reply-to:references:references;
        bh=MPZpbJd2daHQSXgVbGO91hNefnBWiw5AIN/0LgYhGwY=;
        b=mjm7JmEWI0bVrDXR3zbiIS0JiVyODYyGZixrA4lWh/Hh+64jhoFsaKFEGWzvjxx6meWD1z
        ixltfYcsTNFSO3LAByoNgrRXc7p1uftcbHhMyeExR2eMXZwsd+CC97kYtLh8f3nen8yKZL
        nOb7aYdz5GY/O7GjIOuouuZLcVnYlqT+eOJ2Ln+eQXIbLn/t20tmQdS9Y2F4cSrJEnlsUb
        /uKPOGLXERHFHRfaTUZKEXQ1843NH/HfCXR9XVOjoe0MoqkKAmeLSyN3RZuK+w6wnJIHpd
        Ftuk+OVJraGhV84lbbCB4Tfz2jz1x9YBROs28IC+C8sPKyxsaJhxH5UQJWjBdQ==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de;
        s=2020e; t=1631198320;
        h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
         message-id:message-id:to:to:cc:cc:mime-version:mime-version:
         content-type:content-type:
         content-transfer-encoding:content-transfer-encoding:
         in-reply-to:in-reply-to:references:references;
        bh=MPZpbJd2daHQSXgVbGO91hNefnBWiw5AIN/0LgYhGwY=;
        b=9Q6UdJoCASwIIJ4FVwu6WVG++HYdsnjJSwr6HRjg6TCY7XFKPbJh0yzwIcMjynggqn3fAN
        yUwk6X2as40ieWDw==
From:   "thermal-bot for Rolf Eike Beer" <tip-bot2@linutronix.de>
Sender: tip-bot2@linutronix.de
Reply-to: linux-pm@vger.kernel.org
To:     linux-pm@vger.kernel.org
Subject: [thermal: thermal/next] tools/thermal/tmon: Add cross compiling support
Cc:     Rolf Eike Beer <eb@emlix.com>, stable@vger.kernel.org,
        Daniel Lezcano <daniel.lezcano@linaro.org>,
        rui.zhang@intel.com, amitk@kernel.org
In-Reply-To: <31302992.qZodDJZGDc@devpool47>
References: <31302992.qZodDJZGDc@devpool47>
MIME-Version: 1.0
Message-ID: <163119831971.25758.1729820784227436969.tip-bot2@tip-bot2>
Robot-ID: <tip-bot2@linutronix.de>
Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Precedence: bulk
List-ID: <linux-pm.vger.kernel.org>
X-Mailing-List: linux-pm@vger.kernel.org

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     b5f7912bb604b47a0fe024560488a7556dce8ee7
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//b5f7912bb604b47a0fe024560488a7556dce8ee7
Author:        Rolf Eike Beer <eb@emlix.com>
AuthorDate:    Fri, 30 Jul 2021 13:51:54 +02:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Sat, 14 Aug 2021 15:33:19 +02:00

tools/thermal/tmon: Add cross compiling support

Default to prefixed pkg-config when crosscompiling, this matches what
other parts of the tools/ directory already do.

[dlezcano] : Reworked description

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/31302992.qZodDJZGDc@devpool47
---
 tools/thermal/tmon/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile
index 3e65087..f9c52b7 100644
--- a/tools/thermal/tmon/Makefile
+++ b/tools/thermal/tmon/Makefile
@@ -10,7 +10,7 @@ override CFLAGS+= $(call cc-option,-O3,-O1) ${WARNFLAGS}
 # Add "-fstack-protector" only if toolchain supports it.
 override CFLAGS+= $(call cc-option,-fstack-protector-strong)
 CC?= $(CROSS_COMPILE)gcc
-PKG_CONFIG?= pkg-config
+PKG_CONFIG?= $(CROSS_COMPILE)pkg-config
 
 override CFLAGS+=-D VERSION=\"$(VERSION)\"
 TARGET=tmon

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-pm-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-20.7 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,
	INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id EBBDFC433EF
	for <linux-pm@archiver.kernel.org>; Thu,  9 Sep 2021 14:47:06 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id D393E61101
	for <linux-pm@archiver.kernel.org>; Thu,  9 Sep 2021 14:47:06 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S241324AbhIIOsN (ORCPT <rfc822;linux-pm@archiver.kernel.org>);
        Thu, 9 Sep 2021 10:48:13 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48318 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S230399AbhIIOru (ORCPT
        <rfc822;linux-pm@vger.kernel.org>); Thu, 9 Sep 2021 10:47:50 -0400
Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 689C4C0560C1
        for <linux-pm@vger.kernel.org>; Thu,  9 Sep 2021 07:38:42 -0700 (PDT)
Date:   Thu, 09 Sep 2021 14:38:40 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de;
        s=2020; t=1631198321;
        h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
         message-id:message-id:to:to:cc:cc:mime-version:mime-version:
         content-type:content-type:
         content-transfer-encoding:content-transfer-encoding:
         in-reply-to:in-reply-to:references:references;
        bh=Biq+Q5tBUhmjGuj+qmM5i7ZBgsXMtJFhlxMlWMNYNHU=;
        b=AqgUzxb7ZWuECuoqybKb+0HSDDv84bFaz0BMpHWx/Eb/okq4Yh+Bef1m3it3Yr4HKmqFkj
        xMXTkrW7P61HH+JSYx/4L+taKDZxbjWrlBbLl1tUwcdcLnN/prRUTpg6ZBvw8fVpk3ffen
        IJRdOiJeCqQv5f4bI4puBN418bEjDKnuiFZ1Ckso7C6EHiaFVBTPdIP5Qp95w6t7pkYBj2
        q7GsFgek+5liYbpmGeXhedyunnJS1l67Xnak5pJW4hfISRieUDRmHqakW33BMt4yt75qdb
        cusAZgGT9YuYvGj7t1Z7T0VjUvRWISYx7tF1PEUkFpz6pcvrAm8sMuaPShGcLg==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de;
        s=2020e; t=1631198321;
        h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
         message-id:message-id:to:to:cc:cc:mime-version:mime-version:
         content-type:content-type:
         content-transfer-encoding:content-transfer-encoding:
         in-reply-to:in-reply-to:references:references;
        bh=Biq+Q5tBUhmjGuj+qmM5i7ZBgsXMtJFhlxMlWMNYNHU=;
        b=jb37IrorLekpG/f8WhrPeVee4EaXcONag/YC6V6HmnYqgE/GVRY1q76LIO/N8Yct/doFQM
        XgH+EwTV+k1eMfBw==
From:   "thermal-bot for Rolf Eike Beer" <tip-bot2@linutronix.de>
Sender: tip-bot2@linutronix.de
Reply-to: linux-pm@vger.kernel.org
To:     linux-pm@vger.kernel.org
Subject: [thermal: thermal/next] thermal/tools/tmon: Improve the Makefile
Cc:     Rolf Eike Beer <eb@emlix.com>,
        Daniel Lezcano <daniel.lezcano@linaro.org>,
        rui.zhang@intel.com, amitk@kernel.org
In-Reply-To: <1951386.ZPQrlMDjM2@devpool47>
References: <1951386.ZPQrlMDjM2@devpool47>
MIME-Version: 1.0
Message-ID: <163119832031.25758.14075212047149296535.tip-bot2@tip-bot2>
Robot-ID: <tip-bot2@linutronix.de>
Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Precedence: bulk
List-ID: <linux-pm.vger.kernel.org>
X-Mailing-List: linux-pm@vger.kernel.org

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     99d88c30055376b56316d3c431c9873e88208348
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//99d88c30055376b56316d3c431c9873e88208348
Author:        Rolf Eike Beer <eb@emlix.com>
AuthorDate:    Fri, 30 Jul 2021 13:49:04 +02:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Sat, 14 Aug 2021 15:30:11 +02:00

thermal/tools/tmon: Improve the Makefile

 - Remove empty macros assignments
 - Use directory creation parameter for the install tool
 - Use $OBJ instead of building the list of object for the 'clean' target

[dlezcano] : Changed title and description

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1951386.ZPQrlMDjM2@devpool47
---
 tools/thermal/tmon/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile
index 9db867d..3e65087 100644
--- a/tools/thermal/tmon/Makefile
+++ b/tools/thermal/tmon/Makefile
@@ -13,7 +13,6 @@ CC?= $(CROSS_COMPILE)gcc
 PKG_CONFIG?= pkg-config
 
 override CFLAGS+=-D VERSION=\"$(VERSION)\"
-LDFLAGS+=
 TARGET=tmon
 
 INSTALL_PROGRAM=install -m 755 -p
@@ -33,7 +32,6 @@ override CFLAGS += $(shell $(PKG_CONFIG) --cflags $(STATIC) panelw ncursesw 2> /
 		     $(PKG_CONFIG) --cflags $(STATIC) panel ncurses 2> /dev/null)
 
 OBJS = tmon.o tui.o sysfs.o pid.o
-OBJS +=
 
 tmon: $(OBJS) Makefile tmon.h
 	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS)  -o $(TARGET) $(TMON_LIBS)
@@ -42,15 +40,13 @@ valgrind: tmon
 	 sudo valgrind -v --track-origins=yes --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./$(TARGET)  1> /dev/null
 
 install:
-	- mkdir -p $(INSTALL_ROOT)/$(BINDIR)
-	- $(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)"
+	- $(INSTALL_PROGRAM) -D "$(TARGET)" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)"
 
 uninstall:
 	$(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)"
 
 clean:
-	find . -name "*.o" | xargs $(DEL_FILE)
-	rm -f $(TARGET)
+	rm -f $(TARGET) $(OBJS)
 
 dist:
 	git tag v$(VERSION)

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-kernel-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,
	INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,
	USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 79A05C4338F
	for <linux-kernel@archiver.kernel.org>; Sat, 14 Aug 2021 11:19:14 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 5BAD260F14
	for <linux-kernel@archiver.kernel.org>; Sat, 14 Aug 2021 11:19:14 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S238151AbhHNLTk (ORCPT <rfc822;linux-kernel@archiver.kernel.org>);
        Sat, 14 Aug 2021 07:19:40 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34990 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S238037AbhHNLTd (ORCPT
        <rfc822;linux-kernel@vger.kernel.org>);
        Sat, 14 Aug 2021 07:19:33 -0400
Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 601EFC061764
        for <linux-kernel@vger.kernel.org>; Sat, 14 Aug 2021 04:19:05 -0700 (PDT)
Received: by mail-wm1-x32b.google.com with SMTP id c129-20020a1c35870000b02902e6b6135279so7060399wma.0
        for <linux-kernel@vger.kernel.org>; Sat, 14 Aug 2021 04:19:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=linaro.org; s=google;
        h=from:to:cc:subject:date:message-id:in-reply-to:references
         :mime-version:content-transfer-encoding;
        bh=WZ69q09bn2xEf1TqZCPUcfRfCHjRetOH+6+HNvKhL0M=;
        b=HQz1a4FgWiX/OhEGVsSfXYfG0zLrk7UYbO2Sr1M1fChwDbgHiNo+DjBy7DmyceH3hW
         Fuu+85yF4GeBZmnjgyX+vNxeBjbLJOMyS3TwjFisfprRpdl9PzVhO78XU++ABTOL4BvF
         kdBqHM8gdku2IJCPDzsE7Q7Ra0bTZW1A/w5jXYL0bxo6gQf4LxcZDX/TiQv0NmcSdPmV
         tKob0jTHg0kZpl7jnj6WkEKY9NxTQ2pyZWe7D1uS252cheLhqlaAq8uwbogDF8b/A6xI
         VzJY63VsODgvKC7K0t35cXzPf3g+nEggjiFimEXAcH1VX6IeSspN4ZFwIekcexQaeCDc
         Ch0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
         :references:mime-version:content-transfer-encoding;
        bh=WZ69q09bn2xEf1TqZCPUcfRfCHjRetOH+6+HNvKhL0M=;
        b=T9/sTlXZCaPAlFhcIiCOIgkqWBZynfyKI0QyjB1X06Y0KS9OGOmeMZ6cFA8QjqxqO6
         +/KIMgShHOBWh48np4sxbfmg4CodlBli0q0so1nMnUwC82g/2YCMEHoJtBvGOCIxlyIW
         P5uW+7aWjJwvEi4j0vcQOl2u9kldECkHnJl3+0OC1NxWUJS7Pl3sWBimD2px+ZmBYGzu
         Z7WLvjeXP5nFarLef4Hn/THAR/DaMyvskaJOhkRw6cJUpFnkVHd2zaZW74rBY6FVylk9
         dx1skuME7zFW69AooGne4KB9VTuKZ3roS8fYJJAIZjrvfTUMa0AQ/zuIR2VrbKMrHeES
         PCLQ==
X-Gm-Message-State: AOAM5308/UGbVH1k/Dm0owZecrqaL6PEYziCywajFrp8mqkS3kY8GmUP
        GMgdeRI4Whrcz3ar80s/aVXhrRofkP8l1DtU
X-Google-Smtp-Source: ABdhPJwpBXpx/U1uJ8HwNa3nTvc2VQiBr5VqQpHd+0b2VODh43dfRwrwliTm/Vd7AWVTM8YhgSt1+Q==
X-Received: by 2002:a7b:ca56:: with SMTP id m22mr6563901wml.16.1628939943826;
        Sat, 14 Aug 2021 04:19:03 -0700 (PDT)
Received: from localhost.localdomain ([2a01:e34:ed2f:f020:5df3:d0eb:3945:640d])
        by smtp.gmail.com with ESMTPSA id q17sm4147199wrr.91.2021.08.14.04.19.02
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sat, 14 Aug 2021 04:19:03 -0700 (PDT)
From:   Daniel Lezcano <daniel.lezcano@linaro.org>
To:     rui.zhang@intel.com, daniel.lezcano@linaro.org
Cc:     linux-kernel@vger.kernel.org, eb@emlix.com, mmayer@broadcom.com,
        jolsa@kernel.org, acme@redhat.com, jkosina@suse.cz
Subject: [PATCH] MAINTAINERS: Add missing userspace thermal tools to the thermal section
Date:   Sat, 14 Aug 2021 13:18:56 +0200
Message-Id: <20210814111856.3060957-1-daniel.lezcano@linaro.org>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <2149399.oOxd0sxVbX@devpool47>
References: <2149399.oOxd0sxVbX@devpool47>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Precedence: bulk
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org

Patches related to the tmon which is in tools/thermal are floating around
since years because it is unclear who takes care of it.

Add the missing userspace tools directory related to thermal to fix the
situation.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index a61f4f3b78a9..a78f490fd128 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -18358,6 +18358,7 @@ F:	drivers/thermal/
 F:	include/linux/cpu_cooling.h
 F:	include/linux/thermal.h
 F:	include/uapi/linux/thermal.h
+F:	tools/thermal/
 
 THERMAL DRIVER FOR AMLOGIC SOCS
 M:	Guillaume La Roque <glaroque@baylibre.com>
-- 
2.25.1


