Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4800626pxb; Tue, 28 Sep 2021 04:32:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypyL7FdArlC8qCiNNE8bVKjqynQJWLoeC9P2TaxCjxk5e1dkFieSh3euQRS8Zt1/bdH8gm X-Received: by 2002:a17:902:7e05:b0:13d:e01a:be5f with SMTP id b5-20020a1709027e0500b0013de01abe5fmr4301793plm.56.1632828745255; Tue, 28 Sep 2021 04:32:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632828745; cv=none; d=google.com; s=arc-20160816; b=FAZ8pi7KEfH5kAlWw7Y/0wEvelnkZP0PPiCN7sxQ0fPi5+M6DhBVNlS2BAQ6GJmisQ Nvj8s2ZDQqemchgVVzBXtduSgeypimurLuTxcrWFdFO4TO8aH7QelqZ8SAhBpcis0apF bif1SJeZugzOVfX84YBB7FjFS/tnEAi4FWZK7iHAs3li0E87j2Z55EqYGkZQvLNznW4c 3fmKKAFxM24RXcV8THm+DLIgZ2rCiGHOaTynBvkOjP5pGrXsxuBzh2Uq00ZhAiBdiBPM chHYw5VYzG9ZA2tBe1HlvirREklFT8FwZZ5vSB2lkX2ifzRvI5QAhJMnts9wRoGCq8g9 Q18A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=D2q32GpaYYedmpbP0P4iF3ng7C5SjV9/mymtobdC0pY=; b=aZ4JkvYoMtxOXRxWCaHe3p89oiLEKOptUrnLTiROa7v3xElMKJD97dZN+yNy2DS54t RgcEQ9nFzsnnQQ8BkhGsDJeW5ewnhOil74EsyO1JD7cQaQEXp6awaXM1YqEW6B0IeZ6g R6CbShtE9wNCv9vbAZwaic14fZD12Ldz5VCQiHCO8qq9q6nTTJ0/E0m9HLxMNCtfCb9+ PVEWfu2uYjtJn13cDyBR9Mh/2I1GPtm7fOHid/8BLH8ksCvPk71BbPi08T5S++y51Zp4 gfw+tFFHnm5bzOAu/2QDWUx1ZS6662inENW0AhGDyo3KccAZZxDYDPV2ncErhwT9TLzs lFaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=c9hq5u2a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si2797035pln.106.2021.09.28.04.32.11; Tue, 28 Sep 2021 04:32:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=c9hq5u2a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240336AbhI1Lcw (ORCPT + 99 others); Tue, 28 Sep 2021 07:32:52 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:54150 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240172AbhI1Lcw (ORCPT ); Tue, 28 Sep 2021 07:32:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632828672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D2q32GpaYYedmpbP0P4iF3ng7C5SjV9/mymtobdC0pY=; b=c9hq5u2aOXxD9PGaoRiX9+aZxkY5NGIe4mAZK0DCn0hZlRijRBkiIvxyAKDXK3pWX8Xfpu 1r7q3LTEfkFssAZ40SG92379f6yZeth+Hd0uZzt0lxurHoIKab/DNRNbKHgoQsqCNQVXfC mis3n3PN3fpFmmrBQd64oye7Kg6CDGI= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-556-F4K-_dWxOwu_r3DQbjVTiQ-1; Tue, 28 Sep 2021 07:31:10 -0400 X-MC-Unique: F4K-_dWxOwu_r3DQbjVTiQ-1 Received: by mail-ed1-f69.google.com with SMTP id 14-20020a508e4e000000b003d84544f33eso21465383edx.2 for ; Tue, 28 Sep 2021 04:31:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=D2q32GpaYYedmpbP0P4iF3ng7C5SjV9/mymtobdC0pY=; b=q3mkKC2VJpZ3p3kjjz84Iytt50PPKXHxYjy4Aw0MuC1LG49T0oBuLUBkJUobJs6JUY lfmilNeZsdakjQdIproptwCEDXweBgjsSCJ15nrgNLhtuMXCnQ1wert/RX4zeC7uGBXr XTec9HF8aIgXctv8WdVfmXzxD0sCrCnDTeAZt2457UZaxzNcCDkJ8l8NpRswdBrewujg sEQ+gkQbJ7KnjjKH/e5Ks4f8TkqJ+EoySYEuV4l3m3vnRADdrvG4h+0Q1DJdITPsB074 53o0JhdhP+mlcJnU1UjuenDxjxVIV8mqvLRuRQtXxsi5dmvd+MOnRJ/NS5es/bkadhv8 CSYA== X-Gm-Message-State: AOAM531fqD219VWnP/kyX83lRl8/OEzsTm35CGv5HekHh4KZl8PPuvGm f80RB8wEu6KbQ9gODYqB5025CeUmvhbz74Y9EzPZocBzvE6H/pk4yrRcKMghkQtgg454Ef++808 pUO5bE3UAmLfjulIpLCEd/Ww2bZFoJcfnvRUkf1DgH3HFpoyn+LD35PKM2wCBLJXbP6nI06zOwJ We X-Received: by 2002:a17:907:211a:: with SMTP id qn26mr6357459ejb.99.1632828669325; Tue, 28 Sep 2021 04:31:09 -0700 (PDT) X-Received: by 2002:a17:907:211a:: with SMTP id qn26mr6357428ejb.99.1632828669040; Tue, 28 Sep 2021 04:31:09 -0700 (PDT) Received: from x1.localdomain (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id e13sm10299447eje.95.2021.09.28.04.31.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Sep 2021 04:31:08 -0700 (PDT) Subject: Re: [PATCH] platform/x86: amd-pmc: Add a message to print resume time info To: Sanket Goswami , Shyam-sundar.S-k@amd.com, mgross@linux.intel.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210921120020.19454-1-Sanket.Goswami@amd.com> From: Hans de Goede Message-ID: <04b3b748-06a3-fe35-7a9e-30b5deff18d9@redhat.com> Date: Tue, 28 Sep 2021 13:31:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210921120020.19454-1-Sanket.Goswami@amd.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 9/21/21 2:00 PM, Sanket Goswami wrote: > Add a message to print the resume time information obtained from the > smu_metrics structure. > > Signed-off-by: Shyam Sundar S K > Signed-off-by: Sanket Goswami Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > drivers/platform/x86/amd-pmc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/platform/x86/amd-pmc.c b/drivers/platform/x86/amd-pmc.c > index bc7c4498067b..27c04ff57ffb 100644 > --- a/drivers/platform/x86/amd-pmc.c > +++ b/drivers/platform/x86/amd-pmc.c > @@ -174,6 +174,8 @@ static int smu_fw_info_show(struct seq_file *s, void *unused) > "Unknown/Fail"); > seq_printf(s, "Time (in us) to S0i3: %lld\n", table.timeentering_s0i3_lastcapture); > seq_printf(s, "Time (in us) in S0i3: %lld\n", table.timein_s0i3_lastcapture); > + seq_printf(s, "Time (in us) to resume from S0i3: %lld\n", > + table.timeto_resume_to_os_lastcapture); > > seq_puts(s, "\n=== Active time (in us) ===\n"); > for (idx = 0 ; idx < SOC_SUBSYSTEM_IP_MAX ; idx++) { >