Received: by 10.223.185.116 with SMTP id b49csp1885534wrg; Thu, 15 Feb 2018 03:15:58 -0800 (PST) X-Google-Smtp-Source: AH8x224ajMH3zEMD1jpkVileZt9crF8L8mxR5W/D5mOmFUDw/6wjwI92lH+t9niMEftXWOWkog5a X-Received: by 10.99.4.197 with SMTP id 188mr1868395pge.359.1518693358079; Thu, 15 Feb 2018 03:15:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518693358; cv=none; d=google.com; s=arc-20160816; b=SGyb7x8+eeaik6Kpt6PYPrroP3ZN8xo3ytkd82SXAC1na0WmibobqZK/jvDkCOyfid b2q0exT+fo5jSDr3rOSwgyF4nePRD8PDsTApDWcXE0qzdIa3T5ICoRHLg8fR9t3YmfXo LHOcZ0SYjxJF1harGDBtug1duKC6EkbawCebr4MATg5dyvk216prtig2gmS1ey+itz5G SYZNYYLE51C6WB7DzWIlKu5TK0JJVvtfxk8x+QPMZ1WrtiXgLl5jTHSWaV9ed/UYwb1p EUsmSvXxLgSR9sdMEqL43zIIQ4/nIsg5hy+2P1XfBfJXOqSLa3xa3awSvzowUMeu3TrS H9DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=tSdbT+KcmJvub3iIaEFTiqAUajrRN8dNyp4vYk3bMTo=; b=Bbzf9bJS6QparZUAP0Qm6tePP12pDQKNmESw4+kpgpxyfRTXgk7luA4XmSjmpH3Dr1 nCcJlVZhh65ROk4h0/D+PAXmdrCMmI1mIr+UnYhmQzIOOvilDTRXDC0moV3vaAHYaLEa ipydaO8v55pSUfV7riun7Pwt8QLpl8DIgN/alEvMkUriHYrcuqCOTYVPmOrDv0rW6ufG 7CrvzXE+mXOi1RCF0w5uLBTxfLGDydrRrhAl25bc5mEmJWBZWwpPkpZX/7/cpEAC51nq 2KBfKjIEBT4znCZzJvvvtk/m1DcfoanxPmL9upwEH2oIJasNiat4fv7lW28ljd+XJqlt kTWw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s83si1452401pfa.18.2018.02.15.03.15.42; Thu, 15 Feb 2018 03:15:58 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967882AbeBOLOy (ORCPT + 99 others); Thu, 15 Feb 2018 06:14:54 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:37758 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966589AbeBOLOx (ORCPT ); Thu, 15 Feb 2018 06:14:53 -0500 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1FBEm61090686 for ; Thu, 15 Feb 2018 06:14:52 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g561cfqnb-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 15 Feb 2018 06:14:52 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 15 Feb 2018 11:14:31 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 15 Feb 2018 11:14:25 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1FBEOhK34209834; Thu, 15 Feb 2018 11:14:24 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 338554204B; Thu, 15 Feb 2018 11:07:10 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2102B4203F; Thu, 15 Feb 2018 11:07:10 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 15 Feb 2018 11:07:10 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 25651) id 3794F20F63D; Thu, 15 Feb 2018 12:14:24 +0100 (CET) From: Christian Borntraeger To: Bartlomiej Zolnierkiewicz Cc: Farhan Ali , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-s390@vger.kernel.org, geert@linux-m68k.org, stefan.kristiansson@saunalahti.fi, tomi.valkeinen@ti.com, schwidefsky@de.ibm.com, dri-devel@lists.freedesktop.org, Chen Liqin , Lennox Wu , Jeff Dike , Richard Weinberger , user-mode-linux-devel@lists.sourceforge.net, Thomas Huth , Christian Borntraeger Subject: [PATCH] s390/console: enable dummy console for vt Date: Thu, 15 Feb 2018 11:14:23 +0000 X-Mailer: git-send-email 2.14.3 In-Reply-To: <2324e2cc-ff55-4d57-2807-c7f72f9ea0ca@de.ibm.com> References: <2324e2cc-ff55-4d57-2807-c7f72f9ea0ca@de.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18021511-0040-0000-0000-0000043008B0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18021511-0041-0000-0000-000020D3D38D Message-Id: <20180215111423.96598-1-borntraeger@de.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-15_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802150140 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" -- 2.14.3