From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D2F4CFC27E for ; Fri, 21 Nov 2025 14:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cNvp+VgaZnXtuSRZDfFn8/jzLs23eSccIaVUvSXVF2o=; b=udaymYFtBz8mQC 6aLYn2HoKb4FTOYet8JcGHxcOOzy3Z+K7KhX4d40Q+RKopMZ8/kb5TXNmDONN7JEsi8BBtMTlDSME SPISxhVgb6VY/QMxN9KFV7AVrvGK6mNx+SFEMO44xWk63hHrFEdOoDh6U/x0JqYXE626mt9EmG1wV +VgITXcm9NNaUJRCMKArjHAKmfFBzVVL8S4lYRf/Cxt/F4/jKz8VP7oHlV6oOXNZi/Us8+h9EI2Un qZFtGPpZzu3OsbBsABe49qb1pz9gBoNpU5eQdrVCXicyLkr+ogLslRAPdfVvDPCxAdv+iKG6AKMnA dPa2XuZCCbf9/Evn1PsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMRyC-00000008VXt-0ago; Fri, 21 Nov 2025 14:18:40 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMRy7-00000008VVw-1zKi; Fri, 21 Nov 2025 14:18:36 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id C7D87442EB; Fri, 21 Nov 2025 14:18:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23600C116C6; Fri, 21 Nov 2025 14:18:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1763734714; bh=7ykWYfNeXBP9xhRMOGHYkSJQ+oeDMqaGVDI5K6Z6yPI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i3rS3lc8q8yGKuccSf3yMj75an1MrewEFf3kOpSVN1Itlqjn6CWMKnDbM1Q+Liqt6 mkNEoSVgcJGe/BF/nBOhbQBj3I5iEIhyuquCfuN8nhyM6KbMg+9zvCvxCF3P3Heb0n LPV4Ir6ZbRyF4j9okG+sFB0ssPvAfegwt33s/t0c= Date: Fri, 21 Nov 2025 15:07:03 +0100 From: Greg Kroah-Hartman To: Chaoyi Chen Cc: Heikki Krogerus , Dmitry Baryshkov , Peter Chen , Luca Ceresoli , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Heiko Stuebner , Sandy Huang , Andy Yan , Yubing Zhang , Frank Wang , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Amit Sunil Dhamne , Chaoyi Chen , Dragan Simic , Johan Jonker , Diederik de Haas , Peter Robinson , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v10 01/11] usb: typec: Add notifier functions Message-ID: <2025112102-laurel-mulch-58e4@gregkh> References: <20251120022343.250-1-kernel@airkyi.com> <20251120022343.250-2-kernel@airkyi.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20251120022343.250-2-kernel@airkyi.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251121_061835_532950_1173A889 X-CRM114-Status: GOOD ( 10.08 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On Thu, Nov 20, 2025 at 10:23:33AM +0800, Chaoyi Chen wrote: > From: Chaoyi Chen > > Some other part of kernel may want to know the event of typec bus. Be specific, WHAT part of the kernel will need to know this? And why a new notifier, why not just use the existing notifiers that you already have? And what is this going to be used for? Notifiers are a pain, and should almost never be added. Use real function calls instead. thanks, greg k-h -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy