Message ID | 20191122105253.11375-4-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp36776ilf; Fri, 22 Nov 2019 02:53:32 -0800 (PST) X-Google-Smtp-Source: APXvYqzP3ePuQsQXIg7x5o6m4WFS6On0sudNBMN4MWmmg4x+2zxtSaN/l2NtIOpOk78SVrVwjt+u X-Received: by 2002:a17:906:cc93:: with SMTP id oq19mr21501059ejb.316.1574420012193; Fri, 22 Nov 2019 02:53:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574420012; cv=none; d=google.com; s=arc-20160816; b=RTOQp9Lyd0IHNdo8TYtox7FeZ8s9Gif/8D2wH01vol4hrlcRYVHtDqITVIFZh3/Vag UVuzy1gBZOtXI2GzTYk/TuGN0cBvi7MiK7AwtIWnd7X/v/iTl2YvSAVaam2nvZkFyej7 MIszpRyQNirQkqXPHmC8ZYH94CkuTBFMDycE0/qRAYe0mRd19XYDIFmoe1eWD4KWMnSM bXXRXcWrHbDTSf3/VMNdVzx8ElNZghmq/ADRdYfbt5GBL5/ZQtQ60g5FvaZAnJAu7NX3 cM1WheumtMrwJAZSxiJHrU6k0Wd4miYTMk9sFohLgGfrB5gnIJG0Gr7jugh4xny8ReXt /IqQ== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=PNM5lccoBtUfm9iFogx92X5PMCn4g3/BVdMdr/P978Y=; b=D2GQIrsxbtdwhZl5z1c6UlRU75Yaz+ib/uByzhsG0Hnh8RxmWvhJ1lPnAGuI1goXQd 1EyPiVi1uDnpgNCPfLEO2nWrFWm96g6HCNDToqbQaDICHW8/ZYZlmHNq3YI3KrcST7re DefCIpcrPJxfA57PBti95By7I5qQm26dJLl2Xh/+frBpGyye+dVQNZ76ZRbkeqlQ7tfd nMAyel6jqZYpnjDGSnzq6aepIGziTQtiNUc3Av5YODNWN3PklhtAAQhWD7hJfsTS56oO P3G9IUoi8b1w4VD71eWwnr4kUywVAXqIG1XX8liH/WrR2Qaj3fAu+2DohNOnn9VTDC+Y VxKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tux3SSPu; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c25si3893310eja.24.2019.11.22.02.53.32; Fri, 22 Nov 2019 02:53:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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=@linaro.org header.s=google header.b=tux3SSPu; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729970AbfKVKxb (ORCPT <rfc822;ralph.siemsen@linaro.org> + 15 others); Fri, 22 Nov 2019 05:53:31 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40804 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730206AbfKVKx1 (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 22 Nov 2019 05:53:27 -0500 Received: by mail-wr1-f67.google.com with SMTP id 4so4734649wro.7 for <stable@vger.kernel.org>; Fri, 22 Nov 2019 02:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=PNM5lccoBtUfm9iFogx92X5PMCn4g3/BVdMdr/P978Y=; b=tux3SSPuh61SEjBLSCOgxDUMtLXrokKpBYuA5SeC4hYQHhnAuaiO9mOOKAM1MMqxTZ TW0+3T2Gg+9sL6joIRKeEZl2DOKx0tPW4O2G1IxK13WWBnlhIqOaKLOtW4POBLOtqyb6 b1T9vmNUZSqxLIUkvvg0DoHBnJMs8KRlIdRsDlatwVtulgv9X2Lf63/PGGLaHTTIADpz ZEUNs/sQjTONDfIWR6yfKsvj60whpSaHSaKZ+dy+HlzLn7f60HVosrjdvdyeKLQlXela vzKpX0IvRa5Sxdyxokum6c7ysww+TahF1Z5lwyd2R/aH2rQP7hWmqOrsaNtN1TyStxZh 1slw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PNM5lccoBtUfm9iFogx92X5PMCn4g3/BVdMdr/P978Y=; b=LWfUFr2oLUsNRSr3K4dZQ5E557DJ2pYmM0K3YkAqpWv3MQjT4n08gy6L+a3QFY2/fE Rcb6cdPYvonzgW9avEwjAEpifkBsF/5i/S76udo7kL5rXHDFujpwzm3uRuhneWRbgZyB /gd8XfcnQ55vp8DwSjB8g59AsoukgZN+VFdjYtOYqXCpB73a5pSwzyTm7qu5bOdY2nhw SajbVDqDOmdj5mIh9WawmEnmPvGUperjYMCTRu2dMWajkYnFX4OexaTR3jtTz0UeJJm5 oz+JxznWKDDzCM39XbaeYKck60l+4byl+BM06UfGo2lOWepZx5eX0Clenqi3O9swKDGv SnfQ== X-Gm-Message-State: APjAAAWNqJwJBJwCww4QpUYhPYIiEx6wklJhWyid8dwhvmMeXNCQLpmh t88LC1byQqZ7JXKElmK6k62cQQ== X-Received: by 2002:a05:6000:104:: with SMTP id o4mr16469149wrx.309.1574420005608; Fri, 22 Nov 2019 02:53:25 -0800 (PST) Received: from localhost.localdomain ([2.27.35.135]) by smtp.gmail.com with ESMTPSA id o1sm7444087wrs.50.2019.11.22.02.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 02:53:25 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org, gregkh@google.com, stable@vger.kernel.org Subject: [PATCH 4.9 4/8] cpufreq: Skip cpufreq resume if it's not suspended Date: Fri, 22 Nov 2019 10:52:49 +0000 Message-Id: <20191122105253.11375-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122105253.11375-1-lee.jones@linaro.org> References: <20191122105253.11375-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
[4.9,1/8] ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
|
expand
|
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index d43cd983a7ec..04101a6dc7f5 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -1646,6 +1646,9 @@ void cpufreq_resume(void) if (!cpufreq_driver) return; + if (unlikely(!cpufreq_suspended)) + return; + cpufreq_suspended = false; if (!has_target() && !cpufreq_driver->resume)