Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp110096imm; Tue, 7 Aug 2018 15:00:59 -0700 (PDT) X-Google-Smtp-Source: AA+uWPztfqYabsgCrRImduWUtOnvHx5vlHf/GgHs600bKkS2xTaqXRqgm8sl8z8VoRIo3DZnskrq X-Received: by 2002:a63:bf43:: with SMTP id i3-v6mr148517pgo.342.1533679259901; Tue, 07 Aug 2018 15:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533679259; cv=none; d=google.com; s=arc-20160816; b=CNNZ7MV2yHbOgo3dSH60LcRd4r+Tp1lHHbPUlRLjjSywB6rB5TgQNmd7lVN0RcMtOm t4t//JEs8PF8ZSiVd2/J9jwfwagVtXWlloDfi/+qequXrUIAij+38jS2wBICD8j5iv5a 9SWASU2x1i8WFXB7WA6x/WbDInKjzjIzOMJtx20OEHB4RkIEeuPzMc3fry/UJgdtcslN vw2DSCQYwvfzlxpfNtl/c3aPu6BdFN451HJz1RuYXTYe1LScdEPYFEeKmddojHzs39WL 2ee+LVi+G7MpNmLmeyM8A0e7WsXG7JDiFnatsOPHIqtGHj+K8ZZr2ZQkhO4tM3Cd4lYf eWYQ== 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=OoTCdKEdWrU7XIVyJzUIBgd2zZ0XICuak2p4l59WHqw=; b=NYYJeGySmbSU2Oz1eVBuFTrPUP34lS7FnwRWWFsJh1XfckdZhbv020Ql1IHpfDYuWs +sGBYjbRNEkldStt7AKhIdE73/wSiUtKcMzBvKlDWee6XMHI0gK8JoSXefNaqpLWAMEQ 8MfqogJ6UczBq1M5klJ6l5jqXdT4i4GXBVkbq45T0M6CNPiVaVtwcYm2ah3hoagEkyNv z1URYxGf7rfdF/laRT/LVA3L7evOHwvj7yScoLWovoh4fK2GpRgYhgZRIq3vvyn1EO11 olvymu/oQE0S6CjMJq73y83mzBzvt1rGt5At8BdJ1bRuAn4C3gTsiMiJrXK4Jji1pQGX TQng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nv4RnAzC; 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 1-v6si1823705plx.227.2018.08.07.15.00.44; Tue, 07 Aug 2018 15:00:59 -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=nv4RnAzC; 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 S1726961AbeHHAQU (ORCPT + 99 others); Tue, 7 Aug 2018 20:16:20 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:33604 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbeHHAQT (ORCPT ); Tue, 7 Aug 2018 20:16:19 -0400 Received: by mail-qt0-f194.google.com with SMTP id c15-v6so279859qtp.0 for ; Tue, 07 Aug 2018 14:59:52 -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=OoTCdKEdWrU7XIVyJzUIBgd2zZ0XICuak2p4l59WHqw=; b=nv4RnAzCjxlHbAxmyiJLOms+dYry+eMIXFLFDOSgsEmNu4Dr3t7T32E+pVVWpZGp15 51+pcXd5V/fTWxtBVSWyVxiPFYvYNcLB6gdEi2yOvPiMexyudAdXq8uVZSseR9vtcz1I ptS1nrxZs9+cMvrRJ3qhunes6mhYpBQd5pkpw= 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=OoTCdKEdWrU7XIVyJzUIBgd2zZ0XICuak2p4l59WHqw=; b=LmI7CRPrFpJog13mRdXEYFUM/OHXma9f+01w4tX8EIhg/WQmtAp2Z6QaCr3tZPq2yd t14GoqsAxl56AvSPqr3+Cxwode9xqU9MWhS2+ngpbpSAC4/l3meIarwpOZxuSFIZCNC2 dUvNICQsB9btx3X5YHeCGFCCm4XyD3UQ68gvoQMnyL+0K+6tJkmnHcAezYXv6pwLnmtA yp0rWP+UthwFcSc87ZnOAKKgS1uOpMVo02ZNt7KtOk3lzEv4tKMF4O7AP2B8W/Uqhr5/ w4fiMsAVXYWkIL0yFraK8JWrV3pdHGp0WRkpZjZ7GhDuMLa23ozj+AdetMR+c6S7OLFk 8k1g== X-Gm-Message-State: AOUpUlEDlSeu/yZ9oqCD6/eRzFVXSwoQbn4N2bDia3VnR+lMqakavnse rSJpOqYMYurJjfNrFGxmsn/I8yVtTtH6OI3mY7588A== X-Received: by 2002:a0c:b792:: with SMTP id l18-v6mr219270qve.110.1533679192366; Tue, 07 Aug 2018 14:59:52 -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: From: Ravi Chandra Sadineni Date: Tue, 7 Aug 2018 14:59:41 -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, I tried booting a snow device and could not get it to boot it to the console. I assume i don't have right kernel config. Can you share your config if possible. Thanks, RaviOn Mon, Aug 6, 2018 at 4:05 PM Ravi Chandra Sadineni wrote: > > 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 > >