Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp183329rda; Sat, 21 Oct 2023 03:57:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFD8ESyGLvDHh1WaKjejXFzuRgpM3Ha7ihymY1MtGX68nS1NWZs6ssbHfpXJCv8+O0JZLF3 X-Received: by 2002:a05:6870:9d96:b0:1ea:2c8b:e18e with SMTP id pv22-20020a0568709d9600b001ea2c8be18emr5587405oab.8.1697885845588; Sat, 21 Oct 2023 03:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697885845; cv=none; d=google.com; s=arc-20160816; b=SlXsNk1sDprTG3W2VlxLv7nfPhfVgv1iBU34iTPBd4NfCDEnDHFlOSeuaGBTbOlCj+ zhL2pqwL85/55uoAnz6z16OluDQuOMiJEp7wTPhzQtSOzgxP0ZK0y5iI9XIoyU1AjaC5 OQwoLZUgNZ3Ufq4sWfpfO5sQ6FgoT81MWt+nQ7EOz13lqIEOqB+Cp9mMm5WGF1RQbAio maaAkLkVF3y4KOZZzFYVq+TB1Uyg1dqQAfFO8CoUVBOcavsANlYOMLGkUmSSm5aJxwdQ +30rJyDxfm34K+c9ozrgt4m1YVKdHXGrQ6RVGQpvcLCkjOAEaj4vQ25Db8CHEp3aMwNm X/rA== 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=mUUHDDPH7IshFY9HCrFpO+qpL/XgKSBb0RWcz2lMD1A=; fh=KxDXAO3vWDCMI+0gySJ+PZ+FMXYSmms2fDAJp26UNTA=; b=L3q/X6xUmhc9tjBOPUtqJsfdQM7STkuXz/AhGpWuzCX/rQSs+WVS0KAH81ZsKDqRUK vn53edc9Eft4KaH2yGAzYsWeV+72Dd97SUgr302m8umYfMnoPs2WNgMkF1bmYKYcuH9N Digd8ZCJvLMRA8ZsV6G5DKLkAVxaNakMaZl0ejJf5HRvpo4tQfh/xdLGFmMJAYuXGIGT z5T2UQtkWXL5PTgbK4z5plVrgfIWjR9soAodVETvKr5fynQEjsUOU+ePwDzeXGFG8y2x 0BomsIjaP1YCcrmIAjJ+ZfCVpWaUixgHJ157e+N+q0hNstbvC074VXCKh2B2tDJrpqcI UTRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NstxjAaM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id mq15-20020a17090b380f00b0027d2db562d2si3613754pjb.161.2023.10.21.03.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 03:57:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NstxjAaM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C432080AD284; Sat, 21 Oct 2023 03:57:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231171AbjJUKvx (ORCPT + 99 others); Sat, 21 Oct 2023 06:51:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjJUKvv (ORCPT ); Sat, 21 Oct 2023 06:51:51 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 206F4D52; Sat, 21 Oct 2023 03:51:47 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47EF6C433C8; Sat, 21 Oct 2023 10:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697885506; bh=Fg640wx54tMtPfiRC5yJ/+rN6QS6OgMeInT9QaJ00Yk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NstxjAaMCut5TlWkZz6vZf157SUSRwZdMITRlxTCW6xOBEDh/b1zJNZ8q2l1mA5bx ZNo29MQWDA4TLNisNVw4ntgAH7vmEe+ivfEmBWZfKdN3LVgPFsWWzPXTjEpcGc1f6S TAV/ks3WtjPVqnXtfpTniZjRnjkKDtAS8+hyK+/8= Date: Sat, 21 Oct 2023 12:51:44 +0200 From: Greg KH To: RD Babiera Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, badhri@google.com, stable@vger.kernel.org Subject: Re: [PATCH v2] usb: typec: altmodes/displayport: verify compatible source/sink role combination Message-ID: <2023102114-vanilla-feisty-14b7@gregkh> References: <20231018203408.202845-2-rdbabiera@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231018203408.202845-2-rdbabiera@google.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 21 Oct 2023 03:57:21 -0700 (PDT) On Wed, Oct 18, 2023 at 08:34:09PM +0000, RD Babiera wrote: > DisplayPort Alt Mode CTS test 10.3.8 states that both sides of the > connection shall be compatible with one another such that the connection > is not Source to Source or Sink to Sink. > > The DisplayPort driver currently checks for a compatible pin configuration > that resolves into a source and sink combination. The CTS test is designed > to send a Discover Modes message that has a compatible pin configuration > but advertises the same port capability as the device; the current check > fails this. > > Verify that the port and port partner resolve into a valid source and sink > combination before checking for a compatible pin configuration. > > --- > Changes since v1: > * Fixed styling errors > * Added DP_CAP_IS_UFP_D and DP_CAP_IS_DFP_D as macros to typec_dp.h > --- Git stops the changelog at the first "---", so everything below: > Fixes: 0e3bb7d6894d ("usb: typec: Add driver for DisplayPort alternate mode") > Cc: stable@vger.kernel.org > Signed-off-by: RD Babiera Is dropped, which is not what you want (did you try applying this yourself?) As the documentation describes, please put the change information that you have here below this line: > --- So that it will not show up in the changelog. Please fix up, add the reviews that you got, and submit a v3, as I can't take this one as-is :( thanks, greg k-h