Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp853477ybg; Mon, 1 Jun 2020 16:36:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYgp7jN0j8lTGXZMPoDrJpk+UDdrG3rRgfgTgbtRa+GedxIxtk9e+O9ZySOLgpIcJ0KE1d X-Received: by 2002:a17:906:2a4d:: with SMTP id k13mr22198756eje.253.1591054581170; Mon, 01 Jun 2020 16:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591054581; cv=none; d=google.com; s=arc-20160816; b=E2RJkW1kClNJqCeMXR4BMsHxgp4wOMhTPJyPxdQi7PSjHDWaP5W91C0saS7hz/ING2 oad18yQquQyVubkbHc5CdDOXpgiHw8V+Gmc9r9CV6RuONpF5l2gpmZkdSaS9vhAttYJF 1kFatnaPgfmF58JLR6WWpcyA61AvKyAv9zjrimbPjWmUtZXcCuPuzbaPl8NrbNUpE4tW 6HG6jB9uM/e+Pm2/ZOXrbhku01IciqoKAOYaIhT2+U0gPxMWhNwnFtr4chZQSHSgEGX4 Cgsy7JKsjZo+9fauLqPLT+VFIMDIjl15ebGR9Ss5Bom0mmw0YLzcU3zsrIgU9FgdJ1ok DCaw== 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=X0qypMfxuG2jolHNQK7tbyST4qf7N6N7HlnsTwto2A4=; b=BP2YRF8/T+m9TdlJ+oxSANKklsWGgViDlem+qdXyM3brQp/8bDZLt33CuJQDlR37wy Ty/9t3pMuombO1kvR5A7yZpqQQqrTQ4KtwO2BVz+U+4aNWVhBzYuzFljVj+dKJ590fT/ BO+GDafYXJfU2oeYCzQcd5YvLVg6lMoYW/ya4KVWZCIbPsAGt08FgS0Fykemlo5LsPuQ 2F29+ciXlg8i1ay9MdO6X9itw61zxNHZocyY3wOaY1SMgEWbrPhkZMDIMPk9jWiF7Bvf PzvRNm5cKKtNnMXLUuah67mMTnQABQqfvaabteRgdGqubq53MvHeymd1zeCYrCu9wGUN 2Wug== 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 ly19si534343ejb.394.2020.06.01.16.35.57; Mon, 01 Jun 2020 16:36:21 -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 S1727113AbgFAXeG (ORCPT + 99 others); Mon, 1 Jun 2020 19:34:06 -0400 Received: from mga03.intel.com ([134.134.136.65]:42708 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725802AbgFAXeG (ORCPT ); Mon, 1 Jun 2020 19:34:06 -0400 IronPort-SDR: Q1KurRVnOV0L6suGSexoNtQRgAQZgQ2weXnc9ibqWDQOJXqSWB5MbtzhTzyQWRvTw5yitw04ox D6K9dQ5qsfxw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2020 16:34:06 -0700 IronPort-SDR: Kml1XbBZ4CYpWZ5606pxLMSmoLZvuxbm5FDG31d2M/6fMdnMlPGvLFU/DPM3gRJE45FjNGW/HI tMKcZT//UIEQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,462,1583222400"; d="scan'208";a="272162677" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by orsmga006.jf.intel.com with ESMTP; 01 Jun 2020 16:34:05 -0700 Date: Mon, 1 Jun 2020 16:34:18 -0700 From: Ricardo Neri To: Giovanni Gherdovich Cc: Srinivas Pandruvada , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Borislav Petkov , "Rafael J . Wysocki" , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] x86, sched: Bail out of frequency invariance if turbo frequency is unknown Message-ID: <20200601233418.GA15416@ranerica-svr.sc.intel.com> References: <20200531182453.15254-1-ggherdovich@suse.cz> <20200531182453.15254-3-ggherdovich@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200531182453.15254-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 Sun, May 31, 2020 at 08:24:52PM +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 FWIW, Tested-by: Ricardo Neri