Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp782373ybv; Thu, 13 Feb 2020 09:24:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxNJ71FRNGf//Anx4KWzjOV3w3JhdvuIqVTUtsGsOlgutxipQ7XCxOP7TmciPyRLIbPzW1D X-Received: by 2002:aca:af49:: with SMTP id y70mr3744896oie.162.1581614677521; Thu, 13 Feb 2020 09:24:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581614677; cv=none; d=google.com; s=arc-20160816; b=o+xxl1JZbRQgewqMqtJtkpxkozy9lkzEqyeYHDA6r2I4kCEc/+n+fY8V4EOJ7Ef1Kj RPgsvQ+HoZmltcSJVYrNSNqtluEWheSedUAIUbMjSP4aSfmulTjeWEx/ciiYB0Z+qdo9 BTn0LTL3USv6NhAxsch5GPSzhyw5oOAd/jEpo3ntz/OK8YiIj4OUcyq7WTzh7tvAeK6n ExsIsQRp5xOF0G2dWvJtIEe6ee85Bdwo+FcXha4W2EPLZf5u2cjhageebPhUez2cJsCn NELj7WD2euBPDqRjLgL8Mzh0YrClKNeqrR/07M345N1w6cTqkrQ3a1Z28V4Mv5cuai1Y psbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=CV85bk6ID9w9qqLWKqmaw6gPSwhI+3a5wQYBZuJvupE=; b=fYDDg7O9DRzswFPYwX6ljDDd9h0GoCs/mWNMElJStizzaBDuRUuRgZJrfb1pQ5aD4h 3D/zavT93bN4JyzIwuLlEf9HuEWsZlU0+KPwc4y4qkzzvS3iPtuHOow8LQ2msfDeTqXY ahWT1iq/RnwgyYjO8Naj33cfVCv+tazlHJp6MR9ETkd6re58pO6n3q271QNk4ikAQJGB PeTqU0MpWYr6SEfNsMv4BlCpRiUJcG6wtG652/PJVbvFoymounOmkSudbZVJCEfTsOlR qyrasl91zNnBxsiRsd2VUAbz3KQ2jlrPJ1iHv0TpMgLXTb48rOeiCjSElYNS3ft3vgwf hv6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jCbiiiRZ; 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 o7si1412715otk.185.2020.02.13.09.24.25; Thu, 13 Feb 2020 09:24:37 -0800 (PST) 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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jCbiiiRZ; 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 S1728644AbgBMRX4 (ORCPT + 99 others); Thu, 13 Feb 2020 12:23:56 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:37486 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728383AbgBMRX4 (ORCPT ); Thu, 13 Feb 2020 12:23:56 -0500 Received: by mail-wm1-f66.google.com with SMTP id a6so7688059wme.2 for ; Thu, 13 Feb 2020 09:23:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=CV85bk6ID9w9qqLWKqmaw6gPSwhI+3a5wQYBZuJvupE=; b=jCbiiiRZujf0aw66N8Kanx2+W+IUbknnVlB+lZGXYxs/uUPYwz0YX7r9XaZ9jcf1cV ex7AHrUipCPAAVDzdNWTsHExM8fGIKJvh0bMSFDiRBIAEkLBJd2PzHb56mqAFuAeH4E9 R2ki0Mog7pUUTbR8rA1m9SNliuh2XP5mCLYl/iqisC1KNYPd5zw979GQ3eQoZQvxp6NS bGoGt3PUPftqDmDlGK8UDuc4wY+D6RoeHw0Ywl0Bnbw6W4fumIvdfYOP4zR+Ys/iS9Ot um2zPCqcHC0oR/WePUCljgVVxRZo9hoZ4zWwZxYESL+F8NlThUJDXWhRPcvc+qkn0x7q oD9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:mime-version:content-disposition:user-agent; bh=CV85bk6ID9w9qqLWKqmaw6gPSwhI+3a5wQYBZuJvupE=; b=O4qKe67l+ohxe4kzQ/WW5lET4AMTuTGFGQAziL3bAadljCghkOOY4D9Mkt4lRaGfwI b5GPwYmvwZ1Uc/enho+uR3JmnYVbCqswxC6k8h7z9jpKc7QOnD80Rwe2RJoZg8mPrsBJ PsIrOBZcxmjAqANOxGMs82TzaxMYepr7UZU2AJ3uT9AaPotiXpQunvxu1TNHZPqKYUiL JyeiPOYWHsGT3zJMu+i++kJm6iz+WL/zWWfJE4yBIDI/W2VDgDbEY5SuhhaYAS7GbZ3o RPe+XEu2Kbw0ajr1yj61w0U6bD4D+JsKKWHLV05+BOs0tSX9e5do7yYEl/iMKQNedhmy EmSw== X-Gm-Message-State: APjAAAUIlZSxbjJKi7x5QiD+2Et2L3Zdir0ULm3kMXrQSBtb8ULowNcX mW6qz/c4pyMaW9Ic5uJipLI= X-Received: by 2002:a1c:3204:: with SMTP id y4mr6641095wmy.166.1581614634384; Thu, 13 Feb 2020 09:23:54 -0800 (PST) Received: from dumbo ([83.137.6.251]) by smtp.gmail.com with ESMTPSA id z21sm3838941wml.5.2020.02.13.09.23.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2020 09:23:53 -0800 (PST) Date: Thu, 13 Feb 2020 18:23:51 +0100 From: Domenico Andreoli To: "Darrick J. Wong" , Christoph Hellwig , Linus Torvalds Cc: Linux Kernel Mailing List Subject: Regression: hibernation is broken since e6bc9de714972cac34daa1dc1567ee48a47a9342 Message-ID: <20200213172351.GA6747@dumbo> Mail-Followup-To: "Darrick J. Wong" , Christoph Hellwig , Linus Torvalds , Linux Kernel Mailing List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, at some point between 5.2 and 5.3 my laptop started to refuse hibernating and come back to a full functional state. It's fully 100% reproducible, no oopses or any other damage to the state seems to happen. It took me a while to follow the trail down to this commit. If I revert it from v5.6-rc1, the hibernation is back as in the old times. commit e6bc9de714972cac34daa1dc1567ee48a47a9342 Merge: b6c0d3577246 dc617f29dbe5 Author: Linus Torvalds Date: Wed Sep 18 17:35:20 2019 -0700 Merge tag 'vfs-5.4-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux Pull swap access updates from Darrick Wong: "Prohibit writing to active swap files and swap partitions. There's no non-malicious use case for allowing userspace to scribble on storage that the kernel thinks it owns" * tag 'vfs-5.4-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: vfs: don't allow writes to swap files mm: set S_SWAPFILE on blockdev swap devices Is it possible to do anything? Regards, Domenico -- rsa4096: 3B10 0CA1 8674 ACBA B4FE FCD2 CE5B CF17 9960 DE13 ed25519: FFB4 0CC3 7F2E 091D F7DA 356E CC79 2832 ED38 CB05