Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp738428ybg; Sun, 26 Jul 2020 20:29:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyd7/HOjTwECdpbWCgmaYZdUNd6YFHWe9XIJjaDQrNz+zslsVMLJuWjkmaUjUAurQes7OGL X-Received: by 2002:a17:906:3685:: with SMTP id a5mr18183292ejc.298.1595820561896; Sun, 26 Jul 2020 20:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595820561; cv=none; d=google.com; s=arc-20160816; b=EpKwBRZ6nxR5W7NHPwjYXhDJfumDQY707RzfkVgSk7ZtXfG6BPPyxKYHEInL5jDIpI jWZPKmM0i4te6KywxzMGb+PnUWL0rHs8gb9wKg1sItT2ivNFQmjpTkLFKujwjk+ELout etsUNcEBmcjPeChuLdfCL+YOdjA+h2LBW4q1pVk8w/Nn/zSYB4nOWETRt4F+AfFxrI1g PNohZ+3frr9gdxQRp+Jo3emHu5VKm+rK54V/A8VJGQfVa0CW53CddZj0I1ok+wEFSXLv U4YVjiLC19VeCr261REvNDD3koT+YfI8YotccX8b7a+O8rsCT8+kedAyXTKQKO0R5VG2 swqA== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=ts2TbemboXTjPLm3syKaYD/dvm0+IAdQpXqli+IsEmE=; b=zrLXMSsMvIzVL+STlPIcVE4pq6DM5zzRHX7Vh84DLS/JClLLYCnwgf46Eoguhs4VB6 CPmGPZS80wMEj/ebGYR5GqAN485BtmuIhT1J3Qccjj0XJoSN85I5mdlPE6+a1KQsFNOd tUuuPBIIblrUkS8jlXD7j3drMsqtx8+YS7wZy+GD/hfDsN3Q0kydH5pKlGG3v8EITn1j 2Y1SXPsVzKlxAn8sgtNlUZeCekia2hwhEtbiwyMDvq7PHsQJKU+zP3lFYk8FrhSqggxD BWSq5B+qhR9uo0W5VS7cc5BOpV9MiiCK0CUHzhC85mMX7zg3qzqi9kPj5GeVjSJpZzYb L/Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Q1oTugg2; 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 dm6si4829966edb.169.2020.07.26.20.28.59; Sun, 26 Jul 2020 20:29:21 -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=Q1oTugg2; 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 S1727053AbgG0DZz (ORCPT + 99 others); Sun, 26 Jul 2020 23:25:55 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:34566 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726817AbgG0DZy (ORCPT ); Sun, 26 Jul 2020 23:25:54 -0400 X-UUID: b5aec717104440f5817f9b1245681e01-20200727 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=ts2TbemboXTjPLm3syKaYD/dvm0+IAdQpXqli+IsEmE=; b=Q1oTugg20XjTN70cWrd9vhCDy6XdAgHFPySEZJiOVK058MKVnbRiFXQp+634LJBUdbzvy41lhfYSWLfQBGfbjF6W7N0r0JBq4BFf8hlto9iShD2aYxTPC4J1G2TTQKMpd94UHfI7yYv47nBBSbLPRWX0ia0VVSlz+8y/xNMTn48=; X-UUID: b5aec717104440f5817f9b1245681e01-20200727 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 1411802195; Mon, 27 Jul 2020 11:25:49 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 27 Jul 2020 11:25:47 +0800 Received: from mtkswgap22.mediatek.inc (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, 27 Jul 2020 11:25:47 +0800 From: Neal Liu To: "Rafael J. Wysocki" , Len Brown , Daniel Lezcano , Thierry Reding , Jonathan Hunter , Jacob Pan , Matthias Brugger , Sami Tolvanen CC: Neal Liu , , , , , , lkml , Subject: [PATCH v3] cpuidle: change enter_s2idle() prototype Date: Mon, 27 Jul 2020 11:25:46 +0800 Message-ID: <1595820346-4361-2-git-send-email-neal.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1595820346-4361-1-git-send-email-neal.liu@mediatek.com> References: <1595820346-4361-1-git-send-email-neal.liu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 Q29udHJvbCBGbG93IEludGVncml0eShDRkkpIGlzIGEgc2VjdXJpdHkgbWVjaGFuaXNtIHRoYXQg ZGlzYWxsb3dzDQpjaGFuZ2VzIHRvIHRoZSBvcmlnaW5hbCBjb250cm9sIGZsb3cgZ3JhcGggb2Yg YSBjb21wa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