From patchwork Mon May 25 21:50:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashwin Chaugule X-Patchwork-Id: 6477221 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9AE6DC0020 for ; Mon, 25 May 2015 21:50:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C64732041B for ; Mon, 25 May 2015 21:50:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A458C203DF for ; Mon, 25 May 2015 21:50:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751021AbbEYVuS (ORCPT ); Mon, 25 May 2015 17:50:18 -0400 Received: from mail-yh0-f54.google.com ([209.85.213.54]:36048 "EHLO mail-yh0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbbEYVuS (ORCPT ); Mon, 25 May 2015 17:50:18 -0400 Received: by yhrr66 with SMTP id r66so25575106yhr.3 for ; Mon, 25 May 2015 14:50:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UoqnKTmUmQKlsTkGJPN7uLE1VkzQnK28yzvjgtlwLyI=; b=QOOVLbrOoifOYRaGmwgeZYLW8GGmlP1dvuevUdjYGOEcpzMB7RUTI1VFj6mp/ihxEb vsdmc4iqBl21rAmP9UMdkejbXfrFjXslx2cuZ4r1N2GflPM/HEKjKCa4ynXt73/X0GDO bZz86LEdu8at6hZGmFQQoxEeCwr8TqUH1MqCBlN+IP7j1S6RRVSycj7vAJ6vSkuRlA3I 6pIabSCBgtul1Pz3ZhAthrcEMqcHc6pqVt/xmqWyrgYG+6aNouDgszwqlNHRIuAgxYKN XrqK29wAvrhJ126UOyL3UaBwO9aWIUd/mIUIbd9SGl7zkExX1NzxCWNTASDdNQlnLPz6 y/8A== X-Gm-Message-State: ALoCoQln6Pa1hXULckOgXwiw+kIIDxEHSOyyIYJdJcC1nX7wdSeaqQk0q1A6aIAkP6E0itoLZpRO X-Received: by 10.236.34.234 with SMTP id s70mr21037646yha.142.1432590617409; Mon, 25 May 2015 14:50:17 -0700 (PDT) Received: from esagroth.lan (cpe-174-109-47-171.nc.res.rr.com. [174.109.47.171]) by mx.google.com with ESMTPSA id h69sm9863645yha.26.2015.05.25.14.50.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 May 2015 14:50:17 -0700 (PDT) From: Ashwin Chaugule To: rjw@rjwysocki.net, jaswinder.singh@linaro.org Cc: linux-pm@vger.kernel.org, linaro-acpi@lists.linaro.org, patches@linaro.org, viresh.kumar@linaro.org, sudeep.holla@arm.com, Ashwin Chaugule Subject: [PATCH v5 1/6] PCC: Initialize PCC Mailbox earlier at boot Date: Mon, 25 May 2015 17:50:10 -0400 Message-Id: <1432590610-8968-1-git-send-email-ashwin.chaugule@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This change initializes the PCC Mailbox earlier than the ACPI processor driver. This enables drivers introduced in follow up patches (e.g. CPPC) to be probed via the ACPI processor driver interface. The CPPC probe requires the PCC channel to be initialized for it to query each CPUs performance capabilites. Signed-off-by: Ashwin Chaugule --- drivers/mailbox/pcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c index 7e91d68..8809587 100644 --- a/drivers/mailbox/pcc.c +++ b/drivers/mailbox/pcc.c @@ -352,4 +352,4 @@ static int __init pcc_init(void) return 0; } -device_initcall(pcc_init); +postcore_initcall(pcc_init);