Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8425219ybl; Thu, 16 Jan 2020 16:37:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwtrhoTJVRuiCpOj20v4Y7UJ2iUl3mo4/blwbP9F0Q9hZ79cok7G0EzNbsSp90XJ1AJ15Kh X-Received: by 2002:a9d:4f18:: with SMTP id d24mr4342406otl.179.1579221452195; Thu, 16 Jan 2020 16:37:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579221452; cv=none; d=google.com; s=arc-20160816; b=xBajF/5TKnpg/G+Sx3LNzoR7JgYHOJUOyzzGbQLJRlVLBmg+5/DMa96WhGTcbygKcH 7+2yA61G1o1nNncOJiBbcfa2pcu7ydJTnsm8sfP5Pwl2sYg8c5ACF0RwMmh13dRqhOow BDXBgAIlT1WWfGBZnSAdtkC99N5IqGLmcJVjKUKilogR8LAg81gInEMjYR9Q/fLghP0Z gEsdw/GtYzJfCZqGQVwxar2uY6zzqgP9boGj3pDyqqFsGwyg43FsedSmn7H6Zjpm3AOa SAdDrvglhlcZZ1gccnrZ4G45MwNXieU0pBXFlaHJDyaby6+QJ9cT3iJNmgTR+XxB3dgB BqNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/n2ec1ZA+xACxxlYHlND3pNTGDJh/BpB/K6ATJwqm+s=; b=PW6k4VU3ccv0to8VknHimO+1mjNZA6hlJDFKmXX1fng1cfVVR+qPIL8Y6lCMv8e8fV wqpphjjVaObADbQ/KGPymPn0KzPruDo9FTa6KucOIO49N/PB8LOArFctps7BuO42YVMl LG32zg51li2ge5ckVZilj2bUZHizw2F6TMqPlX7lltlxYrR1Kfu3Ol5dIKhTdPrCHrKf xOld2GEOUC83C7vC/rlPduL68B7FctUWLCxRkCyicUcW19qrfRUHB6106rJ3hBGYh9iA q1UuUSAIWXk/HrlJoQlXs+5Y4j60Q6UGIhjSZWkpeTvuxK2NI32fazkKKA5z+VCrS59a gVfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DAwnM0AP; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si12503734oil.188.2020.01.16.16.37.19; Thu, 16 Jan 2020 16:37:32 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=DAwnM0AP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731677AbgAPXXl (ORCPT + 99 others); Thu, 16 Jan 2020 18:23:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:52050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391044AbgAPXXg (ORCPT ); Thu, 16 Jan 2020 18:23:36 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 664012072B; Thu, 16 Jan 2020 23:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217015; bh=wOWp9MgWg9YkFkHNl2ETiM5sFaQrBjkSp/k2yidDicg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DAwnM0APNyY3MXlEfwRXrGKS65V//VdKq0bSv6LDSZxyq8DSg8x6Lt11S+oYJuFri /lq99bcJYjdQZslCJYOsjNDd8LtDBuv+Q4lSMINagI1ikQJSmxschhBob47hBZ/NKU kpHJXCnwSXw/Oy12iyn/RKEuoCeKdJkyT2iH7l0M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marian Mihailescu , Sylwester Nawrocki Subject: [PATCH 5.4 113/203] clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume Date: Fri, 17 Jan 2020 00:17:10 +0100 Message-Id: <20200116231755.324704601@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231745.218684830@linuxfoundation.org> References: <20200116231745.218684830@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marian Mihailescu commit e21be0d1d7bd7f78a77613f6bcb6965e72b22fc1 upstream. Save and restore top PLL related configuration registers for big (APLL) and LITTLE (KPLL) cores during suspend/resume cycle. So far, CPU clocks were reset to default values after suspend/resume cycle and performance after system resume was affected when performance governor has been selected. Fixes: 773424326b51 ("clk: samsung: exynos5420: add more registers to restore list") Signed-off-by: Marian Mihailescu Signed-off-by: Sylwester Nawrocki Signed-off-by: Greg Kroah-Hartman --- drivers/clk/samsung/clk-exynos5420.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -165,6 +165,8 @@ static const unsigned long exynos5x_clk_ GATE_BUS_CPU, GATE_SCLK_CPU, CLKOUT_CMU_CPU, + APLL_CON0, + KPLL_CON0, CPLL_CON0, DPLL_CON0, EPLL_CON0,