Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp247076rdb; Wed, 17 Jan 2024 00:04:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmzews0NxXsMJJ/iA5rnvYGDxBu9yP4KQRDys3SBekt73ts+XMadRSi0cyjnlU2/6/NoHJ X-Received: by 2002:ac8:5e08:0:b0:429:f133:5a53 with SMTP id h8-20020ac85e08000000b00429f1335a53mr4710679qtx.63.1705478651026; Wed, 17 Jan 2024 00:04:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705478651; cv=pass; d=google.com; s=arc-20160816; b=qryO2oD0hbzuzi9JVDXTH3cQZsOmj7HE58XUwIwqT3nEV1eyBNVMysjAerveIiMUn+ rndS/E2Kq9LqyRRfBawFOlXcJwYAbwi2zXEDWGvPND9V7zPWDWP1IfnDUS+g5y2tbiSV H9+NkFGG7hMTZ2iL5cviIwN+iKyGSAlGOPCsGux0F1yCPoCtTA/DBVvu8RrwSUdPJBBj bp5EercrYfPvUsDNg5xqOOtrXgTc1b/HbVN345R970jiTDDs1Ikz78i72rxw9W2W42uq eqm3ouLRviY/2S9uhvj8mTshHQtP8wql/YaPkkDq6SRWJKUhSPEzhBDfZvU9ZPfrCRmu 2IfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UC6x+65069fgsitZOBwxvZXU4H3hokj3jm7rIuCuf84=; fh=20HOuvBY022pTjjny7O/GMrvebi/vkSCP2I/lWlOCJ0=; b=iPbD8tQSFtijfFOzJQxJghivN988gTiTJ+aOjWy5LHpHwrNuACWn4kU02zJR1tWsHy yfIN5KR4LEW3i/J5WCLW3/VXwarjWDglhL3mcJPor7z7sCGB2cS60D4QGNP3WtmGOSin iqUbKV781PK18KG5AA9UE7z5jMYUVSmYxyP1pEkEiIPqfqBYb3wZYl9hSND9eok5TBND urB+z6SnTvqwwxrWcbS387GFyqvfLj6ft0ea+pafE5+rqo2x+az8em3vy13zllSrlnjR hzLNooBe7ozZQUK8gZnu/tY577BZvR4x5iIwkfl65J6373QEWWaP2IfEIMwG65RBfYNl DIIw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ilMPdSwl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-28630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x13-20020a05622a000d00b0042a11ede091si145935qtw.182.2024.01.17.00.04.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 00:04:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ilMPdSwl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-28630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BFCF61C23B60 for ; Wed, 17 Jan 2024 08:04:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08BB4D510; Wed, 17 Jan 2024 08:03:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ilMPdSwl" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20BA18821; Wed, 17 Jan 2024 08:03:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705478638; cv=none; b=Ux4oRpBDmmPXJ+1gme7PrjYIPUyS34BRbhGOLyXqT4db1u7autNa5YCDNyRMIom0ZxEUnq2YSqXgZ85TRPux5Gh/+LUdDLobSkTrtWTaVvV2F28k4wAEF1PoUBOV25GC+ews+8p7S4Fj0/8aKHcH/IqVtX1Tm1Wk+lNOl58P7EQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705478638; c=relaxed/simple; bh=ETB5AB8avM6Q2+w/QltTg8gAglo6HWM8L7ODmPsQsAk=; h=Received:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=PRFuqXr1c/Dxj/uofgrqFnplgH6GtmhHf+bchz9HWxreHUABO5Xh67cHkL6sz9Cqukxokj2wVt9lSEJxR4rwafHsRTyrU3R19gI6EeL2WMkuFhZt3EvsjiagPUUNO0AxV1XmaPOc1Co6peqQCQeXN5lwtW1jeqoLVy237TD10Xg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ilMPdSwl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91BB6C433C7; Wed, 17 Jan 2024 08:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705478637; bh=ETB5AB8avM6Q2+w/QltTg8gAglo6HWM8L7ODmPsQsAk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ilMPdSwlug/3WRyCeZo9ze+3bm0nRwbnv4ae9XX+a7TJ9jcKyR7yFQW3Gkd/3Z/3+ bDQhA1zMX1leu54ZL7AVifs+hAA+BbsdIg4R4/6i6O6ANLwr2dSj3nbkiAhouh866R IqPno0/fk0qyxv8kcpoouQjbTHUXIy12b9ctyFK+2/ju/UWn721h5Rcsv/dhscD80e w/O6pa6fTJL66TWSA0KVv2vg7Fwa3nG/RCqTgISyUYhyrcfJR+je+cPEWe1Rymm3dx 3DEer0KulBllpqe8nhTvaDdA7WNLnEcnVGCvw/4vRFfGz8933eIFG//pMRaiJIqqVo rUpFVXyZGb8kg== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rQ0u1-00050u-1F; Wed, 17 Jan 2024 09:04:01 +0100 Date: Wed, 17 Jan 2024 09:04:01 +0100 From: Johan Hovold To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Dmitry Baryshkov , Heikki Krogerus , Neil Armstrong , Bjorn Andersson , gregkh@linuxfoundation.org, hdegoede@redhat.com, fabrice.gasnier@foss.st.com, quic_jackp@quicinc.com, saranya.gopal@intel.com, quic_linyyuan@quicinc.com, andriy.shevchenko@linux.intel.com, minhuadotchen@gmail.com, johan+linaro@kernel.org, robh@kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH AUTOSEL 6.7 044/108] usb: typec: ucsi: fix UCSI on buggy Qualcomm devices Message-ID: References: <20240116194225.250921-1-sashal@kernel.org> <20240116194225.250921-44-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240116194225.250921-44-sashal@kernel.org> On Tue, Jan 16, 2024 at 02:39:10PM -0500, Sasha Levin wrote: > From: Dmitry Baryshkov > > [ Upstream commit 1d103d6af241dbfc7e11eb9a46dff65db257a37f ] > > On sevral Qualcomm platforms (SC8180X, SM8350, SC8280XP) a call to > UCSI_GET_PDOS for non-PD partners will cause a firmware crash with no > easy way to recover from it. Since we have no easy way to determine > whether the partner really has PD support, shortcut UCSI_GET_PDOS on > such platforms. This allows us to enable UCSI support on such devices. > > Signed-off-by: Dmitry Baryshkov > Acked-by: Heikki Krogerus > Reviewed-by: Neil Armstrong > Link: https://lore.kernel.org/r/20231025115620.905538-2-dmitry.baryshkov@linaro.org > Signed-off-by: Bjorn Andersson > Signed-off-by: Sasha Levin Correct me if I'm wrong Dmitry, but while the commit message makes this sound like a fix, it is not needed unless you backport follow-on patches that enable UCSI on these platforms. So this one can be dropped from all stable queues (unless you're backporting patches that enable new features and that depend on this one). Johan