Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2346885imm; Thu, 14 Jun 2018 12:46:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLdcoYSdHf4fX98OHXFfmcxYh4QleuW9QCSKnKaeLR7YgivWn5x19nyDBr9DhuUNYZFc4c5 X-Received: by 2002:a17:902:5a09:: with SMTP id q9-v6mr4441818pli.300.1529005588720; Thu, 14 Jun 2018 12:46:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529005588; cv=none; d=google.com; s=arc-20160816; b=Ud8E/LhVeJZLWtHZfr+tDhq2omQ45FoEB+3jS83hu9MW3B+2PX6wlAu5DOsXbY2axx mnu+19/GP5kC4l/lvXeW0aVYXALmS0M2s99siXgox+81r13sNAbJxvC++ngV3cF6+xZT 43UlFVBXzC4B1c42q0g2lr8LTj64DOatQoOFUJfCOv7OSX1WyQ+fNCOlLZmP0qblCxpH fgFBNilOG+TeS9tu7x8OKcy5Zlv2QqJbBK8hb+pYmZrDE53rDDknU4fK2pdnfqsLg3Zp mCSgO0Z9oiYPNTJx5I4h45x9f1CQ9WSlCUXhDn0oTBTxJI1Gkx/WkfBoqzmnVpqjzQyA C5ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=wthZUlMNDnv/UlwLxtR/J0qN/x9bQs+Z1MNHR+p9i8w=; b=w4XozUxEduO7SOqj656foXopP6E6SBmFs2FDdvBJppPWLDiRm02iT+Aoj7w7/bxMdi Ht6yKj5qpP1urLq/P5SL7x7nq+qPIv2qlVf1mFKiykUnAThfRooDthK1KZR9hr662mqf VvLpuiPtPGovjmqRKdpYBHfMb0btAuMGIqmvVXuHWcO+V02EW24ZLXYGbp2uNrZXXFm7 kxd6iQ4PwQBlqmONv9E5uxbW5rASo38DG1Jg3UhxbOJZFoDofzugDpwQcskPLtvNxfHg cJ57qoXCsInjj698iMth0Bksf09E82BAU6gLHZSj8edvFUYdxj4mcYMNZsKcr0HQ8Ofs DK6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20-v6si6159807plp.267.2018.06.14.12.46.14; Thu, 14 Jun 2018 12:46:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935945AbeFNTpT (ORCPT + 99 others); Thu, 14 Jun 2018 15:45:19 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42002 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755430AbeFNTpS (ORCPT ); Thu, 14 Jun 2018 15:45:18 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id A5B7380482; Thu, 14 Jun 2018 21:45:16 +0200 (CEST) Date: Thu, 14 Jun 2018 21:45:15 +0200 From: Pavel Machek To: Anchal Agarwal Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, roger.pau@citrix.com, netdev@vger.kernel.org, jgross@suse.com, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, kamatam@amazon.com, fllinden@amazon.com, vallish@amazon.com, guruanb@amazon.com, eduval@amazon.com, rjw@rjwysocki.net, len.brown@intel.com, linux-pm@vger.kernel.org, cyberax@amazon.com Subject: Re: [RFC PATCH 12/12] PM / hibernate: update the resume offset on SNAPSHOT_SET_SWAP_AREA Message-ID: <20180614194515.GE17808@amd> References: <20180612205619.28156-1-anchalag@amazon.com> <20180612205619.28156-13-anchalag@amazon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5Mfx4RzfBqgnTE/w" Content-Disposition: inline In-Reply-To: <20180612205619.28156-13-anchalag@amazon.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --5Mfx4RzfBqgnTE/w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Aleksei Besogonov >=20 > The SNAPSHOT_SET_SWAP_AREA is supposed to be used to set the hibernation > offset on a running kernel to enable hibernating to a swap file. > However, it doesn't actually update the swsusp_resume_block variable. As > a result, the hibernation fails at the last step (after all the data is > written out) in the validation of the swap signature in > mark_swapfiles(). >=20 > Before this patch, the command line processing was the only place where > swsusp_resume_block was set. Are you saying that suspend-to-file was broken, even on non-virtualized systems? If so, we may this to go in first... Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --5Mfx4RzfBqgnTE/w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlsixcsACgkQMOfwapXb+vLC3wCfX4tTCT4FWhC5Eamk0GflW7HU XwQAoJSlWbWAf4T9Kkoe+rMuMl+uDnkz =yswn -----END PGP SIGNATURE----- --5Mfx4RzfBqgnTE/w--