Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17946055ybl; Thu, 2 Jan 2020 15:20:57 -0800 (PST) X-Google-Smtp-Source: APXvYqz9YBB/xhQqLAGfeA5xZzr7Em/HkQ3dsDf3m8tkRci2KGzOKRpHAGWJYCsBVQQ7hBfJ9/tb X-Received: by 2002:a9d:799a:: with SMTP id h26mr91117745otm.240.1578007257351; Thu, 02 Jan 2020 15:20:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578007257; cv=none; d=google.com; s=arc-20160816; b=TmS7aYjl5OXQX53/9DUNeUIskxddbuTwwfwVujq7peSlLtctbI6+x3MWZF0daXLjNN DCeOUJ6mUNPejfrLWXfZKudrrZjNZG9jnqYPXcngCououC1lkuYoWn8YWKCsnKkSGzBj RQ/oyQXyav2HJZnQHgiJUcmhUJcOJKd8IvkZ7zIboXuaUEutSZKenBKyxxUt9zn2ILUA i7gCnRP2reuCdIZlKUMNBivVzTOiH2UpV1vm18Bwy5VantqGsVcVhU/n82Kiaov/cbmx d5SlBeO5kQj0IWO8HjLimx5gn8TS/oS1l/8GK3NFaXrrZAQuTgxuf0Ry3Cgi6gInbII6 +Fdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=2rkxtj75qMmfFejsblg4LJbRA0O8Af2ULdce3nvFog0=; b=JKiUuquAtUOCsFZCgkgtL9wO7f6rjNjck/F0IH2IewS2yBu5JuQUW40pD3oXC69mdA Bcvqh/atgHoOtEwdfEUjY0ifeu6brcyEqhqryrdqtMDOJnatfEAWTfc2MhVMPDurpEYm deFcct3gkuvT6di19qLU9XBJWKtQohl8iL6Vh+8K/9dYM1FzV/V/FtT2UP3rDiAB9bbc DDF+dMcXUpSnG8XCTY8zLjhWFvs/KR+SFEqqvEdvG7CnC/1imIt7/4m+hYwqRnb/cEKl k6ou8BduJJJFvQBOHYTXItjVQw2Z1KtaRL/zo3t1e0lw7/iD099Di8K7V8+Do4UCJzzM byOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=uhQiZSmK; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p21si33152199otr.58.2020.01.02.15.20.44; Thu, 02 Jan 2020 15:20:57 -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=pass header.i=@google.com header.s=20161025 header.b=uhQiZSmK; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726391AbgABXTq (ORCPT + 99 others); Thu, 2 Jan 2020 18:19:46 -0500 Received: from mail-qv1-f74.google.com ([209.85.219.74]:41005 "EHLO mail-qv1-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbgABXTq (ORCPT ); Thu, 2 Jan 2020 18:19:46 -0500 Received: by mail-qv1-f74.google.com with SMTP id u11so21473789qvo.8 for ; Thu, 02 Jan 2020 15:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=2rkxtj75qMmfFejsblg4LJbRA0O8Af2ULdce3nvFog0=; b=uhQiZSmKc1Zb11oPLNBuwsrSubMw8/+Y9CncU93zXzCLH5ifXZcQCiHKDmPEFUv3ut aB62L1LiZqkh4XfxljqKAUGR7ztSjhaK35zg4OIOn2DiIFKMkXJhlZAUyfM6lLCcT6lq 1Le2d488KwFvDyVeupm55mU1VKtCHL6zZD6VeuVJtzgWOKC0e9Hp2A+DZMhzuzoD/X/5 zplDjv9kBkqYgFS7Aat2AqzkFQx+i/UD+oV1jP2NkLGfJnlNLHnfhlh4TiHSOd3IdGGL 2GSauE6rKMKxsuGL1tddqDROOPnwgAZKglkFdhuCq7JNiElGB3DcuiwkcJnGB513Ou1D j3Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=2rkxtj75qMmfFejsblg4LJbRA0O8Af2ULdce3nvFog0=; b=aUvsvwWkNebspZNOFo3DfNhn5zt2yMqgzjh0MNgquiUQjw+1q3QgYUAQay1UlGzZEU pWAMp6cqgf0p9dQa0hknXT+THK4Fi67Km5NVehmuW6k0laPLl2hN/Yo6j4qslG5S03cV 1yenM7A9QQ098rfrVm5Y8yW0Y6WsklQ+Ethix4e2OlItUf8ckGrQs5SZIxGKW/rrLq2w rKpQHusFRuxnIXcHyCo37jmwwZQ7XHn5y7F9xSIPp2dvPN5G2NZawQGtGXdTBrX1fusP YCkYpvf+Z6cFmhM5oHgN7dVrjfAl+oJbyaZJOGiaMwcbovWRtG4j1wRsYEo5XkNqSlaQ AoCA== X-Gm-Message-State: APjAAAUCTvigLFmHsJwd2r7jOwr7vFiXAws9VokrI45m5oinwMaAZczz 4zc/wqpgZs68TCoSFOYzaUBxhYNR10rlfLU= X-Received: by 2002:ac8:383d:: with SMTP id q58mr60717171qtb.45.1578007184895; Thu, 02 Jan 2020 15:19:44 -0800 (PST) Date: Thu, 2 Jan 2020 15:19:38 -0800 Message-Id: <20200102231940.202896-1-semenzato@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.24.1.735.g03f4e72817-goog Subject: [PATCH v3 0/2] clarify limitations of hibernation From: Luigi Semenzato To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, rafael@kernel.org, gpike@google.com, elliott@hpe.com, Luigi Semenzato Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches aim to make it clearer under which circumstances hibernation will function as expected. They include one documentation change, and one change which logs more information on failure to enter hibernation. ---- comments on patch versions ---- As suggested, v3 makes the log messages more consistent, by including the term "hibernation" in most of them (if not all). (I think this was worth it, also because this code doesn't change often, but we're quickly entering the region of diminishing returns.) v2 uses better terminology in the Documentation, and removes a suggestion for a workaround. ----------------------------------- Luigi Semenzato (2): Documentation: clarify limitations of hibernation pm: add more logging on hibernation failure Documentation/admin-guide/pm/sleep-states.rst | 12 +++++++++- kernel/power/hibernate.c | 23 +++++++++--------- kernel/power/snapshot.c | 24 ++++++++++++------- 3 files changed, 38 insertions(+), 21 deletions(-) -- 2.24.1.735.g03f4e72817-goog