Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4533755rwb; Tue, 8 Aug 2023 09:48:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIMQ72jDusROVAG6rgFraajaJgI+xUgBOXovF5j8Jcpb81UQ/bc0sngaC1CZFAgkv93dzs X-Received: by 2002:a17:902:d510:b0:1bb:91f2:bb3e with SMTP id b16-20020a170902d51000b001bb91f2bb3emr216245plg.49.1691513306693; Tue, 08 Aug 2023 09:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691513306; cv=none; d=google.com; s=arc-20160816; b=fKfTOwHHxrBF+nj1xvpBG6gkoYTeKItVZDdGDIlor5zcEVm5kQT8uHlgzFXoaIRqZB /oBjlskyg8uQOic+K0bcXJFdw4/PDZRoKEQpaGk0U3ABH2onH6ufIz0fy4Sdol8lyoC0 5E9OdTgM7J410mSa4AJWSyO8ns+OgX2CwWIgIVUKuHvPwXxp+Zt6/FXMZhLLF5tl/ykb eYaJfXLU4bCTcBd+heXQpleXTy3DNr5v6nvXU05rtrM/MscAFHuN3F3zE/6a6WY81YAy g6aD1FVSlMeWOxB8N2fZSNBvzKJ1CjWzG6Yf0uj/3WIZfkAIB1FuK08eZtsS/vvoPKux /vGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3c53ECjVpZG0P9+XBQpgnsYzbDdhEM53b3QWbiBP1fU=; fh=S2k0NMD44j2SDcfESM8tY7Ek7uEuNCCATDOWUq4uTrA=; b=rpqeh2kdpzTO4FW/FxpDpr7O8SswvW9E0q0wajrr/OSnnLRcY41qcquzku1y/S/vL6 hWscTCbvdOT08ufz1QSekEK5b8Z4aX2vi/0CkdTSmKOEF8tqLZhSZ14cjJ/JlDQyMCO8 EdYlomO27jtgI7qbc8wAM/Z9V/Z09/g8DihRpDPM21R9NJIZfJpAYLKcSsDyxHF+r3Xx TNWvVGsTtpdO6HrzsfJAh0913R1OwrbpC3KrP87KVmQhM3pkocCisajrCp5XnFkr4YLi OdRJrGq4+ztVGS3V0s/RUDxPlhWYjVkXlX/slBAmZz2UiO5CkQP8aPWIz92MwqL5GS66 Cdkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="R/gcp1zk"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020a17090301c300b001b7f849cd12si7669447plh.81.2023.08.08.09.48.14; Tue, 08 Aug 2023 09:48:26 -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=@kernel.org header.s=k20201202 header.b="R/gcp1zk"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232864AbjHHQ3u (ORCPT + 99 others); Tue, 8 Aug 2023 12:29:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232747AbjHHQ2i (ORCPT ); Tue, 8 Aug 2023 12:28:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90AEA1252B; Tue, 8 Aug 2023 08:51:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5308D6148B; Tue, 8 Aug 2023 13:23:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C1C5C433C8; Tue, 8 Aug 2023 13:23:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691501000; bh=Ej5BSAcAFQoRKPEbSvr0EDDMbbunYGKnJRjORk2jT44=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R/gcp1zkiO6/9zQgU4exHjrYiN/xwMjr15N8BGZNjHmqU0y8lyh09FNNyLLQUReAz laXy0oBtOFI++WgrR00YOmYy674YKdd4NXIURtcrvwc+C+99DTJakcysGChJpev5Ts FEEaBZD1fGL9RidM/eAE4So6BtKx5tAtx7fu9hJRvVXCNGS++8x4WQHsCIiiNDvtvf YJ6QujQFKhLxa0Caa8ZZU1gj8gWMpn8MuhP8ePwDaNoZHxkoi30/gvJqR7vsSHOh3t 8hxJSiq5SEdlnsgrHDeC+Hw08BhYPuR2F/6cC7+PiZ94qPxE1K3007dbSxDdNpJ9wk fCTnxIJwpfS/w== Date: Tue, 8 Aug 2023 15:23:17 +0200 From: Andi Shyti To: Parker Newman Cc: Akhil R , Laxman Dewangan , Dmitry Osipenko , Thierry Reding , Jonathan Hunter , "linux-i2c@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] i2c: tegra: Fix i2c-tegra DMA config option processing Message-ID: <20230808132317.e6wxml5mo4hz7fjo@intel.intel> References: <20230804215631.wc22pkyetsyyt5ye@intel.intel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 Hi Parker, On Tue, Aug 08, 2023 at 12:42:28PM +0000, Parker Newman wrote: > On 2023-08-06 10:21, Akhil R wrote: > >> > >> BTW... > >> > >> On Thu, Aug 03, 2023 at 05:10:02PM +0000, Parker Newman wrote: > >>> > >> > >> you have a blank line here. > >> > >>> This patch fixes the Tegra DMA config option processing in the > >>> i2c-tegra driver. > >>> > >>> Tegra processors prior to Tegra186 used APB DMA for I2C requiring > >>> CONFIG_TEGRA20_APB_DMA=y while Tegra186 and later use GPC DMA > >>> requiring CONFIG_TEGRA186_GPC_DMA=y. > >>> > >>> The check for if the processor uses APB DMA is inverted and so the > >>> wrong DMA config options are checked. > >>> > >>> This means if CONFIG_TEGRA20_APB_DMA=y but > >> CONFIG_TEGRA186_GPC_DMA=n > >>> with a Tegra186 or later processor the driver will incorrectly think > >>> DMA is enabled and attempt to request DMA channels that will never be > >>> availible, leaving the driver in a perpetual EPROBE_DEFER state. > >>> > >>> Signed-off-by: Parker Newman > >> > >> As this is a fix you also need to add > >> > >> Fixes: 48cb6356fae1 ("i2c: tegra: Add GPCDMA support") > >> Cc: Akhil R > >> Cc: # v6.1+ > >> > >> Cc'eing Akhil as well for his opinion on this. > > The fix looks valid to me. Must have been a typo there. > > > > Regards, > > Akhil > > > Yes it appears to be a simple typo and if you have both DMA Config options > set the bug would get missed. > > I am new to the Linux mailing list, should I send a new message to > stable@vger.kernel.org or CC them on this one? First of all... welcome to the Linux mailing list :) No need to resend, I can add it... I was hoping for an official ack, but as that's not coming, I will ack it Acked-by: Andi Shyti Thank you Parker and wishing to see more patches from you ;) Andi