From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755317AbcETC03 (ORCPT ); Thu, 19 May 2016 22:26:29 -0400 Received: from ozlabs.org ([103.22.144.67]:32837 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753441AbcETC01 (ORCPT ); Thu, 19 May 2016 22:26:27 -0400 Subject: Re: [PATCH] fbcon: warn on invalid cursor blink intervals To: Ming Lei , Scot Doyle References: <1463510464-28124-1-git-send-email-ddaney.cavm@gmail.com> <20160517204912.GA29719@amd> <573DE2D0.1050402@caviumnetworks.com> Cc: Tomi Valkeinen , Jean-Christophe Plagniol-Villard , David Daney , Dann Frazier , Peter Hurley , Pavel Machek , Jonathan Liu , Alistair Popple , Jean-Philippe Brucker , "Chintakuntla, Radha" , Greg Kroah-Hartman , Jiri Slaby , David Airlie , David Daney , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Linux Kernel Mailing List , stable From: Jeremy Kerr Message-ID: <573E75CD.6050202@ozlabs.org> Date: Fri, 20 May 2016 10:26:21 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ming, > Not sure this one is needed for stable because it justs dumps > a warning, and not set a valid period to ops->cur_blink_jiffies. > > So I guess other fix patch is still required for the soft lockup > issue, right? The main thing is that we don't set cur_blink_jiffies to the < 50ms value. As far as I can tell, it means we'll still get the original default, set in fbcon_startup(): ops->cur_blink_jiffies = HZ / 5; And so don't end up spinning on the timer expiry. Cheers, Jeremy