From: Nuno Das Neves <nunodasneves@linux.microsoft.com>
To: linux-hyperv@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
wei.liu@kernel.org, mhklinux@outlook.com
Cc: kys@microsoft.com, haiyangz@microsoft.com, decui@microsoft.com,
catalin.marinas@arm.com, will@kernel.org, tglx@linutronix.de,
mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com,
x86@kernel.org, hpa@zytor.com, arnd@arndb.de,
jinankjain@linux.microsoft.com, muminulrussell@gmail.com,
skinsburskii@linux.microsoft.com, mukeshrathor@microsoft.com
Subject: [PATCH v2 0/2] hyperv: Move some features to common code
Date: Wed, 22 Jan 2025 17:47:29 -0800 [thread overview]
Message-ID: <1737596851-29555-1-git-send-email-nunodasneves@linux.microsoft.com> (raw)
There are several bits of Hyper-V-related code that today live in
arch/x86 but are not really specific to x86_64 and will work on arm64
too.
Some of these will be needed in the upcoming mshv driver code (for
Linux as root partition on Hyper-V). So this is a good time to move
them to drivers/hv.
Signed-off-by: Nuno Das Neves <nudasnev@microsoft.com>
---
Changes in v2:
* Fix dependence on percpu output page by using a stack variable for the
hypercall output [Michael Kelley]
* Remove unnecessary WARN()s [Michael Kelley]
* Define hv_current_partition_id in hv_common.c [Michael Kelley]
* Move entire hv_proc.c to drivers/hv [Michael Kelley]
Nuno Das Neves (2):
hyperv: Move hv_current_partition_id to arch-generic code
hyperv: Move arch/x86/hyperv/hv_proc.c to drivers/hv
arch/x86/hyperv/Makefile | 2 +-
arch/x86/hyperv/hv_init.c | 26 -----------------------
arch/x86/include/asm/mshyperv.h | 6 ------
drivers/hv/Makefile | 2 +-
drivers/hv/hv_common.c | 23 ++++++++++++++++++++
{arch/x86/hyperv => drivers/hv}/hv_proc.c | 4 ----
include/asm-generic/mshyperv.h | 5 +++++
7 files changed, 30 insertions(+), 38 deletions(-)
rename {arch/x86/hyperv => drivers/hv}/hv_proc.c (98%)
--
2.34.1
next reply other threads:[~2025-01-23 1:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-23 1:47 Nuno Das Neves [this message]
2025-01-23 1:47 ` [PATCH v2 1/2] hyperv: Move hv_current_partition_id to arch-generic code Nuno Das Neves
2025-01-28 18:45 ` Michael Kelley
2025-01-29 0:45 ` Nuno Das Neves
2025-01-29 1:30 ` Michael Kelley
2025-01-23 1:47 ` [PATCH v2 2/2] hyperv: Move arch/x86/hyperv/hv_proc.c to drivers/hv Nuno Das Neves
2025-01-28 18:46 ` Michael Kelley
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=1737596851-29555-1-git-send-email-nunodasneves@linux.microsoft.com \
--to=nunodasneves@linux.microsoft.com \
--cc=arnd@arndb.de \
--cc=bp@alien8.de \
--cc=catalin.marinas@arm.com \
--cc=dave.hansen@linux.intel.com \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=hpa@zytor.com \
--cc=jinankjain@linux.microsoft.com \
--cc=kys@microsoft.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhklinux@outlook.com \
--cc=mingo@redhat.com \
--cc=mukeshrathor@microsoft.com \
--cc=muminulrussell@gmail.com \
--cc=skinsburskii@linux.microsoft.com \
--cc=tglx@linutronix.de \
--cc=wei.liu@kernel.org \
--cc=will@kernel.org \
--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