Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp127902pxa; Wed, 26 Aug 2020 06:37:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvmEwuKG5HO+sgBhSZxsA3mY5EINn4iMBBTIeNrDZ8/b434aY3KPDKkABYjH/OPq+lLAKs X-Received: by 2002:a17:906:1486:: with SMTP id x6mr2778542ejc.477.1598449058220; Wed, 26 Aug 2020 06:37:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598449058; cv=none; d=google.com; s=arc-20160816; b=p6OsWDyD+pvqlbJlUKV4SCsa+r+BUKE6nFI5MZo6OcgT9e8QBOF8593wPrtjq035lz bDAylgAxzeOEKNOEgRdUJjFpz3Yl1yTWxvvdj9+A0RDv654BAA1UEkbvs7+LsARrB1QC znXwugLwSl+rZ5BK4AF/UWUjLjM2gsThVcqa96/pqybIvOd6sD2idcMnEA/L1pYftUCU 5xKjePygE//GET758Cc3MshHeyX1x4HHNrPIOVtFEo126ULgb+ZwPtebm2ShI3C4dq34 MquOl3j0ERcbd7a/U3t0ksxlgkCUVCJEO1OShtKceyq2mk3m6fhaujK2lWqKmw3Nqyj6 eg0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=SMSWi9+6a7fi1K3fVedLr45HOo02Azh4dOLlARFQGTA=; b=FsJD9a7jklTkjxRzAD2RMXqsZAV1h9Rt+9Mh1YZl5lOPXrRfuaKd5y5iUAm7q/Qs1G 1ebrMdlFeLPjyEty7U7lkK1tWePwns13wZxAdFSbaU1GgFoqGtHRhrtFPABg8KXqsXFx 9hsjvnOkOTmOaFVAmF+Bi2In0b3p1rKPAvAex2EiQ69i6ffSAyMWXT5zdqjfrOj0LlLa BeRYGjC708ug8TBZmFAl0x5bEXWXw7VMom+BH2GeksTSVd9JH5fdpYQvqRCuRWQ5rLcv Eri0+55sZTOKmFjRtTTomkv5EVSYFVuFDSStJ1HybAmSGBi4xTF536PsFnUpGdtXRlan zsyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@barpilot-io.20150623.gappssmtp.com header.s=20150623 header.b=GHB1USjR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si1425972edc.566.2020.08.26.06.37.14; Wed, 26 Aug 2020 06:37:38 -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=@barpilot-io.20150623.gappssmtp.com header.s=20150623 header.b=GHB1USjR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730239AbgHZNeo (ORCPT + 99 others); Wed, 26 Aug 2020 09:34:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729540AbgHZNem (ORCPT ); Wed, 26 Aug 2020 09:34:42 -0400 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F026C061574 for ; Wed, 26 Aug 2020 06:34:42 -0700 (PDT) Received: by mail-il1-x144.google.com with SMTP id j9so1735114ilc.11 for ; Wed, 26 Aug 2020 06:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barpilot-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SMSWi9+6a7fi1K3fVedLr45HOo02Azh4dOLlARFQGTA=; b=GHB1USjRDQ9ReFPUSIb537h3FyxSfKQOZYZsTLPYUXlYh/DxmcA1ZBjDs0tOjwCSMn 4SInLnowznEcUnKZFLmcWFVsvyHrK2zVgqtKXOcYFlDMtficXVVlKxYzngUJACVFmT3P e5DbazIiAdUwy5/+T2BuIptn4qT6fdGDMyHcl/I2r21O54HVr7cJsqy3mA+eu4iYcPuj Qsm4U+HsnYXUdSI3PAScyNPX3L0Suo2l2OinKKH2lsrQec16Lbo1jXC+i1rUvCk7aFwI wPnoEC+a3DBq6Hsqli4heRQ3Di18BhMJ9YLHAyOdnT0rzw/mZKS43cuITqutlw8Sv4oJ lIVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SMSWi9+6a7fi1K3fVedLr45HOo02Azh4dOLlARFQGTA=; b=SfjS7y/B8Hw/s1vZYVWo3d2km5A49IgdhEp96fAeaEXBn1kpBOirChqVrYxvccEb3k Zu5oCJs5meaGoY6G6Wd40QhXzMCUmsJnIMaUpAfqXOBLRFnOZQptF2sZfqsG2XS2Hmqm jYG/kwaZxWS0H1yHvVnDJQCZdl5Zpy/u4HHlOfuR/YjtlahhaxVSGIF4lNgPRc9ZuEtK do4oIARVhIXTNGj1nzB38Cto/OYmws8EG1Q49PuVS2ZRS9brPypE6xvjRxWl0DDzE2NB Fg8AM738SR9IZdBKXJMBQL3JPTZwkckysKOCvMnA/aYHSf8yijb33/8gKEkTrGb2SCUe YzBA== X-Gm-Message-State: AOAM531yJnImGC8Qoq41R+1dl469yoHPqkAJ2mN99ADMOIa8aXqkzUtq xIyR4ogmmu1/8wKH8VeVIc1cBD7Exn/sKRo7fVmj/1d51NsbFi+h X-Received: by 2002:a92:9fdb:: with SMTP id z88mr13062947ilk.57.1598448881300; Wed, 26 Aug 2020 06:34:41 -0700 (PDT) MIME-Version: 1.0 References: <20200826120421.44356-1-guilhem@barpilot.io> In-Reply-To: From: Guilhem Lettron Date: Wed, 26 Aug 2020 15:34:30 +0200 Message-ID: Subject: Re: [PATCH] intel_idle: Add ICL support To: "Rafael J. Wysocki" Cc: Jacob Pan , Len Brown , Linux PM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Aug 2020 at 15:17, Rafael J. Wysocki wrote: > > On Wed, Aug 26, 2020 at 2:59 PM Guilhem Lettron wrote: > > > > On my laptop, a Dell XPS 13 7390 2-in-1 with i7-1065G7, ACPI only report "C1_ACPI", "C2_ACPI" and "C3_ACPI". > > Can you list the properties of the idle states in this configuration, that is: > > $ grep -r '.*' /sys/devices/system/cpu/cpu0/cpuidle/state1/ > > and analogously for state2 and state3, and send the output of this? > > On my desktop system the above comment produces the following output: > > /sys/devices/system/cpu/cpu0/cpuidle/state1/disable:0 > /sys/devices/system/cpu/cpu0/cpuidle/state1/above:1022634 > /sys/devices/system/cpu/cpu0/cpuidle/state1/time:2556533185 > /sys/devices/system/cpu/cpu0/cpuidle/state1/power:0 > /sys/devices/system/cpu/cpu0/cpuidle/state1/residency:2 > /sys/devices/system/cpu/cpu0/cpuidle/state1/latency:2 > /sys/devices/system/cpu/cpu0/cpuidle/state1/usage:17625391 > /sys/devices/system/cpu/cpu0/cpuidle/state1/desc:MWAIT 0x00 > /sys/devices/system/cpu/cpu0/cpuidle/state1/below:6578613 > /sys/devices/system/cpu/cpu0/cpuidle/state1/default_status:enabled > /sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1 > /sys/devices/system/cpu/cpu0/cpuidle/state1/s2idle/time:0 > /sys/devices/system/cpu/cpu0/cpuidle/state1/s2idle/usage:0 > > Thanks! grep -r '.*' /sys/devices/system/cpu/cpu0/cpuidle/state1/ /sys/devices/system/cpu/cpu0/cpuidle/state1/disable:0 /sys/devices/system/cpu/cpu0/cpuidle/state1/above:524 /sys/devices/system/cpu/cpu0/cpuidle/state1/time:63400881 /sys/devices/system/cpu/cpu0/cpuidle/state1/power:0 /sys/devices/system/cpu/cpu0/cpuidle/state1/residency:1 /sys/devices/system/cpu/cpu0/cpuidle/state1/latency:1 /sys/devices/system/cpu/cpu0/cpuidle/state1/usage:195432 /sys/devices/system/cpu/cpu0/cpuidle/state1/desc:ACPI FFH MWAIT 0x0 /sys/devices/system/cpu/cpu0/cpuidle/state1/below:27374 /sys/devices/system/cpu/cpu0/cpuidle/state1/default_status:enabled /sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1_ACPI /sys/devices/system/cpu/cpu0/cpuidle/state1/s2idle/time:0 /sys/devices/system/cpu/cpu0/cpuidle/state1/s2idle/usage:0 grep -r '.*' /sys/devices/system/cpu/cpu0/cpuidle/state2/ /sys/devices/system/cpu/cpu0/cpuidle/state2/disable:0 /sys/devices/system/cpu/cpu0/cpuidle/state2/above:43616 /sys/devices/system/cpu/cpu0/cpuidle/state2/time:144893598 /sys/devices/system/cpu/cpu0/cpuidle/state2/power:0 /sys/devices/system/cpu/cpu0/cpuidle/state2/residency:759 /sys/devices/system/cpu/cpu0/cpuidle/state2/latency:253 /sys/devices/system/cpu/cpu0/cpuidle/state2/usage:102740 /sys/devices/system/cpu/cpu0/cpuidle/state2/desc:ACPI FFH MWAIT 0x31 /sys/devices/system/cpu/cpu0/cpuidle/state2/below:11351 /sys/devices/system/cpu/cpu0/cpuidle/state2/default_status:enabled /sys/devices/system/cpu/cpu0/cpuidle/state2/name:C2_ACPI /sys/devices/system/cpu/cpu0/cpuidle/state2/s2idle/time:0 /sys/devices/system/cpu/cpu0/cpuidle/state2/s2idle/usage:0 grep -r '.*' /sys/devices/system/cpu/cpu0/cpuidle/state3/ /sys/devices/system/cpu/cpu0/cpuidle/state3/disable:0 /sys/devices/system/cpu/cpu0/cpuidle/state3/above:18551 /sys/devices/system/cpu/cpu0/cpuidle/state3/time:43225299 /sys/devices/system/cpu/cpu0/cpuidle/state3/power:0 /sys/devices/system/cpu/cpu0/cpuidle/state3/residency:3144 /sys/devices/system/cpu/cpu0/cpuidle/state3/latency:1048 /sys/devices/system/cpu/cpu0/cpuidle/state3/usage:24205 /sys/devices/system/cpu/cpu0/cpuidle/state3/desc:ACPI FFH MWAIT 0x60 /sys/devices/system/cpu/cpu0/cpuidle/state3/below:0 /sys/devices/system/cpu/cpu0/cpuidle/state3/default_status:enabled /sys/devices/system/cpu/cpu0/cpuidle/state3/name:C3_ACPI /sys/devices/system/cpu/cpu0/cpuidle/state3/s2idle/time:0 /sys/devices/system/cpu/cpu0/cpuidle/state3/s2idle/usage:0 Guilhem Lettron