Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2443052iob; Fri, 6 May 2022 03:04:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFeKzBlba6sl2vDc86Tq+RUIDE5vrLCx17Y8BuFB8mgmOhV5y4x/6uAYp//Ny1//u4SFjq X-Received: by 2002:a17:90b:3742:b0:1d9:5dc6:dede with SMTP id ne2-20020a17090b374200b001d95dc6dedemr11357943pjb.92.1651831440156; Fri, 06 May 2022 03:04:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651831440; cv=none; d=google.com; s=arc-20160816; b=b7IWzqmA5fl3kwsxY2EjmIGA3bGW87omFyhpXVtJ6H7FhyUDUYBAZHcA19BwXULtFq 27FXAfS+gaSPCdgzYrmmr6h5jHqtAcJsg106eMjdY0qX3K1wEX8CvpaSY85Ekfpg2S5T 5If/sxZUO+PLJAzpPOOlHuKf0SihI4uBmSNxMKMJgcmOI5YAxL6rPjLK34HYbt5++y68 s5uwn/1gmhPC0vYxNRCeXaZUANR/lSwLhtNu5JkmS8fXQaOBzwwUxQ5WIYL4FmuAx8ne O6uLOs7wccf1MZU6zMW6Rqe2MoB6p39nxMk1CgqfrZbs5pXoAIR5M1RyiSBRwKrEAHcv nYTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=7v2CD/TPwrcoEWudBwZsC3kPJhWxSkWgF2bGSBvAsoc=; b=J1nuBZb8xvf9rw9VSF52Cbad93y4HYwGyMwXkV85xGKg8ud0X1XM5X9OLVIXXuI1DJ uP+NafoRNFF+0MS03Q8N0SwvN+oPD25BAU75hN5ehmgtYNeoFNPLNdT6DEB7elO3Wal1 CwyfhupI9ZfHrSsDTR3beszMUoLO15hONfK1lwZqZsuNkCKycj/W0uAWQ1OV62umZu9L aWKMul1V1rUdAlgqj9Fybs2NngiLB8Ta5IGQMtpWOy/ydaBrRA0ZT3iDr8o3EH6MjWEt lbmMe2LyyKNaOSGM1iTuEaDjqfj8MmzQbmsUoYe0eWlNXVsPKTr/VVXfOh6HglaTMvjB Xv/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a2-20020a170902ecc200b0015eb690beedsi1948530plh.405.2022.05.06.03.03.46; Fri, 06 May 2022 03:04:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359422AbiEEMGF (ORCPT + 68 others); Thu, 5 May 2022 08:06:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356598AbiEEMGF (ORCPT ); Thu, 5 May 2022 08:06:05 -0400 Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EEA44551C; Thu, 5 May 2022 05:02:26 -0700 (PDT) Received: by mail-yb1-f174.google.com with SMTP id f38so7249523ybi.3; Thu, 05 May 2022 05:02:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7v2CD/TPwrcoEWudBwZsC3kPJhWxSkWgF2bGSBvAsoc=; b=voMCLYKcOy7jEVWOHmkPjpOMDJxfxAe6GIvnjnMTW/qMGq4iIkHibwTsj8fRDdAsHA bDaB9j2uutSY0hIQJ4Bf5RtXrTQ8gJp9koKLGPXR+qhwyoAcKRUcoN8u1Q15+2p4J5fq BMF53JbGa4Dvh40vLPChimmy6+NX2/mgJq3jJQ4Vbfqda0QjZsHAR5AP9udP1SDSQFHN hnnusqocumRrnvgA21NpHpokAeYk3MOeXQ9YotXyrUc2hnsIxYanfbwXj0q3T/pi79FI Txecs+EyZYO38Wr8C5Lzo5TIv+LatIMhF5Mfel1y7FcC8zu5z+pX0SanZWdo8ipesMuV DSpA== X-Gm-Message-State: AOAM530epU9i9aIczjmY4Q91Agap/35lnnohE+MkiMM23fpwem3EEssJ TwakJdozX8ggv/S4xv6EwparrpyMtDjkj2lugX4= X-Received: by 2002:a25:3795:0:b0:648:fa25:5268 with SMTP id e143-20020a253795000000b00648fa255268mr22558130yba.153.1651752145467; Thu, 05 May 2022 05:02:25 -0700 (PDT) MIME-Version: 1.0 References: <20220505015814.3727692-1-rui.zhang@intel.com> <40b8ad06-6ef2-113c-fffb-2fa001603b3f@suse.com> In-Reply-To: <40b8ad06-6ef2-113c-fffb-2fa001603b3f@suse.com> From: "Rafael J. Wysocki" Date: Thu, 5 May 2022 14:02:14 +0200 Message-ID: Subject: Re: [PATCH 0/7] PM: Solution for S0ix failure caused by PCH overheating To: Oliver Neukum Cc: Zhang Rui , "Rafael J. Wysocki" , kvalo@kernel.org, Alexandre Belloni , Linux PM , ACPI Devel Maling List , linux-rtc@vger.kernel.org, "open list:NETWORKING DRIVERS (WIRELESS)" , Daniel Lezcano , merez@codeaurora.org, mat.jonczyk@o2.pl, Sumeet Pawnikar , Len Brown Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, May 5, 2022 at 10:23 AM Oliver Neukum wrote: > > > > On 05.05.22 03:58, Zhang Rui wrote: > > On some Intel client platforms like SKL/KBL/CNL/CML, there is a > > PCH thermal sensor that monitors the PCH temperature and blocks the system > > from entering S0ix in case it overheats. > > > > Commit ef63b043ac86 ("thermal: intel: pch: fix S0ix failure due to PCH > > temperature above threshold") introduces a delay loop to cool the > > temperature down for this purpose. > > > > However, in practice, we found that the time it takes to cool the PCH down > > below threshold highly depends on the initial PCH temperature when the > > delay starts, as well as the ambient temperature. > > > > > This patch series has been tested on the same Dell XPS 9360 laptop and > > S0ix is 100% achieved across 1000+ s2idle iterations. > > > Hi, > > what is the user experience if this ever triggers? At that stage the > system will appear to be suspended to an external observer, won't it? > So in effect you'd have a system that spontaneously wakes up, won't you? No, you won't. It will just go ahead and reach S0ix when it can. It will only wake up if there's a legitimate wakeup even in the meantime.