]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: Use HV_HYP_PAGE in hv_synic_enable_regs()
authorBoqun Feng <boqun.feng@gmail.com>
Wed, 16 Sep 2020 03:48:10 +0000 (11:48 +0800)
committerWei Liu <wei.liu@kernel.org>
Mon, 28 Sep 2020 08:55:12 +0000 (08:55 +0000)
commita66dffe2defa00d0d5cbc010d2caf542b87fd0af
treeb2333bafa825a03a3e6584fc499351b79b99a1a1
parent2c51138a384b6c22626f6016c0cbc48a2506e1b2
Drivers: hv: Use HV_HYP_PAGE in hv_synic_enable_regs()

Both the base_*_gpa should use the guest page number in Hyper-V page, so
use HV_HYP_PAGE instead of PAGE.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200916034817.30282-5-boqun.feng@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/hv.c