Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2376965rwi; Tue, 1 Nov 2022 07:07:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4L/9uH95kHjiDRNRKyFMIbg0xrwEwRfz9lHj3SZQbQYp4YrNGEI0jxKjuUJFoNeHxcBl7u X-Received: by 2002:a17:90a:4283:b0:214:1329:dede with SMTP id p3-20020a17090a428300b002141329dedemr2901855pjg.149.1667311636706; Tue, 01 Nov 2022 07:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667311636; cv=none; d=google.com; s=arc-20160816; b=rgG5fZG9zbWnjV2nz63UeyH5DNr17wTz0gIuNHukL/vZ0Zl0JRJzK/kmI+HVEzWGnW Uu0EN5gYBAyIa768+IdXHAR4loxll8iGGuw0vhhLPb/wFwp9SQYeIkPMLdb6Snlt4gp8 ySueh0Gj5hVKLoLD9yyrg6uyNSGpPWPCLG87h0Fr0+0sdRHkKpV/Z9uRxPb2/8FuNqWd BRKK55fW+8nxwiJxEJdlicEKhW6JKwLUiDY+uZP+3whwk9Av8J0CNUswN/36wH2CnGgM hC0vdfRb9e7v9zBgtGUhT0hWxtIy1AS+3l5kDx91wXWw+RXfg64utwNhb4RW4D9V+jhB yQjg== 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:dkim-signature; bh=QQAnjt+7XG8p++j0HFBqJ1i4IPg+WyhF6FRul3d1/9M=; b=oGoT7UHL8CxstEz879gVl+4OrtICiwSjj6lZFEAXfVaZxCRkbVVOgLnZSLiFqa4naH BfIIcYE9O9rnkwyGgUfawSpngcTKwo6GiuT+IOFVH04Jm9Nm9ZOVufE3ai5qTpacws4w MgEv8+tKxC4X6++ZcQlozlCqEFZicHTQVPAMphd/i5CuRWULrHsHXpj8O4cu/5EUqJkK xr7ZT9FLU0I3huz55A8GIEkcXlXQj13/qd+ehqzNY0mAh+7oYRzLslnckFfdC5AmcLI/ 0ohvfWhn5zMZ2ydCXJ69QTDL6tr2tesfeppKi08aLB7NCcVv9t1E4DALds8oZ5iR8ELd dDUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hesLDdyl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w127-20020a636285000000b0046f55fec417si12577508pgb.650.2022.11.01.07.07.03; Tue, 01 Nov 2022 07:07:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@chromium.org header.s=google header.b=hesLDdyl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbiKANus (ORCPT + 96 others); Tue, 1 Nov 2022 09:50:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230088AbiKANum (ORCPT ); Tue, 1 Nov 2022 09:50:42 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C90316556 for ; Tue, 1 Nov 2022 06:50:41 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id f5so15626277ejc.5 for ; Tue, 01 Nov 2022 06:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QQAnjt+7XG8p++j0HFBqJ1i4IPg+WyhF6FRul3d1/9M=; b=hesLDdylycooTsz6aCItyOr7PtE299wGrzDAYVq5R34UZo3QscVnl8OQaus4HSG6AK Mdk1ppaD67TQP3cDlAYo9APgzs+RmxBeuxxRVjavusi51UKc1MYMzXMjUVHxKbCg5vI8 VUExyH4qUIkhWDbZmocLqwRhLD+gdvCFrB9qM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QQAnjt+7XG8p++j0HFBqJ1i4IPg+WyhF6FRul3d1/9M=; b=wS24/ZpOaUb9/svPKpiZPFp07JMeBr/V32Nppd5hcWRlWcJ0N/bmRHGBSZ1SyeAs6G prda1BQ58IVbXlNaVdSixa9OTWBbAQ/4zJXv28u9YBwJGUkYoNYxaJZ5ozcO+/GWpPCR 6w17B0HAYXdjIKMvOLejdJ8NDjf+dz3YDQX77fHaVz4rJcHN4MV8KvDpDQpT/DG3w2wP iGEMffiolIzC2qOXqiJ9HRMtGFiyj785KMYlDi/ipCTIflOvVRH2n7ltXWIOHcE/jYvX IZw7kZ9+M57RI1OX043KABkaIF4JZbZWyN5VkSZLjiOBj7pXJVIVjvgBW+IS1L/INTbs diKg== X-Gm-Message-State: ACrzQf31+qjCmYEcxvwyOratFBbFYHyyTueChr4XM6+ypjrBw432CypL yQcNAfqcvI4GR8PZUGOrPzVSdzx/UKjbP51d X-Received: by 2002:a17:907:6d8c:b0:7ad:b45c:dd24 with SMTP id sb12-20020a1709076d8c00b007adb45cdd24mr16161762ejc.616.1667310640214; Tue, 01 Nov 2022 06:50:40 -0700 (PDT) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com. [209.85.218.42]) by smtp.gmail.com with ESMTPSA id j15-20020a17090686cf00b007305d408b3dsm4214843ejy.78.2022.11.01.06.50.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Nov 2022 06:50:39 -0700 (PDT) Received: by mail-ej1-f42.google.com with SMTP id y14so37168242ejd.9 for ; Tue, 01 Nov 2022 06:50:38 -0700 (PDT) X-Received: by 2002:a17:907:75f1:b0:78a:f935:647d with SMTP id jz17-20020a17090775f100b0078af935647dmr18150379ejc.587.1667310637954; Tue, 01 Nov 2022 06:50:37 -0700 (PDT) MIME-Version: 1.0 References: <20221027151908.v1.1.I295e65357f06f162b46ea6fc6c03be37e3978bdc@changeid> <4b7304c0-8dd5-9add-7c84-4e9f0aa9396b@redhat.com> In-Reply-To: From: Sven van Ashbrook Date: Tue, 1 Nov 2022 09:50:26 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1] platform/x86: intel_pmc_core: promote S0ix failure warn() to WARN() To: Mario Limonciello Cc: Rajneesh Bhardwaj , Hans de Goede , LKML , "S-k, Shyam-sundar" , "rrangel@chromium.org" , "platform-driver-x86@vger.kernel.org" , Rajneesh Bhardwaj , Rafael J Wysocki , Rajat Jain , David E Box , Mark Gross Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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-kernel@vger.kernel.org On Mon, Oct 31, 2022 at 9:58 PM Mario Limonciello wrote: > > I actually thought that by putting the duration of time put in > last_hw_deepest_state you'll be able to catch this by comparing the > duration of the suspend to the duration of last_hw_deepest_state. I'm not sure if this method would catch all or even most suspend failures. That's why the EC monitoring of S0ix was devised. I will circulate this internally, see what comes back. > > > > Is the light worth the candle? > > I wrote an RFC that I sent out for it with my ideas at least. > That is much appreciated ! Yet even for good ideas, it's often necessary to weigh the benefits and downsides of the intervention. Perhaps we can get some pros/cons feedback from other stakeholders ? Sven