From patchwork Fri May 21 13:40:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 12273227 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 71495C433B4 for ; Fri, 21 May 2021 13:43:30 +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 F10AE61163 for ; Fri, 21 May 2021 13:43:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F10AE61163 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=qrBpIj0mDQcR4d51RREa3d7ecHAycXbXUvcITUDYKLQ=; b=cY8gOcZT9/mN9VK0sb9ZNKC2w3 m7TNrXdgu8xrkI2q5kHGXrCHTvHZlZOfjPuLjIbfDPXcjGGRGJNz7rvG7GDTtPUtaObfsyoIXjOXB 8OEIosyXYUFTkIz2yCQbKdq1EN5Rwbq7THL4KU1bV9qB3Snp8xWrAv8Izl5LjVqcZ4Rk1aukVAcG8 OcATKpFs+nK4OplI/keyj4Ynm0msy1hJ5g5ED40Ghae0lfoXuBVAQqwDLuHFvQIF9BbN/UQhGPlKs TXvO/bh6vLdHbwVjUsn47WzaVIjJ8VMIXBXCcSipaP6N+nYz3zSTM4Vphx6UBYFTZFPo7f+5/wkiG /m4Ue4Bg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lk5Pa-005aRq-L6; Fri, 21 May 2021 13:41:59 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lk5Ok-005Zw0-Bh for linux-arm-kernel@desiato.infradead.org; Fri, 21 May 2021 13:41:06 +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=OrsL3ijuFSJ3ZZgJ9AxoZPMhh9aQmo9XUjzO0XjBs/0=; b=LO5UvFsfbWu13f3sdgNjdIoXBk eEvvjlJTtasc0eKDY4rvacwQBFhw4lV9+jvfuHdO15y+0LzpKJFLFlnLcBdncBjOpeXiZXKrtIM8Y WcMwvW1ShAWfuAhgXv9aWIxf/4FC69omaRKoYi2rkdQf8O7V+e2tMmYXt8O7YE9Rkvs7f4GedfP9u SgS0asC+0Tstl/KAf6ZJGmtmyo2AUcJOFxtvP9OgGFCmtMSeV/BfQ7eoq5o0s6Z8asMEcqVWaEumT WSHK4IZqDykpzE1XwRqseltdBa38HXSP12IQlwOcbuALVI07VsgD9ZR2qyeOgU7PKmNcMs/nq5P+n 68pjZN5Q==; Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lk5Oh-00H9nX-So for linux-arm-kernel@lists.infradead.org; Fri, 21 May 2021 13:41:05 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 62so10142238wmb.3 for ; Fri, 21 May 2021 06:41:02 -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=OrsL3ijuFSJ3ZZgJ9AxoZPMhh9aQmo9XUjzO0XjBs/0=; b=ISHFNr4RS6qw0pElX+tFiTJdSzm/pDscdwn2Jk0uOFOAW0hvfsBxw+omu/rd/T72DI KHrTvEN7ZYAQAyYGqqI38syyVLaBzqmPoIItwzSCf4Cnnk5qBl8BkZcdebrSjTnrN2Ma SXu+JEMBVcQ9BANF6NGSwXhBG9cXuD/i7jwe9rmfucyUHfCJMoMvARkYhyTtzX/ZNIEA HTjY3jwbaGAbBHMPaG5jPmI9icdbcPFG1baAPT+a1XQ3s3hqIioIamsA3Odqcljy9cpU TLjZrEhh7vIIUasczmsIXV3MROsfxdZDI1G6PDlKSOzEtNiLwroSNLWo/zCSFpODd1Up WqVw== 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=OrsL3ijuFSJ3ZZgJ9AxoZPMhh9aQmo9XUjzO0XjBs/0=; b=hTgh69UPn0F5CK2Q0+DthhncqsdPaIu/cxhf1/UQ1rFOjNTHtFOSudfG+tYy7hF7/5 Ps3PF1NvSExtN0zSGFzHILBmnej45Qwgx7vdErXoLIYpyjF7dbLul7Rr986uZfAokZDu KH34UMOeD0epiSF5q/R18FTnmuYtZihAz98EsCy9EJ5avFfZuD487mJKrA1vv7/bJb8T d0J5wVE1KbDemBN+ttaRhnABrbIEHfa6WgpGwW2XiMtJEexzOctWffuFD6q20K5CsoAk x2XPkZWPXOtHZefDONUseCxwe8Z9/xPSWS/wkMDWC+Wzlmm25NEILbkxs7q/Ur8S8uES PcQw== X-Gm-Message-State: AOAM533+bDn6MO4BNWcTRXwn4BNFv/7hCf2bxyPdoh9EfjIxnub6p+8P 1rTbv/KreSkfd0fdkw8rCi7N3Q== X-Google-Smtp-Source: ABdhPJwYojvyeIOiL145Xr6wOf8/7FX0+5qHz+5IsU9AvaTL+XeekddE0zQe+K/uhzbxmNCjamROjA== X-Received: by 2002:a7b:c252:: with SMTP id b18mr8938970wmj.32.1621604461145; Fri, 21 May 2021 06:41:01 -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 v3sm2161372wrr.19.2021.05.21.06.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 06:41:00 -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 v2 1/4] firmware: arm_scmi: fix deps arm-smccc-discovery deps in Kconfig Date: Fri, 21 May 2021 15:40:51 +0200 Message-Id: <20210521134055.24271-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-20210521_064103_949924_7902CB36 X-CRM114-Status: GOOD ( 12.72 ) 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 Reviewed-by: Cristian Marussi --- No change since v1 --- 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