Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp217512pxb; Wed, 18 Aug 2021 20:33:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlc2V+igMfynIs7s6zHVQmc+T3FnwKdkP9C9Lv/QS+fs8bEepF0vvSyiO8ExoYoKJ3u5Wl X-Received: by 2002:a05:6402:4cf:: with SMTP id n15mr14099384edw.269.1629344038076; Wed, 18 Aug 2021 20:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629344038; cv=none; d=google.com; s=arc-20160816; b=s2Cq7qYz5hAUJ75NJz4Lwk8nM9XMvLZDhTI7J+d5km/R3++EsiZFqP5HxeTi15uUZS n1+RnDNdWkpVGX/42k/hJUhbWm/NSiGWPaYGuCXQBuqo4tFiAOdPWz83sIYhEVgM5iGN nlYbCoNuzjE+p7c8aJ+jNppjEJ+l98utN12bwBQKJrVRrdsM9OU167Vwd5maISwzniu/ 7hwgEqtcT3Vo9NWl666fnzMYak0wzr6vCHGJT7nkkiFg5ko58xE0JKGGSphLFFRWzhte YYPljZyu6JWd9s+4qC9f5J0f8mbmXx3jZGj/QJZo1TXS5IvLdmbq+hC/UIr1XrYm555U qvJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=V2+un5mrDb3OD19QS1eoMM283pqIJkjV1vR91M6Ol/g=; b=p2/Zm26l/TXRdxAusSv7HVGoBu19ae8Xe8oSD1NvJifxTTwDs8t2Bf2RaS3Qn2dxwe SRhixnHx/QMDAvDig+ODlE/kN8vHTb0G3UFEDTSETWxrCPTMXuylYAyUUMG8tZQgyAUJ iNIR1RsC3yWPdM0ga22qpi4he1CRWAoY8QevYDGLXqBWo5FTXxeRUiUq98/AIJG98nWG hgfdlEnJYl9MQTrc4q8frnAxiJUhxga2RFqnxC2/qdi8cU3lvXNppKPzK9cYOspn6Ria WhHYrh1QeY++GzBP9usf7k844Kz/ibtVxMQiJiighe3UsytFFwgXvVF5zBM9w07D8GRw b6AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b1dhH+dv; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si2044348edy.119.2021.08.18.20.33.35; Wed, 18 Aug 2021 20:33:58 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b1dhH+dv; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236818AbhHSDcZ (ORCPT + 99 others); Wed, 18 Aug 2021 23:32:25 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:57427 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236651AbhHSDcU (ORCPT ); Wed, 18 Aug 2021 23:32:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629343904; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V2+un5mrDb3OD19QS1eoMM283pqIJkjV1vR91M6Ol/g=; b=b1dhH+dvMC+sWWTk69w7NagRBt+hTiQ5hd7ykyeXS5QzuoWktCK+AjXJxkCeZOCgDCFuIL dgStcUPhL7i19IcgdLjjexLrT/Hgf/w7OY1JYkh1gZscPYTpHH/m6jcMowzXA6dJBWQ90o hiVW7QFIudigZKbPcwZgHFoix/NA45A= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-177-k_LFN527Pkm1YbrHvxcggg-1; Wed, 18 Aug 2021 23:31:41 -0400 X-MC-Unique: k_LFN527Pkm1YbrHvxcggg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2A23F802928; Thu, 19 Aug 2021 03:31:39 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.64.242.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1658760657; Thu, 19 Aug 2021 03:31:35 +0000 (UTC) From: Kate Hsuan To: Alex Hung , Hans de Goede , Mark Gross , Srinivas Pandruvada , AceLan Kao , Jithu Joseph , Maurice Ma , Sujith Thomas , Rajneesh Bhardwaj , Zha Qipeng , Mika Westerberg , "David E . Box" , linux-kernel@vger.kernel.org, Dell.Client.Kernel@dell.com Cc: platform-driver-x86@vger.kernel.org, Kate Hsuan Subject: [PATCH v3 12/20] platform/x86: intel-uncore-frequency: Move to intel sub-directory Date: Thu, 19 Aug 2021 11:29:53 +0800 Message-Id: <20210819033001.20136-13-hpa@redhat.com> In-Reply-To: <20210819033001.20136-1-hpa@redhat.com> References: <20210819033001.20136-1-hpa@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move intel-uncore-frequency to intel sub-directory to improve readability and rename it from intel-uncore-frequency.c to uncore-frequency.c Signed-off-by: Kate Hsuan --- drivers/platform/x86/Kconfig | 10 ---------- drivers/platform/x86/Makefile | 5 ----- drivers/platform/x86/intel/Kconfig | 12 +++++++++++- drivers/platform/x86/intel/Makefile | 2 ++ .../uncore-frequency.c} | 0 5 files changed, 13 insertions(+), 16 deletions(-) rename drivers/platform/x86/{intel-uncore-frequency.c => intel/uncore-frequency.c} (100%) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index b34bfa5c5748..9d57a2860c5a 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -1101,16 +1101,6 @@ config INTEL_IMR source "drivers/platform/x86/intel_speed_select_if/Kconfig" -config INTEL_UNCORE_FREQ_CONTROL - tristate "Intel Uncore frequency control driver" - depends on X86_64 - help - This driver allows control of uncore frequency limits on - supported server platforms. - Uncore frequency controls RING/LLC (last-level cache) clocks. - - To compile this driver as a module, choose M here: the module - will be called intel-uncore-frequency. endif # X86_PLATFORM_DEVICES diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index a57fbf26646a..80e75115a7bb 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -119,11 +119,6 @@ obj-$(CONFIG_TOUCHSCREEN_DMI) += touchscreen_dmi.o obj-$(CONFIG_WIRELESS_HOTKEY) += wireless-hotkey.o # Intel uncore drivers - - obj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE) += intel_speed_select_if/ -obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o - - obj-$(CONFIG_PMC_ATOM) += pmc_atom.o diff --git a/drivers/platform/x86/intel/Kconfig b/drivers/platform/x86/intel/Kconfig index 2943619d9018..2bec3b2c3af3 100644 --- a/drivers/platform/x86/intel/Kconfig +++ b/drivers/platform/x86/intel/Kconfig @@ -98,7 +98,6 @@ config INTEL_SMARTCONNECT This driver checks to determine whether the device has Intel Smart Connect enabled, and if so disables it. - config INTEL_TURBO_MAX_3 bool "Intel Turbo Boost Max Technology 3.0 enumeration driver" depends on X86_64 && SCHED_MC_PRIO @@ -109,4 +108,15 @@ config INTEL_TURBO_MAX_3 This driver is only required when the system is not using Hardware P-States (HWP). In HWP mode, priority can be read from ACPI tables. +config INTEL_UNCORE_FREQ_CONTROL + tristate "Intel Uncore frequency control driver" + depends on X86_64 + help + This driver allows control of uncore frequency limits on + supported server platforms. + Uncore frequency controls RING/LLC (last-level cache) clocks. + + To compile this driver as a module, choose M here: the module + will be called intel-uncore-frequency. + endif # X86_PLATFORM_DRIVERS_INTEL diff --git a/drivers/platform/x86/intel/Makefile b/drivers/platform/x86/intel/Makefile index 58ccb1f8cbd0..73d7c624fda8 100644 --- a/drivers/platform/x86/intel/Makefile +++ b/drivers/platform/x86/intel/Makefile @@ -34,3 +34,5 @@ intel-smartconnect-y := smartconnect.o obj-$(CONFIG_INTEL_SMARTCONNECT) += intel-smartconnect.o intel_turbo_max_3-y := turbo_max_3.o obj-$(CONFIG_INTEL_TURBO_MAX_3) += intel_turbo_max_3.o +intel-uncore-frequency-y := uncore-frequency.o +obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o diff --git a/drivers/platform/x86/intel-uncore-frequency.c b/drivers/platform/x86/intel/uncore-frequency.c similarity index 100% rename from drivers/platform/x86/intel-uncore-frequency.c rename to drivers/platform/x86/intel/uncore-frequency.c -- 2.31.1