Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1568489ybh; Mon, 20 Jul 2020 01:22:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz81ZnVrXCcx/ftQjDxvBVt3PqbH5HgtwbJvNiUupk3wjdnNTuQ2OSXf0MtHkHoPXDLhr5s X-Received: by 2002:a17:906:e2ca:: with SMTP id gr10mr19157821ejb.81.1595233367801; Mon, 20 Jul 2020 01:22:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595233367; cv=none; d=google.com; s=arc-20160816; b=x7s5d6pJaBvahWuXxg09KOq8mM1kBdsUpXP8rkvoRgAX8rTX0GLKMDqAPAIOOhwSqe 5XNvLvWdzCyfs9ImVuDNq4JLh+J7VqKM2mZHSakr68IRdpE9hEQf3gPCPThnKYln5bZK LztvkhBwCUrFseLMHB1E23ljxxmejLXi0nwrQBbNaMLrq3uFtc+qxl2ix8XHgHZ7S7JJ UlVCkCDr/AQdDBWawDSyrBxy7OQKNyJYXeCJvskNnMyB3gUlglLgm2eF1Xdmac7RuBOc e2AaNf/FClfllT/79rVpoTCRLm5LxCePTGiEcY/gk9L/8AMAA09ZnDSOcP7FK2796Z7P WllQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=g1ZpCrFRRkITcy2/cYkX9ggNIKxoHUd6Hg4M3iYk/hs=; b=OIgvAv0U+l7bsrpomG5RaBaGLFbczOnJeH5+Ebo+UiYHbFe9F9D8xeyB768qVhzzdv +qMOQcvSKq1xX8qr/FHwtDV8WC+GWCvu9NQYjvxjp2iZPTEUDr9i7i7eSfHKh8PqRC2B /gV9n7ECtSoh5hd/qX8mz/7FvIaIObMGxF3B1PeNisyvmVnGV2CFxCuiMsUAYOzjSDPq Po/VmfdoKSRvgWaRcPJcZl661+p4qYh0610U3sUeF6aES2URP5jr9A0Q25VWC1JPFIfs Txx76WazygDRL76+Zba2r7gCK43w76/z5MCsJ6NPEcm9GRPWIt/7iy9KDxfcMnnSQv61 /4Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=i4u1sZz8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si10196485edj.314.2020.07.20.01.22.25; Mon, 20 Jul 2020 01:22:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=i4u1sZz8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727881AbgGTIVq (ORCPT + 99 others); Mon, 20 Jul 2020 04:21:46 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:65355 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726254AbgGTIVp (ORCPT ); Mon, 20 Jul 2020 04:21:45 -0400 X-UUID: dfeb3b1a5b9f4728838d7827f6c72e12-20200720 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=g1ZpCrFRRkITcy2/cYkX9ggNIKxoHUd6Hg4M3iYk/hs=; b=i4u1sZz8ljiE2cksXgO+V6A+p902sO6NZTUwjHASIdUbdtHr72P1eYPUdjgV1/wLn0Lt6iKibWtGKgh8bnvos+FxYOyy+wmm337VvnadSD3agCrfIS0pjdkfyYRWbKFwEuWDx0KmYZ9Z77Ip72RLKLOWfHCKKZ22pgwmv68JQWY=; X-UUID: dfeb3b1a5b9f4728838d7827f6c72e12-20200720 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1871616624; Mon, 20 Jul 2020 16:21:40 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 20 Jul 2020 16:21:32 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 20 Jul 2020 16:21:33 +0800 Message-ID: <1595233294.8055.0.camel@mtkswgap22> Subject: Re: [PATCH v2] cpuidle: change enter_s2idle() prototype From: Neal Liu To: "Rafael J. Wysocki" CC: Neal Liu , "Rafael J. Wysocki" , Len Brown , Daniel Lezcano , Thierry Reding , Jonathan Hunter , Jacob Pan , Matthias Brugger , Sami Tolvanen , ACPI Devel Maling List , Linux PM , linux-tegra , Linux ARM , "moderated list:ARM/Mediatek SoC..." , lkml , wsd_upstream Date: Mon, 20 Jul 2020 16:21:34 +0800 In-Reply-To: <1594350535.4670.13.camel@mtkswgap22> References: <1594005196-16327-1-git-send-email-neal.liu@mediatek.com> <1594005196-16327-2-git-send-email-neal.liu@mediatek.com> <1594350535.4670.13.camel@mtkswgap22> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org R2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