Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1829229rda; Tue, 24 Oct 2023 04:52:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVqFGgb0ZPf1FdYCxBevQwBmw7CvKeakKh+fyp/zSrYsZDlCUH4nSqqN8B8N2iUWDnYbxY X-Received: by 2002:a17:90b:4b87:b0:27d:5562:7e13 with SMTP id lr7-20020a17090b4b8700b0027d55627e13mr8414897pjb.39.1698148349788; Tue, 24 Oct 2023 04:52:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698148349; cv=none; d=google.com; s=arc-20160816; b=sIwU8nYe58vyoz2bsM9BVeDUtb5hKrOrkclaREnlTeC2vRNNXJr6IuKxh1N5SpYf5f nIwgDwULstSDl00PrUAX6ygMz1jx+lk1beov3mEIcrVvxISxspLSWjcnakN7bAqac45K fqsyRyKFUvfYQ1VEnhGPL69p/RoeCWSzLGCwi0OTge5FlDfnCKfA2NvKdA0v6DQTFSsm yI58xAfVGyn2F9vONLlYvqgmx16/WppbuhKHfXkXcn/xlsK5o3RPl+XOMsS6AoS6X6M/ FC4Lcgkc7BQRV+vLYUS48pcyKEGDVTg3DId3rftVBzY3RnxWRjVUOg3zZcTg1wrk2W5+ 6yww== 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=4bAjEu2jKLujNEZBUjfzwZnAnEvMWJyos38r/6MEpT4=; fh=3JHk8CniwqysHCwM+wKTAar1VvGk+kZIeTg+p0UFlVY=; b=Vj7eAOLl1UuBxCDkCM7g8jXK4UHivrehG+Iesidob5LO5KhSuf3xcp6P8J1dwLTDnM L1h3gF0jg83pp4jO24g7m6Y1PBFgjHKi9HSrEdQmIe7De2EGJDaQsT0NC5+h1nJkN0om O7qEOT4ec1OtuBVqhkYSuvXsmpUNZ4yDlWyBPo9aEMO4lI0LP9FcXWFQn2z2nLZhMLon lpNveUHh7gHs2vXGEE0k/WLd6gEOI7929gTDyifw4Kbux9FA8SiEk8dhWmdyJ1oTviRZ AqDW/Y6r8AShGx2gn6oK2WbVEQFRaMHKDG1MoJunZXkZ8KJ868a3T65JW/wzsEaqgZeq q8Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oUN1cBvS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id cu18-20020a17090afa9200b0027ce5205f94si8276912pjb.150.2023.10.24.04.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 04:52:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oUN1cBvS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id BE2F7802FA5A; Tue, 24 Oct 2023 04:52:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232471AbjJXLwZ (ORCPT + 99 others); Tue, 24 Oct 2023 07:52:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232461AbjJXLwY (ORCPT ); Tue, 24 Oct 2023 07:52:24 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7B09C1; Tue, 24 Oct 2023 04:52:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF3B5C433C8; Tue, 24 Oct 2023 11:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1698148342; bh=1AtkwXmqxTgRaQsRN4z6we2958oGeHE/fEu9KMk8/js=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oUN1cBvSqnotcbu8SXs81255s5ZTlXR+hg/atviUc1DgWhqAK7W7iUB8EoeXnsL4r YpIOCB1NSztz7K/5oyZxztjT//+mIvDm8D6ViMBXrZW+6WAQw4i/zbmNyG5VRsRke1 WK95D8mCK9Bl4/zxh/7mont4ItUsCsh4Hk5kMMu8= Date: Tue, 24 Oct 2023 13:52:19 +0200 From: Greg Kroah-Hartman To: Tony Lindgren Cc: Jiri Slaby , Rob Herring , Andy Shevchenko , Dhruva Gole , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Maximilian Luz Subject: Re: [RFC PATCH 1/2] serial: core: Move tty and serdev to be children of serial core port device Message-ID: <2023102401-playtime-moonrise-6f05@gregkh> References: <20231024113624.54364-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231024113624.54364-1-tony@atomide.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 24 Oct 2023 04:52:28 -0700 (PDT) On Tue, Oct 24, 2023 at 02:36:18PM +0300, Tony Lindgren wrote: > Let's move tty and serdev controller to be children of the serial core port > device. This way the runtime PM usage count of a child device propagates > to the serial hardware device. > > The tty and serdev devices are associated with a specific serial port of > a serial hardware controller device, and we now have serial core hierarchy > of controllers and ports. > > The tty device moves happily with just a change of the parent device. > The serdev device init needs some changes to separate the serial hardware > controller device from the parent device. > What does this change the sysfs tree to look like? No objection from me, just curious. thanks, greg k-h