From patchwork Wed May 19 17:01:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 12268003 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 581F9C433ED for ; Wed, 19 May 2021 17:04:21 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C384861363 for ; Wed, 19 May 2021 17:04:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C384861363 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Qb4wlzjuQlmVsvOupQB5xcG5LPAh94EmaxQVXPkZ7ls=; b=OwwiwP3FHikNrYkd1sb5tuuDSk CNaXUZsYL5TScH6Mf0o/+oXG42g7320fTWyL2vJiT7CAni3Mc2xPXy8VrT/sk2Dmeec9M+6oR9Kq3 DzISZzfmYqx1DH8T0D1AqChINZWq+RLWdQR7slCQozVTfAF20seoeUE3/tR8/nsRTigOiOBGvXX/D wqGcpCVfkn3DrajCj0KK/FPl5cSj1WRYQRA3ogUp5yT9uwjZrjOP68qm4dKAcSlVNNKYDmEnDsk4H c9xTjhqnp7PElNRz9m/ze/HqG3CUHQaSPfpI5M2C/4zGb/GSecj4jgFbKbmlvaYAaOjHeX7UIbV61 IvsY6EPg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1ljPal-004bW3-NF; Wed, 19 May 2021 17:02:44 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljPaZ-004bU8-Eb for linux-arm-kernel@desiato.infradead.org; Wed, 19 May 2021 17:02:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=tGWKO5u7gpqNCAE2Ums4MXR4h+ThFKB7vvcoqwCqQfo=; b=gurKzgUtqetXNSwyE52/Z3XAdj pQDR6bzEbi0rcC3m0/SlHbrEjzI3B3/rVOYGBlZTXTeh7ZBf5Z1ZMTNhtTEbu/f/FKOiSrJirn0b0 v37LHQtBs5rN5CGCmtvw6hCyHO3jvMwyZPgt4OKzvUolnPrapIEk1/Q2ihym/FTAYPw7LL6L3iQBZ XJjD83NUPE0qzTz9TtDfdz/YMlTQI8AdwVIoowgp9YL7eRYYA7kolBOTtBkCJiCnPInzSWnlkmmWU bmpSOkWYNbsoIK0E2zIDPaHoXug69TnSoT28mm/b7ORUq8PIcQAyX1siw2mNSShOgk9yb5KPDcD8o Iw2Oj/Hg==; Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljPaV-00FeEw-N3 for linux-arm-kernel@lists.infradead.org; Wed, 19 May 2021 17:02:29 +0000 Received: by mail-wr1-x42b.google.com with SMTP id z17so14761899wrq.7 for ; Wed, 19 May 2021 10:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=tGWKO5u7gpqNCAE2Ums4MXR4h+ThFKB7vvcoqwCqQfo=; b=Srn/M9pbAH/Y4bbXNXDSEChfg4VZJITbIPL3sH1PFlhwbn7zX+0YsUIFi6hRgck+b4 O08gyrw7cZnaMaF/DAoecVKa9TfhKFYXaY3OQotkemHeCfS27I6eUMEX4kWMgNn1jo5s YD7Z2haTrtxqri4453WaG0dzJMcJJJR/nPhLxVeHgzXanHwlMJ3I3lgkqHBda41Ngf/I 8m0ZWzsYzQOMWEUCXoZBKjpQ3/FGPE6yID0Dv81CHZpmR5UgZe2EfOVqeQZWa33RV5kt oLrCNOYkm+SFRdBP2RzWTLJoErIxZMnwuGA4UBsXrWucIIx23f6DtJidyqNFORFMwauS DPDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tGWKO5u7gpqNCAE2Ums4MXR4h+ThFKB7vvcoqwCqQfo=; b=LEUlDmmdbPjuVz/FlrmdBKAaGl0geC2XnoXPXsqLRBXnwq0qIFt8CieCPCRniZSXVW 8wXb2sYwSKVDp7ZdvK5sQly4zBjGRjOsfbiCzSlzn5vpFJWRleMo5UoRp5Sp3bgl1CnH nyzzAZdQmRA4SxJUlZ3wkhiVlo65fWBN/JB6s23l67qENsASzWOOG97MsMFq5/4qMuri fa55pls0bt3j1j1dALsyizXX+X/FCLxXtYjiEnVYiyFcc+F8rGZcFKSNnrDozmTVxQf+ 7Az3xl0Nu7Oh+3dTivO+ZlgNnRdR3yAsWE98JVCkVL4yAMz8a+bcHd/Gggbd2QKJRAcq spLg== X-Gm-Message-State: AOAM531XfptscGPQfjgLsNe87orxBjCb7TQrdACdlTkSZqAib1n0tjx/ 8w+k5vu4QmmqYuMZ2SktJi5yJA== X-Google-Smtp-Source: ABdhPJz1O7BqkGxZa6eDlyAv6XN+9R0/JKmc7TvGyLZte6b6EI/WtKG+sa00F0QHu6h9Rb/gRbvM5g== X-Received: by 2002:adf:e4c8:: with SMTP id v8mr15842465wrm.345.1621443745369; Wed, 19 May 2021 10:02:25 -0700 (PDT) Received: from lmecxl0524.home (2a01cb058b850800205e07f10870202e.ipv6.abo.wanadoo.fr. [2a01:cb05:8b85:800:205e:7f1:870:202e]) by smtp.gmail.com with ESMTPSA id q1sm6390561wmq.48.2021.05.19.10.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 10:02:24 -0700 (PDT) From: Etienne Carriere To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Sudeep Holla , Cristian Marussi , Vincent Guittot , Etienne Carriere Subject: [PATCH 1/3] firmware: arm_scmi: fix deps arm-smccc-discovery deps in Kconfig Date: Wed, 19 May 2021 19:01:56 +0200 Message-Id: <20210519170158.27586-1-etienne.carriere@linaro.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210519_100227_825235_F3267F34 X-CRM114-Status: GOOD ( 13.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ARM_SCMI_PROTOCOL depends one either MAILBOX or HAVE_ARM_SMCCC_DISCOVERY, not MAILBOX only. This change fixes this in Kconfig file and driver private header file. Signed-off-by: Etienne Carriere --- drivers/firmware/Kconfig | 2 +- drivers/firmware/arm_scmi/common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index db0ea2d2d75a..a9c613c32282 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -9,7 +9,7 @@ menu "Firmware Drivers" config ARM_SCMI_PROTOCOL tristate "ARM System Control and Management Interface (SCMI) Message Protocol" depends on ARM || ARM64 || COMPILE_TEST - depends on MAILBOX + depends on MAILBOX || HAVE_ARM_SMCCC_DISCOVERY help ARM System Control and Management Interface (SCMI) protocol is a set of operating system-independent software interfaces that are diff --git a/drivers/firmware/arm_scmi/common.h b/drivers/firmware/arm_scmi/common.h index 228bf4a71d23..8685619d38f9 100644 --- a/drivers/firmware/arm_scmi/common.h +++ b/drivers/firmware/arm_scmi/common.h @@ -331,7 +331,7 @@ struct scmi_desc { }; extern const struct scmi_desc scmi_mailbox_desc; -#ifdef CONFIG_HAVE_ARM_SMCCC +#ifdef CONFIG_HAVE_ARM_SMCCC_DISCOVERY extern const struct scmi_desc scmi_smc_desc; #endif