Received: by 10.223.185.116 with SMTP id b49csp1896892wrg; Thu, 15 Feb 2018 03:27:12 -0800 (PST) X-Google-Smtp-Source: AH8x227XYwc3ihZtmbkCmiz8qZ3BEMUDxj2Y+NiBTato+jFut8iQENBY6dBtM3OxYI/LmryWM9+n X-Received: by 10.99.2.67 with SMTP id 64mr1971445pgc.117.1518694032414; Thu, 15 Feb 2018 03:27:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518694032; cv=none; d=google.com; s=arc-20160816; b=szoeU/Gz4w9Mb/R3qNdKkd4peAw8L634ki0AOzL5Krgh5awLbt2vsAFce+R1QDlT4n Y89IAOHRLz/h/nKq5bVBEcktfBA0v9jdC+I76oLjyUlmwqWG2Fs4sLrjkO7JycogL5vq oHjwUvrYkScSUwBOnhffwaESebJiSVelB1FKnE4NLJ/2U+mY+q5sXuOv81A3wCPUf7pJ hrh0NFeqQ+Yx7QtUGVymRrAHH0UKnWbF+g/kJF8Fb9VObwWqU0VCbyALSHtbNAw7CIf6 0h4Mj0OqHNv82Ca468AtIogctrQ76AjlBXzEhTY37nfLsIhDK2HCOLgK0zVGisiO4w4E wmyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=CVrexifE2hGdgBJfJ4t/8UKtLur+zsdwSbsUvuM6muo=; b=vzd588Jzo9PpvBBxHCkWrmNhYxomyKlBKiq68/+HyiGpbxI7dTZilPe2a2L44WPLZy /ZNFX3LGya7r0khxiTkVpycW2oxFXsKLogvUsrXdVhWKaS+a9dkthD3ySW7zl2+hP9Jp nKswSRI41m60UlClUgCoOL/v1IxUP5fV/NgG64IHFgGdNyoMIOUKEAGv0o8csiTMEddR yYk5fZj5EQjXACegAqSDHaZdnuXqWOmN6dvhusTXgyPyJepGbNFZBUCePXdNnpcib4Yq 9xMJBOxkPOopvFHnzSHUAa6Vy+I8J/sUXn+8sH2J2OdbKYX+AvPW54gYt9sbXNM3Cbeq dSBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jTylzEfd; 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 l12-v6si2584085plc.751.2018.02.15.03.26.57; Thu, 15 Feb 2018 03:27:12 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=jTylzEfd; 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 S967869AbeBOL0T (ORCPT + 99 others); Thu, 15 Feb 2018 06:26:19 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:37966 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966662AbeBOL0S (ORCPT ); Thu, 15 Feb 2018 06:26:18 -0500 Received: by mail-qk0-f195.google.com with SMTP id s198so14318457qke.5; Thu, 15 Feb 2018 03:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CVrexifE2hGdgBJfJ4t/8UKtLur+zsdwSbsUvuM6muo=; b=jTylzEfd2rnxbIu5i/X0eJ48wK1mDsUwcJiTayvdFeqfiDXE2n5iUj895o3cqEhNdC umf7jDMgxz/OnTzl3qRSCVyGSffg+QFD69FRRLxCU+vJsU1KHNhIUChVKOJJyoycOhUu P7tY2Jgv2EUrrC0CGZZ+Z8BWg7JVuDbKR5sMeNgyhXNNoib08sPQK0YE1uB5FrCHeadt grqeR64viQVQLtnNakdEchN67lhBKdKV3NfXMsaUnrlvg1YN8TsZ3wF33YLEyjtkqLxw Xc3NIRDdMAYzG0cUqSqaMo04kMnUmleF//EDZrJ4sTmON6l66tQIl4nbslZZPj7/Z7Ko hLrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CVrexifE2hGdgBJfJ4t/8UKtLur+zsdwSbsUvuM6muo=; b=tfVBJ48uziBZabXVxe4Kux1Zf1gTZiJfgrLYIyizl+NxfSNE5y37/HCL1M6j8TCojp VeVPfcqiy1Yx/giOoS6qQ5u135MwlCRS7kIWkq0Cc5x6pVWL0HcJ7BmpuHbVMNUDNzZn mHjaygY3Z0FVntdsAhjR7JX2AH+eQzpSuOKKIWjx+dfNTuK4ABWbEjnSSIeyJLjzokg7 qqg35mxJdGGJN6JDvgM7S0tGk6mnwumxTYOfoZ5tXOeWkeFWfpUVY31y4oivbASJAfZc lz+5KlsTvh84MN5t4rbRbiqKrb14A+XjdoOMTucoHCjE2oG1mvC9gVzSI0Txznk1SdYK v3dg== X-Gm-Message-State: APf1xPByZLWdF7BPI1MVlnVipwI1Cp1wrujqW1mjmP6vuwuUxDdis93Y dIx9KUYxIr8jiyl5esDSSmX1dcBaUjlsgf1fqwM= X-Received: by 10.233.237.145 with SMTP id c139mr3625892qkg.78.1518693977196; Thu, 15 Feb 2018 03:26:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.47.219 with HTTP; Thu, 15 Feb 2018 03:26:16 -0800 (PST) In-Reply-To: <20180215111423.96598-1-borntraeger@de.ibm.com> References: <2324e2cc-ff55-4d57-2807-c7f72f9ea0ca@de.ibm.com> <20180215111423.96598-1-borntraeger@de.ibm.com> From: Geert Uytterhoeven Date: Thu, 15 Feb 2018 12:26:16 +0100 X-Google-Sender-Auth: IShv1NbgCOYlM4izngakURwsdhg Message-ID: Subject: Re: [PATCH] s390/console: enable dummy console for vt To: Christian Borntraeger Cc: Bartlomiej Zolnierkiewicz , Farhan Ali , Linux Kernel Mailing List , Linux Fbdev development list , linux-s390 , Stefan Kristiansson , Tomi Valkeinen , Martin Schwidefsky , DRI Development , Chen Liqin , Lennox Wu , Jeff Dike , Richard Weinberger , uml-devel , Thomas Huth Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christian, On Thu, Feb 15, 2018 at 12:14 PM, Christian Borntraeger wrote: > To enable the virtual terminal layer with virtio-gpu, we need to > provide the dummy console. This console is hidden behind CONFIG_IOMEM > via the graphics support. Instead of fully enabling the graphic > drivers lets just provide a Kconfig option for the dummy console. > > Signed-off-by: Christian Borntraeger > --- > New version: instead of moving around the graphic and console stuff, > let's just keep an s390 specific variant of CONFIG_DUMMY_CONSOLE > arch/s390/Kconfig | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig > index cbe1d978693a..a69690f616f3 100644 > --- a/arch/s390/Kconfig > +++ b/arch/s390/Kconfig > @@ -952,6 +952,11 @@ config S390_HYPFS_FS > > source "arch/s390/kvm/Kconfig" > > +config DUMMY_CONSOLE > + bool > + depends on VT > + default y > + > config S390_GUEST > def_bool y > prompt "s390 support for virtio devices" Really? You already have your own copy of HAS_IOMEM, which makes it hard for people to track which one applies where. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds