Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3216924imm; Mon, 6 Aug 2018 00:17:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdNDZG4VdPM6oPHhLJzoKOpYRe64DX9g2gsdPQE3eoAvmoPZeRxu+iCllqeR3o8D2QC1FB7 X-Received: by 2002:a63:e457:: with SMTP id i23-v6mr13336653pgk.127.1533539835966; Mon, 06 Aug 2018 00:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533539835; cv=none; d=google.com; s=arc-20160816; b=VUOPNq1d+rISmtjq98Lsy2bSmVbLqhNUccM8RjBJni5bAiLzqZT6ogQvY3S+WgIwxF u8szYAOgczj4HP93dWBqPoDmrekhRxCsFQGYp3/TBdNM4jYR0gL8lRujenaV8X/Xo+7p S5xqH9Is3WGaqPSNZI4OBd0G7isp976TdhN4S/I4pcAkGX/Sxkh/sC6LZs/L9VVMq0os MzulaizOXvdKGdv8DNEbhPvrtVjl6UW5N8UUC+DIunSoGudt3NtO8NLaa/u4RTq05lVB oD1RJ7etNEtB6nO7ffjCtQSUYs2yop6W7VP4UyRIYQIRm68kqViW0Xa/8d0vSLNMwXbj mzkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id :content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:from:cc:to:subject:dkim-signature:dkim-filter :arc-authentication-results; bh=G+f9kCoy3qcjDA2KiP29J1+uTiu++x/CMWSXQAIkgJM=; b=Wsj/YVPlyglgogjFlA5NOwK70wO5WG6p8J2nZZ9PXq1sBY4NRWW6LXCG/KPBPeqEgY 9/CfJDvtZaFrjX0oc6m/myZ4CiX89ZpcCaDsQwDz2slldPSriOnvS1I3qjbwWN72ATn9 WXpBigZg0anL5ED0Fua2adS0WVB6P+C32a7L5ofZyp3suPJ8Qo9V4Wic1Jy0Tp1tygH9 0SRuedaVfs93h2LZCzIG12zZd152NIdgKVW+6e5YibWad7wnOsL20Q/IggesAKhhIRDe FlwQLDwjQd2LcTDDm4bApy0B/EN3KZrdYoPNkny3sw1Gg1sc0rTvT4NJijxucHcN3C2b YJ5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=dAqHOfMz; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o15-v6si11980742pgq.236.2018.08.06.00.17.01; Mon, 06 Aug 2018 00:17:15 -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=@samsung.com header.s=mail20170921 header.b=dAqHOfMz; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727146AbeHFJX1 (ORCPT + 99 others); Mon, 6 Aug 2018 05:23:27 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50436 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727021AbeHFJX1 (ORCPT ); Mon, 6 Aug 2018 05:23:27 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180806071544euoutp022b6a9116b8d5e81893ea09f99a7dd79c~IOkXP620z1135211352euoutp027 for ; Mon, 6 Aug 2018 07:15:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180806071544euoutp022b6a9116b8d5e81893ea09f99a7dd79c~IOkXP620z1135211352euoutp027 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1533539744; bh=G+f9kCoy3qcjDA2KiP29J1+uTiu++x/CMWSXQAIkgJM=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=dAqHOfMzjDiVt2rPJ1fjNc6AeiBXLpHOY2k8Y5lQqxM4dGHDKKTKUh4YLulIgNgPc V1mwxoC/+6gXNUQ9viFylsXV2FJv+7YrO0VK2q03quUFM+A8iwPFOwa5KZBt8u+k4W 5BFJg7LRC6Gm4D3Kd5DBY0Zl/sL6CgJ9JpmDy0gc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180806071544eucas1p144a47e269f7945c74afec96259012b60~IOkW18Sey1125111251eucas1p1a; Mon, 6 Aug 2018 07:15:44 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 7C.30.04294.F95F76B5; Mon, 6 Aug 2018 08:15:43 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20180806071543eucas1p233ac5016e1a586594cf8ecd1fe3214b0~IOkV1Zt7j2129321293eucas1p20; Mon, 6 Aug 2018 07:15:43 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20180806071543eusmtrp12837b23c4ba359ead558dd43399ac162~IOkV0Uh5r2397323973eusmtrp1r; Mon, 6 Aug 2018 07:15:43 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-80-5b67f59f51bc Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 12.4C.04284.F95F76B5; Mon, 6 Aug 2018 08:15:43 +0100 (BST) Received: from [106.116.147.30] (unknown [106.116.147.30]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20180806071542eusmtip1a45dfaaee3afa52e61f8f71fa0290fa2~IOkVdAjzJ1959119591eusmtip12; Mon, 6 Aug 2018 07:15:42 +0000 (GMT) Subject: Re: [PATCH] Input: cros_ec_keyb: Remove check before calling pm_wakeup_event. To: Dmitry Torokhov Cc: Ravi Chandra Sadineni , Ravi Chandra Sadineni , Todd Broch , lkml , "linux-input@vger.kernel.org" , linux-samsung-soc@vger.kernel.org From: Marek Szyprowski Date: Mon, 6 Aug 2018 09:15:42 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Transfer-Encoding: 7bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHe3fOtqO28ToNnzQ1hgmKuQyhgZEWXWYQWNoFF+TK07S2aTtu aR9CMiyGlJfysgnKMBI/TBBzOprRpIZILa1gGQrRwgutmbdSS/J4svz2e//P//9c4KUISRs/ kirUldB6nUojFQSTPS+XPLtbFtTKPaMTqfIB6ySSf5hd5MvfOpoF8kZPP09uu72I5B7/Cl9u /fGJnyFUWMqHSUWfeUyoaO0yKOa6YrLI3OD9+bSm0EjrZQfygguck+OoeEpcev+nVVCOvoeY UBAFOBVa6h4KTSiYkuB2BAuT0yT3mEcw+rFZyLokeA5Bpz1pI2H7+g5xpscIFvtq/iYCCPo8 4wTrCsPnIFDVvp4OxzKwW5bXEwSu4YHTW4XYggCngMlvErBM4jjwvfas6RS1DZ+HFUcaK4tw KAw2+UiWg/BJsAWq13sSOBbs/maC4wgY9bXw2P6AbUJ4NdKEuLAR6j93I27tw+Duf0pwHAbT 7m4hxztgqK6K5MIVCO40moXcowrBk+ZeAedKgwH3MJ/djsAJ0OmQsQj4IPyuBQ7F4PWHcvuI obangeBkEdytlHA94sHstv2b+vzNCFGNp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+R4P396PbIEFaeHfWnF+m+quTIWMUn+9g6u9g4tlX+0w0BzoMin2JF5h7Vc9By3HutyD+7 e/ZFb4arORNSMjzYK0JnqDx9/d/qi8C2Gpnl5d+Mug+lLs78+PvMC45pXMX7syKVWIozEg21 mIuKEwEFdeYhywIAAA== Message-Id: <20180806071543eucas1p233ac5016e1a586594cf8ecd1fe3214b0~IOkV1Zt7j2129321293eucas1p20@eucas1p2.samsung.com> X-CMS-MailID: 20180806071543eucas1p233ac5016e1a586594cf8ecd1fe3214b0 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20180803072628eucas1p26abe0cb121b974401759502f8807bb96 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180803072628eucas1p26abe0cb121b974401759502f8807bb96 References: <20180605224458.62692-1-ravisadineni@chromium.org> <20180803072628eucas1p26abe0cb121b974401759502f8807bb96~HTx4BGQjl1119311193eucas1p2U@eucas1p2.samsung.com> <20180806052949eucas1p2483800c02730febd03d4a661a25fa405~INH40XvCx2719627196eucas1p2X@eucas1p2.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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