Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp204205pxy; Wed, 28 Apr 2021 02:33:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyu8CQG40L8whlqzCgGrrP7lzRukKQY2UCZPw4GrgsyKmIGPHyyznHrpDNqTSt+mdp1HLy8 X-Received: by 2002:aa7:d046:: with SMTP id n6mr10108464edo.357.1619602424900; Wed, 28 Apr 2021 02:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619602424; cv=none; d=google.com; s=arc-20160816; b=lydR13j4sLhApv3i1tmAA5ZIeShf3/Lgb2nFp2YFvfTBce95qy+2DMInSbwNIswcw5 uRQ9bX41D8ku826f6ZZRrLWLZiuK6EfihysETzqDlXrcCK+lRf/tt85Wn7KEDD3JUkAW t57BJ3Xu8uEj18HKvIhQVf3ljakNSJ7ltzJBCzyw2nwfOrt0DVvEldMU6Dpq9t6yiSPg O/GXfJV1CD63YjUuaUgWpi2PFHJzRgMt0bvk4/PpbC37OM8BjNgvYn6h0oRnROpsoa1H rEIsEMNfNp5yzWjq50JzAQELUnvVSPl6wH8/GfnCAxxsUNiB9t/xXhqKYl7+OAfAGaQg /Y2Q== 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:subject:from :references:cc:to:dkim-signature; bh=vqTFXF2fuJIOfJHntKSB5UWeiLgURFuvM9psymb7+ag=; b=z5yU//zRD9qF26GSw+MbdqeUNA9iRmWyHVG6tfnYeJ8do1c+VUtsJegtxkIOfWhKUQ PLRKuo4+U6qa7Q9AqmTljr5on9KGe/bFWikLGesEZeRCllhKclBFNnzyLxry9VfaE4ki w8cPRdQsoi6vGxbxkyBKTSjKrhhqFv46Uj9d5RSLtH6Ie4nLiq5Kw+DzNmgOy8cpIqfq HSJngGwegC3HBTS7DVFJO3WcEL8y2xC24WCcbsZiEnrPqgq7VUbbaTZ9vvF0jyixwVw3 C3CaFKMFhmR1SGTg6/uKVsvQiGYEFI/uu5pf2FK4PZnHbfPKQSGmy0WqcC7pgHF0mNsQ Jj2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jMMwTl8m; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si5274395edr.597.2021.04.28.02.33.20; Wed, 28 Apr 2021 02:33:44 -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=@redhat.com header.s=mimecast20190719 header.b=jMMwTl8m; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237745AbhD1JbB (ORCPT + 99 others); Wed, 28 Apr 2021 05:31:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:40393 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238001AbhD1Ja7 (ORCPT ); Wed, 28 Apr 2021 05:30:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619602214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vqTFXF2fuJIOfJHntKSB5UWeiLgURFuvM9psymb7+ag=; b=jMMwTl8m/u4ByyDLeNxaJMxKgoZaxT2GJHgxyLaPBz2V/omcNs/2RM/QuE4GK7J3STAZXn psbU48luiM2qwnavzT0ZzKpglIGzY50DCAMZ2QZa3aFWFjHfoLiJnD3/ZJ/ajbprR2poxw 0amrHrVoX0KlvnN2iE3Gp7Idcha8afg= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-573-pLkFOOKZNX6d1LvdmjIp5A-1; Wed, 28 Apr 2021 05:30:12 -0400 X-MC-Unique: pLkFOOKZNX6d1LvdmjIp5A-1 Received: by mail-wr1-f70.google.com with SMTP id 91-20020adf94640000b029010b019075afso5215962wrq.17 for ; Wed, 28 Apr 2021 02:30:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vqTFXF2fuJIOfJHntKSB5UWeiLgURFuvM9psymb7+ag=; b=Ihh9m6Ma3sfQa0Y7c/0YZEAHzrtnlVD6uj9D0GYZD6KZIRzrlnIdfREFTp9V61lnIV MlzDg8MsxMUzLT041M6RQLIypSFdca+Y4NPPvVdySquc7q/ApqA5e1V1VfX1d+bRFB6K UjtFV5MLEsH4Zmba4VYfFJhxWaVxYw82uqIOhBY7WoFwDP1T2JgKZH3XRCxLKOwQVTas BqfVgi9+I11q+4jvokZp+5rWbldTp+490eBhHffyMT05C5Z0rB2b8GeyiPaHBko3GCrq Ta7gy2RWM4Mu1JM+z4XMnwMUBr9bZryfYTusYxYa4+W2yQRQk7TrFxnirzN8jQbZJSzl ypkw== X-Gm-Message-State: AOAM531SHpp7l4r87twj0MRee3J+NlsE8R3JHLp+RMXd7X3u1kkH51tc /ocjiHtz5bRw+nWzWgDR0Km60DdCHDVFGvLnAUm3vWuY/WSL9TaD/ja3gI+mrjXNkIkOb6MdXU+ dL6rvH4/Ndf7WelUnjpMLla3p X-Received: by 2002:adf:9d48:: with SMTP id o8mr34503126wre.183.1619602211012; Wed, 28 Apr 2021 02:30:11 -0700 (PDT) X-Received: by 2002:adf:9d48:: with SMTP id o8mr34503101wre.183.1619602210812; Wed, 28 Apr 2021 02:30:10 -0700 (PDT) Received: from thuth.remote.csb (pd9e839c7.dip0.t-ipconnect.de. [217.232.57.199]) by smtp.gmail.com with ESMTPSA id k188sm7328698wmf.18.2021.04.28.02.30.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Apr 2021 02:30:10 -0700 (PDT) To: Christian Borntraeger , linux-s390@vger.kernel.org, Heiko Carstens Cc: linux-kernel@vger.kernel.org, Vasily Gorbik , Marc Hartmayer , Halil Pasic , cohuck@redhat.com References: <20210428082442.321327-1-thuth@redhat.com> From: Thomas Huth Subject: Re: [PATCH] arch/s390/configs: Change CONFIG_VIRTIO_CONSOLE to "m" Message-ID: <6e44cc81-fe19-f75b-972f-5c4707f2410f@redhat.com> Date: Wed, 28 Apr 2021 11:30:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/04/2021 10.31, Christian Borntraeger wrote: > On 28.04.21 10:24, Thomas Huth wrote: >> In former times, the virtio-console code had to be compiled into >> the kernel since the old guest virtio transport had some hard de- >> pendencies. But since the old virtio transport has been removed in >> commit 7fb2b2d51244 ("s390/virtio: remove the old KVM virtio transport"), >> we do not have this limitation anymore. >> Commit bb533ec8bacd ("s390/config: do not select VIRTIO_CONSOLE via >> Kconfig") then also lifted the hard setting in the Kconfig system, so >> we can finally switch the CONFIG_VIRTIO_CONSOLE knob to compile this >> driver as a module now, making it more flexible for the user to only >> load it if it is really required. > > Isnt that a distro specific decision? I would be perfectly fine to have > this change in Fedora, Redhat and co. Sure, I'll try to get it changed there, too. > Not so sure about defconfig. > We often use the defconfig in our CI and development things to have a > kernel config that boots up fine, even without a ramdisk. I agree that > virtio console is no longer really the most important console but does > it really hurt? Well, it's about a default configuration that should be fine for most users. I don't think that anybody really uses virtio-console in a ramdisk already ... or are you really doing that in your CI? If so, then please disregard my patch. Otherwise, I think compiling this as a module is the better choice, since most people won't use this at all during run-time, or maybe just use it for thing like communicating with the QEMU guest agent, but this is then certainly not required during boot up yet and thus the "m" should be fine, too. > Is any distro using the defconfig unmodified? Most likely don't. But it's a template for new configs, so we should use good defaults here. Thomas