diff options
author | Nuno Das Neves <nunodasneves@linux.microsoft.com> | 2023-02-10 01:02:52 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2023-02-16 17:32:37 +0300 |
commit | b14033a3e6ba73a5c68974a80b05cba55553ed5b (patch) | |
tree | bcc0d28f73b88f2a545a49eb20699582dfcb78b8 /net | |
parent | 96ec2939620c48a503d9c89865c0c230d6f955e4 (diff) | |
download | linux-b14033a3e6ba73a5c68974a80b05cba55553ed5b.tar.xz |
x86/hyperv: Fix hv_get/set_register for nested bringup
hv_get_nested_reg only translates SINT0, resulting in the wrong sint
being registered by nested vmbus.
Fix the issue with new utility function hv_is_sint_reg.
While at it, improve clarity of hv_set_non_nested_register and hv_is_synic_reg.
Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Jinank Jain <jinankjain@linux.microsoft.com>
Link: https://lore.kernel.org/r/1675980172-6851-1-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions