Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1859405rda; Tue, 24 Oct 2023 05:46:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE99GX7xTOQHK7Zd4QFaxARG8BObF66Gq0iFd6A0ZCj90MbG6J2EQVyLWA2HWZUtjTyCz+I X-Received: by 2002:a17:902:f202:b0:1ca:87e0:93e3 with SMTP id m2-20020a170902f20200b001ca87e093e3mr9404590plc.7.1698151580863; Tue, 24 Oct 2023 05:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698151580; cv=none; d=google.com; s=arc-20160816; b=Qth1xOwRYhccgbnnvtTqZj9WhLu9JwrlrLNlMR7u0GAAQbuxTAi2XngXadPq0NOSUP jsDURSSuW8VT+g/YqKLFrwijd8f6Zf2YsUEHym+2wySUCDFNdJC+QinCgVSNWGakVkVX fnnVdvEwmuDB0b/pNwaP2f1GjXqzErRyUkWYAxzyY6cN1N87/bZ2UCGWqtrmXvtLYCTH a0jtt30AHkroPH52QLzogFIxKGypJsHYDci1ITnrF6OIYQ7ZB4zCOtkcmKbbzscEm6e2 frC0olyW+ILGVk2cy/I/M3c+NJE8d/8/yxxKgYT+B6Q9gw45+CP6iKJ8R0r4u26lNtqb Qp1A== 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; bh=CV7WgZ5t8/eXxC6xu5hi/zLA24PLVXtuNsvw+UFD0xg=; fh=IBHC2MnrxYIr6t3rbdqVy9qICbbZ0E386SuaSsgejPs=; b=US8+KkuV0RAMpZzhPWPLDlXmrEovpITITOlhO564rXvsvcx6kFTXTe34XQIWnyyCXS poqKdz6v5Fgy+DNbvXJUgXJ2gWWORjGB/fknLuGnwHvdRAsLyRX3h1gKpvlBZ0S2ocPl 1Ais9uJ/O5aIqawnuChyf4Q4uc2FughpjMi5TEXgx6dN87ShOl9XGlnP3Z6vbWiZWxi7 VzBT0/ohXHO67mBg5TGaftC3nyrxcNHRL36YhfTcQeDV0hOLY+7xQkX1jZfHyEfTZZC2 r6stZyOFG3gbrlvkd496D0Atv7e4Q37Xc0IK2wADT7Ss1T4MpEXWuBEEOutSIIx0YCgE 2F+g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id 12-20020a170902e9cc00b001c5fc1f79f1si7989460plk.165.2023.10.24.05.46.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 05:46:20 -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; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 40A2780A417C; Tue, 24 Oct 2023 05:46:18 -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 S234344AbjJXMqE (ORCPT + 99 others); Tue, 24 Oct 2023 08:46:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232976AbjJXMqD (ORCPT ); Tue, 24 Oct 2023 08:46:03 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DDD6ECC; Tue, 24 Oct 2023 05:46:00 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id ECB3E80AA; Tue, 24 Oct 2023 12:45:59 +0000 (UTC) Date: Tue, 24 Oct 2023 15:45:58 +0300 From: Tony Lindgren To: Andy Shevchenko Cc: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , 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: <20231024124558.GM34982@atomide.com> 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: X-Spam-Status: No, score=-0.8 required=5.0 tests=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:46:18 -0700 (PDT) * Andy Shevchenko [231024 12:42]: > 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. If used, a serdev device serial0 will appear instead of the tty in the same location. Regards, Tony