Received: by 10.223.176.5 with SMTP id f5csp2038264wra; Thu, 8 Feb 2018 07:30:19 -0800 (PST) X-Google-Smtp-Source: AH8x224lgJODepKmTavElNUc8rXiMs1DegOLGq9o577yUSlnQOIouPsCQ45dMjZP/m0zJgV2jWX5 X-Received: by 10.99.125.13 with SMTP id y13mr808216pgc.282.1518103819655; Thu, 08 Feb 2018 07:30:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518103819; cv=none; d=google.com; s=arc-20160816; b=yS9GSReXUSfVdEqCv5xvJaX/3MzUmcJAnKgmj56zB1NQ/xhbpHhHQMZyxQYaJqiKQ/ NC4atHBDerbtsKyBFEHPvM3G1K30gGFRSB6gKepN/Etj4L7heVaRby2Ia0fzIUW8oKj8 ogbDnBVLy1r42DgtwSmXYR4dRMA7gmGJiYY9ucf07Y8TxVdy4oPShIGHOPuwY71lEzV4 mKONpLMlGjk9zgY7fH87RFGhq2rytsystc+E4kDGvB/OJtd0nJ34hYKb07nNjU93I1QG j1T6rXfmBHSrxmHV0bCcY9OGXmaQIBi/Fhi3uoNWFGeyvSN/28/H40Qb2FPdUHAKubkg xf9g== 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=uYPHWipypW3Wk21XwODETrfj39LpfRs1+uWp3DRGPOI=; b=nDWi+sVODykzurC/N00IUFaK5ag6aqEPXK9hVYGuvpBhrivxFpubRC9Mi6zQUymqDo 9R1skaE4n/FZorinX691YxA8nmyRxRifUA7Z3fELT/6vvMOiM+z3GP2zfulcmWaQtfM8 5F+L5UNi/mbwsgV+dScGxA+lB6yQy/MzsXp2L5CA/ASvUsesfOFDMyen07ifTgYO96ZD d6AIQMMM32NDd+HJbfRiSgLS7EBd9piED6RMBRr0qS4qvwIztpf6dOXi/ohgUKZ7H6Hz In2YnI6/tgNEbItBBpqWKP6nIQB94XtEh4mX4fsX1inufUvWhihgLKP3DxD6Il4Y0L4d asDA== 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 f15-v6si103477plk.245.2018.02.08.07.30.04; Thu, 08 Feb 2018 07:30:19 -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 S1752261AbeBHP3F (ORCPT + 99 others); Thu, 8 Feb 2018 10:29:05 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60154 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751190AbeBHP3D (ORCPT ); Thu, 8 Feb 2018 10:29:03 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w18FOi87146789 for ; Thu, 8 Feb 2018 10:29:02 -0500 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g0s0egwj2-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 08 Feb 2018 10:29:02 -0500 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 8 Feb 2018 10:29:01 -0500 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 8 Feb 2018 10:28:57 -0500 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w18FSuGt47841524; Thu, 8 Feb 2018 15:28:56 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4C3CAAC040; Thu, 8 Feb 2018 10:30:17 -0500 (EST) Received: from [9.56.58.71] (unknown [9.56.58.71]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP id 3D9B6AC03F; Thu, 8 Feb 2018 10:30:17 -0500 (EST) Subject: Re: [PATCH v2 1/3] Kconfig : Remove HAS_IOMEM dependency for Graphics support To: Bartlomiej Zolnierkiewicz , Christian Borntraeger Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-fbdev@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 References: <246f92c9-15dc-223f-59d9-b2f0756cdf5e@de.ibm.com> <1610039.4trOurtpys@amdc3058> From: Farhan Ali Date: Thu, 8 Feb 2018 10:28:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1610039.4trOurtpys@amdc3058> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18020815-0040-0000-0000-000003F0BFF7 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008497; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000249; SDB=6.00986770; UDB=6.00500810; IPR=6.00766129; BA=6.00005820; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019444; XFM=3.00000015; UTC=2018-02-08 15:29:00 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020815-0041-0000-0000-000007E633FB Message-Id: <00fb2500-7656-f604-4253-3b7e73b9730a@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-08_08:,, 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-1802080180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/08/2018 08:11 AM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > [ dri-devel ML & arch/[score,um] Maintainers added to Cc: ] > > On Friday, February 02, 2018 08:59:57 AM Christian Borntraeger wrote: >> On 02/01/2018 07:41 PM, Farhan Ali wrote: >>> 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 Opencores framebuffer driver which would fail to build >>> with CONFIG_HAS_IOMEM disabled: >>> >>> ERROR: "devm_ioremap_resource" [drivers/video/fbdev/ocfb.ko] undefined! > > "Graphics support" menu covers other things (i.e. DRM), I assume that > they were also checked to not break due to this change? > Yes, DRM compiled fine. And we (s390) would need the DRM subsystem for Virtio GPU as well. > Moreover it seems that after this change "Graphics support" menu will > be also enabled (besides s390) for score, tile and um architectures, > I assume that this is okay? > >>> Signed-off-by: Farhan Ali >>> Tested-by: Dong Jia Shi >> >> This also enables several PCI based graphic device driver on s390. >> This makes no sense but they all compile fine so I guess this is ok. >> >> I think patch 2 and 3 are clearly for the s390 tree, patch 1 seems trivial >> Also ccing Bart. Can we maybe get an ack to carry this patch also via the s390 >> tree? >> >> >>> --- >>> drivers/video/Kconfig | 1 - >>> drivers/video/fbdev/Kconfig | 2 +- >>> 2 files changed, 1 insertion(+), 2 deletions(-) >>> >>> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig >>> index 3c20af9..41e7ba9 100644 >>> --- a/drivers/video/Kconfig >>> +++ b/drivers/video/Kconfig >>> @@ -3,7 +3,6 @@ >>> # >>> >>> menu "Graphics support" >>> - depends on HAS_IOMEM >>> >>> config HAVE_FB_ATMEL >>> bool >>> diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig >>> index 2f615b7..ec9c9ce 100644 >>> --- a/drivers/video/fbdev/Kconfig >>> +++ b/drivers/video/fbdev/Kconfig >>> @@ -966,7 +966,7 @@ config FB_PVR2 >>> >>> config FB_OPENCORES >>> tristate "OpenCores VGA/LCD core 2.0 framebuffer support" >>> - depends on FB && HAS_DMA >>> + depends on FB && HAS_DMA && HAS_IOMEM >>> select FB_CFB_FILLRECT >>> select FB_CFB_COPYAREA >>> select FB_CFB_IMAGEBLIT > > Best regards, > -- > Bartlomiej Zolnierkiewicz > Samsung R&D Institute Poland > Samsung Electronics >