From patchwork Mon Oct 24 11:29:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9103 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp456064wru; Mon, 24 Oct 2022 06:33:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM78nv2rTuJnGbgGkVeW7ZHa67U78MtU3mPKpbKe58beSWFFllecrLwlccLg9fMJb3382Sdo X-Received: by 2002:a17:902:8542:b0:186:75ee:baac with SMTP id d2-20020a170902854200b0018675eebaacmr18485177plo.35.1666618410924; Mon, 24 Oct 2022 06:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666618410; cv=none; d=google.com; s=arc-20160816; b=noekIvHc9IgK1UqVL4CfJlTLdSFjmlQRfKWzrW5VZfHdVPs/QysO9fJ3L+QQB477YN DMgBonuc+L6lYrHdGH2qBTvi494H6/0hWhv4e9u7rHBUMVIflAKeJ+659NfT1RwFkNsV kdzwIugC6k7M8sIbjOOqi9ZiWuIKlYoPpmcepVomYg/5h+3xWknWaM1mdGhUy0QVLk7m ye6WJ14QfuBxzgsViZH1VOxYkt4sYanbB58isb29fGPXA0Env/BOB9l8Zg+L52JXy3kj Xm+BRwjS5I73jloLe9wzV3hi7n9uL66gv13kjniwkx+F3l0Vl8H6Vr2tYPvyBtX8AgWv MvUg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=h6mcr7WyzJ7D+Vdq/X1BWz2DpcG9UrxERsWKBuU4TnE=; b=R0XV70I7f0uyB0uZUnhHpB0es4A/MdLaoXkQc/ufEi4FjRX2CI2kXxG3TFm7GiB/OV egJ/NqPyW977qdLmEdPS3o488l9ZaMmrU6wLiyakdIiFUmbE/DwZMYfLS6JXoMXds23h dV0OIkYc0NN/7J5QLkEPRnY0+2w9/M5KjkLkEqBmGe828EmRg83+P1g2FC9+MGASYI1E pfySAFTJW7aubzs1o/s9h1pFIHNNght0GTR9sWsKU4HZhq8KOBDf8LKCphChJOJsSe8M OZ5UN3gjBLOFmk+LKqwL/NDFm8pARks/GCGxtUWYgGfvJck5g4nrxo8cX1Rk7yRMQPf+ e66Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xHCTHEeY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a654889000000b0043c7b0510c1si36548275pgs.841.2022.10.24.06.33.15; Mon, 24 Oct 2022 06:33:30 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xHCTHEeY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235665AbiJXNPA (ORCPT + 99 others); Mon, 24 Oct 2022 09:15:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235776AbiJXNM5 (ORCPT ); Mon, 24 Oct 2022 09:12:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80AA82E9CF; Mon, 24 Oct 2022 05:24:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CD1B0612FD; Mon, 24 Oct 2022 12:23:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF5F3C433D6; Mon, 24 Oct 2022 12:23:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666614229; bh=HQosdGr41cp0NFgCCjWe9LaRMBUwVhJBGCi8A5OeLws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xHCTHEeYCYSdQWKdsp/ZyRs00pGwC69xOxe237sOvVyMAXhKyuohLLRGcvk+uJo1d r8VHcTIOd24vrlQ9kOe77oBBtEUCL3f+i3xSU9awekAz1zRPMyZbllUtb6rPXD4Ozi 7gRv0oubuSvk5Dp6oz5QgGTdmLK9UhLXeukMSbjs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Necip Fazil Yildiran , Dmitry Osipenko , Sasha Levin Subject: [PATCH 5.10 180/390] soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA Date: Mon, 24 Oct 2022 13:29:37 +0200 Message-Id: <20221024113030.413695152@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113022.510008560@linuxfoundation.org> References: <20221024113022.510008560@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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?1747576066744313021?= X-GMAIL-MSGID: =?utf-8?q?1747576066744313021?= From: Dmitry Osipenko [ Upstream commit 2254182807fc09ba9dec9a42ef239e373796f1b2 ] The DMA subsystem could be entirely disabled in Kconfig and then the TEGRA20_APB_DMA option isn't available too. Hence kernel configuration fails if DMADEVICES Kconfig option is disabled due to the unsatisfiable dependency. The FUSE driver isn't a critical driver and currently it only provides NVMEM interface to userspace which isn't known to be widely used, and thus, it's fine if FUSE driver fails to load. Let's remove the erroneous Kconfig dependency and let the FUSE driver to fail the probing if DMA is unavailable. Fixes: 19d41e5e9c68 ("soc/tegra: fuse: Add APB DMA dependency for Tegra20") Reported-by: Necip Fazil Yildiran Link: https://bugzilla.kernel.org/show_bug.cgi?id=209301 Signed-off-by: Dmitry Osipenko Signed-off-by: Sasha Levin --- drivers/soc/tegra/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig index 976dee036470..676807c5a215 100644 --- a/drivers/soc/tegra/Kconfig +++ b/drivers/soc/tegra/Kconfig @@ -136,7 +136,6 @@ config SOC_TEGRA_FUSE def_bool y depends on ARCH_TEGRA select SOC_BUS - select TEGRA20_APB_DMA if ARCH_TEGRA_2x_SOC config SOC_TEGRA_FLOWCTRL bool