Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp851130ybg; Wed, 3 Jun 2020 15:42:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNHhCK248utfyg86CmD0CxOlYskP/DK5W7PnF46xaKlBUSa5G1w/200poR+eKzTQja0QJj X-Received: by 2002:a17:906:a2c5:: with SMTP id by5mr1387867ejb.492.1591224158836; Wed, 03 Jun 2020 15:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591224158; cv=none; d=google.com; s=arc-20160816; b=XF9UJFwvsyA5a24EmodmIAUEWdjNRDzxgbrZgYHlOKCad+ytxeBrAD8eGaak/9cIJD kLs0ekXVHr0U6tv+wGb0996N9rltyw0BNtBeOOzq6p4dD2rUFU/Rejr1gGYTKQOrPdeL BtdNmPO0RNykIOVh2fZMxnfpMIJwjYvma+fFDkPoM6p4RHEeoLCFhVXuXZQCAMJWMqzi ZneoSV3x0HJL+QXKsVYZyy8NPQWZVfZlygx2Fwhb2UkP4dN1zk4jisUKaCMGLOFGY1h3 v201bl7hW2nr77VKqywXb9/FTDAuI+Sxmv0QlSMtvvuMzWkKwEKkhfe9ZTlGXOA6cLPh shFg== 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=Myq6ZV85It0R/N8eLRhclOg1iR9ZpMgAQsNUyFxW00E=; b=yZ6/M6WWZEdjW3c2KWze3bX8UBE/YoCT2LYEejfuJybxJKCAcg/LXRxpbEoLI6lUxY kU+BP7IVaA63IJP41BZXcfC09AlbxJN3QKqZFun4X3d9fcgrdGNSJAu2mdLQxHhWmsKB gylWPu1VqpXU8xDm2860P8dwSaHYqhIt0O8oLx5jEPEz49t+9wt9yyAJ55P5hsz3z5Jg GH87KM/ljgxYqiwui/sscA2tn9fRSisAbQFXusYfQgMnM1GR8hqivfHkEG0Zmpz8QVOh evAwdEjTfLgyYP1W2SmaXJvsCpILDB4wGfb7wBBKZ9k+GVAb1IQlTk82g2T4frAcg2VY ucFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=piywcRHR; 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 qc28si495939ejb.292.2020.06.03.15.42.14; Wed, 03 Jun 2020 15:42:38 -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=piywcRHR; 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 S1726927AbgFCWkX (ORCPT + 99 others); Wed, 3 Jun 2020 18:40:23 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:60265 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbgFCWkX (ORCPT ); Wed, 3 Jun 2020 18:40:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591224022; x=1622760022; h=from:to:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=Myq6ZV85It0R/N8eLRhclOg1iR9ZpMgAQsNUyFxW00E=; b=piywcRHR6QcRsJn67IKNTa9KWgnwhGS8O6SLcN4CSD3YS4qJqsBLWmFr +I4mcdwpbvRrQUDD9XPKFmMPdJHsiLqEx3m8uudDsGLkuKqvcvUv0mSOL bsKn4e3BgWFeuTdJPX04mpjCgU/FDUewauqrzrykXVl8hw1lno25GYJWX E=; IronPort-SDR: HGlszbAaMjRlQSBHjzfb07Sq8D3XcgSehxso6VS97ueiDdkojxtD16vl+YaA7qNIELHPqOLb9F PkJE9W82B+IA== X-IronPort-AV: E=Sophos;i="5.73,470,1583193600"; d="scan'208";a="41391349" Subject: Re: [PATCH 04/12] x86/xen: add system core suspend and resume callbacks Thread-Topic: [PATCH 04/12] x86/xen: add system core suspend and resume callbacks Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1e-17c49630.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 03 Jun 2020 22:40:18 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1e-17c49630.us-east-1.amazon.com (Postfix) with ESMTPS id 5F279A179C; Wed, 3 Jun 2020 22:40:16 +0000 (UTC) Received: from EX13D05UWB001.ant.amazon.com (10.43.161.181) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Jun 2020 22:40:15 +0000 Received: from EX13D07UWB001.ant.amazon.com (10.43.161.238) by EX13D05UWB001.ant.amazon.com (10.43.161.181) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Jun 2020 22:40:15 +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; Wed, 3 Jun 2020 22:40:15 +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" , "Agarwal, Anchal" Thread-Index: AQHWLjTkyZyRRrOMA06VZoqhuNYdW6jBUn0AgAXLpQA= Date: Wed, 3 Jun 2020 22:40:15 +0000 Message-ID: References: <79cf02631dc00e62ebf90410bfbbdb52fe7024cb.1589926004.git.anchalag@amazon.com> <4b577564-e4c3-0182-2b9e-5f79004f32a1@oracle.com> In-Reply-To: <4b577564-e4c3-0182-2b9e-5f79004f32a1@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.160.48] 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 ICAgIENBVVRJT046IFRoaXMgZW1haWwgb3JpZ2luYXRlZCBmcm9tIG91dHNpZGUgb2YgdGhlIG9y Z2FuaXphdGlvbi4gRG8gbm90IGNsaWNrIGxpbmtzIG9yIG9wZW4gYXR0YWNobWVudHMgdW5sZXNz IHlvdSBjYW4gY29uZmlybSB0aGUgc2VuZGVyIGFuZCBrbm93IHRoZSBjb250ZW50IGlzIHNhZmUu DQoNCg0KDQogICAgT24gNS8xOS8yMCA3OjI2IFBNLCBBbmNoYWwgQWdhcndhbCB3cm90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