From: Randy Dunlap <rdunlap@infradead.org>
To: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-kernel@vger.kernel.org, Ohad Ben-Cohen <ohad@wizery.com>
Subject: Re: [PATCH] drivers: Select dependencies for the VIRTUALIZATION symbol
Date: Sat, 08 Jun 2013 16:40:27 -0700 [thread overview]
Message-ID: <51B3C0EB.2070302@infradead.org> (raw)
In-Reply-To: <1370604188-19806-1-git-send-email-markos.chandras@imgtec.com>
On 06/07/13 04:23, Markos Chandras wrote:
> The VIRTUALIZATION symbol depends on HAVE_KVM but CONFIG_REMOTEPROC
> and CONFIG_RPMSG do not select HAVE_KVM leading to the following
> warning and build problems later on:
>
> warning: (REMOTEPROC && RPMSG) selects VIRTUALIZATION which has unmet
> direct dependencies (HAVE_KVM)
> warning: (REMOTEPROC && RPMSG) selects VIRTUALIZATION which has unmet
> direct dependencies (HAVE_KVM)
>
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> Cc: Ohad Ben-Cohen <ohad@wizery.com>
This seems odd. Usually architectures declare that they HAVE_xyz
and then drivers etc. can use that symbol to do (or not do) something.
See Documentation/kbuild/kconfig-language.txt and search for /HAVE_/.
> ---
> drivers/remoteproc/Kconfig | 1 +
> drivers/rpmsg/Kconfig | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
> index d4d377c..79648ca 100644
> --- a/drivers/remoteproc/Kconfig
> +++ b/drivers/remoteproc/Kconfig
> @@ -6,6 +6,7 @@ config REMOTEPROC
> depends on HAS_DMA
> select CRC32
> select FW_LOADER
> + select HAVE_KVM
> select VIRTIO
> select VIRTUALIZATION
>
> diff --git a/drivers/rpmsg/Kconfig b/drivers/rpmsg/Kconfig
> index 69a2193..3f0bd0f 100644
> --- a/drivers/rpmsg/Kconfig
> +++ b/drivers/rpmsg/Kconfig
> @@ -3,6 +3,7 @@ menu "Rpmsg drivers"
> # RPMSG always gets selected by whoever wants it
> config RPMSG
> tristate
> + select HAVE_KVM
> select VIRTIO
> select VIRTUALIZATION
>
>
--
~Randy
next prev parent reply other threads:[~2013-06-08 23:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 11:23 [PATCH] drivers: Select dependencies for the VIRTUALIZATION symbol Markos Chandras
2013-06-08 23:40 ` Randy Dunlap [this message]
2013-06-09 19:49 ` Markos Chandras
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=51B3C0EB.2070302@infradead.org \
--to=rdunlap@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=markos.chandras@imgtec.com \
--cc=ohad@wizery.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