Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp680646rwb; Wed, 28 Sep 2022 07:51:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6uzsB/4NK0+AzsnU92y1hY5qRTzBb0wUAgrsDMIAF5S5dHBH5TDqig1+qgaFgWdEiY1uFA X-Received: by 2002:a17:902:ca02:b0:179:fdf1:78c3 with SMTP id w2-20020a170902ca0200b00179fdf178c3mr197823pld.11.1664376675000; Wed, 28 Sep 2022 07:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664376674; cv=none; d=google.com; s=arc-20160816; b=Zcfbtxgzo5T4mIoVN6wpoab6tNvrf47KWii/nSMnluUwP/WJsHSua2rWkBnR9VRnHD 3///K97wTbT0B6UcquJ2J9pzjk8OzchCCjUtQMW+K8L+9qnsBmn/QN/cpBNopliXBFGd Q/mKaRiDmLtkkrC2Ey75zIAp6QQqOu4PrFOsp5BY/IR3voWLrz+99gECrvMbkz/WaAYC 4OceLpA2HWvNSyEa2/x4pCABZfJMqfw+2nNKqVzTcN1+8ok7N/HQN+YrUt+9eB9JYbg9 qbUvH7lvZu+aOranTeKw2jyYj9Kjr6G7PCX/i7a9OCDxCpkQ+kPV/HonR/zSVDil4qvr es3A== 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=K6w952hk5ly08C78X2QhZfOyyTyfFS0sZAPDyJlMvEQ=; b=QTPTRI9gQ7XCbbSaAMClKyNQE3F6agFitOywiD99boacOAJUE7NHSBipWme3btOZOi BAE1uuNQ059oCBuKHcgo2CVZVnZb4GLSQ/eBaN2w615FqxfFvJDCW2TytwaLXMh1vB6z /FWBX7gSBehKnJaPJswI9vJNeA8a/aaqu/xEEkiEoXyoWN1uFCSwSm+t2WOUL26pvN8o 5ofIoGdIhNE4TlxnblRAlfIjkLJ7QLYQgaMrljhm+djELzQHsADZ6jdXPF7p+Q3sMFy9 Oy3lO60LuEqBgmOh/AHd7eXEMH7k3xhKJ3r5JqsSmOmFFpdv2mZvFE/Jz7FYCA9M3iKw rZkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=12Muq1Mr; 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 c83-20020a621c56000000b005182fda1b23si3260375pfc.236.2022.09.28.07.51.03; Wed, 28 Sep 2022 07:51:14 -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=12Muq1Mr; 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 S234385AbiI1O31 (ORCPT + 99 others); Wed, 28 Sep 2022 10:29:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233134AbiI1O3Y (ORCPT ); Wed, 28 Sep 2022 10:29:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB6F1ABD43; Wed, 28 Sep 2022 07:29:23 -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 557CD61EC2; Wed, 28 Sep 2022 14:29:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E62EC433D6; Wed, 28 Sep 2022 14:29:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664375362; bh=8N85sFev7YCgQPdLgjEeuGjBZWjdzfA72EK7EuloGKs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=12Muq1MrTtMNT6hg5zb6EYGWNtXsDKCGA32rk4Gi4kKpk8pEbbzcEpt3zzo8jl8jp 1oza4YrKqOrUAET2u6L3OcPn8ibjhcf+DKKx0CayeI6bZgiZzQNpQPtJf4vNXHcn7k r6bTAQD+1tancR9FZsEYomD1PriI7eUoPkdBoSN8= Date: Wed, 28 Sep 2022 16:29:20 +0200 From: Greg KH To: Wayne Chang Cc: "heikki.krogerus@linux.intel.com" , "Sanket.Goswami@amd.com" , Sing-Han Chen , "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: 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 02:11:36PM +0000, Wayne Chang wrote: > Hi Greg, > > Thanks for the review. > > On 9/28/22 21:45, Greg KH wrote: > > External email: Use caution opening links or attachments > > > > > > 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 :) > Thanks. I'll update in the next patchset. > > > > >> > >> 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. > > The change here is to distinguish the FW built for NVIDIA RTX products > and NVIDIA Tegra products. > > #define CCG_FW_BUILD_NVIDIA_RTX (('n' << 8) | 'v') > #define CCG_FW_BUILD_NVIDIA_TEGRA (('g' << 8) | 'n') > > I'll update the change if it is not needed to do so. No need to make this change here, right? Do so in a later commit if you really need to. > > And what commit id does this fix? Is it needed for stable kernels? If > > so, how far back? > We are now enabling the NVIDIA Tegra products on upstream kernel. > The change is to add the Cypress cypd 4226 support for NVIDA Tegra > products including Xavier AGX, Xavier Orin and the upcoming products. > The Cypress cypd4226 is not enabled in current kernel codebase. > And thus, we shall not need it for stable kernels and backporting, do we? Ok, that's fine, it was not obvious so you might want to say that in the changelog text. thanks, greg k-h