Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1857776rda; Tue, 24 Oct 2023 05:43:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOelk1L0Hlv27QTJ35HLSbvf6+ieX25sO+n8Q9vM2rDdw2MY1KD8uomppOmXgm8hc/cExp X-Received: by 2002:a17:902:c40a:b0:1c4:44a0:5c03 with SMTP id k10-20020a170902c40a00b001c444a05c03mr11430797plk.9.1698151384698; Tue, 24 Oct 2023 05:43:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698151384; cv=none; d=google.com; s=arc-20160816; b=oamFKMM/fOk235pTIsKHb7HjyGjclmnmMrG7nJ8JCC/5e1BD8vy8/SsU1x6qHs+q/J S3mF8pLK8CBwlI+SgvmoVuQP7ZWW9U9KECPuv1YzY/FFMEzVJgXb4qrkNEKNnFashhrQ IG1Jg+tkkBu4/P0LOjOhTAXMe7S7ioBaAIPhqzcXeTR31Wtb1zSGfmyLW+DLqQa9IJf4 w/3xHJHZu00hFErdwLkxYtq0X0htxNr1BySCC3n+pc+6nVJZq/lNHX3Trd1CLbIjY4QI WoYzjZj+Catvg0w/G0a/klJsq8riXvAw+9YD0Ym2cfC5zM+Zv1supo91rzaOIdG7dh3A xgvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uuXccyrJFhfZkeLH56pJJTUPCh/Cz3oT9TkxdSJYtSc=; fh=ndEd6i0oyU+c530CMzOBedi1io0u4fBnpuuhjtMMcFM=; b=BO1e4Z3QtzNt6uOXoxCoYgtqPNDJ9X+RBqCVd6s7p+XDxoahZzlHE1JDb75ARzOThZ 7CDRNkmuMyAIvXuFCkkpa984ClkXje3MdD0QQ+KkVLN89Le2cgZMnyN0gtARXRPiZ7uN WEB5XIT5AWPUGSDuyxlT9F7s5LRhi+hrZDO02ESLUI/AmWw1B+W0LGjMqpbKOEfrW4Rl Yj6sfkeCfzyLRpCB+ebVE6H052gVGjGM/RDfxHBgNxiKYBjImesnpOPur7NttibNLT1f Ib+RpSeCmi5uIQlzYYvmXYDWaZabl8hIhU35BB2ya9CfCiP8TpRK1w8rf0YPrz5d9BYy KGzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="BT/ND8wC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id b2-20020a170902a9c200b001b89551a392si8127807plr.113.2023.10.24.05.43.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 05:43:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="BT/ND8wC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3FA1680A4169; Tue, 24 Oct 2023 05:43:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234306AbjJXMmy (ORCPT + 99 others); Tue, 24 Oct 2023 08:42:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232976AbjJXMmx (ORCPT ); Tue, 24 Oct 2023 08:42:53 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEBC690; Tue, 24 Oct 2023 05:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698151371; x=1729687371; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=DvUixc2Vg4ONkJAO/hqh3NXKsUjfM0uDUvrjCYxymhE=; b=BT/ND8wCVPZ4FtSneyJTLgkH61u4HuALflxQ64Jc4DUNAsuKQBAKnwe+ 19wxoVHJE5zleu4F1CkwgoNjclMzYQ/F/VA16TsEtfCIJJM4/AnMRk3Iq VnraQvj/ZaHeG8/sluak42YJTnExvTM+JnF5n8mTveB1KO1iBZHVdA4Fg HCN6v8f+624U04PorPHfebaO1zlaH2wSIBsn4PIjozsk8IAZoc+MMQDsp Ijg0gZ2gQQ5NZb718gIwcIVm3t2t6YHUbOpvMsSsw95CjfHJaQXIloqLV R8pr4YS3B05YTngHGx8Fb9ub/SKVaQr4OlLesptvsvoR0fnjQhrv57jeW g==; X-IronPort-AV: E=McAfee;i="6600,9927,10873"; a="385940746" X-IronPort-AV: E=Sophos;i="6.03,247,1694761200"; d="scan'208";a="385940746" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2023 05:42:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10873"; a="828814686" X-IronPort-AV: E=Sophos;i="6.03,247,1694761200"; d="scan'208";a="828814686" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2023 05:42:48 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC3) (envelope-from ) id 1qvGk9-00000008HfK-0rlG; Tue, 24 Oct 2023 15:42:45 +0300 Date: Tue, 24 Oct 2023 15:42:44 +0300 From: Andy Shevchenko To: Tony Lindgren Cc: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , 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: References: <20231024113624.54364-1-tony@atomide.com> <2023102401-playtime-moonrise-6f05@gregkh> <20231024122955.GL34982@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231024122955.GL34982@atomide.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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 groat.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 (groat.vger.email [0.0.0.0]); Tue, 24 Oct 2023 05:43:02 -0700 (PDT) On Tue, Oct 24, 2023 at 03:29:55PM +0300, Tony Lindgren wrote: > * Greg Kroah-Hartman [231024 11:52]: > > What does this change the sysfs tree to look like? > > On x86 qemu for the ttys: > > # find /sys -name tty > /sys/class/tty > /sys/class/tty/tty > /sys/devices/pnp0/00:04/00:04:0/00:04:0.0/tty > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.3/tty > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.1/tty > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.2/tty > /sys/devices/virtual/tty > /sys/devices/virtual/tty/tty I believe the question was how serdev device will move it's location in the hierarchy. -- With Best Regards, Andy Shevchenko