Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754028AbaK0Ea7 (ORCPT ); Wed, 26 Nov 2014 23:30:59 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:52684 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753222AbaK0Eaz (ORCPT ); Wed, 26 Nov 2014 23:30:55 -0500 Message-ID: <5476A8AD.4010003@ti.com> Date: Thu, 27 Nov 2014 09:59:33 +0530 From: Vignesh R User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Sebastian Andrzej Siewior CC: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Benoit Cousson , Tony Lindgren , Russell King , Jonathan Cameron , Hartmut Knaack , , Dmitry Torokhov , Lee Jones , Lars-Peter Clausen , Peter Meerwald , Samuel Ortiz , Felipe Balbi , Brad Griffis , Sanjeev Sharma , Paul Gortmaker , Jan Kardell , , , , , , Subject: Re: [PATCH v4 0/6] Touchscreen performance related fixes References: <1415941651-28962-1-git-send-email-vigneshr@ti.com> <20141124115116.GA14997@linutronix.de> <547321A2.6010207@ti.com> <547325FA.6020004@linutronix.de> In-Reply-To: <547325FA.6020004@linutronix.de> 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 On Monday 24 November 2014 06:05 PM, Sebastian Andrzej Siewior wrote: > On 11/24/2014 01:16 PM, Vignesh R wrote: > >> I have tried running both IIO and TSC at the same time. But I have never >> seen WARN_ON() even after running for close to 30 min. Can you send me >> the exact script, so that it will be easy to reproduce? > > Sure thing. > - one shell > evtest /dev/input/event2 > - second shell > ./iio-test.sh > with: > > |#!/bin/sh > | > |while [ 1 = 1 ] > |do > | cat /sys/bus/iio/devices/iio\:device0/in_voltage4_raw > |done > > > the kernel config: https://breakpoint.cc/am335x-config > I was able to reproduce this issue. When ADC hits WARN_ON(), the TSC steps should be disabled. But, in this case, TSC is sampling the first Y co-ordinate and all TSC steps are enabled. REG_SE: 0x1ffc1 ADC_STAT: 0x24 Any idea why this may be happening? Regards Vignesh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/