Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp303856yba; Thu, 25 Apr 2019 23:47:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyF6AdupCfrOA4z+hBycXRA29trjSj79rk1G8wOmZZSL68Rdlmt1CfmqoM40G8e1/Azf1GY X-Received: by 2002:a17:902:ab89:: with SMTP id f9mr2694759plr.151.1556261263748; Thu, 25 Apr 2019 23:47:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556261263; cv=none; d=google.com; s=arc-20160816; b=wyecbyCYQhqnE00GEZAQxfZ0AKkPgY0wm1dWyVvGHmgfxnxtIbU2U1r4DWm66XOJwu sDqk/n2MKZMbdJqLeMhQp7nOA+KFlu6Z+MLgEVtqKvFbW0zN1V+mypBJPSL1UpjdMHgT awFoIO/aCSgq73JidzBF+91Mii0HtWBXk6Nr6tKmhUmMvcKS6OMURJ8SE+HEXro2NYjq 8xkA9kc3RnMvBcBHu2SIWtec1ajYu5mQwFRCHTSL+GMGOcc4asFbzhl7Zagyh2utsVrH xnVj0e0Gm7AeQTbUJlGeD1U93k9ZW/4k80hS3O9pC3shB3oj+crTfiSV00LvgcnSKJ2j ezuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0LwYefVsKWI1t7eo6Xuii0VTIBtmVw2TLE6B4mPZvpk=; b=pCq4SEQwqSBMlKkDkKxa5ImLPIJfDkvpa1MFWa111d5ESdETjmwXHUYiITYGFNKY80 /NZqi1BIim8sVe/0QhpyUnAKKsgVbukUTJpRKMQGxiIfX9iagr6gc43fDsv/Juz5V6Yv f2pw2zcW6NQV/VpcMmaAzzpkrLOJl+cCAWYVwpESRq8Dg9d8KzqLlFGt7fXD58g+bHOd 4Ydxr288wghV8qpyrYhZ4zI3/O1nb6nggR2eYVlPr2UnxPxhuxjsYpwFEut2yLcErELm +Nsy2AVew/ESOjDf3HO0Bmcygu1FQEoqqiN0ABlXwjlL4gX05BgWFBb4sNPDIVuEU0dZ mUOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=txQofMPn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5si1044775plk.196.2019.04.25.23.47.28; Thu, 25 Apr 2019 23:47:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=txQofMPn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727131AbfDZGVh (ORCPT + 99 others); Fri, 26 Apr 2019 02:21:37 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44030 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbfDZGVh (ORCPT ); Fri, 26 Apr 2019 02:21:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0LwYefVsKWI1t7eo6Xuii0VTIBtmVw2TLE6B4mPZvpk=; b=txQofMPn+JMo22X91UjkWsuZN HJIsNxmhmaHv1oVEKXsYzg74TVhqtSGNvzbF7qmTSfuOKa+y8mli9hNfy59npKXYsLTOpEwoqeZzr z0UVH1B60xVgg0RtfnIZFB3Ly1zhANdKddcyuZccc6H8+FdesiJa9lmO+8yK78OKr0BfV92C4+Tbv wx9sGizfk7bMd+zgIWMGJ2EFPyphKPeCTSLvwub2KVk1kWmC1FjOG9D1OPVHHAyjzaiBaU6g+XsaT pbqBD/ApVHXP+T8bEialVyV9kMtxYD4uznsoVwp8+Fy9h8iFtTjxjn9Qldi29gUESwnLkIqDPHDIQ 0dMGBFM/A==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJuEn-0000CS-8B; Fri, 26 Apr 2019 06:21:33 +0000 Date: Thu, 25 Apr 2019 23:21:33 -0700 From: Christoph Hellwig To: Atish Patra Cc: Anup Patel , Greg Kroah-Hartman , Jiri Slaby , Palmer Dabbelt , Albert Ou , Christoph Hellwig , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: Re: [PATCH] tty: Don't force RISCV SBI console as preferred console Message-ID: <20190426062133.GA28529@infradead.org> References: <20190425133435.56065-1-anup.patel@wdc.com> <9a8be7ef-e62e-2a93-9170-e3dc70dfb25f@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9a8be7ef-e62e-2a93-9170-e3dc70dfb25f@wdc.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 25, 2019 at 09:41:21PM -0700, Atish Patra wrote: > Do we even need HVC_SBI console to be enabled by default? Disabling > CONFIG_HVC_RISCV_SBI seems to be fine while running in QEMU. > > If we don't need it, I suggest we should remove the config option from > defconfig in addition to this patch. I think the whole concept of the SBI console is a little dangerous. It means that for one piece of physical hardware (usually the uart) we have two entiries (the M-mode firmware and the OS) in control, which tends to rarely end well.