From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Farhan Ali <alifm@linux.vnet.ibm.com>,
linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
linux-s390@vger.kernel.org, b.zolnierkie@samsung.com
Cc: thuth@redhat.com, cohuck@redhat.com, tomi.valkeinen@ti.com,
geert@linux-m68k.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH v4 1/3] Kconfig : Remove HAS_IOMEM dependency for Graphics support
Date: Tue, 27 Feb 2018 09:23:37 +0000 [thread overview]
Message-ID: <05a0da63-1d9a-875a-738c-ce453dd59505@de.ibm.com> (raw)
In-Reply-To: <6e8ef238162df5be4462126be155975c722e9863.1519315352.git.alifm@linux.vnet.ibm.com>
This one has been in linux-next for some days. I can carry this via the kvm/s390
tree, but I would like to get ack from at least Bartlomiej. Please also look at
patch 3 which also touches drivers/video/console/Kconfig.
Adding Greg, as I would like an ack from him for patch 3.
On 02/22/2018 05:22 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 sub menu items and console drivers that use
> io memory.
>
> Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> ---
> 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
>
next prev parent reply other threads:[~2018-02-27 9:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-22 16:22 [PATCH v4 0/3] Enable CONFIG_VT support for S390 Farhan Ali
2018-02-22 16:22 ` [PATCH v4 1/3] Kconfig : Remove HAS_IOMEM dependency for Graphics support Farhan Ali
2018-02-27 9:23 ` Christian Borntraeger [this message]
2018-02-27 11:58 ` Bartlomiej Zolnierkiewicz
2018-02-22 16:22 ` [PATCH v4 2/3] s390/char : Rename EBCDIC keymap variables Farhan Ali
2018-02-22 16:22 ` [PATCH v4 3/3] s390/setup : enable display support for KVM guest Farhan Ali
2018-02-27 9:23 ` Christian Borntraeger
2018-02-27 12:39 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=05a0da63-1d9a-875a-738c-ce453dd59505@de.ibm.com \
--to=borntraeger@de.ibm.com \
--cc=alifm@linux.vnet.ibm.com \
--cc=b.zolnierkie@samsung.com \
--cc=cohuck@redhat.com \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=thuth@redhat.com \
--cc=tomi.valkeinen@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).