Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp108000pxk; Wed, 30 Sep 2020 19:40:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQTuqeoH+IR0toR1ZJVBFx6v7joM04Hn6k+KnfFGG1+XXXE69alRDLd++w2Z+sNK/bUPmX X-Received: by 2002:a17:906:bc92:: with SMTP id lv18mr5708111ejb.479.1601520009615; Wed, 30 Sep 2020 19:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601520009; cv=none; d=google.com; s=arc-20160816; b=IBkMP9wmNX93wGQNOvqCI/J42QFe0XScfL+olfiefoFAWVet6Iny8LXmI5EjmaxL98 7U2D+ZhCrLC1HTYg7Jc3d6p8qJinE5AihoUg7AhUAZbCGLhzwpBB03uegwrp3e6tB3ii FcgaPiCFo9kleOgsE09bR8hboz7lI+JsL1qGQ2/RCI8Pzxio4VMI/wg2LkHa7SyIAb9M Seb5vHFEZwzxgFDKtJphEqqQj+bJgNjir/NqMkYwsc7gcjyLRJhEWJw5NTLb80JVjkSq N1bEve0vDuk5Tq4Qe1Ec9Fc8QRTmuZpKZHCTXj5wcgTvQPLmU12fxsUxDW25wswhFiIk ecSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=8KYXszwQ89hkONVI1ysv2NZoMsEiEw8904Ywg8FUfkI=; b=Z0sPePEWBvTxqCYQlLz9wZgq+Pak6NxOjT0lmGXDUH3YICrPi7hLjTfho0fVYUZxnE hATEGF+UDzRuX5RlAdtiDWcpIsywUd59f+r+FdjQ0ozclmPCmQ63ANdewumeZUptQpi2 mEuGA9v8KfBqC0GAIH/db2FnVwH5zRaEHafJlZO04wbMYdKaqF6eyb6R0IuO2ipiyEuO P9yT2oVPWjmec5a2ypTw223xX6Q2nAUVJZfR3PsHtU39DEPsCYAbYnP/+rMOCjpTSfCb /8r6SvjTsLbfqnM+yHl030FyFWHBKhVnEdGkeiM9KwKFmPAh1Gp+nk/Sm+sAUzQGy0ve gtLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dsiK3+Vj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o15si2442670ejb.225.2020.09.30.19.39.46; Wed, 30 Sep 2020 19:40:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dsiK3+Vj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727210AbgJACg2 (ORCPT + 99 others); Wed, 30 Sep 2020 22:36:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbgJACg2 (ORCPT ); Wed, 30 Sep 2020 22:36:28 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5BF6C061755 for ; Wed, 30 Sep 2020 19:36:26 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id jw11so1050735pjb.0 for ; Wed, 30 Sep 2020 19:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8KYXszwQ89hkONVI1ysv2NZoMsEiEw8904Ywg8FUfkI=; b=dsiK3+Vj2bBXVcrL67SxMoRMBWNkQPZ8K+qgnGyOIJOTCtoMu80p+h4ro17ocKE1Gv kGwTcV/1jq2e9BNZ9sq+oNvhg5KeKoeQymFm4AN3yyH1am0xh3kNmo29B6TiBBQarHQy rl5V7UfHz6uv/DbSe0kYmhXRaxvq8YRLyzN2AOc0bgguVfLPX3zq/84VIuBHP2MLuHUs C5EbeVfZINz3HldQ1dbl3tRToDOcvR8QunaBug3+fKms2nu4UL6a+nPWwtW8yFD4mFQX CO4TiITnzoBX0HbCoFtqKbPSkbZKK3Dj0YwkSvMurlBtOID5+xqK0jYC5Z6jxQYkMTFK /QRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8KYXszwQ89hkONVI1ysv2NZoMsEiEw8904Ywg8FUfkI=; b=omUAwSBqeYc6+F3FO5Zwqn05gSDF3ibRdYxfP3HYxlmIVKbV82e2S5JuaRndCiAbjw HyxkBxxcTYeK7qEu9BWHwtigEX0HvXJxWv6VnYIGw/PPfmPvjPTU+NeaP+0Ok2aN9re/ nc5FWyqnVL7uMJ0+c9m0CkomHOu/JbegC8lAX02H4UQDIQA2WU+mcJAPd63/IAEf3TIC lQn0XNbED8TSxdtaC9U051gpgymC0cebN8pzBI/epmgMC1ROp3PnsaRoyx30V4D9u6C5 fl8lWjspb+HnVTNcXAU9PU1Oi/fv5e+C4FtU4UMCEVHY1CxO8EKd/b1ESHicCMpfIgoC 4mgw== X-Gm-Message-State: AOAM530z9Ku+zpdITpteAqNTwuET4aZUQJp3pbiN1sF6ej3mt4EYBsO9 45lAjn6sTkBVCm9g0UgALfo= X-Received: by 2002:a17:90a:760f:: with SMTP id s15mr5034135pjk.214.1601519786250; Wed, 30 Sep 2020 19:36:26 -0700 (PDT) Received: from [10.230.29.112] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id z1sm3405278pgu.80.2020.09.30.19.36.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Sep 2020 19:36:25 -0700 (PDT) Subject: Re: [PATCH v5 15/15] misc: bcm-vk: add ttyVK support To: Scott Branden , Arnd Bergmann , Greg Kroah-Hartman , Olof Johansson Cc: Kees Cook , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com References: <20201001012810.4172-1-scott.branden@broadcom.com> <20201001012810.4172-16-scott.branden@broadcom.com> From: Florian Fainelli Message-ID: <278afb05-8c8d-98d2-eed0-f73b954b03c7@gmail.com> Date: Wed, 30 Sep 2020 19:36:19 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201001012810.4172-16-scott.branden@broadcom.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/30/2020 6:28 PM, Scott Branden wrote: > Add ttyVK support to driver to allow console access to VK card from host. > > Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where: > x is the instance of the VK card > y is the tty device number on the VK card > > Signed-off-by: Scott Branden Was it not possible to: - emulate a standard 8250 UART and just expose an additional bar + MSI vector such that one could get a debug UART out of this device with little to no work on the host side? - or use virtio console and implement virtio on the firmware that runs on VK? It's not a lot of code, but it just feels like this should not have to be done at all. -- Florian