Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1995537rwa; Sun, 21 Aug 2022 23:23:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR7mkGsfhMFJsryOK8VqoMmiZQQmnypYRCV3ZlhzSt/0YcphbXmPq3K9E0RoUmSpmV21c1yS X-Received: by 2002:a17:907:2814:b0:73d:5300:b37c with SMTP id eb20-20020a170907281400b0073d5300b37cmr8064549ejc.415.1661149386159; Sun, 21 Aug 2022 23:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661149386; cv=none; d=google.com; s=arc-20160816; b=e00+9zur4qze7Z32NJnkuZV5PJAoqDcpeFBoBA+wio/2lD9L0kNRQm66gUYBi7TGtu pIWGnm8cYWJ/EQaDru3XpYuVPsatu/qgy00Fw1cSkIuyIcUXTlMaBwHy4c++hyb/vXlK nXOajfVDJOesnpjxfDKYI5Msm+NFJ+44Vej5qa3xwrRmSClgWdSRjf08xQVy9Zxhok9i tyesIAZ8j8rYpHOx6p4dI4+EohWamDYQbn9P117AkqjHYkq1MqHdQcUscJHPBfRN8vTU 80IfzgNnEuu1BQr0DQ9p24OMICRVWZCMukOpGnbi+M0TrtUfjurSx0WXgdfBVnv6IbC9 uNig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=m43O0x1IppWipTdqO9AOtbUJRDn2PDgYWHo4ribaGns=; b=ysvQDXkKdW4a93LTYJkScuK4gkwzkQ9u11rEZjPYLuHhKjq4T1mt9O9RZsiHT32d7B A6hzoHIhgdyuEf8TKOERWDkWguix54FaIe6eEsFtkBTQ6/de7rHlCFoNhhSSf8G30Jfu OXjV32DGyFltU3Ah+eEHhCKLYvwFSkt9ZypwqKSgUZU4G1wIdhOZnhWcDIU0znS+TKFt Jla5e2GzQbfWqVaeo+lb69P/SbCRopNfQ/9/0ztSc3pax3uKwAZ0MBTDUzALX+lgZCbb zAdatBljMQhoWUvZRsX2F5zwZ3003+3+ERY8J2k4wfFGMdao4zxXVtyFiza2vUZWXXG8 HN8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sgJjG6+G; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fg4-20020a056402548400b0043bc19efc0bsi6958357edb.136.2022.08.21.23.22.40; Sun, 21 Aug 2022 23:23:06 -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=@kernel.org header.s=k20201202 header.b=sgJjG6+G; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231559AbiHVF4I (ORCPT + 99 others); Mon, 22 Aug 2022 01:56:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229911AbiHVF4H (ORCPT ); Mon, 22 Aug 2022 01:56:07 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE052611C for ; Sun, 21 Aug 2022 22:56:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9F96CB80D83 for ; Mon, 22 Aug 2022 05:56:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A29F4C433C1; Mon, 22 Aug 2022 05:56:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661147762; bh=UXPhdV0KvZbi0frdKGtoEE+EnbITh7+sFXDjXX0lowc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sgJjG6+GaSpvVxT1gTZ2WSxmSsi9vQolmpIw/Ul7tck/K+Nt8uQLGYU/aqUtI/zJZ DaRTqfLGi64Ji/l3RLKjg516Mmrdq7hScEwSpitVEgEzm1PjuYKRR2INDiDD9wflos 2f27ALuH8F3/cqSvD3ZnSpPExC8PrNKpguOSENHsxZO+OXSyQJpJ32Zq8xS9pSGW+h zZzIhGxzRZvzSuvqc/+Yhd3YZz5SfyCMKQ8RxjXyw2JreMIwtbOrBEDGRfoyH3XdLY 6H/0uUgrTmColPMV/KcpDlK/XvmjCmI8L8+PgBnGsVdpid0sPC9pFHGNU7+jGjNd++ o0pgzdTwwwb+A== Date: Mon, 22 Aug 2022 05:55:58 +0000 From: Tzung-Bi Shih To: Prashant Malani Cc: Evan Green , Enric Balletbo i Serra , Rajat Jain , Benson Leung , Guenter Roeck , Lee Jones , Tinghan Shen , chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] platform/chrome: cros_ec: Expose suspend_timeout_ms in debugfs Message-ID: References: <20220818082827.v2.1.Idd188ff3f9caddebc17ac357a13005f93333c21f@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Thu, Aug 18, 2022 at 10:24:23AM -0700, Prashant Malani wrote: > On Thu, Aug 18, 2022 at 8:29 AM Evan Green wrote: > > diff --git a/Documentation/ABI/testing/debugfs-cros-ec b/Documentation/ABI/testing/debugfs-cros-ec > > index 1fe0add99a2a99..9f79c641b2d09f 100644 > > --- a/Documentation/ABI/testing/debugfs-cros-ec > > +++ b/Documentation/ABI/testing/debugfs-cros-ec > > @@ -54,3 +54,25 @@ Description: > > this feature. > > > > Output will be in the format: "0x%08x\n". > > + > > +What: /sys/kernel/debug//suspend_timeout_ms > > +Date: August 2022 > > +KernelVersion: 6.1 > > +Description: > > + Some ECs have a feature where they will track transitions to the > > + a hardware-controlled sleep line, such as Intel's SLP_S0 line, > > + in order to detect cases where a system failed to go into deep > > + sleep states. The suspend_timeout file controls the amount of > s/suspend_timeout/suspend_timeout_ms Please also fix it in code.