[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210605102533.uzvd4l7el2afes5i@liuwe-devbox-debian-v2>
Date: Sat, 5 Jun 2021 10:25:33 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Sunil Muthuswamy <sunilmut@...rosoft.com>
Cc: Michael Kelley <mikelley@...rosoft.com>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
"wei.liu@...nel.org" <wei.liu@...nel.org>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"bp@...en8.de" <bp@...en8.de>, "x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>
Subject: Re: [PATCH 1/1] Drivers: hv: Move Hyper-V extended capability check
to arch neutral code
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@...rosoft.com>
Applied to hyperv-next. Thanks.
Powered by blists - more mailing lists