From patchwork Fri Oct 28 14:08:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Marussi X-Patchwork-Id: 12320 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp858742wru; Fri, 28 Oct 2022 07:19:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4IWqXfQBzeoSbyeOVTxunvgPIlDUJDN5ia5uilw0NHn+9kw/Zaz7d6rnl5m1TDCRpCGZUe X-Received: by 2002:a63:de46:0:b0:46e:c3bd:e47d with SMTP id y6-20020a63de46000000b0046ec3bde47dmr31843900pgi.609.1666966763749; Fri, 28 Oct 2022 07:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666966763; cv=none; d=google.com; s=arc-20160816; b=pPc1aeFEckPOZFwNCYNQI2UX8N6edu0mcgdkqtpnRIsqnbjgXKDL1Gbdje0tfMLXp3 B5KqbH7ymB4R/Y5wxegBYKLq+l7qLKpJfn1//noPlvBDcE+v1wSVetef0mSj1/SKfR1o cf6ocIEXdnbL64dEKsnsUCpU9gb6OiYO2L74cV+mEhm+SE4VEJJfnK6wrkzfHWvVvFCU d89lWO/ZJZHTwjRpdYnATrNvZcbpApS+IqjXgcEJtFrX0NHyQl+dxqkiIPV3BTxE2BkT Hd+gJQn1kgeuU2flPatGbUhTZI2rQYwfq6K2GZ/M7JokbMR9cEX/1ABQDBiTnZG3//cs EFXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HB69rOwbzG6hLeCkNDADKzZetOqmvaoJLVWAbCsnn8Q=; b=xRQjwY2YSBp5c7ROwBOKUNItBDDaFbgTjJDjVIgfZ6R6BGuWOt3TIlYg6xJYp8CxXx UnxDMgs+5SZ0k+aLnPDu6Q4k0xQYX7tnn8WOy4rJtu1S6xL28dEBpn6YXtYnyM/0dIEj xwW0A84EvUYTeUgcZ9L2sEMDUdHr1Eu5Ai7BMNaQPAlsoZEYShHdvDgg6C3U5JZVCkaa 4LHa6dycH893yL1xPyot+ssJKlYoBQLGh6+iR1EU2je/InkQhvk8T3jfrXFJLG6hPSEY sfgV1c6Ud4C0WUihQF9SXPfdMRDl0bbit3RSF60Vel1O5i5i1jxrftk0A2o7Tgukzo5h EcKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a170903244700b0017ebdf9ca1bsi6253155pls.464.2022.10.28.07.19.09; Fri, 28 Oct 2022 07:19:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231477AbiJ1OJK (ORCPT + 99 others); Fri, 28 Oct 2022 10:09:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231417AbiJ1OJG (ORCPT ); Fri, 28 Oct 2022 10:09:06 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BFB771E047D for ; Fri, 28 Oct 2022 07:09:05 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CC62923A; Fri, 28 Oct 2022 07:09:11 -0700 (PDT) Received: from e120937-lin.. (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CE2883F534; Fri, 28 Oct 2022 07:09:04 -0700 (PDT) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, cristian.marussi@arm.com Subject: [PATCH 2/8] firmware: arm_scmi: Suppress bind attributes Date: Fri, 28 Oct 2022 15:08:27 +0100 Message-Id: <20221028140833.280091-2-cristian.marussi@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221028140833.280091-1-cristian.marussi@arm.com> References: <20221028140833.280091-1-cristian.marussi@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747941341177290867?= X-GMAIL-MSGID: =?utf-8?q?1747941341177290867?= Suppress the capability to unbind the core SCMI driver since all the SCMI stack protocol drivers depend on it. Fixes: aa4f886f3893 ("firmware: arm_scmi: add basic driver infrastructure for SCMI") Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c index 7e19b6055d75..94be633b55a0 100644 --- a/drivers/firmware/arm_scmi/driver.c +++ b/drivers/firmware/arm_scmi/driver.c @@ -2578,6 +2578,7 @@ MODULE_DEVICE_TABLE(of, scmi_of_match); static struct platform_driver scmi_driver = { .driver = { .name = "arm-scmi", + .suppress_bind_attrs = true, .of_match_table = scmi_of_match, .dev_groups = versions_groups, },