Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp74415pxb; Fri, 9 Apr 2021 18:45:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9u/8nPDz0puun4HC2mxbB7KUgs3EPHqviTMiO9iKferUeNUBg4qnE8rQPr97dyUBsGJsP X-Received: by 2002:a63:d748:: with SMTP id w8mr15557236pgi.266.1618019137575; Fri, 09 Apr 2021 18:45:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618019137; cv=none; d=google.com; s=arc-20160816; b=NLXFTo3FFMLcXCcCUePouxGyhKWQoPFjp0USxFOPzDq2fgepUPHSkYFM2uVxnYLeMF X4b+aDDlAv5Was8vlb1F8MB1J78uM3HYQNPsjJp/HMbTnbiXj5zYejsQzivPv6EnPEne LW5heqdcM5iGoFPLamg3K4/5fpTCTVKPJuncBoiLvBUlMa1YBL8vOci9o/F3FR5Izrkf p99i8+6opCGMDYc7jTKV2ezsDnMnglK6HYxo6Ur1uXxknN1VIVw+t0O84utuesdInFXM b4suz3S+yHCPVsNFGMnRtk8G6LZwOQu5qjpazQyRCcein5xj1sNlD8NTUkp9SBxto/NW Df0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=f+eHY1cO25QfYDw7qlA9DNcwvvrIIv/cae1oflaNgrU=; b=g353vD3XRaJRDRoTjfUFip1zl2FLBQ1cMUcXQsMrkSq1uZJtJRU5rv1BspsIj5MkeD jQQXemIYm+U7R+IFHjRA07vcgIFXxyQzoZEkNiojNhHe4a2m1fJwxszaNjyLXvE/xMpS 9q2lGUfJGby5p1/VtkGn7E0bYZfidr3US4J9gnsyOY3AWU0dL6xH+CXz4kpzuaaK04Wb emIWwMQBpByqdxfp+UL/YthCyS6sGZo5nIelcg7w0yqbXlWFme8wuDnT6UOtXnIt0eRq HzUS5rrUMBgMio8xoc1Gc4B1ARqva8ld/16z0QuqBZfA2goJFOPAK+1zymK2V5czAi7s JWnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=IsSwYmxP; 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 t7si4666058pjq.38.2021.04.09.18.45.22; Fri, 09 Apr 2021 18:45:37 -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=IsSwYmxP; 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 S233657AbhDJBom (ORCPT + 99 others); Fri, 9 Apr 2021 21:44:42 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:39579 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232855AbhDJBom (ORCPT ); Fri, 9 Apr 2021 21:44:42 -0400 X-UUID: fc5077f8912647309ac18c5ba4c1d425-20210410 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=f+eHY1cO25QfYDw7qlA9DNcwvvrIIv/cae1oflaNgrU=; b=IsSwYmxPmfQ41pHOH1pIzZ7N5A2/f9bvVswfYyhhvwJVZzs2OguEBVfkH8OxVq9YFzdR3e7UHTFGET7KTsnq0Z/k4Wr2e5xVh7To2ktnSkLx5P49ARyjDeG2Ni7guNdS3uE6EtwFgnJdPZXl5/hP5rV9XwsuQQNShiIY7h/Ak0U=; X-UUID: fc5077f8912647309ac18c5ba4c1d425-20210410 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 496504886; Sat, 10 Apr 2021 09:44:23 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 10 Apr 2021 09:44:22 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 10 Apr 2021 09:44:21 +0800 Message-ID: <1618019061.12105.48.camel@mhfsdcap03> Subject: Re: [PATCH 1/6] PM: runtime: enable wake irq after runtime_suspend hook called From: Chunfeng Yun To: "Rafael J. Wysocki" CC: Tony Lindgren , Rob Herring , Mathias Nyman , Greg Kroah-Hartman , Matthias Brugger , "Rafael J. Wysocki" , Len Brown , Pavel Machek , "open list:ULTRA-WIDEBAND (UWB) SUBSYSTEM:" , Linux ARM , "moderated list:ARM/Mediatek SoC..." , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "Linux Kernel Mailing List" , Linux PM , Tianping Fang , Eddie Hung , Ikjoon Jang , Nicolas Boichat Date: Sat, 10 Apr 2021 09:44:21 +0800 In-Reply-To: References: <1617874514-12282-1-git-send-email-chunfeng.yun@mediatek.com> <1617933211.12105.22.camel@mhfsdcap03> <1617957362.12105.27.camel@mhfsdcap03> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 7AC3D9FEF60E5C1132401E888149897F7B3B859953E6EA0B57D85E51DFAC66AD2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIxLTA0LTA5IGF0IDEzOjE0ICswMjAwLCBSYWZhZWwgSi4gV3lzb2NraSB3cm90 ZToNCj4gT24gRnJpLCBBcHIgOSwgMjAyMSBhdCAxMDozNiBBTSBDaHVuZmVuZyBZdW4gPGNodW5m ZW5nLnl1bkBtZWRpYXRlay5jb20+IHdyb3RlOg0KPiA+DQo+ID4gT24gRnJpLCAyMDIxLTA0LTA5 IGF0IDA4OjM5ICswMzAwLCBUb255IExpbmRncmVuIHdyb3RlOg0KPiA+ID4gKiBDaHVuZmVuZyBZ dW4gPGNodW5mZW5nLnl1bkBtZWRpYXRlay5jb20+IFsyMTA0MDkgMDE6NTRdOg0KPiA+ID4gPiBP biBUaHUsIDIwMjEtMDQtMDggYXQgMTk6NDEgKzAyMDAsIFJhZmFlbCBKLiBXeXNvY2tpIHdyb3Rl Og0KPiA+ID4gPiA+IE9uIFRodSwgQXByIDgsIDIwMjEgYXQgMTE6MzUgQU0gQ2h1bmZlbmcgWXVu IDxjaHVuZmVuZy55dW5AbWVkaWF0ZWsuY29tPiB3cm90ZToNCj4gPiA+ID4gPiA+DQo+ID4gPiA+ ID4gPiBXaGVuIHRoZSBkZWRpY2F0ZWQgd2FrZSBpcnEgaXMgbGV2ZWwgdHJpZ2dlciwgZW5hYmxl IGl0IGJlZm9yZQ0KPiA+ID4gPiA+ID4gY2FsbGluZyBydW50aW1lX3N1c3BlbmQsIHdpbGwgdHJp Z2dlciBhbiBpbnRlcnJ1cHQuDQo+ID4gPiA+ID4gPg0KPiA+ID4gPiA+ID4gZS5nLg0KPiA+ID4g PiA+ID4gZm9yIGEgbG93IGxldmVsIHRyaWdnZXIgdHlwZSwgaXQncyBsb3cgbGV2ZWwgYXQgcnVu bmluZyB0aW1lICgwKSwNCj4gPiA+ID4gPiA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