Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2380153ybi; Sun, 9 Jun 2019 10:16:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyF0QthBMzzmZm1NfGtiNFqkPGrBiT3DD7pkEIwrDJv8pMkG9LKgLkihYhOWZ5jNu6M2gs X-Received: by 2002:a17:90a:c503:: with SMTP id k3mr17313231pjt.46.1560100615339; Sun, 09 Jun 2019 10:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560100615; cv=none; d=google.com; s=arc-20160816; b=JerK5COTGziAz3vlb4J6B+/Ja3LYWar3LATZvLrgk1VvUMGIcnQOxTChM9bXVTz4Za ZoPqNdMyzd8YjU2zyvB1pnwiGUkRnwF3IsMN7En5Dv1TjYDGgd5hRNVz0qJsOMz3dZyM 8OcS5rRHPezS68tzKYqY84B3xM3J787q+pJdFMtPX56x4h4MOwpfcCg11smywdXWluMk IW3zfPhvrogfgIL+d/uiJHI9HCLEGefookZhWrNxIuYBFMTpBmCQDC3as9AEreBEddI2 L6CC7BbJLiO7dcxnEE2JT43cCoWGC7oKAqCoofw6ygnJfNNCUFxftfixOJfW2ildBkIL aAXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=M7xQDBUJUXbjT1xTBPn3z0Ls7eT/cDbNpvmzOFS4mIs=; b=iEM5Cct4w9c0RdrwWU9kjQkifQ9yoqdHYTiC7bHdFN/E30cHlbANxrTaehK926p0g7 OFlh1DicDeF08OqIBrb0yKrj+QSLO+3IGoEX0zzixMCifR9p/6YZzJawwG7AvmBepZGw qkLU992ZTkW+E48hRGb3yDcvQpxyzGL29T7P0jFtt3SsdAdMywn5E97Dhl/8rO5Q+Sk/ USny4NlqMdDYPK6VwLk/rPFSqVTmZH/qtFr99KnCSynX+5JkL37e7utyWxsvq8kpkG52 gYBe+SukSg6Ndxx2Wx/i/5Y3ACBgXkOt4zPuXT/hHoB6TwR97QmbfrFThLeAgPftJlhl NQDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=od0DW7mX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q62si7359462pgq.35.2019.06.09.10.16.39; Sun, 09 Jun 2019 10:16:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=od0DW7mX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732870AbfFIQz4 (ORCPT + 99 others); Sun, 9 Jun 2019 12:55:56 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46708 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732858AbfFIQzz (ORCPT ); Sun, 9 Jun 2019 12:55:55 -0400 Received: by mail-pg1-f196.google.com with SMTP id v9so2025806pgr.13; Sun, 09 Jun 2019 09:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=M7xQDBUJUXbjT1xTBPn3z0Ls7eT/cDbNpvmzOFS4mIs=; b=od0DW7mXILIxtzb9YOOPr3b2ifZjUahABMHRUn5+2XR+mX1NFvHojc8UAcarVeHn7R +dRsvkBhw0G/RFo/2cL4IIWrqW/eZz4TgFA50YoQ/8Dxxz+1WLAKZj9OkepiFHznZSue /Tp0eW6jJ77WT+xGRTwte9XHnkEq2EKKDqqbYhFHiuBVME+oGcd7IfdeZXWzmPzNuWj+ DgC7qJSfxCTDPm2yHLu6763lsjXaFNfb4lxJwzF4wwslbttuo6W4vHEMbNvl6lYy2iF8 mLKt6ikR6cbXbjMvKbSxMaMlRWbb9NDn6PzttOwJqafJl+8YOSiAnGn6l4koH+399qeh 0LAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=M7xQDBUJUXbjT1xTBPn3z0Ls7eT/cDbNpvmzOFS4mIs=; b=kLls5aL3EmOAoBKL02uI4kVJgy4V9Vmnc0y0FhmIi59yAPWA+WJKO+NdkVxNx5yfB8 2SCIamJBUVJuI/Vy9Jn0hJrzD4/KG8QtU/VezyFPOlS+77AoaLsg3YyOTTtCOM7tfauP ypW5RowwxgqFEtHvWqV27gnEKWqUuJf3YoPxgGRtkQU+HcwE27C9XMNGsO0vdibNz1zI gsVYWzQiSTKHrwyVi9P9ZliHLYKeqqvO8YAV2wIuA0TphSiryLxQAgYEzvH69VV5H2f0 MEd9xhAT/vO/24Uh1Gksat6qiVWf2I/b+zCaVVKCHr4MMriTm+RcpvvsB0kc6kU0lMlt H1NA== X-Gm-Message-State: APjAAAW/SNdLB9hHFhO45MxulMtWoBX9DPhT2WVN36qujePFFQHyrCPn lD0SfR4JNh0AQOgfZAp63PQ= X-Received: by 2002:a17:90a:8c0c:: with SMTP id a12mr215814pjo.67.1560099354211; Sun, 09 Jun 2019 09:55:54 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3adc:b08c:7acc:b325]) by smtp.gmail.com with ESMTPSA id x17sm7042308pgk.72.2019.06.09.09.55.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 09 Jun 2019 09:55:53 -0700 (PDT) Date: Sun, 9 Jun 2019 09:55:51 -0700 From: Dmitry Torokhov To: Aaron Ma Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Cheiny@synaptics.com, aduggan@synaptics.com, benjamin.tissoires@redhat.com Subject: Re: [PATCH 1/2] Input: synaptics-rmi4 - clear irqs before set irqs Message-ID: <20190609165551.GB90002@dtor-ws> References: <20190220164200.31044-1-aaron.ma@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220164200.31044-1-aaron.ma@canonical.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Aaron, On Wed, Feb 20, 2019 at 05:41:59PM +0100, Aaron Ma wrote: > rmi4 got spam data after S3 resume on some ThinkPads. > Then TrackPoint lost when be detected by psmouse. > Clear irqs status before set irqs will make TrackPoint back. Could you please give me an idea as to what this spam data is? In F03 probe we clear all pending data before enabling the function, maybe the same needs to be done on resume, instead of changing the way we handle IRQ bits? Thanks, -- Dmitry