linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/hyper-v: add "polling" bit to hv_synic_sint
@ 2019-12-22 23:34 Wei Liu
  2019-12-23 14:41 ` Michael Kelley
  2020-01-17 13:43 ` [tip: x86/hyperv] x86/hyper-v: Add " tip-bot2 for Wei Liu
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Liu @ 2019-12-22 23:34 UTC (permalink / raw)
  To: linux-hyperv
  Cc: sashal, kys, haiyangz, sthemmin, x86, mikelley, linux-kernel, Wei Liu

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>
---
 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 5f10f7f2098d..92abc1e42bfc 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;
 };
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] x86/hyper-v: add "polling" bit to hv_synic_sint
  2019-12-22 23:34 [PATCH] x86/hyper-v: add "polling" bit to hv_synic_sint Wei Liu
@ 2019-12-23 14:41 ` Michael Kelley
  2020-01-17 13:43 ` [tip: x86/hyperv] x86/hyper-v: Add " tip-bot2 for Wei Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Kelley @ 2019-12-23 14:41 UTC (permalink / raw)
  To: Wei Liu, linux-hyperv
  Cc: sashal, KY Srinivasan, Haiyang Zhang, Stephen Hemminger, x86,
	linux-kernel

From: Wei Liu <wei.liu@kernel.org> Sent: Sunday, December 22, 2019 3:34 PM
> To: linux-hyperv@vger.kernel.org
> Cc: sashal@kernel.org; KY Srinivasan <kys@microsoft.com>; Haiyang Zhang
> <haiyangz@microsoft.com>; Stephen Hemminger <sthemmin@microsoft.com>;
> x86@kernel.org; Michael Kelley <mikelley@microsoft.com>; linux-kernel@vger.kernel.org;
> Wei Liu <wei.liu@kernel.org>
> 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.
> 
> Signed-off-by: Wei Liu <wei.liu@kernel.org>
> ---
>  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 5f10f7f2098d..92abc1e42bfc 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;
>  };
> 
> --
> 2.20.1

Reviewed-by: Michael Kelley <mikelley@microsoft.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip: x86/hyperv] x86/hyper-v: Add "polling" bit to hv_synic_sint
  2019-12-22 23:34 [PATCH] x86/hyper-v: add "polling" bit to hv_synic_sint Wei Liu
  2019-12-23 14:41 ` Michael Kelley
@ 2020-01-17 13:43 ` tip-bot2 for Wei Liu
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Wei Liu @ 2020-01-17 13:43 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Wei Liu, Thomas Gleixner, Michael Kelley, x86, LKML

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@kernel.org>
AuthorDate:    Sun, 22 Dec 2019 23:34:04 
Committer:     Thomas Gleixner <tglx@linutronix.de>
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@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

---
 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;
 };
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-17 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-22 23:34 [PATCH] x86/hyper-v: add "polling" bit to hv_synic_sint Wei Liu
2019-12-23 14:41 ` Michael Kelley
2020-01-17 13:43 ` [tip: x86/hyperv] x86/hyper-v: Add " tip-bot2 for Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).