From patchwork Wed Dec 4 21:22:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 22045 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 99F7323FCB for ; Wed, 4 Dec 2013 21:22:51 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id oz11sf38599517veb.4 for ; Wed, 04 Dec 2013 13:22:51 -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=MVXr3yLaLBA7d28j1pWeYGvHlo6eKrGiPO88DdkgbiQ=; b=lIKv0syONIJU7paThlHbcV836QSPZBybmlU44S1AMBFaSH7aoySVp1pKMMl20sUsiB GReEBjggOE7iM2XXMMRzhNea6MLyvazSREGXj2WH845Qqmy7oPQxeP1nHXI0ki1nt1Dh iUcLp3KhRT8w8YytcFiKaI4B7ALiK7vjpnta/uECeC0PcOPcCV8N6C1KhwKsyCphL4KX GGgICXfNHs3EWGUQcgEj1mGW2+ZbjLHldqpBCpwd/ZJkBCZ4jSe28qUxwxkIOGRs2i+r wmvcAjQQ7LLtVU3V9+A0HX3KgaUmpL8qZD48ucJxsTITW42FXe/gaX/ktXeiZ8Fuxfm0 Oufg== X-Gm-Message-State: ALoCoQnh/PeciS8Hg/mwLZ+n9DGW9gKwvBiNSjmO+bi5HkaE9O6cRlSxQ1/sLBtJ0TmLzV+gRwew X-Received: by 10.236.102.40 with SMTP id c28mr23817836yhg.11.1386192171065; Wed, 04 Dec 2013 13:22:51 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.110.198 with SMTP id ic6ls579630qeb.29.gmail; Wed, 04 Dec 2013 13:22:50 -0800 (PST) X-Received: by 10.58.233.98 with SMTP id tv2mr60706864vec.11.1386192170913; Wed, 04 Dec 2013 13:22:50 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id g4si33292038vch.148.2013.12.04.13.22.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 13:22:50 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 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.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so12496769veb.26 for ; Wed, 04 Dec 2013 13:22:50 -0800 (PST) X-Received: by 10.52.28.78 with SMTP id z14mr12456vdg.54.1386192170726; Wed, 04 Dec 2013 13:22:50 -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 u4csp325085vcz; Wed, 4 Dec 2013 13:22:50 -0800 (PST) X-Received: by 10.50.73.130 with SMTP id l2mr2935488igv.2.1386192170038; Wed, 04 Dec 2013 13:22:50 -0800 (PST) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx.google.com with ESMTPS id m1si5486497icx.68.2013.12.04.13.22.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 13:22:50 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.176 is neither permitted nor denied by best guess record for domain of al.stone@linaro.org) client-ip=209.85.223.176; Received: by mail-ie0-f176.google.com with SMTP id at1so26730590iec.7 for ; Wed, 04 Dec 2013 13:22:19 -0800 (PST) X-Received: by 10.50.176.201 with SMTP id ck9mr2930659igc.46.1386192139923; Wed, 04 Dec 2013 13:22:19 -0800 (PST) Received: from fidelio.ahs3 (74-93-232-46-Colorado.hfc.comcastbusiness.net. [74.93.232.46]) by mx.google.com with ESMTPSA id f5sm6351925igc.4.2013.12.04.13.22.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Dec 2013 13:22:19 -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 v3 2/5] ACPI: bus master reload not supported in reduced HW mode Date: Wed, 4 Dec 2013 14:22:04 -0700 Message-Id: <1386192127-28564-3-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1386192127-28564-1-git-send-email-al.stone@linaro.org> References: <1386192127-28564-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.181 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 Remove the saving and restoring of 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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 597cdab..8b48c08 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -202,7 +202,7 @@ static void lapic_timer_state_broadcast(struct acpi_processor *pr, #endif -#ifdef CONFIG_PM_SLEEP +#if (IS_ENABLED(CONFIG_PM_SLEEP) && !IS_ENABLED(CONFIG_ACPI_REDUCED_HARDWARE)) static u32 saved_bm_rld; static int acpi_processor_suspend(void) @@ -236,7 +236,10 @@ void acpi_processor_syscore_exit(void) { unregister_syscore_ops(&acpi_processor_syscore_ops); } -#endif /* CONFIG_PM_SLEEP */ +#else +void acpi_processor_syscore_init(void) { return; } +void acpi_processor_syscore_exit(void) { return; } +#endif #if defined(CONFIG_X86) static void tsc_check_state(int state)