Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp91302rwb; Tue, 27 Sep 2022 23:12:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6QqgMv7H3e/KXjHOGTR48AuJUjqcncLJ4Z7yst7qyoSdr0IWXtOeNYhIOUItW2yjjrpre5 X-Received: by 2002:a05:6402:520a:b0:450:fcc3:d321 with SMTP id s10-20020a056402520a00b00450fcc3d321mr31406621edd.327.1664345566298; Tue, 27 Sep 2022 23:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664345566; cv=none; d=google.com; s=arc-20160816; b=OFhCEv4b9lIEUOMjfoQstGiZi2us/J3HtcTLXc1XCfMQU5LoynbRYzNg0f/LuBeJ2h n8C7UOorK8rAN1hJiiHtTtWWpa89fnqf1pwxxD0NxxeUlrddk7t2Xya2219EaxyMVgZd qftBA8i9uxigfFPn4rrhN4htzUkuGVU1NhD/mmu3K/AcVC9/Jr8J5ukK7SV6HlQD6wQs u2I6tb/yHv2V3uzYyx3TTnofyfLeMtJtUzoykTOIxTBaDr80b1+R8GTaCcN0X07bwrOT Kp8oQpWr99RZRsvO0KUjzhgj7PdWjOQv0+yixJ6FVoQJ5nVcEyvNkJZrEn1n5wYDVz6k mKrQ== 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=GZcHWpvtogsPxAzVuZECXWD8jTbLce4/nbbV2IC+9xc=; b=FYl5D+M3jTmRrGR3LnE5X0Ph/SORz5C948tubog0mUQZW3Zi7iuFaZgzRwMlBsAmh8 LckT8I9uAx1P2xt9YD/tGDSXmPw9JMgQ1AST7Bn4BA/dN9oZp7wk2VVhXfYGt6S5AUJR dpVKACY84oYH6xJrNn0Jk+PfyB48iVlrakxtNLfA9eqQl0Rn1Xxw8tCHqUU/XXnZtXn6 k8IVrlKOx9CbIG7vIAguM9km3rHIppsKEPHQt28BPy0qrxbgakr/SiPpVYGG6FZnQn+C WgNJjZSXnQOQMgANxdSvBxWC+9n86V2N8uC115QBLfceIg6pilsFqJxPFxNCk8+1eHEL ANJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tn7ZWTGY; 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 w8-20020a1709064a0800b0077fd47147dasi3014981eju.208.2022.09.27.23.12.20; Tue, 27 Sep 2022 23:12:46 -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=tn7ZWTGY; 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 S231301AbiI1GDL (ORCPT + 99 others); Wed, 28 Sep 2022 02:03:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231278AbiI1GDK (ORCPT ); Wed, 28 Sep 2022 02:03:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AC6B8A1E9; Tue, 27 Sep 2022 23:03:09 -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 DB44361D0F; Wed, 28 Sep 2022 06:03:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6C60C433C1; Wed, 28 Sep 2022 06:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664344988; bh=j4kB7olgilPfVNlMOTcYqlCkkxFG3t3S85ulNHUvZP4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tn7ZWTGY7fOq6xb+VeCBijrCoFESpcFclyxcRUwLygW8gm9mVj2nXppPWFn2Exmbn /pd8DOZIoxFFuNBYOZMcRZLwG0bRdKCE1JZfGppbUAneJ/Hl5VTJznT3G9j2Zw9FIL hJZXEyABqtjCm5anV6lJwaTtyEawOosGxzs0DQk0= Date: Wed, 28 Sep 2022 08:03:42 +0200 From: Greg KH To: Mika Westerberg Cc: Rajat Khandelwal , andreas.noever@gmail.com, michael.jamet@intel.com, YehezkelShB@gmail.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] thunderbolt: Add wake on connect/disconnect on USB4 ports Message-ID: References: <20220928130005.2048724-1-rajat.khandelwal@intel.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 08:01:03AM +0300, Mika Westerberg wrote: > Hi Greg, > > On Tue, Sep 27, 2022 at 06:48:41PM +0200, Greg KH wrote: > > On Wed, Sep 28, 2022 at 06:30:05PM +0530, Rajat Khandelwal wrote: > > > Wake on connect/disconnect is only supported while runtime suspend > > > for now, which is obviously necessary. Its also not inherently > > > desired for the system to wakeup on thunderbolt hot events. > > > However, we can still make user in control of waking up the system > > > in the events of hot plug/unplug. > > > This patch adds 'wakeup' attribute under 'usb4_portX/power' sysfs > > > attribute and only enables wakes on connect/disconnect to the > > > respective port when 'wakeup' is set to 'enabled'. The attribute > > > is set to 'disabled' by default. > > > > > > Signed-off-by: Rajat Khandelwal > > > > Including the issue pointed out below by my bot, Intel has a "special" > > requirement that you are not meeting here in order to send out patches > > for review on a public mailing list in a subsystem like this (i.e. one > > that I and others review patches on.) > > > > Please meet that requirement first before sending any future kernel > > patches out. > > I asked Khandelwal to send this patch upstream after we did an internal > review for it (I think I also asked him to send this out after v6.1-rc1 > is released but whatever). So the correct rules were not followed, please fix that :( > I think the bot noticed the v4 he sent earlier that was the same we > reviewed internally. Again, yes, this was sent incorrectly. > I was planning to pick this up after the merge window closes if there > are no objections. I'm objecting :) thanks, greg k-h