Received: by 10.223.185.116 with SMTP id b49csp2118082wrg; Thu, 22 Feb 2018 08:24:23 -0800 (PST) X-Google-Smtp-Source: AH8x226mJpHuo/xn+2T45yHYD9NENVif2n3B/prUFsPmmsPWZ+9y6UyyM6bEF17SQ5kL0n/CYaYk X-Received: by 10.98.105.9 with SMTP id e9mr183850pfc.226.1519316663849; Thu, 22 Feb 2018 08:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519316663; cv=none; d=google.com; s=arc-20160816; b=U/5ZpI76MwjRJZp+Drpudc14aHuMzGUzLije5YicXz4SUvYjxfvUmBlPaESFGzW95x 5qOTARe7Vq4bMyYSsMtK7M43qt5dAoS4EfJemi9JEMhA/GucA05Xm9SJtTB+vdVKdq07 usgjan11wjuNem9WE9MNidqgPB+l8QiMQNhXs/NqAal/tMQOhHnL38kCF2T0lSThxs25 4C90K7Oqymntb0CmQV2YZLT4/OwcKQaAnWFPu2QsMfIt0X0lH6HuYhRXiuY12Dv4HqVL yUL+a/mYKxZRrOa1+VLW/OKdDOM+JNoAIxoEVftdHjYpiEkH6+hE3lXMlPL8Qx+kzO+i s2Dw== 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 :references:in-reply-to:date:subject:cc:to:from :arc-authentication-results; bh=xtF+BnY30wFFTBVWw64RcdgbTpehPbPcwmZVqW6DIew=; b=Yp+F0osmn8eMdZp18zmYE/KW1kLrGRZp6uyh1xm1Ir2JNQErWvwLEXa+SI+Gw0iEPP y73qd+fRIupK0V2i2vyoRRdX3vXp/5FI/LQt4SJ+AmZllKuUWEIGDezvLCCPiy2C69vE 4GTN/ZNFLNJL7FL3r+0hGa7gHyoBmxeje3nSEr8XvAvtAG4YeXDmI70YGmyLbJrzGcbh uHgQpLULxtlKGRaGRSZTq178AVjgB/0g+8zwhPmGdJu+ZHVqB/d+NqF+fiU2Dtudq9j5 9TiAUxe6eDFMv70feUlpqfIvCRQqbiwk67VK9LE+4RhJBuYS2EjpJ2X3Rah9D8tY5jg7 sKJw== 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 l6si212476pgq.562.2018.02.22.08.24.07; Thu, 22 Feb 2018 08:24:23 -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 S933447AbeBVQWh (ORCPT + 99 others); Thu, 22 Feb 2018 11:22:37 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:58070 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933243AbeBVQWd (ORCPT ); Thu, 22 Feb 2018 11:22:33 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1MGJ4Sc134811 for ; Thu, 22 Feb 2018 11:22:32 -0500 Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx0b-001b2d01.pphosted.com with ESMTP id 2g9yade3fd-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 22 Feb 2018 11:22:32 -0500 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 Feb 2018 09:22:31 -0700 Received: from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 22 Feb 2018 09:22:28 -0700 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1MGMRDZ11534844; Thu, 22 Feb 2018 09:22:27 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A697578043; Thu, 22 Feb 2018 09:22:27 -0700 (MST) Received: from alifm-ThinkPad-T470p.pok.ibm.com (unknown [9.56.58.71]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTPS id CB3C778056; Thu, 22 Feb 2018 09:22:26 -0700 (MST) From: Farhan Ali To: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-s390@vger.kernel.org Cc: thuth@redhat.com, borntraeger@de.ibm.com, cohuck@redhat.com, tomi.valkeinen@ti.com, b.zolnierkie@samsung.com, geert@linux-m68k.org, alifm@linux.vnet.ibm.com Subject: [PATCH v4 1/3] Kconfig : Remove HAS_IOMEM dependency for Graphics support Date: Thu, 22 Feb 2018 11:22:22 -0500 X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: X-TM-AS-GCONF: 00 x-cbid: 18022216-8235-0000-0000-00000D0E8843 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008577; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000254; SDB=6.00993504; UDB=6.00504833; IPR=6.00772844; MB=3.00019691; MTD=3.00000008; XFM=3.00000015; UTC=2018-02-22 16:22:30 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022216-8236-0000-0000-00003FC8FB2F Message-Id: <6e8ef238162df5be4462126be155975c722e9863.1519315352.git.alifm@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-22_05:,, 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-1802220205 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'commit e25df1205f37 ("[S390] Kconfig: menus with depends on HAS_IOMEM.")' added the HAS_IOMEM dependecy for "Graphics support". This disabled the "Graphics support" menu for S390. But if we enable VT layer for S390, we would also need to enable the dummy console. So let's remove the HAS_IOMEM dependency. Move this dependency to sub menu items and console drivers that use io memory. Signed-off-by: Farhan Ali Reviewed-by: Thomas Huth --- drivers/video/Kconfig | 5 ++++- drivers/video/console/Kconfig | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3c20af9..4f950c6 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -3,7 +3,8 @@ # menu "Graphics support" - depends on HAS_IOMEM + +if HAS_IOMEM config HAVE_FB_ATMEL bool @@ -36,6 +37,8 @@ config VIDEOMODE_HELPERS config HDMI bool +endif # HAS_IOMEM + if VT source "drivers/video/console/Kconfig" endif diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig index 7f1f1fb..9485857 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 + !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && HAS_IOMEM default y help Saying Y here will allow you to use Linux in text mode through a @@ -85,7 +85,7 @@ config MDA_CONSOLE config SGI_NEWPORT_CONSOLE tristate "SGI Newport Console support" - depends on SGI_IP22 + depends on SGI_IP22 && HAS_IOMEM select FONT_SUPPORT help Say Y here if you want the console on the Newport aka XL graphics @@ -153,7 +153,7 @@ config FRAMEBUFFER_CONSOLE_ROTATION config STI_CONSOLE bool "STI text console" - depends on PARISC + depends on PARISC && HAS_IOMEM select FONT_SUPPORT default y help -- 2.7.4