Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
authorAndrea Parri (Microsoft) <parri.andrea@gmail.com>
Mon, 28 Mar 2022 15:44:57 +0000 (17:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 18:03:25 +0000 (20:03 +0200)
commit52acbac28ddcc2743354d3f66da0009146bea90f
tree4bd6544bab19e50ecc93a51919167fdfde53651e
parentf25ea15f47de28d7250bad1312ca2bacd41b48e0
Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()

commit eaa03d34535872d29004cb5cf77dc9dec1ba9a25 upstream.

Following the recommendation in Documentation/memory-barriers.txt for
virtual machine guests.

Fixes: 8b6a877c060ed ("Drivers: hv: vmbus: Replace the per-CPU channel lists with a global array of channels")
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20220328154457.100872-1-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c