RE: [PATCH] x86/hyper-v: add "polling" bit to hv_synic_sint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Wei Liu <wei.liu@xxxxxxxxxx> Sent: Sunday, December 22, 2019 3:34 PM
> To: linux-hyperv@xxxxxxxxxxxxxxx
> Cc: sashal@xxxxxxxxxx; KY Srinivasan <kys@xxxxxxxxxxxxx>; Haiyang Zhang
> <haiyangz@xxxxxxxxxxxxx>; Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>;
> x86@xxxxxxxxxx; Michael Kelley <mikelley@xxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx;
> Wei Liu <wei.liu@xxxxxxxxxx>
> 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@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 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@xxxxxxxxxxxxx>





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux