From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751454AbbLUOuJ (ORCPT ); Mon, 21 Dec 2015 09:50:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38555 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbbLUOuH (ORCPT ); Mon, 21 Dec 2015 09:50:07 -0500 From: Prarit Bhargava To: linux-kernel@vger.kernel.org Cc: Prarit Bhargava Subject: [PATCH 0/3 v2] powercap, intel_rapl, implement time window checks Date: Mon, 21 Dec 2015 09:50:00 -0500 Message-Id: <1450709403-780-1-git-send-email-prarit@redhat.com> In-Reply-To: <1450184532-21150-1-git-send-email-prarit@redhat.com> References: <1450184532-21150-1-git-send-email-prarit@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Intel ASDM provides a maximum time window that can be specified when setting a time window in the RAPL driver. While the ASDM doesn't explicitly provide a minimum time window value, it does provide a minimum time window unit that also can be used as a minimum value. This patchset implements barrier checking for the time windows, and adds reporting of a known bug in which the maxmimum time window value may be erroneously set to 0, as well as a module parameter to avoid the maximum window checks on broken BIOSes. [v2]: update 3/3 with minor changes Prarit Bhargava (3): powercap, intel_rapl, implement get_max_time_window powercap, intel_rapl, implement check for minimum time window powercap, intel_rapl, Add ignore_max_time_window_check module parameter for broken BIOSes drivers/powercap/intel_rapl.c | 50 +++++++++++++++++++++++++++++++++++++++ drivers/powercap/powercap_sys.c | 6 +++-- 2 files changed, 54 insertions(+), 2 deletions(-) -- 1.7.9.3