From patchwork Wed Jan 8 00:46:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 22925 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E2923202E0 for ; Wed, 8 Jan 2014 00:47:07 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id g12sf3739953oah.6 for ; Tue, 07 Jan 2014 16:47:07 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=hSPo4pU1Rv9lnyrxUGAdRjd3a1tpsO36wd6pJXjqshE=; b=g9qX14xC0v0K/BQfWhV8dIUtrPRCoVIs6WHL/kTBjm3i0oM2RmBsRo1zNf2YHSBxiJ H5ovHhnUalAAHGxbx6PreVwRLiBHA7lUIZPLuAGTQ8TrE3fBt0iAPK7qpSKHMXeV8pOa O1xQvq+5WXsX3Xcm8VaXJj62wWPZcnw8OqmgoBeE1ZU12Zv6/EpojPjqQorJJ5lkfCwI E3SIqCLgDjGdLxG0J789YYskVP+Hv7Yy90aM7FKsHYMPvBAfSKdA9CTCIKrKqai9SdoZ C4s1mwiekJGOMQXMFgnWmyTXakyHEJqupF7Rp/Qs+xZCI+fiUJUZOlTB1jct56iQODua 01mQ== X-Gm-Message-State: ALoCoQlM9TooLtit5tyP6SZkJMg1NsnGZ6TV89FydpfdtDViU7fv6W108JHzzlVAsn9aVuQmcGRw X-Received: by 10.42.196.71 with SMTP id ef7mr25504430icb.24.1389142026916; Tue, 07 Jan 2014 16:47:06 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.105.193 with SMTP id go1ls342510qeb.97.gmail; Tue, 07 Jan 2014 16:47:06 -0800 (PST) X-Received: by 10.58.108.196 with SMTP id hm4mr5643788veb.28.1389142026729; Tue, 07 Jan 2014 16:47:06 -0800 (PST) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id er6si34843664vdc.75.2014.01.07.16.47.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Jan 2014 16:47:06 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oz11so742589veb.32 for ; Tue, 07 Jan 2014 16:47:06 -0800 (PST) X-Received: by 10.52.227.193 with SMTP id sc1mr30340739vdc.1.1389142026603; Tue, 07 Jan 2014 16:47:06 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp192897ved; Tue, 7 Jan 2014 16:47:06 -0800 (PST) X-Received: by 10.50.79.138 with SMTP id j10mr29140647igx.2.1389142025819; Tue, 07 Jan 2014 16:47:05 -0800 (PST) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by mx.google.com with ESMTPS id np3si6261432igc.57.2014.01.07.16.47.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Jan 2014 16:47:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.169 is neither permitted nor denied by best guess record for domain of al.stone@linaro.org) client-ip=209.85.223.169; Received: by mail-ie0-f169.google.com with SMTP id e14so1322626iej.14 for ; Tue, 07 Jan 2014 16:47:05 -0800 (PST) X-Received: by 10.50.78.229 with SMTP id e5mr28440581igx.49.1389142025500; Tue, 07 Jan 2014 16:47:05 -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 kt2sm6361770igb.1.2014.01.07.16.47.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jan 2014 16:47:04 -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 v5 2/5] ACPI: bus master reload not supported in reduced HW mode Date: Tue, 7 Jan 2014 17:46:48 -0700 Message-Id: <1389142011-27356-3-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1389142011-27356-1-git-send-email-al.stone@linaro.org> References: <1389142011-27356-1-git-send-email-al.stone@linaro.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.128.173 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: 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 */