Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp932562ybz; Wed, 15 Apr 2020 22:50:22 -0700 (PDT) X-Google-Smtp-Source: APiQypLwYezTKfRkp9jjS3BEPQM4bKc+I/XwxPX1vaJgnVtxIuBCK3g5ci9FvmCEWGMz+K1aMzzM X-Received: by 2002:aa7:ca53:: with SMTP id j19mr28641021edt.229.1587016222736; Wed, 15 Apr 2020 22:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587016222; cv=none; d=google.com; s=arc-20160816; b=KVDWl0lgqa5zAZ7K4766tN7LQn8r8LuGk3Dartk3wEOHZ5jMtWqv5PZujubaU9uAjJ 3UIqSpKsqxpZGg+zvQsd0SvRJqcEndh1rqGt/hCSCwldI/7MTbBCPrJ03Vfm0XHhnGI6 Z2YA5Sp6LEtJC0Ayf+SrLMRm7dV+MAAg8zJ1KW1fNtakvnaDIDCWQbH5apx9Bpmar3oM w+DUflrSE6XLMFENldHF0AySetpwZ3GJSPzYyuA5rGSVeJhB6akX3BIyfDFIOLMFGlwj BYpr0bDfihKkP9OTIlYtFFHTzYnVWIsPK46bwqx5UvU2805R2E640cKZCyiBCVGJHVlj M4Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=bIkbtkrfEoij5uLF7Am3xff4GxTCxlvSByboaCXiy7c=; b=pyOfIbFIiY4KKMR8q8zbFdNs/MXgCHDZuWuvuGeqM6KcVFFVbje0x1xBPsNbDbY+oO C00ReBWuLvcQHBTG5oPI8idar07+ePPvsZWS20HY4AhhzT059JSsg2QVKOeGLO5uiyrN 3pyWMwQGcVCxAqz+lYWih3UUkHTRR58nmii63QvdFSUzuDdEcmL0KJogAuOtf8pGQALz 2/VrpdgPcv/zYqqAd7GFnx3bXYUMBQOYVUk2KkPnnS96jQf6Gb5oXPYyB0bIH+VbhMxJ G7LjpqbMryiZmHpjpQXZ6zr8BE28Xef69bblyQ/bobn1oHNfquEpdXBzdwBfaq0CbpTU Lklw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si12254819eds.559.2020.04.15.22.49.59; Wed, 15 Apr 2020 22:50:22 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407228AbgDPFsi (ORCPT + 99 others); Thu, 16 Apr 2020 01:48:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:38370 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405910AbgDPFsM (ORCPT ); Thu, 16 Apr 2020 01:48:12 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E8098ACAE; Thu, 16 Apr 2020 05:48:06 +0000 (UTC) From: Giovanni Gherdovich To: Srinivas Pandruvada , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Borislav Petkov , Len Brown , "Rafael J . Wysocki" Cc: x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Mel Gorman , Doug Smythies , Like Xu , Neil Rickert , Chris Wilson , Giovanni Gherdovich Subject: [PATCH 0/4] Frequency invariance fixes for x86 Date: Thu, 16 Apr 2020 07:47:41 +0200 Message-Id: <20200416054745.740-1-ggherdovich@suse.cz> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patches 1-3 address bugs in the current frequency invariance support for x86, including the incompatibility with cpu0 hotplug reported by Chris Wilson at https://lore.kernel.org/lkml/158556634294.3228.4889951961483021094@build.alporthouse.com/ and the issue with CPUs that have less than 4 cores pointed out earlier today by Like Xu at https://lore.kernel.org/lkml/20200416021210.170736-1-like.xu@linux.intel.com/ Patch 4 is a minor code reorganization. Giovanni Gherdovich (3): x86, sched: Bail out of frequency invariance if base frequency is unknown x86, sched: Account for CPUs with less than 4 cores in freq. invariance x86, sched: Move check for CPU type to caller function Peter Zijlstra (Intel) (1): x86, sched: Don't enable static key when starting secondary CPUs arch/x86/kernel/smpboot.c | 47 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 14 deletions(-) -- 2.16.4