Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp711553rwb; Wed, 28 Sep 2022 08:11:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4H5ljAm7xbq226lGwSfyfFrV+Q+OaFtSMr49STHBvkDzvtGAXFfC+WvCG9dY7XxBcx+xkE X-Received: by 2002:a17:90b:1c8b:b0:203:dcf1:128a with SMTP id oo11-20020a17090b1c8b00b00203dcf1128amr10695700pjb.182.1664377882735; Wed, 28 Sep 2022 08:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664377882; cv=none; d=google.com; s=arc-20160816; b=RzTqOmPAIUw1CbvXv6PgNkVIwCk0F1Quys6MimPZC/dLwZqegpZtpDXdj+xlgMJwC1 jzqdHwRVwzFNuRAexCsaKkbF3HWMmotfffzYYYogH5ngiqAdXIYIbKFEj2KRKzKZfyzK LlB2BeWUse0IPC405z8xTUUtro1A6jKGqrScZiwXfSbIY8ev2LeC3B6Ffn88oTFZKKAt SForyIT7qA3dMvM6VV/0CW/iwsa6CjRqCxDPNad0p2mvy7yhSBWbh1flihlMrkGjuYuQ 7PCJwhQTouIzfprMA87B1G4dTYU0eYhzULTJmP7L5CnVLfK3Rl6kXpIyoMK77HjrlN3H LOjg== 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=bS+gXxF1vPGDagNNfent6uZkT2e+J27a2SHi2tpgWbE=; b=LWi7mggipkZbMfTgHwUu+ITLwx18jLsHsa3C26sf07s9RlLgnYnNYIoXreqbxCOZ2t W0jazC2q7bCIxo7o4lDp5I1UPMA4OcQc0C5UhokC6ehduSIY3ulDsy1GoVCn+05m36Vx 1SePpaJZtMbOyy5NiGiQYrJEZAQnM24flWpAqWOpmprtVNUT8vixA14gf4TvYNr3KhHZ McEDO3XduM3CL8y5H1B9HT+1AgIq6hHYaPwbRZs5UOdrkkUnWOR9/3nW/6ODGK+Nz9RF vWLwN/EPhLbtLGjV5JOwYcM0Jg1b+qNAko0O8zFbeDuhZSVOvBQ9Vbc+WhY0LEFo2JIC XMlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SnIyFxCu; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a17090322c800b0016dbc1b5b31si6204837plg.61.2022.09.28.08.11.10; Wed, 28 Sep 2022 08:11:22 -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=SnIyFxCu; 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 S234127AbiI1Npw (ORCPT + 99 others); Wed, 28 Sep 2022 09:45:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbiI1Npt (ORCPT ); Wed, 28 Sep 2022 09:45:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 694B936843; Wed, 28 Sep 2022 06:45:45 -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 ams.source.kernel.org (Postfix) with ESMTPS id 34ED9B820D3; Wed, 28 Sep 2022 13:45:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70008C433D6; Wed, 28 Sep 2022 13:45:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664372742; bh=2kibBR7rJ5YXYGVM0U2w3frRacYCZDTp7HUULPPogRs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SnIyFxCuMJlsaOMMrEAecc6fAY50ozfpX6FhZwBAa5ckuGTOneJxwXvOVGVDnFym/ 2e7vCMcF4/vhKngkcRPZH3Y1mFcRml2QtzukEWmpZw7Xp3nRDCghMmOcqKN6/NEitC qCNIPKk9SD5ZcKByvGHS4ni/PKJH8+xrRCT22hLE= Date: Wed, 28 Sep 2022 15:45:40 +0200 From: Greg KH To: Wayne Chang Cc: heikki.krogerus@linux.intel.com, Sanket.Goswami@amd.com, singhanc@nvidia.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] usb: typec: ucsi_ccg: Disable UCSI ALT support on Tegra Message-ID: References: <20220928131615.3286936-1-waynec@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220928131615.3286936-1-waynec@nvidia.com> X-Spam-Status: No, score=-7.2 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 On Wed, Sep 28, 2022 at 09:16:15PM +0800, Wayne Chang wrote: > From: Sing-Han Chen > > Firmware built for Tegra doesn't support UCSI ALT > command and has known issue of reporting wrong > capability info. > > This commit disables UCSI ALT support when reading > the capability on Tegra. You have a full 72 columns to use, no need to make it shorter :) > > Signed-off-by: Sing-Han Chen > Signed-off-by: Wayne Chang > --- > drivers/usb/typec/ucsi/ucsi_ccg.c | 16 ++++++++++++++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/typec/ucsi/ucsi_ccg.c b/drivers/usb/typec/ucsi/ucsi_ccg.c > index 5c0bf48be766..fde3da0605f5 100644 > --- a/drivers/usb/typec/ucsi/ucsi_ccg.c > +++ b/drivers/usb/typec/ucsi/ucsi_ccg.c > @@ -122,9 +122,14 @@ struct version_format { > * Firmware version 3.1.10 or earlier, built for NVIDIA has known issue > * of missing interrupt when a device is connected for runtime resume > */ > -#define CCG_FW_BUILD_NVIDIA (('n' << 8) | 'v') > +#define CCG_FW_BUILD_NVIDIA_RTX (('n' << 8) | 'v') Why change this here? It's not needed, just add the new command instead. And what commit id does this fix? Is it needed for stable kernels? If so, how far back? thanks, greg k-h