Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1206823ybz; Fri, 1 May 2020 17:05:57 -0700 (PDT) X-Google-Smtp-Source: APiQypKIUmVQ79HK/+Z67W+FxRvGgsoNax4MdIABkX1tPPjM5NXsIeJE2BNXy/z5nK8pdhuJzW2M X-Received: by 2002:a05:6402:286:: with SMTP id l6mr5810555edv.134.1588377957282; Fri, 01 May 2020 17:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588377957; cv=none; d=google.com; s=arc-20160816; b=morMgKBLqPEF35XdzFpWUsGKjmX2DBFnxnUS2fb/N2kk2gBXmunjRgm+MNvuUhPDqC pdLg9pwHdKbUeRWu4tpK4AJo298AsUQa29UmeOBdI1tyFL+jasHKOy1JvgiyCDa3fsbk hbDet5JxjLGNmC2lHbFm+J5OS5AG0i9ygIuNBE1Z/J2tEyApqZe+s0LSPGtGMbqh1vWx 9LOtgCO/6BelplDJAFhxNOHixdUNaU3xu1BXzQsI3BqZ6+U/BQ/Vkp1DnawhJXfZCuSV azHuVl3lFpgeA90dfRwth8U5C2J5+V9JgY3eQR6Oa9SdDak9qqNOZ5yLvyhxItWMiGcI tdiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=3XfKS4GYD8gmTOJvbJqBO4JyQ/PNah+rR+Oh8sCSwB4=; b=PmWSZrFBEdysfwptHim7CAKdNapMy0rM+0nysEo2b92CC2E0F6yXyI/tbjOLLX9GjT BkXpRujrWlXbGRJClUbmX83vy8vWpwVBdqVEtbF91Uh9+o6jnMJ4NZm+x3m5aDewNZdf bUUJNIbYLnWv1cC72iILF8D+XzhwvMAScrZK5JqdI3HwB2+3KCm2U9C0kGBRMwJfsTYB bAINTNfARfSrs5dT+Her7BqLvVAmVfHvgNptx1uR8TDQyblnE5MFKXDsa1wtemuhyuyf +qn2j/ZOQZuByu+XWiIKFvFYmDlsQmw2e6CK441OJ9lLzd+JYOnUv0VlYFHmbnCtIIrn cyPQ== 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di13si2358037edb.419.2020.05.01.17.05.33; Fri, 01 May 2020 17:05:57 -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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727086AbgEBADx (ORCPT + 99 others); Fri, 1 May 2020 20:03:53 -0400 Received: from mga12.intel.com ([192.55.52.136]:23947 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbgEBADw (ORCPT ); Fri, 1 May 2020 20:03:52 -0400 IronPort-SDR: w+JaYkrsklYnu+WTvaWXxY7mlzm+zTOXdcXaRHh/T97gr23vSWHpxvSit5k9E1QM4dyR6ejibb j75lw+s7CxMw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2020 17:03:52 -0700 IronPort-SDR: 3rgefx24t0xzK5AFJhBE8FFAt7fW+8zYHVDdpAlxca0bsfHckSLU21AtWDiKaoGZU5sszVnJ0a /yaGiFdgUSjg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,342,1583222400"; d="scan'208";a="405889455" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by orsmga004.jf.intel.com with ESMTP; 01 May 2020 17:03:51 -0700 Date: Fri, 1 May 2020 17:04:23 -0700 From: Ricardo Neri To: Giovanni Gherdovich Cc: Srinivas Pandruvada , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Borislav Petkov , Len Brown , "Rafael J . Wysocki" , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds Subject: Re: [PATCH 2/2] x86, sched: Bail out of frequency invariance if turbo frequency is unknown Message-ID: <20200502000423.GA3118@ranerica-svr.sc.intel.com> References: <20200428132450.24901-1-ggherdovich@suse.cz> <20200428132450.24901-3-ggherdovich@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200428132450.24901-3-ggherdovich@suse.cz> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 28, 2020 at 03:24:50PM +0200, Giovanni Gherdovich wrote: > There may be CPUs that support turbo boost but don't declare any turbo > ratio, i.e. their MSR_TURBO_RATIO_LIMIT is all zeroes. In that condition > scale-invariant calculations can't be performed. > > Signed-off-by: Giovanni Gherdovich > Suggested-by: Ricardo Neri Thanks for implementing this, Giovanni! Tested-by: Ricardo Neri