From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751478AbdH1V0Y (ORCPT ); Mon, 28 Aug 2017 17:26:24 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:49423 "EHLO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751218AbdH1V0W (ORCPT ); Mon, 28 Aug 2017 17:26:22 -0400 From: "Rafael J. Wysocki" To: Sudeep Holla Cc: Linux PM , LKML , Len Brown , Linux ACPI , Peter Zijlstra , Jacob Pan , Daniel Lezcano Subject: Re: [PATCH 0/3] cpuidle: Rework the handling of the poll state Date: Mon, 28 Aug 2017 23:17:43 +0200 Message-ID: <8432156.DIvYQkV4Qe@aspire.rjw.lan> In-Reply-To: <1350530b-bed8-ab45-d5d2-dcaf4178320d@arm.com> References: <21794463.WNaOdcSnfv@aspire.rjw.lan> <1350530b-bed8-ab45-d5d2-dcaf4178320d@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, August 24, 2017 11:48:19 AM CEST Sudeep Holla wrote: > > On 23/08/17 22:18, Rafael J. Wysocki wrote: > > Hi, > > > > On x86 the fist idle state is a polling one, but the way it is set up is far > > from straightforward and then it is avoided by governors in rather somewhat > > convoluted fashion. > > > > Make this more clear by explicitly flagging that state as "polling" and > > checking its flag where it needs to be avoided instead of using > > arch-dependent numbering of idle states (patch [1/3]), move the > > polling state code from driver.c to a separate C file (patch [2/3]) and > > move the initialization of it from the core to the relevant cpuidle drivers - > > ACPI and intel_idle (patch [3/3]). > > > > Tested this on ARM64 platform(both DT and ACPI/LPI) and everything > continues to work fine. > Tested-by: Sudeep Holla Thanks Sudeep! I haven't seen any more comments on this which I'm taking as a green light for it, so I'm going to queue it up for 4.14. Thanks, Rafael