From: Wei Liu <wei.liu@kernel.org>
Date: Sun, 22 Dec 2019 23:34:04 +0000
Patch-mainline: v5.6-rc1
Subject: x86/hyper-v: Add "polling" bit to hv_synic_sint
Git-commit: 538f127cd3bcf76071139f4bfe9cc3b2a46f3b3d
References: jsc#sle-12891
That bit is documented in TLFS 5.0c as follows:
Setting the polling bit will have the effect of unmasking an
interrupt source, except that an actual interrupt is not generated.
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20191222233404.1629-1-wei.liu@kernel.org
Acked-by: Olaf Hering <ohering@suse.de>
---
arch/x86/include/asm/hyperv-tlfs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/hyperv-tlfs.h b/arch/x86/include/asm/hyperv-tlfs.h
--- a/arch/x86/include/asm/hyperv-tlfs.h
+++ b/arch/x86/include/asm/hyperv-tlfs.h
@@ -809,7 +809,8 @@ union hv_synic_sint {
u64 reserved1:8;
u64 masked:1;
u64 auto_eoi:1;
- u64 reserved2:46;
+ u64 polling:1;
+ u64 reserved2:45;
} __packed;
};