Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4071398imm; Mon, 6 Aug 2018 16:20:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcjUsqGmBTHulZGJQK6y9SNHYUHdngHmMGy0yRDkeju9uuctWJqtml1YyQm1ZXtmyP9Fyj3 X-Received: by 2002:a62:e30c:: with SMTP id g12-v6mr19180550pfh.25.1533597604184; Mon, 06 Aug 2018 16:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533597604; cv=none; d=google.com; s=arc-20160816; b=D7viHmd9xFkzgf3fDOEF9z3fY27MhML9jHQgxDS0RSv4XRI/gLNeb6ri+eV/f9GuvL Hxbu33ZjlXKbK0zUYuy3YiMzqeOXOHrEBWtbYC5+S2tcb1uLbpKWKMRiOMudVOOncVYN iUNDLALvVGo7msorUKvNX6yHrLNFtOpgCRgl6E+Nygdq2JfgU9YH+AWyi/QYcV1n4qeG evPnZxn+GMeaU6PXCUmPf2JDXgbnVADhSOPaRZcpOxR0fEC5NU0Pxa1IG9JlkG6RfFq5 3bMN9DTfYmhLIx3f8+K4cZkCH1DZcKbf4ZntCtbqtZmA8IUvlgQbOUBolkydMIXQyP7g KzzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=CdM5jmnzWM0/PzsgLIwTljX5RyylBlWqL8S1anEGlVM=; b=1HLn87iAvz/V1yMu4PqCfD394OAxKrFV7nxX0nsmAcScXb2UqE6JvKovFLqCZr9mWU 3rOQEvFK3uewnY9SkMM3s/ZIVEoOKQZfQZKcc2O7aBAyF4f1/hzSMptGVpKvaNPP4Nrb FYyVzqFIsNapdHuV5wyAFkAuPLo3gOIG7Gh7KYmTrD9aSl2WC9EcPbQA6c2zH2l+Ttfs AS/0h92GQnG25XXlquXn1024pwdF69Qf0tu+q09UxYpSRYSUwwffuqN6i8ZZaeh63v7f 0k+O1pOKpHDkTn6BeRqZhij3AKZYBbLmdr/gBiwEcJSHcZHYGBhpbecdhSD5k2+0pyw6 XiKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PGNymNfZ; 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=REJECT sp=REJECT dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65-v6si14199366pgi.195.2018.08.06.16.19.49; Mon, 06 Aug 2018 16:20:04 -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=@chromium.org header.s=google header.b=PGNymNfZ; 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=REJECT sp=REJECT dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387728AbeHGBRR (ORCPT + 99 others); Mon, 6 Aug 2018 21:17:17 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:40581 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731432AbeHGBRR (ORCPT ); Mon, 6 Aug 2018 21:17:17 -0400 Received: by mail-qk0-f194.google.com with SMTP id c126-v6so10164002qkd.7 for ; Mon, 06 Aug 2018 16:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CdM5jmnzWM0/PzsgLIwTljX5RyylBlWqL8S1anEGlVM=; b=PGNymNfZHu9dNv3gU4Mk3PeT2WDQH0uBquBNcGyRgQDjUG3+F3gzxtlUv79Tm4aoyc RD9OD7KE71zfWtACOCQw4OAb7xG9Fi6B2N5AL0pD0Y5DpH+rmhncEHRMCGmxxct18FHO Yruxo/fWGNRWiMRGvGezTtC6w6XrMzBOhzNgs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CdM5jmnzWM0/PzsgLIwTljX5RyylBlWqL8S1anEGlVM=; b=V20VFD5+EK/AxyW9b0TBdpoMPGl1r1OFfc9qhEq5WqygEqQgnjB96s6k53VOWMpXL0 M0fUy9oeWgzhK13EasyL5Iu6Aiyw5oLvhaNZam+fymzfdbNrk/QzPq2mZ1RqczCojtxu 2IMzL7S/0B3fN9VOpnMBxhmK3/YeITjE6ldxSE73pXPUmbtucTaW5ELNdO8r9N6peLGF RBLifzTLTaq90YW8DvbcxRaJ23Jp/SyxY49yqaSkqSH67d6s46kqcObtc9Th6J+o807R YXa242hA81KwPv6jTFMmt2ruH+mNW8DqKwiTdRZieZLHUSHdxqbKD6neIXeCv5WPwHjN RjZg== X-Gm-Message-State: AOUpUlEJ4/FfInTi6pXUlBGKjZHw6YjMM9DE9Gy6aMAGiHnQPi8J+Sgp 1YNxmXPyED60k5FoWRtp2qR334PL1WrTZVR7wT5fog== X-Received: by 2002:a37:8742:: with SMTP id j63-v6mr15167996qkd.353.1533596757761; Mon, 06 Aug 2018 16:05:57 -0700 (PDT) MIME-Version: 1.0 References: <20180605224458.62692-1-ravisadineni@chromium.org> <20180803072628eucas1p26abe0cb121b974401759502f8807bb96~HTx4BGQjl1119311193eucas1p2U@eucas1p2.samsung.com> <20180806052949eucas1p2483800c02730febd03d4a661a25fa405~INH40XvCx2719627196eucas1p2X@eucas1p2.samsung.com> <20180806071543eucas1p233ac5016e1a586594cf8ecd1fe3214b0~IOkV1Zt7j2129321293eucas1p20@eucas1p2.samsung.com> In-Reply-To: <20180806071543eucas1p233ac5016e1a586594cf8ecd1fe3214b0~IOkV1Zt7j2129321293eucas1p20@eucas1p2.samsung.com> From: Ravi Chandra Sadineni Date: Mon, 6 Aug 2018 16:05:46 -0700 Message-ID: Subject: Re: [PATCH] Input: cros_ec_keyb: Remove check before calling pm_wakeup_event. To: Marek Szyprowski Cc: Dmitry Torokhov , Ravi Chandra Sadineni , Todd Broch , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-samsung-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Merek, Thanks for the info. Lemme understand what's going on. Will update the thread once I have more info. Thanks, Ravi On Mon, Aug 6, 2018 at 12:15 AM Marek Szyprowski wrote: > > Hi Dmitry > > On 2018-08-06 08:16, Dmitry Torokhov wrote: > > On Sun, Aug 5, 2018 at 10:29 PM Marek Szyprowski > > wrote: > >> Hi Ravi, > >> > >> On 2018-08-03 18:53, Ravi Chandra Sadineni wrote: > >>> Understood. I am trying to reproduce this issue locally. Wanted to > >>> know the version of the kernel so I can give a try. Marek, can you > >>> please confirm the kernel version. > >>> > >> Yes, sorry for the missing context, I was in hurry writing the report and > >> I wanted to send it before leaving the office. I'm testing mainline on Snow > >> with exynos_defconfig. > >> > >> Suspend/resume is partially broken already with mainline, but if you disable > >> CPUfreq support, it works fine on Linux v4.17. > >> > >> I've posted CPUfreq related fixes here if you are interested: > >> https://patchwork.kernel.org/patch/10554607/ > >> https://patchwork.kernel.org/patch/10554603/ > >> > >> The issue with cros_ec_keyb patch appears first on Linux v4.18-rc1, which is > >> the first release with that patch. > > Marek, this patch should only be in -next, I do not believe I sent it > > to Linus just yet. If mainline is broken for you it can't be caused by > > this patch. > > Aaahh. My fault then. The suspend/resume issue is cause by commit > 38ba34a43dbc ("Input: cros_ec_keyb - mark cros_ec_keyb driver as wake > enabled device."), which has been merged to v4.18-rc1. > > It looks that I've downloaded wrong patch from the patchwork to reply it > with a a bug report. :( I'm really sorry for the noise in the wrong thread. > > Ravi: please let me know how can I help you to debug this issue. > > > > >> Linux -next from 20180803, which has a few > >> more patches for cros_ec_keyb suffers from the same issue. > > Just to confirm, if you revert only this patch from -next you get > > suspend/resume back? > > > > Thanks. > > Best regards > -- > Marek Szyprowski, PhD > Samsung R&D Institute Poland >