From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751922AbcAANai (ORCPT ); Fri, 1 Jan 2016 08:30:38 -0500 Received: from smtp51.i.mail.ru ([94.100.177.111]:52349 "EHLO smtp51.i.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751746AbcAANag (ORCPT ); Fri, 1 Jan 2016 08:30:36 -0500 From: Roman Volkov To: arm@kernel.org, linux+armsoc@arm.linux.org.uk Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Alexey Charkov , Roman Volkov , Tony Prisk , Daniel Lezcano , Thomas Gleixner Subject: [PATCH v3 0/3] clocksource/vt8500: Fix hangs in small delays Date: Fri, 1 Jan 2016 16:24:40 +0300 Message-Id: <1451654683-2401-1-git-send-email-v1ron@mail.ru> X-Mailer: git-send-email 2.6.4 X-Mras: Ok Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Volkov vt8500 hangs in nanosleep() function, starting from commit c6eb3f70d4482806dc2d3e1e3c7736f497b1d418, making the system unusable. Per investigation, looks like set_next_event() now receives too small delta and fails with -ETIME. Google group discussion: https://groups.google.com/forum/#!topic/vt8500-wm8505-linux-kernel/vDMF_mDOb1k v2: Address comments by Alexey Charkov. Merge patches to get less amount of changes (three patches instead of four). v3: Address comments by Thomas Gleixner. Edit the changelog. Tested on my WM8650, no issues in three days uptime. Roman Volkov (3): clocksource/vt8500: Use MIN_OSCR_DELTA from PXA clocksource/vt8500: Remove the 'loops' variable clocksource/vt8500: Add register R/W functions drivers/clocksource/vt8500_timer.c | 98 +++++++++++++++++++++++++++----------- 1 file changed, 69 insertions(+), 29 deletions(-) -- 2.6.2