From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E79CE283C89 for ; Sun, 7 Dec 2025 04:05:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765080346; cv=none; b=JhpNJPt6uQ+nvwWjNoG9C0DSl0v86rBlEr+jOmr17oKB+ak5/CBmGHaG1csWPuOQ2Q0IzaG1FF6gojUguTy5Wg4C1v7WQRd9dd1jGvbOgms5T8gu2ZQLSRcddP8ZO2mCpN5gQFyOh5099P+U8aq3P1jcmhao7G924NGs8QnGtJw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765080346; c=relaxed/simple; bh=PWZ147u1Ppf7yNYMcL7wpdf1sLLMlRa3CTb2HAu1DTA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QEpzNEIxIMZb95p9vRd/7+nmmqeZKVxNkjY+pc1AglE5ClS4uTMjmXtvTXeVuBU8PjrEDHw0Li7Cq4sMxCkkpIe82SUYZc3pYsgwyBFcMqO5dG/FuV+ULlh/PjbWYOZqXETdz+lc7JPlckkx1Vp50rA306XHCAif3PGotXLoj18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OnBIKHe1; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OnBIKHe1" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-594330147efso3624821e87.2 for ; Sat, 06 Dec 2025 20:05:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765080343; x=1765685143; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ex2lzVAczuwvkjLV+fgi87Xz5EH5RAk0RHJHjHXLtww=; b=OnBIKHe1NH4Mm+UVQtZHs0/F9daQpimjovUkHUhv76Je/Elpjbibk7j8wZNK8kJtxZ 0AwZkfvTrrzja9Sq+jXQuLYhIXKA1uWdHJ+Oy9VthF7VBXqTD7sDPRLwbZoWSHySsF9l +4kaLtbSmRXNxLb5yOxKj6xRzlgk4PrJgqILzug+CIotJK+tl0i4IrzybaE8n0q9sMLk Ne6LhZUN6uoKMdyjnUGOMjTl0ZQkzArQfsoHHnHNnn2vfi5UFn22h5JEG2J5ommQU97w os8/i1PFzQzclAd8kcB8V6OlZJYNnA1nhMGtqtohqJ5TNjZNGL3EC8mZGUCR+GOuzca7 Pg5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765080343; x=1765685143; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ex2lzVAczuwvkjLV+fgi87Xz5EH5RAk0RHJHjHXLtww=; b=QNjEAjdfFm6WgwUqILFFeXDb0zZAmwCRpmiTIrWg+zmugoGFvZfCdrcj+1/K9DJiEJ kXAew42sF0BtyZLoMC5ppQfKNS8u2t/c/mhM1TLwEBukJ6SNA7gX8nZr2NDSCWP7hkOy CPsyU8Yb5+F63f/b9m2hjfMIbxiOl8Oz+vRmD3dB6xHlhFj10ZkhQHaoGFa/WPsNzrn5 EJpK2YeX5cC5N3p6LvFZ4wAdXf9clAxIV7hm/C0/nfXHSIZ6jnryTUKfXma3Xc9zk2hO i/BeOqAbQSWslfq95MUQ+yK/y7gjX69UQSsf18RSpguZavQXDxldCt/ENrP7zuZekHX3 57CA== X-Forwarded-Encrypted: i=1; AJvYcCV1fEhDApxK2P0/Iaetg+27wI5vVQkVC+fNKlZi9yS4vhR7wGHSE/nTf2t72xgAyFUiBusG4umMfasn@vger.kernel.org X-Gm-Message-State: AOJu0Yzy6fehY+GBkx4As6JXwze+bNuSa2C7QyKeZQv22UAEw08wL4Ot cKKj6+tR7d+AuZHm91vBSPZLEWGtegPJccZTbrm5uyMrUDGFY4Z+NGs9 X-Gm-Gg: ASbGnctVNEKOHN1GAoQ33rbJJvp7Ucvv4oJsXlODcX3Je7wK6SXEtKTl4jL+TlKZJtZ yQxypnnqH9m3DnlZMtsDA5FutXj/G3VytLg2t1jklxHOFNUjB78rHvoNj05yY2QZmwhRQ01VVws rvOD86KNfLlXPPuXlXlu6sh6V/ZOO+FW6JJ3CpM3V/KsMKSQkcwWKqaClbnHvVH2LbCGqaztlmB ftAXywtjxoHsQgUX4q+xe4qENeZfQU1bw13fdzw76j1JU3WMCrvn2fKdk1k4HUdMFkkzS+9KCNa nnruXlfplTKzs8lgcLsPEYRHVBbbezBuaWnehPcmxjzogZQ+/ATfUToOKUhCTr57nCXW1vdd1sB 5M7Bf5OS5ts9Q2/uH+G5AVdOWFBEa3oxNr/3SspNlbucRsTmIqY2uU6SFbHlna12AHcYCDq+M9n m0tChEp6l5 X-Google-Smtp-Source: AGHT+IH8mx3P/9V/pAGu8lz10DNuwJ7kxmYDCtybY5oUGluuyAcyWcsd4RN6gkh3q7lmDuDfA7g2qg== X-Received: by 2002:a05:6512:31c6:b0:595:80d0:b68c with SMTP id 2adb3069b0e04-5987e8bf711mr934848e87.25.1765080342615; Sat, 06 Dec 2025 20:05:42 -0800 (PST) Received: from localhost ([194.190.17.114]) by smtp.gmail.com with UTF8SMTPSA id 2adb3069b0e04-597d7c270f1sm2912765e87.72.2025.12.06.20.05.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Dec 2025 20:05:42 -0800 (PST) From: Askar Safin To: andriy.shevchenko@linux.intel.com Cc: Dell.Client.Kernel@dell.com, bartosz.golaszewski@linaro.org, benjamin.tissoires@redhat.com, dmitry.torokhov@gmail.com, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, regressions@lists.linux.dev, rrangel@chromium.org, safinaskar@gmail.com, superm1@kernel.org, wse@tuxedocomputers.com Subject: Re: [REGRESSION][BISECTED] Dell Precision 7780 wakes up on its own from suspend Date: Sun, 7 Dec 2025 07:04:59 +0300 Message-ID: <20251207040459.3581966-1-safinaskar@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Andy, Mario and others. During these months I found zillions of suspend and hibernation related bugs. It seems hibernation is not well supported. For example, it seems hibernation is not supported on Chromebooks [1]. And Fedora intentionally disables it by default. [2] Other operating systems do similar thing. Hibernation is hard-to-enable in Windows [3]. macOS on Apple Silicon hibernate in very limited scenarios [4]. But I still use hibernation. So, I have an idea. Maybe we should remove as many as possible hibernation-related code from kernel to make sure that remaining code is easy to support? I. e. maybe we should remove some even-more-obscure-than-hibernation features, such as hybrid sleep mode, to make normal hibernation easier to maintain? If you like this idea, then I will happily write patches for removing some hibernation-related features, such as hybrid sleep mode. Other ideas: - Remove uswsusp (i. e. kernel/power/user.c ) in favor of normal hibernation (or vice versa, i. e. remove normal hibernation and keep uswsusp only) - Remove hibernation to swap partition and keep hibernation to swapfile only (or vice versa) - Decouple hibernation from swap completely (i. e. hibernate not to swap partition, but to special designated partition or file) In short, just tell me what should be removed, and I will happily remove it. [1] https://www.reddit.com/r/chromeos/comments/y5pol9/anyone_know_what_the_status_of_hiberman_hibernate/ [2] https://pagure.io/fedora-workstation/blob/master/f/notes/hibernationstatus.md [3] https://www.groovypost.com/howto/enable-hibernate-mode-windows-10/ [4] https://www.reddit.com/r/chromeos/comments/y5pol9/comment/ism352k/ -- Askar Safin