From patchwork Tue Dec 17 00:16:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 22546 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5627C23FC6 for ; Tue, 17 Dec 2013 00:16:55 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id g10sf16566983pdj.1 for ; Mon, 16 Dec 2013 16:16:54 -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=juNoRyI+syNMA1LVb7kJKXWIeR6KF11Qyr3/0Wa89o4=; b=aBRNi3P4Rf+A2dva0n59omPxe3p1HNR0xjZm6Zf09MxaI8lMoYu+t0BRJFhvc1UecT Irb91AlDwDOtCwABzdt1gz7ZOUh/w9zolUqCJRFJ92wLKkcb8E2qt1Mms8jWhwQIqOMF BztTdj1N+iNEpGZfA3B+zV5YPv+CUCDJACex6szLvQ8fg1ks7B+89+lEAQaTGk4m5ei9 4UVK7/tgm3UGg93vbisIwkP2XKZJiIVLbrgNtqGGZvSop9FhfU2thEqh1Zimq7OSXuhX ubly+pwnxV28oYjelZ/2/FOHcBjrmORQCEVPYacJePVY8OfTBFjRqJsjMcPtTYAjKTy3 gTAA== X-Gm-Message-State: ALoCoQmvMJUdJa91/LgxcXIcyLwg0+xkkTYdDE2SVaDEsG/zOYV7RW+y10/rFlZrSFz/DnCcCnPq X-Received: by 10.66.248.193 with SMTP id yo1mr10615448pac.6.1387239414638; Mon, 16 Dec 2013 16:16:54 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.108 with SMTP id g12ls2299245qej.81.gmail; Mon, 16 Dec 2013 16:16:54 -0800 (PST) X-Received: by 10.58.23.33 with SMTP id j1mr5167584vef.27.1387239414471; Mon, 16 Dec 2013 16:16:54 -0800 (PST) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id a6si4374182vdp.39.2013.12.16.16.16.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Dec 2013 16:16:54 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.170 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.170; Received: by mail-ve0-f170.google.com with SMTP id oy12so3861969veb.15 for ; Mon, 16 Dec 2013 16:16:54 -0800 (PST) X-Received: by 10.52.188.202 with SMTP id gc10mr11737vdc.84.1387239414381; Mon, 16 Dec 2013 16:16:54 -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.220.174.196 with SMTP id u4csp29239vcz; Mon, 16 Dec 2013 16:16:54 -0800 (PST) X-Received: by 10.43.49.132 with SMTP id va4mr122956icb.79.1387239413730; Mon, 16 Dec 2013 16:16:53 -0800 (PST) Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by mx.google.com with ESMTPS id n7si12235203igj.31.2013.12.16.16.16.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Dec 2013 16:16:53 -0800 (PST) Received-SPF: neutral (google.com: 209.85.213.173 is neither permitted nor denied by best guess record for domain of al.stone@linaro.org) client-ip=209.85.213.173; Received: by mail-ig0-f173.google.com with SMTP id uq10so5041038igb.0 for ; Mon, 16 Dec 2013 16:16:53 -0800 (PST) X-Received: by 10.50.114.168 with SMTP id jh8mr666967igb.6.1387239413214; Mon, 16 Dec 2013 16:16:53 -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 j3sm12877632igj.9.2013.12.16.16.16.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Dec 2013 16:16:52 -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 v4 2/5] ACPI: bus master reload not supported in reduced HW mode Date: Mon, 16 Dec 2013 17:16:38 -0700 Message-Id: <1387239401-13918-3-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1387239401-13918-1-git-send-email-al.stone@linaro.org> References: <1387239401-13918-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.170 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 86d11a6..b91dcaa 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 */