Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1518906pxk; Tue, 1 Sep 2020 00:08:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSM6jE3FY2Pj2AhFCWfaQGoGu0OSckEObRQcqqU31zfygOeA7y+E1zCPhp7NeOKkDR1k8S X-Received: by 2002:a17:906:fb8c:: with SMTP id lr12mr281334ejb.9.1598944134702; Tue, 01 Sep 2020 00:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598944134; cv=none; d=google.com; s=arc-20160816; b=aVUT4gN/IDBX0ds6TUmRNehWMYSUljtr/RPknQoy2pCxgUbeEAxCO7C3UvnCBxWzUs AoTHcFAvUWHMOEc4ZhUce33TFvHBlJm1sB2nvLzb/udicZ4Zu+ENLsal1iQ/LBtIm96e x0mn/4c0qvjDrD75wYx1lLK2ETJVZeLQoulfbk/KFqH6DmrGYtTG+aC4eDurz5UVysKy aq2lr1wXc4wTzPttBF6353N5Cl+v2FnsXCpvyAi9/75gBk83zUPFBWBjvyll4ON/ueMV jp9iU3mCHFCxu5F3XNUzwgMsPErMmoM789hgBLrMXJ/Hh8ZUFhAwicSxsw6WSTgXYuan wzZA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=VRgBNvTtVHr8xsM0oGrT8CR3Lw13vv4ccslbq+kluY8=; b=EhDrRZZP6NY7ATUo/Ogw64kfLzXsN9YeDoxDf055+Qi0TVyuxXYC7odmCQIiBBxGv1 ZrxWF5ansrTXYKaSGgZC++N13M2yrQ770++ccJqE0IN1sW+nnnd9U494EuhO98wYfnUZ vuhcFJovw0Sem6/Maa7LQoWOhsIYjkDB0r1JA7stCGNqCwTpTY4PfzVWmrhBa/cd10wp FTseaksSTLUEcSqyY2Hqr5aQvGYt5qRYs3Izx/5rG4dnMsbK6C2BRjFjnqNMV1IbpD0M UwwN9sBjj1cD0E2yJFEm3EU4JqDOHmszzfMQEpGyBWpcUWj9VsbDXZVWIz+hWr0LQIGV gKLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BDfhEuri; 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 qk26si191380ejb.146.2020.09.01.00.08.32; Tue, 01 Sep 2020 00:08:54 -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=BDfhEuri; 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 S1726204AbgIAHFz (ORCPT + 99 others); Tue, 1 Sep 2020 03:05:55 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:31494 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726044AbgIAHFy (ORCPT ); Tue, 1 Sep 2020 03:05:54 -0400 X-UUID: cbe7ac62e7e548e1b23fc4688f1e3c67-20200901 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:Message-ID:Date:Subject:CC:To:From; bh=VRgBNvTtVHr8xsM0oGrT8CR3Lw13vv4ccslbq+kluY8=; b=BDfhEuriDBR8vybYGb20smjGwe7mGiufoD6fde/Afax25sZ8CF2i3EUUVCr6DlEiDpyg5vJMk9AW7rDh1rG7NwJjJhZx5sRZ7UEjXO19esrtaCw3QYBjLq9YkVXeCYVWNh49MoAk5WKBzMHzqOknquN++oUjpaIy7/YVJ5PZlkk=; X-UUID: cbe7ac62e7e548e1b23fc4688f1e3c67-20200901 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1165505367; Tue, 01 Sep 2020 15:05:50 +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; Tue, 1 Sep 2020 15:05: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; Tue, 1 Sep 2020 15:05:47 +0800 From: Claude Yen To: "Rafael J. Wysocki" , Daniel Lezcano , Frederic Weisbecker , Thomas Gleixner , Ingo Molnar , Matthias Brugger , Bjorn Andersson , Greg Kroah-Hartman , Stephen Boyd , Douglas Anderson CC: , , , , Subject: [PATCH] PM: s2idle: Introduce syscore callbacks in s2idle flow Date: Tue, 1 Sep 2020 15:04:18 +0800 Message-ID: <1598943859-21857-1-git-send-email-claude.yen@mediatek.com> X-Mailer: git-send-email 1.7.9.5 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 VGhpcyBzZXJpZXMgYmFzZWQgb24gNS45LXJjMQ0KVGhpcyBwYXRjaCBtYWtlcyBzMmlkbGUgY2Fs bCBleGlzdGluZyBzeXNjb3JlIGNhbGxiYWNrcy4gQ3VycmVudGx5LA0Kd2hlbiBzMmlkbGUgaXMg c2VsZWN0ZWQgYXMgc3lzdGVtIHN1c3BlbmQgbWV0a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