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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C47EC00A8F for ; Tue, 24 Oct 2023 12:42:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231815AbjJXMmy (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org 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