From patchwork Fri Dec 9 11:47:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9467997 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 42FC9607D8 for ; Fri, 9 Dec 2016 11:47:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34103285B7 for ; Fri, 9 Dec 2016 11:47:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28377285E2; Fri, 9 Dec 2016 11:47:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A707F285B7 for ; Fri, 9 Dec 2016 11:47:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932677AbcLILrh (ORCPT ); Fri, 9 Dec 2016 06:47:37 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:52217 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932653AbcLILrg (ORCPT ); Fri, 9 Dec 2016 06:47:36 -0500 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0LbrjI-1cyJW41aL6-00jIE5; Fri, 09 Dec 2016 12:47:32 +0100 From: Arnd Bergmann To: Ohad Ben-Cohen , Bjorn Andersson Cc: Arnd Bergmann , Srinivas Kandagatla , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] remoteproc: qcom_adsp_pil: select qcom_scm Date: Fri, 9 Dec 2016 12:47:02 +0100 Message-Id: <20161209114730.3780719-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:/a24a6m2Y7Tfl2HvYwbbmu5gA9iND7+SdzR8HsiLIZRo3fvPgey WmvBJe+yNZ39CZWsLqIgEOYssRTsFeAOAR2JFC94nGo4CGgAPuR9JXJ98eYfDrO/Q4g9E3D wFwQWDw8KCOSI1Wkzo2iMspGAtY6Ly1mrVDcpZx/tbJhNkzywANyZlt+PmI9CczG4RoCbYo VfApcNsdImK90H/6WIeuw== X-UI-Out-Filterresults: notjunk:1; V01:K0:TNAJs/gqKDE=:VCwqb5MrTSAD48T9OhJtF7 cbAqCq2C92oIy46WydkjVjIkHE5t937sNfZ1/Pj0zbGPhJF5OtaiAIvmQbW1EGqGVPQHV5o/n x9dr19x23d5odiHjq5gV1b3Fo4JeZ5U8EqZcax8Zuzkp3MuzwJ9p1h/Mo3ItSGEQMzU1tulhX sQ6S6fPBPxxIMKeEe34AMMl8/wdsHglSyqogZg93uEN3oDau1vKi9V18KIvxPxsI0Q1HPTjLd IOuMfyffIrbXN7+lSQrhPy8rN0loCkWzOVVObYHkHOsxnEhPk7ppD8Wkr5xHzOsfWhn4livc1 RDUMmsNIcigvFmirGfu7d/mG2WhK7Fdhlarz6UjfbV7a8zz9A6/9HrLv9S29MgBOD4vFiQyoT BmHRvkR1uwzWjcdZagke0/n1WVXh1PDSNqx7SPGwRyrhp5/Y5kmUbDT1VAXwCEdCbsGJq9xLB IXofIdDoRWJa0nn2TrvUZvtXlkpfWfxC4l+kw0L6Vo+JiUGKNhOcc33QJTVN/wtHroMwQRrHb vzpt7W3pQNQmoYf49OSR5yAircHZVqvRrdFV1lPJJmcN4vExi9x7uVcjUw4hb2cpdPg3Dnk0W bN+IfeaDnM7rfY5j2c5G7rYecdw0tiWK/Zl2rmsnrY2Hw1xff8+EU7+ZnGfZAhPspkiN8b1fU 6RXw/gYGWZPAFnQQc2wuoteOxy7JWmIOrS7ZNuwC52LZ7RPStDNNhrkHUlplhQ9rSDoY= Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The adsp-pil driver relies on SCM and causes a build error without it: ERROR: "qcom_scm_pas_supported" [drivers/remoteproc/qcom_adsp_pil.ko] undefined! ERROR: "qcom_scm_is_available" [drivers/remoteproc/qcom_adsp_pil.ko] undefined! ERROR: "qcom_scm_pas_auth_and_reset" [drivers/remoteproc/qcom_adsp_pil.ko] undefined! ERROR: "qcom_scm_pas_shutdown" [drivers/remoteproc/qcom_adsp_pil.ko] undefined! ERROR: "qcom_scm_pas_mem_setup" [drivers/remoteproc/qcom_adsp_pil.ko] undefined! ERROR: "qcom_scm_pas_init_image" [drivers/remoteproc/qcom_adsp_pil.ko] undefined! This adds a 'select', as SCM is a silent Kconfig symbol that gets enabled implicitly by all its users. Fixes: b9e718e950c3 ("remoteproc: Introduce Qualcomm ADSP PIL") Signed-off-by: Arnd Bergmann --- drivers/remoteproc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 51d7ca0e10fc..1177329b7618 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -85,6 +85,7 @@ config QCOM_ADSP_PIL depends on QCOM_SMEM select MFD_SYSCON select QCOM_MDT_LOADER + select QCOM_SCM help Say y here to support the TrustZone based Peripherial Image Loader for the Qualcomm ADSP remote processors.