Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3408138rwi; Wed, 12 Oct 2022 01:16:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4v6//pt1Y0AapWZV4+g2p1CGlHTZP/h3yTEeS6m8hdkrRb87VI23vseX70WML0KHV+MxnP X-Received: by 2002:a05:6402:28b7:b0:459:3115:aa07 with SMTP id eg55-20020a05640228b700b004593115aa07mr25624987edb.280.1665562587479; Wed, 12 Oct 2022 01:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665562587; cv=none; d=google.com; s=arc-20160816; b=XWc/7uNr8TEk7ZCUzaqOnYoht7V5h2lzQgWXGpZWUrelZi4zcQCbVGeY+rOKawhJhg RwQUPa6lKMY78zsGAQW6O1xrdgaiaI4CHfFJX9jUNd4Qstjp4nDk+/6+EvIhdpv69haO tClL3sai/8A8RYuCZ40dSYVJGEUti+aIxD3xsgbzq938TG3j7dAPouTtrIijq+5xMfjG UCwy0ttxW10k/gaw66b0ir4nT6evY50gNOG0cUBEcmCy9fhP0nyWIv8VFYS1cUtU2BmF BuzNwfbGUdS5sf+wQdKmLQ3Vz1I2BnLKLxlwOQJ9xTm2gtUE3oOlA8RiOg3yDDGLpb3r JCKQ== 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=o6vp6IaDm3hyGaBF7MR4A1MiAtpZ/O0Tj06GUS8i/EA=; b=Jhscj7AMovT5FvTDYLDwxfRVgS8OuDKZeVugkZ2aZIrj8XyL9SCgV+LUmk/Z3oi2HX jDAytcuFmT4k54iXam3pM4cQMn44W8tyS3B6hmbOL9tyb5yWlZccmRnlB2P4863VcgNL vACwi8Ybt8Ik+8thdr/kJ8gJRHVwNSd14Stq1pssFv+/WO4TIPEG1glZyZwT9Mf5FnBE cJAcEqQQdzTZTc5lmd5fVNiLNW520Dm/Rf8Xk5OvH54r3y+z4yupJRSlSzcU3ttaQ3Zm 3qD5QNu0lc8razckVMAlMmwR2ZvvAkbkBtjng7FhikAqfYIzn2xsKE2cDowwYCWn16Af 6Ipw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="x0HW7/m2"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc8-20020a170907168800b0078de8d119d5si2566273ejc.899.2022.10.12.01.16.01; Wed, 12 Oct 2022 01:16:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="x0HW7/m2"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229591AbiJLGxM (ORCPT + 99 others); Wed, 12 Oct 2022 02:53:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiJLGxJ (ORCPT ); Wed, 12 Oct 2022 02:53:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CD1DA025C; Tue, 11 Oct 2022 23:53:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3D6E5B81981; Wed, 12 Oct 2022 06:53:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64741C433D6; Wed, 12 Oct 2022 06:53:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665557585; bh=kfeTdt8LgFzpRd1qO+A5KoG7Tuot/w4Ck8QJHAn273s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x0HW7/m2tSyoFLA3qql8FIicJScZBTHHWTk/xt1rAnuVz2+u+RtSLbMkWsaDyeE+T WqbtrwvSDbljxNm4Fd1SpdW1W8xvlJbPyt5En0oXTZChaUVbkQuGYXErqZoxq+cMyV DbRERVUUjp7aDrTCOQWdVwBJzW2605lWG9H+qxLE= Date: Wed, 12 Oct 2022 08:53:49 +0200 From: Greg Kroah-Hartman To: Elliot Berman Cc: Jiri Slaby , Bjorn Andersson , Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Prakruthi Deepak Heragu , Andy Gross , Dmitry Baryshkov , Jassi Brar , linux-arm-kernel@lists.infradead.org, Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Will Deacon , Catalin Marinas , Arnd Bergmann , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 14/14] tty: gunyah: Add tty console driver for RM Console Services Message-ID: References: <20220928195633.2348848-1-quic_eberman@quicinc.com> <20220928195633.2348848-15-quic_eberman@quicinc.com> <14d0ff9f-60f3-71cc-ea42-ceee389298ac@quicinc.com> <615493a8-449d-b105-709e-0642dfb5359b@quicinc.com> <13eee213-f6c2-d998-ba2e-459509ae7ee7@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13eee213-f6c2-d998-ba2e-459509ae7ee7@quicinc.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Tue, Oct 11, 2022 at 03:04:08PM -0700, Elliot Berman wrote: > > > On 10/10/2022 11:22 PM, Greg Kroah-Hartman wrote: > > On Mon, Oct 10, 2022 at 01:58:00PM -0700, Elliot Berman wrote: > > > > > > > > > On 10/10/2022 1:23 PM, Greg Kroah-Hartman wrote: > > > > On Sun, Oct 09, 2022 at 01:59:21PM -0700, Elliot Berman wrote: > > > > > > > > > > > > > On 10/7/2022 12:40 AM, Greg Kroah-Hartman wrote: > > > > > > On Thu, Oct 06, 2022 at 10:59:51PM -0700, Elliot Berman wrote: > > > > > > > > > > > > > > "GH" is the shorthand we've been using for "Gunyah". I didn't find > > > > > > > documentation for dynamically assigned char devices, but if it exists, I can > > > > > > > add entry for ttyGH. > > > > > > > > > > > > Why use a new name at all? Why not stick with the existing tty names > > > > > > and device numbers? > > > > > > > > > > > > > > > > I can use hvc framework, although driver-level buffering is needed on > > > > > both the get_chars/put_chars paths because: > > > > > > > > I'm not asking about the framework (although that is a good question, > > > > you need to document why this has to be new.) I'm asking why pick a new > > > > name? You will not have a name conflict in your system with this device > > > > with any other tty name right? > > > > > > > > > > That's correct, I didn't see any other instances of "ttyGH" in kernel. > > > > Do you see any instances of ttyS? Any other existing name? Why pick a > > new name at all? > > > > And if you do pick a new name, you need to document it really really > > well, not bury it downn within the tty driver code. > > > > Seems other drivers are adding a comment in Kconfig help text. I can do the > same. If you really want this, yes. But again, you have not justified a whole new name yet...