From patchwork Fri Dec 6 09:28:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 11275859 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 96A8E159A for ; Fri, 6 Dec 2019 09:49:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F22624671 for ; Fri, 6 Dec 2019 09:49:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726397AbfLFJtj (ORCPT ); Fri, 6 Dec 2019 04:49:39 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:64169 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbfLFJtg (ORCPT ); Fri, 6 Dec 2019 04:49:36 -0500 Received: from 79.184.254.100.ipv4.supernova.orange.pl (79.184.254.100) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.320) id a94a341a3eddd6ac; Fri, 6 Dec 2019 10:49:34 +0100 From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Linux ACPI , Len Brown , Srinivas Pandruvada , Len Brown Subject: [RFC][PATCH 0/6] cpuidle: intel_idle: Use ACPI _CTS to get idle states information Date: Fri, 06 Dec 2019 10:28:51 +0100 Message-ID: <2037014.bnAicLLH9b@kreacher> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi All, The purpose of this set of patches is to allow the intel_idle driver to use C-states information from ACPI _CST on systems where the processor is not recognized by it. The first five patches are preparatory (please look into the changelogs for details) and are not expected to make any functional difference. The last patch adds ACPI _CST support to intel_idle so that _CST is used when the driver does not have a dedicated list of C-states for the given processor. The plan (for the future) is to also use _CST in some cases when there is a list of C-states for the given processor in intel_idle in order to produce a combined list in which some states may be disabled by default. This has been lightly tested on a Dell XPS13 9360 (with an additional patch to drop the Kaby Lake entries from intel_idle_ids[] which normally would prevent intel_idle from registering itself as the cpuidle driver). The difference between using the idle states list from _CST and the built-in one generally is that in the latter case the processor spends more time in package C-state when the system is idle. If there are any concerns about this series, please let me know. Thanks, Rafael