[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DM5PR21MB06344320DCF4D3F0CC996BD1D72E0@DM5PR21MB0634.namprd21.prod.outlook.com>
Date: Mon, 23 Dec 2019 14:41:03 +0000
From: Michael Kelley <mikelley@...rosoft.com>
To: Wei Liu <wei.liu@...nel.org>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>
CC: "sashal@...nel.org" <sashal@...nel.org>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
"x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] x86/hyper-v: add "polling" bit to hv_synic_sint
From: Wei Liu <wei.liu@...nel.org> Sent: Sunday, December 22, 2019 3:34 PM
> To: linux-hyperv@...r.kernel.org
> Cc: sashal@...nel.org; KY Srinivasan <kys@...rosoft.com>; Haiyang Zhang
> <haiyangz@...rosoft.com>; Stephen Hemminger <sthemmin@...rosoft.com>;
> x86@...nel.org; Michael Kelley <mikelley@...rosoft.com>; linux-kernel@...r.kernel.org;
> Wei Liu <wei.liu@...nel.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@...nel.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@...rosoft.com>
Powered by blists - more mailing lists