linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu@kernel.org>
To: Sunil Muthuswamy <sunilmut@microsoft.com>
Cc: Michael Kelley <mikelley@microsoft.com>,
	KY Srinivasan <kys@microsoft.com>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	Stephen Hemminger <sthemmin@microsoft.com>,
	"wei.liu@kernel.org" <wei.liu@kernel.org>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	"mingo@redhat.com" <mingo@redhat.com>,
	"bp@alien8.de" <bp@alien8.de>, "x86@kernel.org" <x86@kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>
Subject: Re: [PATCH 1/1] Drivers: hv: Move Hyper-V extended capability check to arch neutral code
Date: Sat, 5 Jun 2021 10:25:33 +0000	[thread overview]
Message-ID: <20210605102533.uzvd4l7el2afes5i@liuwe-devbox-debian-v2> (raw)
In-Reply-To: <MW4PR21MB20040751A1A5AFF8D6C6FCA3C03B9@MW4PR21MB2004.namprd21.prod.outlook.com>

On Fri, Jun 04, 2021 at 12:14:09AM +0000, Sunil Muthuswamy wrote:
> > The extended capability query code is currently under arch/x86, but it
> > is architecture neutral, and is used by arch neutral code in the Hyper-V
> > balloon driver. Hence the balloon driver fails to build on other
> > architectures.
> > 
> > Fix by moving the ext cap code out from arch/x86.  Because it is also
> > called from built-in architecture specific code, it can't be in a module,
> > so the Makefile treats as built-in even when CONFIG_HYPERV is "m".  Also
> > drivers/Makefile is tweaked because this is the first occurrence of a
> > Hyper-V file that is built-in even when CONFIG_HYPERV is "m".
> > 
> > While here, update the hypercall status check to use the new helper
> > function instead of open coding. No functional change.
> > 
> 
> Thanks for taking care of this, Michael.
> 
> Reviewed-by: Sunil Muthuswamy <sunilmut@microsoft.com>

Applied to hyperv-next. Thanks.

      reply	other threads:[~2021-06-05 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02 21:36 [PATCH 1/1] Drivers: hv: Move Hyper-V extended capability check to arch neutral code Michael Kelley
2021-06-04  0:14 ` Sunil Muthuswamy
2021-06-05 10:25   ` Wei Liu [this message]

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=20210605102533.uzvd4l7el2afes5i@liuwe-devbox-debian-v2 \
    --to=wei.liu@kernel.org \
    --cc=bp@alien8.de \
    --cc=haiyangz@microsoft.com \
    --cc=kys@microsoft.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikelley@microsoft.com \
    --cc=mingo@redhat.com \
    --cc=sthemmin@microsoft.com \
    --cc=sunilmut@microsoft.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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).