[Intel-wired-lan] [PATCH] ixgbe: Correct thermal sensor event check

Bowers, AndrewX andrewx.bowers at intel.com
Wed Apr 26 22:32:56 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Tuesday, April 25, 2017 1:55 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbe: Correct thermal sensor event check
> 
> From: Mark Rustad <mark.d.rustad at intel.com>
> 
> The thermal sensor event logic is messed up, because it can execute the
> code when there is no thermal event. The current logic is that it will exit
> when !capable && !event whereas it really should exit when !capable ||
> !event. For one thing, it means that the service task is doing too much work.
> It probably has some other symptoms as well. So, correct the logic,
> simplifying to only execute when there is a thermal event. The capable check
> is redundant.
> 
> Signed-off-by: Mark Rustad <mark.d.rustad at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list