Skip to contentSkip to conversation

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

PATCH Applied Wei Liu 3 participants 3 messages Dec 22, 2019 – Jan 17, 2020

Subsystems (3)
lore
Share & tools
lore

Wei Liu

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 arch/x86/include/asm/hyperv-tlfs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/include/asm/hyperv-tlfs.h +2 -1
index 5f10f7f2098d..92abc1e42bfc 100644
@@ -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;
 };
 
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw

From: Wei Liu <[email protected]> Sent: Sunday, December 22, 2019 3:34 PM

Quoted 32 lines

To: [email protected]
Cc: [email protected]; KY Srinivasan <[email protected]>; Haiyang Zhang <[email protected]>; Stephen Hemminger <[email protected]>; [email protected]; Michael Kelley <[email protected]>; [email protected]; Wei Liu <[email protected]>
Subject: [PATCH] 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.

---
 arch/x86/include/asm/hyperv-tlfs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/include/asm/hyperv-tlfs.h +2 -2
index 5f10f7f2098d..92abc1e42bfc 100644
@@ -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;
 };
 
--
Quoted 1 line

2.20.1

merge bot Applied
#2 lore raw

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

In reply to Wei Liu
The following commit has been merged into the x86/hyperv branch of tip:

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 <[email protected]>
AuthorDate:    Sun, 22 Dec 2019 23:34:04 
Committer:     Thomas Gleixner <[email protected]>
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.

---
 arch/x86/include/asm/hyperv-tlfs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/include/asm/hyperv-tlfs.h +2 -1
index 5f10f7f..92abc1e 100644
@@ -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;
 };