From patchwork Fri Apr 21 16:11:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 753481 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3w8gk35sGkz9ryv for ; Sat, 22 Apr 2017 02:12:26 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kjsiGiiE"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ngMhvZu8"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ELfgG4tXEnMJoiI3eqmEdQI70AR5hCwnUd/PrGqtDb4=; b=kjsiGiiEdEMIk8 vnXC5HWg5jQhvCwpElno30Rr6bijYHzpmmIWaVDTuYNwVA4xvP40PEsgsyYVWZ8VJ/fCIEE699xDj U/m2UROvaNVlEiVX8OQYAKXbtU0VVhAq6qPmrIBb2wSR8by81KOyiiMeJZOXt3noQl8bG0HMX0brb et09EmTvuxkThX04CMvAnIThUnrsJpvW9Sb/IF4vUGkj/749gSrFPgJAj6Xabzs2VpoFtBaJBER1n 5Oc+wZUuR/ee6aEU0F/9WNhDayTaMaNNTJDdq0pfBsYkzhGCEO1kvqmN7CRAKG796pb34404vXNfV uSTFUSaUcas3+4coEgMA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d1bAQ-0005vR-7m; Fri, 21 Apr 2017 16:12:18 +0000 Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d1bAM-0005qH-B6 for linux-arm-kernel@lists.infradead.org; Fri, 21 Apr 2017 16:12:15 +0000 Received: by mail-oi0-x229.google.com with SMTP id x184so102110746oia.1 for ; Fri, 21 Apr 2017 09:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=NmMpQIebQcX82vRlwpF6iKUD/Xdt3GFrSySWkLzaJpE=; b=ngMhvZu8pAgU2zIYbEDBpPf2fhYeO9KAT+DPl/CL3/RKiVg5FMVj7YLFU3SinonYCi rJU8NNG0Cv95KpAa0Paiq3JVv37pQgA8PiQM7CWzKMlo219ZFlbGhbIn/QVua6C0e6s9 /FEfH+9jwBJleuc3nXzdmErXUztUpMTG+5i+yOwG02hpE1caz/H4V9umXnOl/jUFvW6P Mhy5DRVMzShe5/V6hHkvdHef5m/d8LRfqx1hwupmcwxdbFygCmFtKYbMPmLHq47C2DXn hBDwOmoC950/oNeWDfjPjsS237s1TEfrhnstUJzOwAafXYd00l8OzJCavQQTA9lO/QSJ nSGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=NmMpQIebQcX82vRlwpF6iKUD/Xdt3GFrSySWkLzaJpE=; b=HbWisj+eHAcDdUtSxDp4FNxI8vKJxrPosxnWOEUae2N2/8wE30oxTTiw97hPs2m7cJ 4MRybpEg2vQX4PEwVrkg2WPUjqLjLEf9hykhc6uawJL4qeWLN1BCws/7GIn88oiJC7g7 ZGlXJOrxdl5dg/c7qvBzbuZWpgzsV9ZlFXroXCpS1ezxY3ghV2mQA7m0wEJYW+M6/4zt 8pyLzVxwqgSXZvAbMdgn1FqJv4pAeDi1FPDIkHObJFm+Mngzj1Qjg2Fvn0Pf9V6IqrUI W7kmEO0cqyC4SP326EQEcUKx5rzPq3Rr4wtOQaoVLTsd7e3Yn2fpTLt+Y7tiie7Gq8Rt 5m8A== X-Gm-Message-State: AN3rC/7ywng0zAz3RyqQ6P693NWFbnK6AFoEpNby8ixfS84bzwV0Muja /QQSKzX17emrsSvV7+g6Bjn5oSImyg== X-Received: by 10.157.38.189 with SMTP id l58mr2138733otb.153.1492791113133; Fri, 21 Apr 2017 09:11:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.43.163 with HTTP; Fri, 21 Apr 2017 09:11:52 -0700 (PDT) From: Fabio Estevam Date: Fri, 21 Apr 2017 13:11:52 -0300 Message-ID: Subject: Touchscreen failure with CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND To: "rjw@rjwysocki.net" , viresh kumar X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170421_091214_431307_3209D43D X-CRM114-Status: UNSURE ( 7.00 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Shawn Guo , "linux-arm-kernel@lists.infradead.org" , Sascha Hauer , "linux-pm@vger.kernel.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi, Running 4.11-rc7 on a imx6q-sabresd board I notice that egalax touchscreen stops generating evtest events after a random period of time. This problem can be avoided if I unselect CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND: With this change evtest always capture all touchscreen events. No single failure is seen. I could see the same behavior with all mainline kernels I tested (4.9 and 4.10). Any ideas as to how fix this bug when CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y? Thanks --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -54,7 +54,6 @@ CONFIG_CMA=y CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" CONFIG_KEXEC=y CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y CONFIG_ARM_IMX6Q_CPUFREQ=y CONFIG_CPU_IDLE=y CONFIG_VFP=y