Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp737061imu; Thu, 3 Jan 2019 06:17:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN4HDoMtky8iTpoNDZCaxYsiapZdYUN7V4fXXiPZ/zztk53qxbsJxya9IYQn0m+xo/AuUhzg X-Received: by 2002:a65:40c5:: with SMTP id u5mr16664361pgp.46.1546525062994; Thu, 03 Jan 2019 06:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546525062; cv=none; d=google.com; s=arc-20160816; b=TrrEj7nPju+lV/NOUIUUcVczz7pchV42u8Qcoq4V4w8GGKEVtNLB1jcoXK4drPxW0A iU2zNVoMvDT1zb+Nm6ewQPtwtTmC/GhSM9mJI7M/OHVQriV1Vq/Qsmp/Huhuh14sMVaO VB58Z0U4Gw0oTGXHs4PzwvbGWirrYGDAra3kuZlzxGjNTOPYgbxJ0WpLPryN9+bSY5NJ nAEa3SS75RttvE+/F7eCyFqN9Rc+3m2c209HQy38TFpiV4dUpKVMBoHNgyNnzuvczSm/ tbz3vCzUfXwxgCrWiM4fW7nN8w5ykdtgUuag/QvzRfDby39N4sKu3U95G9/rWyoAD5d7 TQeg== 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=thSPNh5qclnMONRqSWDQUSlfaobtykRz5XwkoJgugjA=; b=QK0ZLzXzFEn2h/bw5ec3IIdgfOi0DaADMcTjaiFdjGzKgeqByNWMsdcZWoC6UWV9O4 rNynAfzL0Ch25eyOJrsKE1OzZCA9D1JMoWhrN/mL43IUOFN0mlQdyvhkaJ8kVtHigx0J M7GVO0lKYc/+vXB05v1CXuBRIXMkjKqc9/99rPCEM9nD+Fs8Ou+Z8zQA5kEAGkhwhGs/ c0NuOrS3dCmB99HWz09XkJWElXupIKZNWBlGe/sqeEmT5Vi/5MSzDtrT7PAwuZ4hmUgC MSGvB43TVdf3yFKjGXFCDHFlfgZy6zVzDsqwgw8665XWQKA1K4PPVw0hlPEUtMFOE4vE SINA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Te4DshEb; 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 s11si48696810pgk.344.2019.01.03.06.17.10; Thu, 03 Jan 2019 06:17:42 -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=Te4DshEb; 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 S1730805AbfACKNP (ORCPT + 99 others); Thu, 3 Jan 2019 05:13:15 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:3186 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbfACKNO (ORCPT ); Thu, 3 Jan 2019 05:13:14 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 03 Jan 2019 02:13:00 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 03 Jan 2019 02:13:14 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 03 Jan 2019 02:13:14 -0800 Received: from HQMAIL102.nvidia.com (172.18.146.10) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 3 Jan 2019 10:13:13 +0000 Received: from HQMAIL102.nvidia.com (172.18.146.10) by HQMAIL102.nvidia.com (172.18.146.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 3 Jan 2019 10:13:13 +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; Thu, 3 Jan 2019 10:13:13 +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 ; Thu, 03 Jan 2019 02:13:13 -0800 From: Wei Ni To: , CC: , , , , , , Wei Ni Subject: [PATCH v7 0/3] Fixes for Tegra soctherm Date: Thu, 3 Jan 2019 18:12:46 +0800 Message-ID: <1546510369-28491-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=1546510380; bh=thSPNh5qclnMONRqSWDQUSlfaobtykRz5XwkoJgugjA=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=Te4DshEbUB7X4PzEB+5WmOa3cbSYn7yKVl4pfvQhWeNR3JkzR00fdSqLMkY8+SvZY TYqX7I94Y7bAZZJtnN0BgS9dsFZhgnX3kVWB1YKcsoLUE4oNdDIkfYv0yGVcEzxZTu P8arhOIYCiiNRjotxW2RNVzA6BGmfF86pN3puEkXO5sAOOU0cuMMiwRH7ErP0D6f4x yEMZ3ujaKyzPDizOEhNIV1H8kwOhPVxsD7cJTU/NfGsnf9Il5EA4QVa6ypeaqisFQS YRKtWtdXHWYAqNuRQ2JQ2CXR7AbPgWqlHZ6KVtHoM5U4yuOT1Kfmuq+IdBniowJ1dx 7wK8r/xv41WLw== 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 v6: 1. Per Eduardo's comment, we can remove the change: "thermal: tegra: parse sensor id before sensor register" 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 (3): thermal: tegra: remove unnecessary warnings thermal: tegra: fix memory allocation thermal: tegra: add get_trend ops drivers/thermal/tegra/soctherm.c | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) -- 2.7.4