From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B939EC433E1 for ; Wed, 26 Aug 2020 13:34:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 970F621741 for ; Wed, 26 Aug 2020 13:34:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=barpilot-io.20150623.gappssmtp.com header.i=@barpilot-io.20150623.gappssmtp.com header.b="GHB1USjR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730338AbgHZNeo (ORCPT ); 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-Google-Smtp-Source: ABdhPJzuRzLNXCwTLOBci662EV2n8ED3qyz3twdJElWhNauwpNkSqtHvjnzo37MqSOqutxbjlkkrU8EDapbkV5opPm0= 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