]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
hv: hyperv.h: Introduce some hvpfn helper functions
authorBoqun Feng <boqun.feng@gmail.com>
Wed, 16 Sep 2020 03:48:12 +0000 (11:48 +0800)
committerWei Liu <wei.liu@kernel.org>
Mon, 28 Sep 2020 08:55:13 +0000 (08:55 +0000)
commit106dee08408118c5b50387817e74419436e8b651
tree8582a63e1fd0344afdffe56b86a2ff9eddd85bbc
parentbca6b91dfdd4347d8fe0bb97377dda0cacd51d82
hv: hyperv.h: Introduce some hvpfn helper functions

When a guest communicate with the hypervisor, it must use HV_HYP_PAGE to
calculate PFN, so introduce a few hvpfn helper functions as the
counterpart of the page helper functions. This is the preparation for
supporting guest whose PAGE_SIZE is not 4k.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200916034817.30282-7-boqun.feng@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
include/linux/hyperv.h