Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp256258pxa; Wed, 26 Aug 2020 09:45:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3+efd/c9qAOD61aWYSgtRXoMa6T1HoyfKjtUg420OzZIwc3Z+klw20Mq5AVHHM5IUiDEQ X-Received: by 2002:a17:906:e251:: with SMTP id gq17mr16191146ejb.445.1598460311471; Wed, 26 Aug 2020 09:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598460311; cv=none; d=google.com; s=arc-20160816; b=HyR2lDyaVi3tMFmZSi8Zi766RDdYra3h+/G1jk24PowmdOHAOB8+EwONH2U6XoEaAk iJ1748th8gmUxjtHTOqoblSbbwDWp+xqkXh2Cmg5RFSrBQqe0bRG6iMYlcKr1HvMfHaK unTkI/mBuScgnEaLqow6hMJUIeUJh5F3eb0IoNJmzGbNoxOEY0bAlOwlItBS7VLb3Uod Gdwr5zgvMnhI4BFio4rxTssjh9FQ2HpQSnN6P2kMIlm4ovbh6a8Rmz5xNTl27cZdLwv2 0ehdE0qcdH4Gd6VHbmvAecfO1Ahdz7KCJ/krdUW1TeWtGBy9rV7YR8XO7uPmVgdJhISV BUHg== 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; bh=wsy5zXuBQviVStdVeCGrMTAX227JSl/kynJ+bRrUqhw=; b=ogGqlTKL+2GmJbq1+Tz6IPd6g56HWHqTBeN8FdTmkLe5VWe9PKYv4dUuc4kip+0gr+ 0+87uyBN21//KUMGMEL/QuG2DynB5uGzBT2zvOIl6xjS9zxONIwV6VGoViFMJ0Chwufq S5w9VC26W9eGbBv7zRFHqm8JPSdIl2XQ19qoIRNzY0PX1UzThAvbKSeWWWepWP3d0gW1 ii1dLxCF7BetZY6a9GktOIWSyn1pdppXBk6Walcf0sfAHCox0SXzKjtE0FMk9rR6lzUF 7WbUArc0q71Rd610NzMPrjBFcrKdWAZRwPE1PfMYDs8Ogkrclal3Ob7cEi7+yUfsPaYv NbUw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h13si1752303eds.293.2020.08.26.09.44.48; Wed, 26 Aug 2020 09:45:11 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727022AbgHZQmA (ORCPT + 99 others); Wed, 26 Aug 2020 12:42:00 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:43431 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbgHZQl4 (ORCPT ); Wed, 26 Aug 2020 12:41:56 -0400 Received: by mail-oi1-f195.google.com with SMTP id j21so2056131oii.10; Wed, 26 Aug 2020 09:41:55 -0700 (PDT) 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=wsy5zXuBQviVStdVeCGrMTAX227JSl/kynJ+bRrUqhw=; b=uL0EDsf6hJ5sYmTPNDda8Fn3aZoHQUNP/ul1Zg2uDqq8fYYbtzvot0ih3lIrn/Y9pB g82NPkvOgM3zldlh9M67dEQi3MaMJjxny7+jZYgmcuZmtPOwzoKqFdmbyiZoSkTBRdgJ ykan7vd4zD6+4pUMcAad6pefnvPiPMVNMChZC0WFZoPLukictI+qb8OIVNDQiNN7zc3K 3JHxX2lW86AO8oXWpdVvsF4iGom1xgGZ1l4XedbGEQbfw7GFLnzkYuF6yjyZ5KWyMTO0 lzB04jzWn0AcdB2+iixkegKEBzH/fysOj+H3WFszyvWxpthM+9wEz0gETrlZ5+5EBWpL gs3w== X-Gm-Message-State: AOAM531YtMLODrgjU0sIfxFAWcXIwqop//BQHCZd16o1H1k/82iDZqH8 JYjcsPTY3dhjMAn2R/vAUE6We+cGhbOSWinDqw8= X-Received: by 2002:aca:3e8b:: with SMTP id l133mr1553553oia.110.1598460115467; Wed, 26 Aug 2020 09:41:55 -0700 (PDT) MIME-Version: 1.0 References: <20200826120421.44356-1-guilhem@barpilot.io> <8fa7622dacc03f2fbd67e810f53389e3ede544e8.camel@intel.com> <72fab2376722c6169549669016933217d3da34a0.camel@gmail.com> In-Reply-To: <72fab2376722c6169549669016933217d3da34a0.camel@gmail.com> From: "Rafael J. Wysocki" Date: Wed, 26 Aug 2020 18:41:44 +0200 Message-ID: Subject: Re: [PATCH] intel_idle: Add ICL support To: Artem Bityutskiy Cc: Guilhem Lettron , Zhang Rui , "Rafael J. Wysocki" , 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, Aug 26, 2020 at 6:19 PM Artem Bityutskiy wrote: > > Indeed, when I compare them: > > acpi_idle (without the patch): Does this come from the Guilhem's data? It's intel_idle in both cases, but in the "without the patch" case it uses ACPI. > CPU%c1 CPU%c6 CPU%c7 CoreTmp PkgTmp GFX%rc6 Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10 PkgWatt > 29.48 0.00 60.71 58 58 97.96 16.96 0.00 0.00 0.00 0.00 0.00 0.00 6.08 and I get the same data here, but > intel_idle (with the patch): > > CPU%c1 CPU%c6 CPU%c7 CoreTmp PkgTmp GFX%rc6 Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10 PkgWatt > 56 56 96.64 300 68.29 48.58 0.00 0.00 0.00 0.00 0.00 0.00 7.38 0.00 you seem to have columns wrong here. I get something like this CPU%c1 CPU%c6 CPU%c7 CoreTmp PkgTmp GFX%rc6 GFXMHz Totl%C0 Any%C0 GFX%C0 CPUGFX% Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10 16.07 26.24 49.10 56 56 96.64 300 68.29 48.58 3.08 2.10 30.36 0.04 0.00 0.00 0.00 0.00 0.00 so still no PC10 residency (and it would be rather strange to get PC10 residency without any PC6 or higher residency). The 7.38 is the PkgWatt number AFAICS. > With intel_idle we reach PC10, without it we only go as deep as PC2 - huge difference. Not really. We don't get any PC10 residency in both cases. > I really wonder why the BIOS does not expose deeper C-states... It does expose C10. > And if it does not, is this for a reason? And how windows works then? It can only expose 3 C-states and it chose to expose C1, C7s and C10. > May be there is a BIOS update that fixes this problem? May be Windows > user get it quickly because stuff like this is often well-integrated in > Windows? Would you please check if there is newer BIOS? I doubt it. Cheers!