Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3436716ybi; Sun, 26 May 2019 23:28:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLwLiJAESIY8v05Nt04CmdgBoP2NkWALA2mD55Wqy3DWzP/nHDsJqtfvzpuDuSsiGtrfFK X-Received: by 2002:a17:902:290b:: with SMTP id g11mr18477344plb.26.1558938509600; Sun, 26 May 2019 23:28:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558938509; cv=none; d=google.com; s=arc-20160816; b=aIXN378RvGQ5/Rqx3oSISOsY0WUjMyb6tNBjiS7T19Di8b/f2BKzQNGqwRsx7lFuYj ZJDv4HSFPLv91Uot7SqrZsmBWIEpIb+W3CuEXgTFAjp7I58ansjp9vJ4lIZ+jeTs84K6 V60/CK3SrvTNhQHGrY7cEbxH1lRGEgyj4UuRHUTz5i/r9qELa4sj4N/HYg3TLX+AV4Tg KT4d/vItNCilupbMbsC0xMG7v6k5Lcl3fb3Rx//FA94K8mGrIwkDd++U8wAaW6T+t4j/ YXZqvWTyxQXMZyu9/S+KgB16MSCXrDNW3rLQaPIDmCBOEA0k0h6zDV+7uAGqPk8buIft cQwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=C6d5yByexr6mH1R/ZnGp9rgX0CUXhQ6IDvV38LBX4H4=; b=mR8krhnOr1YT14A7hC4Q0WTcPJaE5Op9IQwyfFIqEp+/UZeGVKih9d15wWETND5ZA6 /q3oK2fjAmlPI+Dw88dHlyGKRidw4NOOBq5uOzlKTmqhenhiu8UaajW8jxQAZi+/WyFI G7aHjK1szxv6CplW4YD82DFsvvDLi5BC2y/Efg6aJaBNf/0siHGvnZGCkBZ1h9gLVtqx n14oL4I83LRPmexIf9REgHiXuHtY9/QaIrU3Jgf+erkdEVVCPj2UiG/pozYWR/JPw74M Ntt7VCmmaVJqNWIdIAeqhYY4GVPYd65PZkCAyETjKdGRNUewSLs7gMkABmeJrtybnbM9 jbAw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d62si16827490pga.447.2019.05.26.23.28.14; Sun, 26 May 2019 23:28:29 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726115AbfE0G1B (ORCPT + 99 others); Mon, 27 May 2019 02:27:01 -0400 Received: from mga07.intel.com ([134.134.136.100]:4773 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbfE0G1A (ORCPT ); Mon, 27 May 2019 02:27:00 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 May 2019 23:27:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,518,1549958400"; d="scan'208";a="178751968" Received: from hao-dev.bj.intel.com ([10.238.157.65]) by fmsmga002.fm.intel.com with ESMTP; 26 May 2019 23:26:56 -0700 From: Wu Hao To: atull@kernel.org, mdf@kernel.org, jdelvare@suse.com, linux@roeck-us.net, linux-fpga@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-api@vger.kernel.org, Wu Hao Subject: [PATCH v3 0/3] add thermal/power management features for FPGA DFL drivers Date: Mon, 27 May 2019 14:06:53 +0800 Message-Id: <1558937216-12742-1-git-send-email-hao.wu@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds thermal and power management features for FPGA DFL drivers. Both patches are using hwmon as userspace interfaces. Actually this patchset is splitted from patchset [1]. Main changes from v2: - switch to standard hwmon APIs for thermal hwmon: temp1_alarm --> temp1_max temp1_alarm_status --> temp1_max_alarm temp1_crit_status --> temp1_crit_alarm temp1_alarm_policy --> temp1_max_policy - switch to standard hwmon APIs for power hwmon: power1_cap --> power1_max power1_cap_status --> power1_max_alarm power1_crit_status --> power1_crit_alarm v2 version patch could be found here [2] - thermal, [3] - power. Please note that this patchset needs to be applied on top of patchset [4]. Thanks! [1] https://lkml.org/lkml/2019/4/29/227 [2] https://lkml.org/lkml/2019/4/29/211 [3] https://lkml.org/lkml/2019/4/29/213 [4] https://lkml.org/lkml/2019/5/27/11 Wu Hao (2): fpga: dfl: fme: add thermal management support fpga: dfl: fme: add power management support Xu Yilun (1): Documentation: fpga: dfl: add descriptions for thermal/power management interfaces Documentation/ABI/testing/sysfs-platform-dfl-fme | 131 +++++++ Documentation/fpga/dfl.txt | 9 + drivers/fpga/Kconfig | 2 +- drivers/fpga/dfl-fme-main.c | 426 +++++++++++++++++++++++ 4 files changed, 567 insertions(+), 1 deletion(-) -- 1.8.3.1