Received: by 10.223.185.116 with SMTP id b49csp4731152wrg; Tue, 27 Feb 2018 01:25:16 -0800 (PST) X-Google-Smtp-Source: AH8x227wV8rlvhLNcOEBZq2tpX8kfSNYqKXrnC3n6kqXlecmruRkoNk/b9P30JGm5JbAgrfR/4r3 X-Received: by 2002:a17:902:5797:: with SMTP id l23-v6mr13377151pli.56.1519723516301; Tue, 27 Feb 2018 01:25:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519723516; cv=none; d=google.com; s=arc-20160816; b=hZvq9EOp+1OExNWaoiYUEPfNDQoutdrr1Q0RVKY/LkBsqCL2emCX0RgR3a2mbtTRz9 N527zZaLPPF9oBQ3c+ze0m3e75A5gQQJYPxgRBpYVwFF+ABHB7aONPpAbRH7YXT31Wxi fcLobJkgiVQn7TRovJ5Gfqx0E1lOqIa6cpsJpHdrRcjK1//SlGuHaUdoGvBbz94DK8ld /oUhwEEi3WtnC6AuD0NSp2C8utfxLObWRx0tEr2s/sGpnvXAEiQFDuMUtN0A1z+Eq6vP FvQ2uKBWHkAr4198CX2ZibQo6RvrR1wh3mZozRo1RB4xoy/+lW8rJs85t1Ov/YKW7jTr caSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:arc-authentication-results; bh=n4IKBWEW+sBvOA1rJmtuzs77KNsdO6Cnezaqu+v2iS4=; b=xBcM3KF+P01hieFhYi0QwndxCLVJKEvjGNKCVgKc9WgTuSyTVeaRRUoUOoHCZb/kkk X+SHdy5aVyw//abZrr9HD3H+h6VR2Ys0IAKP0fYckHMt1PboT6IbkYxdPz94fm0W+9kH iNbFJXmpzfCniBhYH8GayWVPlmdKXf4VhDfD4Ko439V1JQGPmWxKVsGNsyoqMj+TYvqQ Y9GQ4pxaWdBWGiUwj8SrJL0Ij9Fri+DYhyKRIV6XDlg4yh/IpDxHwdbPEMhnrVx3vh+L YRnaq0BXQUad662zb02dDOcrAGl9GPx8byFUVKikgL15NKVXhL1ovah+DGC5Om4ywale rccQ== 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 f10si6795100pge.494.2018.02.27.01.25.01; Tue, 27 Feb 2018 01:25:16 -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 S1752330AbeB0JXq (ORCPT + 99 others); Tue, 27 Feb 2018 04:23:46 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36326 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752172AbeB0JXn (ORCPT ); Tue, 27 Feb 2018 04:23:43 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1R9MNeY086160 for ; Tue, 27 Feb 2018 04:23:42 -0500 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gd3sja0y6-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 27 Feb 2018 04:23:41 -0500 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 27 Feb 2018 09:23:38 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 27 Feb 2018 09:23:35 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1R9NZLk57868490; Tue, 27 Feb 2018 09:23:35 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B34814C044; Tue, 27 Feb 2018 09:17:05 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0C7C44C050; Tue, 27 Feb 2018 09:17:05 +0000 (GMT) Received: from oc7330422307.ibm.com (unknown [9.152.224.50]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 27 Feb 2018 09:17:04 +0000 (GMT) Subject: Re: [PATCH v4 3/3] s390/setup : enable display support for KVM guest To: Farhan Ali , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-s390@vger.kernel.org, Greg Kroah-Hartman Cc: thuth@redhat.com, cohuck@redhat.com, tomi.valkeinen@ti.com, b.zolnierkie@samsung.com, geert@linux-m68k.org References: From: Christian Borntraeger Date: Tue, 27 Feb 2018 10:23:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18022709-0008-0000-0000-000004D4F66E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022709-0009-0000-0000-00001E681580 Message-Id: <0b58aec3-7434-e059-386d-2dacebdf39aa@de.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-27_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=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802270114 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greg FYI, I plan to carry this patch via the s390/kvm tree. As it drivers/tty/Kconfig, can you give an ack for this part? On 02/22/2018 05:22 PM, Farhan Ali wrote: > The S390 architecture does not support any graphics hardware, > but with the latest support for Virtio GPU in Linux and Virtio > GPU emulation in QEMU, it's possible to enable graphics for > S390 using the Virtio GPU device. > > To enable display we need to enable the Linux Virtual Terminal (VT) > layer for S390. But the VT subsystem initializes quite early > at boot so we need a dummy console driver till the Virtio GPU > driver is initialized and we can run the framebuffer console. > > The framebuffer console over a Virtio GPU device can be run > in combination with the serial SCLP console (default on S390). > The SCLP console can still be accessed by management applications > (eg: via Libvirt's virsh console). > > Signed-off-by: Farhan Ali > Acked-by: Christian Borntraeger > Reviewed-by: Thomas Huth > --- > arch/s390/kernel/setup.c | 2 ++ > drivers/tty/Kconfig | 2 +- > drivers/video/console/Kconfig | 2 +- > 3 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c > index a6a91f0..f98a0f3 100644 > --- a/arch/s390/kernel/setup.c > +++ b/arch/s390/kernel/setup.c > @@ -221,6 +221,8 @@ static void __init conmode_default(void) > SET_CONSOLE_SCLP; > #endif > } > + if (IS_ENABLED(CONFIG_VT) && IS_ENABLED(CONFIG_DUMMY_CONSOLE)) > + conswitchp = &dummy_con; > } > > #ifdef CONFIG_CRASH_DUMP > diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig > index b811442..5ca53fa 100644 > --- a/drivers/tty/Kconfig > +++ b/drivers/tty/Kconfig > @@ -11,7 +11,7 @@ if TTY > > config VT > bool "Virtual terminal" if EXPERT > - depends on !S390 && !UML > + depends on !UML > select INPUT > default y > ---help--- > diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig > index 9485857..b9c2c91 100644 > --- a/drivers/video/console/Kconfig > +++ b/drivers/video/console/Kconfig > @@ -9,7 +9,7 @@ config VGA_CONSOLE > depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !FRV && \ > !SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \ > (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \ > - !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && HAS_IOMEM > + !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && HAS_IOMEM && !S390 > default y > help > Saying Y here will allow you to use Linux in text mode through a >