Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp854694ybg; Mon, 1 Jun 2020 16:38:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhE8KS1ovBz34FgWs2M5i6fyICIJNJPX7SC2K4WvhHMrYYMcxSus7OUfTirouUHdIH4Npa X-Received: by 2002:a17:906:aad8:: with SMTP id kt24mr19637885ejb.527.1591054729586; Mon, 01 Jun 2020 16:38:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591054729; cv=none; d=google.com; s=arc-20160816; b=taKdq1mCrIhq1opOyY54hXxwFEyWIJDvMNjIHVzKE+NHVVGEjlwSaHeqnOdmHwbNP8 pgBBsxSeG0zq40k5QilEjCL/fceVjEfyMc8JhH/d9CydL9ULkwVfjDP4dHhkzNawS6l8 bcAmQzzLwPGpJ4MAzJUkEcWyX9ErPvTQoAEdkZoThD7G+yKxZXEILbumOeCfDPaPCGMb cwHdO3Kxr5hCFveXHlvcrSUCbj2KMycXAPOiPmA5qpcMGGDIiYYZ/9LXUSuIYsjeWAfo YkXuoPrKx4CGsZFVCsEscu8AVBIOWk3T6XCzQ0X5kFS9BrPTCI3NWh6UiSPKysxCF38p whOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:to:from:thread-topic:subject :ironport-sdr:dkim-signature; bh=J/MloPbOinRJ95w81UPzW+FxLSViVtVGzpvoTyLM11E=; b=l9kYUj0HFYL0AKCZ7lduck5uxY6/QNtmOlJ31/JcI/lbBdbPDkeb/bovJKsmK9CiKD aOlHRaku6Q6kpYndoDdo6aaIpjX1SSg1jnmKxT4WZSM7v2ypZt3gRAHwT0I0Tp+dVzGW S4tAfaKLf0sfBN5gInp5yYzmHGxs5zZ9AQ+C5QDoGEDk8CIAit8zPI2eN0XLtdFCReY8 /NgPIBtEhKBEPr5skJ4lnhNcg3jIAnBSABv+fIM66oQiwJ+9yzPnt8blF8QlIcHASgjE udKiFJAaBVHc0QWE+7EMB8HT8F5SAjnuzJ6lH272QBZLuHdVSgMfHExZ7SLWpDtAu8Zs hunw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=RZxK3wAO; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df5si543026edb.231.2020.06.01.16.38.26; Mon, 01 Jun 2020 16:38:49 -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=@amazon.com header.s=amazon201209 header.b=RZxK3wAO; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728374AbgFAXgn (ORCPT + 99 others); Mon, 1 Jun 2020 19:36:43 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:59549 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725802AbgFAXgm (ORCPT ); Mon, 1 Jun 2020 19:36:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591054601; x=1622590601; h=from:to:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=J/MloPbOinRJ95w81UPzW+FxLSViVtVGzpvoTyLM11E=; b=RZxK3wAOHv6CMin5dMxgBXCRZ9obWrv84xYhEPiBIL3JP2iPgWCZwwFw MM5UMHV9x/2Qdd3ctwiXXfVvBI85t5xZo9erEs3RhTlSWjyNfakuvmq83 GgvgzIF33CIaUY4r/+N2Gr61rKg5m85UmMgl/lUZo96Vx6jv+cr0f2+0i U=; IronPort-SDR: LkBdX1Jax7kcHTVh6vnZJsyZjBLWu31bHv/02Ku7vm+Mkckt6fxAI0NtZC78idaa9UVK8IjDRw A+7M5cTZONqA== X-IronPort-AV: E=Sophos;i="5.73,462,1583193600"; d="scan'208";a="33842841" Subject: Re: [PATCH 02/12] xenbus: add freeze/thaw/restore callbacks support Thread-Topic: [PATCH 02/12] xenbus: add freeze/thaw/restore callbacks support Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2b-5bdc5131.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 01 Jun 2020 23:36:26 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2b-5bdc5131.us-west-2.amazon.com (Postfix) with ESMTPS id C2C57A1F45; Mon, 1 Jun 2020 23:36:24 +0000 (UTC) Received: from EX13D10UWB001.ant.amazon.com (10.43.161.111) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 23:36:24 +0000 Received: from EX13D07UWB001.ant.amazon.com (10.43.161.238) by EX13D10UWB001.ant.amazon.com (10.43.161.111) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 23:36:24 +0000 Received: from EX13D07UWB001.ant.amazon.com ([10.43.161.238]) by EX13D07UWB001.ant.amazon.com ([10.43.161.238]) with mapi id 15.00.1497.006; Mon, 1 Jun 2020 23:36:23 +0000 From: "Agarwal, Anchal" To: Boris Ostrovsky , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "hpa@zytor.com" , "x86@kernel.org" , "jgross@suse.com" , "linux-pm@vger.kernel.org" , "linux-mm@kvack.org" , "Kamata, Munehisa" , "sstabellini@kernel.org" , "konrad.wilk@oracle.com" , "roger.pau@citrix.com" , "axboe@kernel.dk" , "davem@davemloft.net" , "rjw@rjwysocki.net" , "len.brown@intel.com" , "pavel@ucw.cz" , "peterz@infradead.org" , "Valentin, Eduardo" , "Singh, Balbir" , "xen-devel@lists.xenproject.org" , "vkuznets@redhat.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Woodhouse, David" , "benh@kernel.crashing.org" Thread-Index: AQHWLjS9hSpS5JM2xU+iWpBujRQ276jBTrMAgAK6doA= Date: Mon, 1 Jun 2020 23:36:23 +0000 Message-ID: <687F52C0-A277-4D21-8802-3CF1358EEB31@amazon.com> References: <7fd12227f923eacc5841b47bd69f72b4105843a7.1589926004.git.anchalag@amazon.com> <835ca864-3e35-9a82-f3fd-24ca4e2ec06e@oracle.com> In-Reply-To: <835ca864-3e35-9a82-f3fd-24ca4e2ec06e@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.162.200] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCu+7vyAgICBDQVVUSU9OOiBUaGlzIGVtYWlsIG9yaWdpbmF0ZWQgZnJvbSBvdXRzaWRlIG9m IHRoZSBvcmdhbml6YXRpb24uIERvIG5vdCBjbGljayBsaW5rcyBvciBvcGVuIGF0dGFjaG1lbnRz IHVubGVzcyB5b3UgY2FuIGNvbmZpcm0gdGhlIHNlbmRlciBhbmQga25vdyB0aGUgY29udGVudCBp cyBzYWZlLg0KDQoNCg0KICAgIE9uIDUvMTkvMjAgNzoyNSBQTSwgQW5jaGFsIEFnYXJ3YWwgd3Jv dGU6DQogICAgPg0KICAgID4gIGludCB4ZW5idXNfZGV2X3Jlc3VtZShzdHJ1Y3QgZGV2aWNlICpk ZXYpDQogICAgPiAgew0KICAgID4gLSAgICAgaW50IGVycjsNCiAgICA+ICsgICAgIGludCBlcnIg PSAwOw0KDQoNCiAgICBUaGF0J3Mgbm90IG5lY2Vzc2FyeS4NCkFDSy4NCg0KICAgID4gICAgICAg c3RydWN0IHhlbmJ1c19kcml2ZXIgKmRydjsNCiAgICA+ICAgICAgIHN0cnVjdCB4ZW5idXNfZGV2 aWNlICp4ZGV2DQogICAgPiAgICAgICAgICAgICAgID0gY29udGFpbmVyX29mKGRldiwgc3RydWN0 IHhlbmJ1c19kZXZpY2UsIGRldik7DQogICAgPiAtDQogICAgPiArICAgICBib29sIHhlbl9zdXNw ZW5kID0geGVuX3N1c3BlbmRfbW9kZV9pc194ZW5fc3VzcGVuZCgpOw0KICAgID4gICAgICAgRFBS SU5USygiJXMiLCB4ZGV2LT5ub2RlbmFtZSk7DQogICAgPg0KICAgID4gICAgICAgaWYgKGRldi0+ ZHJpdmVyID09IE5VTEwpDQogICAgPiBAQCAtNjI3LDI0ICs2NDUsMzIgQEAgaW50IHhlbmJ1c19k ZXZfcmVzdW1lKHN0cnVjdCBkZXZpY2UgKmRldikNCiAgICA+ICAgICAgIGRydiA9IHRvX3hlbmJ1 c19kcml2ZXIoZGV2LT5kcml2ZXIpOw0KICAgID4gICAgICAgZXJyID0gdGFsa190b19vdGhlcmVu ZCh4ZGV2KTsNCiAgICA+ICAgICAgIGlmIChlcnIpIHsNCiAgICA+IC0gICAgICAgICAgICAgcHJf d2FybigicmVzdW1lICh0YWxrX3RvX290aGVyZW5kKSAlcyBmYWlsZWQ6ICVpXG4iLA0KICAgID4g KyAgICAgICAgICAgICBwcl93YXJuKCIlcyAodGFsa190b19vdGhlcmVuZCkgJXMgZmFpbGV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