From patchwork Fri Jan 10 22:52:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 23123 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 00C55216DB for ; Fri, 10 Jan 2014 22:52:38 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id vb8sf18128054obc.8 for ; Fri, 10 Jan 2014 14:52:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=5p+O1GZVNzz+a1NpaWCOFyUe+rtKe6XfM6+a4bNhU2E=; b=doGEQHANN2MbVM2Q0watgxAYpvqezIs4Ds/qviXrjPCLDBh5bAGnH+UNHRZY3L1Qj9 NIroFnU7pzePxJpVmhaYUBloJ1hcGdkqPfwSFJpKL+/A0s2i0NJK7laJ7uJ/jUyDzSzq gcj3v3PrHsYPpxb9s/efDIk2NhM9nDmISf0M0gLfhhTkW0Rzj5jfR3GGGj6UVvfxvQbd QLpD3YBDQmEMbi6m4iLQo+ZMmzOmfQKVC1dEOLPePyXDd1dSBIe5TjANkRRdahjDrFYf W6T/AoGJR7E8Woh+3cqsYq7ex4TorCBdNDC4LS98j8ME9u99bqBx/svrPwBWkdyy0fmN lL0A== X-Gm-Message-State: ALoCoQmJL0Aoxl2ZVIM/Oci3Pdf0CCSz+ehAiSROqbk9k+ktBIOwzUDyCjN9NRf9h3oIz4No4bCN X-Received: by 10.183.3.36 with SMTP id bt4mr4557386obd.29.1389394358140; Fri, 10 Jan 2014 14:52:38 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.16.35 with SMTP id c3ls1684225qed.83.gmail; Fri, 10 Jan 2014 14:52:38 -0800 (PST) X-Received: by 10.52.187.232 with SMTP id fv8mr190292vdc.60.1389394358048; Fri, 10 Jan 2014 14:52:38 -0800 (PST) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx.google.com with ESMTPS id ec16si5750708veb.124.2014.01.10.14.52.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 Jan 2014 14:52:38 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.45; Received: by mail-vb0-f45.google.com with SMTP id m10so886986vbh.4 for ; Fri, 10 Jan 2014 14:52:37 -0800 (PST) X-Received: by 10.58.255.233 with SMTP id at9mr9985973ved.20.1389394357925; Fri, 10 Jan 2014 14:52:37 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp122787ved; Fri, 10 Jan 2014 14:52:37 -0800 (PST) X-Received: by 10.68.57.98 with SMTP id h2mr14655794pbq.17.1389394356607; Fri, 10 Jan 2014 14:52:36 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sz7si8453459pab.290.2014.01.10.14.52.35; Fri, 10 Jan 2014 14:52:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757888AbaAJWwf (ORCPT + 8 others); Fri, 10 Jan 2014 17:52:35 -0500 Received: from mail-ie0-f179.google.com ([209.85.223.179]:61858 "EHLO mail-ie0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757837AbaAJWwe (ORCPT ); Fri, 10 Jan 2014 17:52:34 -0500 Received: by mail-ie0-f179.google.com with SMTP id tp5so15751ieb.38 for ; Fri, 10 Jan 2014 14:52:34 -0800 (PST) X-Received: by 10.50.120.105 with SMTP id lb9mr6527921igb.22.1389394354367; Fri, 10 Jan 2014 14:52:34 -0800 (PST) Received: from fidelio.ahs3.com (74-93-232-46-Colorado.hfc.comcastbusiness.net. [74.93.232.46]) by mx.google.com with ESMTPSA id a1sm4967226igo.0.2014.01.10.14.52.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jan 2014 14:52:33 -0800 (PST) From: al.stone@linaro.org To: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Al Stone Subject: [PATCH v6 2/6] ACPI: bus master reload not supported in reduced HW mode Date: Fri, 10 Jan 2014 15:52:16 -0700 Message-Id: <1389394340-2680-3-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1389394340-2680-1-git-send-email-al.stone@linaro.org> References: <1389394340-2680-1-git-send-email-al.stone@linaro.org> Sender: linux-acpi-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: al.stone@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Al Stone Do not save and restore bus master reload registers in suspend/resume when in reduced HW mode; according to the spec, no such registers should exist Signed-off-by: Al Stone --- drivers/acpi/processor_idle.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 597cdab..eac984a 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -229,12 +229,14 @@ static struct syscore_ops acpi_processor_syscore_ops = { void acpi_processor_syscore_init(void) { - register_syscore_ops(&acpi_processor_syscore_ops); + if (!acpi_gbl_reduced_hardware) + register_syscore_ops(&acpi_processor_syscore_ops); } void acpi_processor_syscore_exit(void) { - unregister_syscore_ops(&acpi_processor_syscore_ops); + if (!acpi_gbl_reduced_hardware) + unregister_syscore_ops(&acpi_processor_syscore_ops); } #endif /* CONFIG_PM_SLEEP */