Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754346AbcLSUKl (ORCPT ); Mon, 19 Dec 2016 15:10:41 -0500 Received: from smtp-out-no.shaw.ca ([64.59.134.12]:46275 "EHLO smtp-out-no.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752198AbcLSUKg (ORCPT ); Mon, 19 Dec 2016 15:10:36 -0500 X-Authority-Analysis: v=2.2 cv=Roa1FGuK c=1 sm=1 tr=0 a=6xzog4CasRozao6qlzTIAw==:117 a=6xzog4CasRozao6qlzTIAw==:17 a=n5n_aSjo0skA:10 a=Q-fNiiVtAAAA:8 a=nw94ycBFnudjWMn4DowA:9 a=Fp8MccfUoT0GBdDC_Lng:22 From: Markus Mayer To: Viresh Kumar , "Rafael J . Wysocki" Cc: Power Management List , Broadcom Kernel List , Linux Kernel Mailing List , Markus Mayer Subject: [PATCH 0/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend Date: Mon, 19 Dec 2016 12:10:26 -0800 Message-Id: <20161219201028.18885-1-code@mmayer.net> X-Mailer: git-send-email 2.10.2 X-CMAE-Envelope: MS4wfCw5LMb9HvSfUjPFDYBeK4LJItU5Q8aUQ4PIzitmZh2NaubJ31gb3fo8rx/Z8urdPgyosbZ0kQ/9KIU2VZSqHlHkyCy8TyIlcw5ywTKhIrjp7h9FikRk Vr8K4oUtxlYaSGpK2OOl1Hsc3mlDT6xu4khlsrKIxWM72/9nA24o0EzDOiQ6smGbySvJcvAwJVp/9bjPaE6IK/B2KunOD5pcORSnKOCr7nuIw6FP9v5yOm3K voOYUnbj8X4mpwV2DzjSe64Oq6O776tGhDsjH0GynvFlGpVlreztxEdzaUGMMgiFNdBW5oxh0WBRvAhBEufRd66i1pNxcGT946TzZgBifXaMAf508bTfz27P xjCmil+05wteuu1qzj7wGs/OS3Y12w== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 614 Lines: 20 From: Markus Mayer This fix is for 4.10. The driver needs to save the proper P-state on suspend, so it'll resume at the same speed. We also add the P-state and the mode as returned by the AVS firmware GET_PMAP command to the existing brcm_avs_pmap sysfs entry. This will make it easier to diagnose any issues. Markus Mayer (2): cpufreq: brcmstb-avs-cpufreq: extend sysfs entry brcm_avs_pmap cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend drivers/cpufreq/brcmstb-avs-cpufreq.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) -- 2.7.4