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: 48962 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD2B82121F for ; Mon, 25 May 2015 21:50:22 +0000 (UTC) Received: by lami4 with SMTP id i4sf23741840lam.3 for ; Mon, 25 May 2015 14:50:21 -0700 (PDT) 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=UoqnKTmUmQKlsTkGJPN7uLE1VkzQnK28yzvjgtlwLyI=; b=G4taN6LLm49F7iyVt8n0yDXV8M7VpxyDMgsBp2hSlGahkmbl0xCLn4e1yskm88KDP0 H4IOdkOkGthdJGHKybPgf4TBjQ8WvE5YwxcOd9ShfbhJ3j77vgHcl7TRkLXBCnBEQ8QQ XNx68Yyig5+vFGGIka4RIGU95nK04cAxJHuKD4/OcdIvXHVNZZV0Yw9EdC/iYmc+Ckl7 cvcjqbsSRrfFICU0vmi6FlgyG7YMEHcV4SE6wf19Kt4Ju2005+0R2ur0kwnLATXZzQYe UcmQFs5i9suG5u92X/V1OJ10Xie9Cx0n+n4L6Ws8irRZXPnhDMdxo0botT7uU5RDBaE0 xYag== X-Gm-Message-State: ALoCoQlqQsvQ+72kpNOM2yTfPeWWTyvSCmzD2J8ForglngNtxhEExLjKsgE9YL6Km3KqGPHrmU8N X-Received: by 10.112.53.102 with SMTP id a6mr24160697lbp.16.1432590621684; Mon, 25 May 2015 14:50:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.39 with SMTP id kv7ls823260lac.63.gmail; Mon, 25 May 2015 14:50:21 -0700 (PDT) X-Received: by 10.152.25.227 with SMTP id f3mr19307384lag.67.1432590621536; Mon, 25 May 2015 14:50:21 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id t2si9303370lbj.163.2015.05.25.14.50.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 May 2015 14:50:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by labbd9 with SMTP id bd9so55792489lab.2 for ; Mon, 25 May 2015 14:50:21 -0700 (PDT) X-Received: by 10.152.29.34 with SMTP id g2mr12794950lah.73.1432590621374; Mon, 25 May 2015 14:50:21 -0700 (PDT) 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.112.108.230 with SMTP id hn6csp2099237lbb; Mon, 25 May 2015 14:50:20 -0700 (PDT) X-Received: by 10.170.188.138 with SMTP id f132mr23996763yke.63.1432590618193; Mon, 25 May 2015 14:50:18 -0700 (PDT) Received: from mail-yh0-f46.google.com (mail-yh0-f46.google.com. [209.85.213.46]) by mx.google.com with ESMTPS id f132si7039680ykc.169.2015.05.25.14.50.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 May 2015 14:50:18 -0700 (PDT) Received-SPF: pass (google.com: domain of ashwin.chaugule@linaro.org designates 209.85.213.46 as permitted sender) client-ip=209.85.213.46; Received: by yhom41 with SMTP id m41so25616881yho.1 for ; Mon, 25 May 2015 14:50:17 -0700 (PDT) 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 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ashwin.chaugule@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) 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: , 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);