[tip: x86/hyperv] x86/hyper-v: Add "polling" bit to hv_synic_sint

From: tip-bot2 for Wei Liu
Date: Fri Jan 17 2020 - 08:43:32 EST


The following commit has been merged into the x86/hyperv branch of tip:

Commit-ID: 538f127cd3bcf76071139f4bfe9cc3b2a46f3b3d
Gitweb: https://git.kernel.org/tip/538f127cd3bcf76071139f4bfe9cc3b2a46f3b3d
Author: Wei Liu <wei.liu@xxxxxxxxxx>
AuthorDate: Sun, 22 Dec 2019 23:34:04
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Fri, 17 Jan 2020 14:38:21 +01:00

x86/hyper-v: Add "polling" bit to hv_synic_sint

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@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20191222233404.1629-1-wei.liu@xxxxxxxxxx

---
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
index 5f10f7f..92abc1e 100644
--- 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;
};