From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_ADSP_ALL,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A74F2C3F68F for ; Fri, 10 Jan 2020 00:54:24 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6C50F20721 for ; Fri, 10 Jan 2020 00:54:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="U7GKw8Jh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C50F20721 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id DA25A8E0006; Thu, 9 Jan 2020 19:54:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D521A8E0001; Thu, 9 Jan 2020 19:54:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C41BE8E0006; Thu, 9 Jan 2020 19:54:23 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0173.hostedemail.com [216.40.44.173]) by kanga.kvack.org (Postfix) with ESMTP id B218D8E0001 for ; Thu, 9 Jan 2020 19:54:23 -0500 (EST) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 78A204DD6 for ; Fri, 10 Jan 2020 00:54:23 +0000 (UTC) X-FDA: 76359903606.01.rings10_607fc201c2a01 X-HE-Tag: rings10_607fc201c2a01 X-Filterd-Recvd-Size: 4451 Received: from smtp-fw-6001.amazon.com (smtp-fw-6001.amazon.com [52.95.48.154]) by imf39.hostedemail.com (Postfix) with ESMTP for ; Fri, 10 Jan 2020 00:54:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1578617663; x=1610153663; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=gFWTLYKX2wEcgFfZMvELsMKmvJakxFojhlZCDgHoKHg=; b=U7GKw8Jhmg28KGS2rH3tbfnmhFi2Shc9gGMHZFzICGLHJdE/Eobu19B8 lWijGG8pNWbEeGxLBXOIzUbDtDsVwP38ccgEHdFUzwQStmC4Hd8JypjE1 7GQJ0KAxFnDu+V7xj0tBhBe5x+OOHMjYOtpGOmscWaNWtzkqCcAXuSvOH M=; IronPort-SDR: vrQ2rPHO9WRjY8NbeMG8xCyVhFjs61ZAlZ1Xu5GgYue07j+xSBWWpbZpefhBRW+H/Yq4LaxKAh CmVfjKPeYQZQ== X-IronPort-AV: E=Sophos;i="5.69,414,1571702400"; d="scan'208";a="12337450" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2c-397e131e.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 10 Jan 2020 00:54:20 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-397e131e.us-west-2.amazon.com (Postfix) with ESMTPS id 61930A01F7; Fri, 10 Jan 2020 00:54:18 +0000 (UTC) Received: from EX13D01UWB001.ant.amazon.com (10.43.161.75) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 10 Jan 2020 00:54:12 +0000 Received: from EX13MTAUWB001.ant.amazon.com (10.43.161.207) by EX13d01UWB001.ant.amazon.com (10.43.161.75) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 10 Jan 2020 00:54:12 +0000 Received: from dev-dsk-anchalag-2a-9c2d1d96.us-west-2.amazon.com (172.22.96.68) by mail-relay.amazon.com (10.43.161.249) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Fri, 10 Jan 2020 00:54:12 +0000 Received: by dev-dsk-anchalag-2a-9c2d1d96.us-west-2.amazon.com (Postfix, from userid 4335130) id A7D9340E78; Fri, 10 Jan 2020 00:54:12 +0000 (UTC) Date: Fri, 10 Jan 2020 00:54:12 +0000 From: Anchal Agarwal To: Boris Ostrovsky CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [RFC PATCH V2 01/11] xen/manage: keep track of the on-going suspend mode Message-ID: <20200110005412.GA2095@dev-dsk-anchalag-2a-9c2d1d96.us-west-2.amazon.com> References: <20200107233720.GA17906@dev-dsk-anchalag-2a-9c2d1d96.us-west-2.amazon.com> <88721569-d425-8df3-2ab2-3aa9155b326c@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Jan 09, 2020 at 06:49:07PM -0500, Boris Ostrovsky wrote: >=20 >=20 > On 1/9/20 6:46 PM, Boris Ostrovsky wrote: > > > > > >On 1/7/20 6:37 PM, Anchal Agarwal wrote: > >>+ > >>+static int xen_setup_pm_notifier(void) > >>+{ > >>+=A0=A0=A0 if (!xen_hvm_domain()) > >>+=A0=A0=A0=A0=A0=A0=A0 return -ENODEV; > > > >ARM guests are also HVM domains. Is it OK for them to register the > >notifier? The diffstat suggests that you are supporting ARM. >=20 > I obviously meant *not* supporting ARM, sorry. >=20 > -boris >=20 > > > >-boris > > TBH, I have not yet experimented with these patches on ARM guest yet but that will be the next step. The same=20 code with changes as needed should be made to work for ARM. Currently I am focussed on getting a sane set of=20 patches into mainline for x86 guests. Thanks, Anchal > >>+ > >>+=A0=A0=A0 return register_pm_notifier(&xen_pm_notifier_block); > >>+} > >> > > >=20