Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1867815imu; Fri, 14 Dec 2018 01:52:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/XKJa9pBcgac+6Ayo7uStvJK4HxtjO6RXtIy5SvM30TguTs7zJUmGj6ZOl7RiG+CxlI+nO/ X-Received: by 2002:a17:902:4624:: with SMTP id o33mr2172026pld.289.1544781125980; Fri, 14 Dec 2018 01:52:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544781125; cv=none; d=google.com; s=arc-20160816; b=HQ5iJWADNn7SBf+IZf0qZDKsMpIwvKy9ihGFyjwDqHRP5JzJi3H2rzuK/pJq3UsGwZ whiBuIrcbtYfef7Udnw5V5LPjdqWNGvDsL01YQd5yrG8x5xzELR80YdG4h7jCGRWM9Vv Ls30ht0WvkM12PdPVOehCUhP3gVtPlGzxsKdxYokawlapi/sfo+HrbjJ6mRuZlTrhR6/ /vKveSTxzXRyuFAJ4M9P2VIWwZd6l0Is5O/PwIeEzx9N7ULck6Kdy75iWOoSVTzdhQ+t VwfyTMudDepbfe+yDLmBShiNpLBC/IoAaARIclzkHHg/f7dOtYu8FdS2ItDSLWCAmhdl 4OYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=i6bdi1JXbBC3f4G92KlsmgBRp2ms65aAKP0C5re2YFI=; b=k3Dx3lHB+X064/KhBJHhoMx/VOeJK6oWZqyWqau3Spotq+svJrK37vJHY2Nn7vH0ZJ kb2TNM+o2DXyPttgUfAuhZ3QhVIDjWFro/GXNMayJBcSvKuQrSHab8gvAXbqleCvQnru pxrZ1C9TMNO35apqjpbAnuRhwcpvK4qEW5TgfOR51L5tvRjyhykczQnPdhHXyL1wf/sI IUvnj4k4vv0mVm1T0ZiZ0iL14uG/XJZEopcp839ulZ/pDebZkfQoXvqDVEexBndbDiXO CRK5uJ+nEN8ECjM054TagTCxmqaMg/msqj2uJfxfZo628HxhFi8QaF09sVdyMTlbN+f4 Fotg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="V/SkCdL4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si3743133pgn.145.2018.12.14.01.51.51; Fri, 14 Dec 2018 01:52:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="V/SkCdL4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729076AbeLNJt7 (ORCPT + 99 others); Fri, 14 Dec 2018 04:49:59 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:16056 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727579AbeLNJt7 (ORCPT ); Fri, 14 Dec 2018 04:49:59 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 14 Dec 2018 01:49:54 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 14 Dec 2018 01:49:58 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 14 Dec 2018 01:49:58 -0800 Received: from HQMAIL102.nvidia.com (172.18.146.10) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 14 Dec 2018 09:49:58 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL102.nvidia.com (172.18.146.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 14 Dec 2018 09:49:58 +0000 Received: from niwei-ubuntu.nvidia.com (Not Verified[10.19.225.182]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Fri, 14 Dec 2018 01:49:57 -0800 From: Wei Ni To: , CC: , , , , , Wei Ni Subject: [PATCH v6 0/4] Fixes for Tegra soctherm Date: Fri, 14 Dec 2018 17:49:49 +0800 Message-ID: <1544780993-20744-1-git-send-email-wni@nvidia.com> X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1544780994; bh=i6bdi1JXbBC3f4G92KlsmgBRp2ms65aAKP0C5re2YFI=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=V/SkCdL44rKoYFsmTINCY0ihQRaqmd56q2GV9RtuFzHIbH/oSNOuEWjMI4uGv6Mqx WmJN28VDGy2554zrtdgIg4xp9ncGQgLdIhxBjQFPAUHZzEpdLYukH6QDftGgIbfC3r V5QMR0HIohISl6oxxxrFNDXPlIkw7G/vjBgrjYnId9ko6yhzgjRYL4zPo0xb7U9b4j 0Q3dB3JNcNpmn0ev1cL6aSXrsn3Xj7lit9w90vJHLi9M/R5GrzD9KV/DJrBjPdHqqM MId+hzv6TFSxP7N7AAyiwfrDDnrTC+fFDe+ee+PeTB23FO6AXPZLWsQ41c6cU+tVIQ m9/N3HJWMN03g== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixed some issues for Tegra soctherm, and add get_trend(). Main changes from v5: 1. Move the get_trend() patch https://lkml.org/lkml/2018/11/20/643 into this serial. Main changes from v4: 1. fixed for the parsing sensor id. 2. keep warning for missing critical trips. Main changes from v3: 1. updated codes for parsing sensor id, per Thierry's comments Main changes from v2: 1. add codes to parse sensor id to avoid registration failure. Main changes from v1: 1. Acked by Thierry Reding for the patch "thermal: tegra: fix memory allocation". 2. Print out the sensor name when register failed. 2. Remove patch "thermal: tegra: fix coverity defect" Wei Ni (4): thermal: tegra: remove unnecessary warnings thermal: tegra: fix memory allocation thermal: tegra: parse sensor id before sensor register thermal: tegra: add get_trend ops drivers/thermal/tegra/soctherm.c | 85 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 80 insertions(+), 5 deletions(-) -- 2.7.4