Drivers: hv: vmbus: Remove the per-CPU post_msg_page
authorDexuan Cui <decui@microsoft.com>
Sat, 8 Apr 2023 21:34:41 +0000 (14:34 -0700)
committerWei Liu <wei.liu@kernel.org>
Mon, 17 Apr 2023 19:19:05 +0000 (19:19 +0000)
commit9a6b1a170ca8627d401fa76112e4920ba8c6314c
tree77111c603dbbd061bbd59f52c69740023dce20ee
parentc0e96acf884a1ce91c9bdd692c6a425b83c90285
Drivers: hv: vmbus: Remove the per-CPU post_msg_page

The post_msg_page was introduced in 2014 in
commit b29ef3546aec ("Drivers: hv: vmbus: Cleanup hv_post_message()")

Commit 68bb7bfb7985 ("X86/Hyper-V: Enable IPI enlightenments") introduced
the hyperv_pcpu_input_arg in 2018, which can be used in hv_post_message().

Remove post_msg_page to simplify the code a little bit.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Jinank Jain <jinankjain@linux.microsoft.com>
Link: https://lore.kernel.org/r/20230408213441.15472-1-decui@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/hv.c
drivers/hv/hyperv_vmbus.h