Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp214024pxb; Mon, 16 Aug 2021 03:57:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRuZ9/+IGDOHZnhjiMUOlZ37d+YBrAn3FEIsfwfypXnTdb9vgbdtYvktv49vXXwIttneDf X-Received: by 2002:a17:906:c1c9:: with SMTP id bw9mr15630538ejb.3.1629111421978; Mon, 16 Aug 2021 03:57:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629111421; cv=none; d=google.com; s=arc-20160816; b=ddgxGPf1kQc7pwSSvOWen+0W1DUQAvw2kknn05u6TIM+LFziOneZGc7KRyUSVK8rPo wM/gAa5MPj+a2aaRrbVwL1z84NgGjEIREwbgGPRtlAy+f+XSv7NKoRaG2YOLOFEwl2KR Sj+/PN+UC41RKAbAYsrPoYWCGsJBE7Srfy1QI3sPl2vV/LyqIczw/wz3aFbXa2jrrObJ CFHCA2bRpjqRwOsSSHbIg4OfFkIJHsctW9XMEWflY2zzB1pz3yQ00rNcCSEwxKSNmFjB WnkxXoSJORr2/uxFpONuD75fzblI2f23F1dgzBPFwDmKJkfbkyyLNUsRrDztJtls+gOb YmNw== 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=50ryPKiSwxSetKzjD4SvxD9eL4SuMXlovS9hhJUnaEg=; b=Uj3ehZaBzxD1+seLJXo9/libDUJcmdGi5emdl5fzrIW1+uK9TdcyMb6OwclJPz8HWv L6peTtCo+vSK3R3MeGGvnFPlk5Fbb4QD4B9rFc7Axx06Jsz/o2d/1UmclamGJUEBuMye 2fMHTxkwF4ydWmDdC2sg2OMlbv06ELdS3ZFP1hzGDf/YVigXh4/z8lb7/CTbXswXHSfc KNOoRJe5NE50VhddtveT6f+kF1kEmyfYDEqWLrDcDQOPlkWkqbkmPsZogqFLWlVyKzNP q6+suyzQI+IZDdcKVajkBphUT92ZAlr05WPhnL5T+v2+mz+cik5Y/RLYTShptXNATtIK 7mTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OTMzGTne; 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 my9si4305427ejc.686.2021.08.16.03.56.39; Mon, 16 Aug 2021 03:57:01 -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=OTMzGTne; 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 S236080AbhHPKxk (ORCPT + 99 others); Mon, 16 Aug 2021 06:53:40 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:42492 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235731AbhHPKxj (ORCPT ); Mon, 16 Aug 2021 06:53:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629111187; 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=50ryPKiSwxSetKzjD4SvxD9eL4SuMXlovS9hhJUnaEg=; b=OTMzGTnepmieZMu0S1itwxlnxxIaGxVshxVJct1Ay6rqwXWMpDnzL1HoilY5fr1WoFq6e/ gp10e+bQe4c2AEMVhT+Az7BKL18uO8hcu8JOT8IbcdO5Iulq/bdIFUdTNdLhdFuffHvhsk byyfypAn1JVTjLyBxdurSN+1Tb+4qaI= 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-2-zCtBtKONMtCTdhwfMls1Lg-1; Mon, 16 Aug 2021 06:53:06 -0400 X-MC-Unique: zCtBtKONMtCTdhwfMls1Lg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6F3FB192D787; Mon, 16 Aug 2021 10:53:04 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.64.242.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 27CEB18017; Mon, 16 Aug 2021 10:53:00 +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 v2 04/20] platform/x86: intel_punit_ipc: Move to intel sub-directory Date: Mon, 16 Aug 2021 18:51:03 +0800 Message-Id: <20210816105119.704302-5-hpa@redhat.com> In-Reply-To: <20210816105119.704302-1-hpa@redhat.com> References: <20210816105119.704302-1-hpa@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move intel_punit_ipc to intel sub-directory to improve readability. Signed-off-by: Kate Hsuan --- drivers/platform/x86/Kconfig | 6 ------ drivers/platform/x86/Makefile | 2 +- drivers/platform/x86/intel/Kconfig | 6 ++++++ drivers/platform/x86/intel/Makefile | 2 ++ .../platform/x86/{intel_punit_ipc.c => intel/punit_ipc.c} | 0 5 files changed, 9 insertions(+), 7 deletions(-) rename drivers/platform/x86/{intel_punit_ipc.c => intel/punit_ipc.c} (100%) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 66cc8a8a9bae..fbadb19e5a6c 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -1189,12 +1189,6 @@ config INTEL_PMC_CORE - Low Power Mode registers (Tigerlake and beyond) - PMC quirks as needed to enable SLPS0/S0ix -config INTEL_PUNIT_IPC - tristate "Intel P-Unit IPC Driver" - help - This driver provides support for Intel P-Unit Mailbox IPC mechanism, - which is used to bridge the communications between kernel and P-Unit. - config INTEL_SCU_IPC bool diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index fb6dc4d9e8df..6d03005e6e36 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -130,7 +130,7 @@ obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o # Intel PMIC / PMC / P-Unit devices obj-$(CONFIG_INTEL_PMC_CORE) += intel_pmc_core.o intel_pmc_core_pltdrv.o -obj-$(CONFIG_INTEL_PUNIT_IPC) += intel_punit_ipc.o + obj-$(CONFIG_INTEL_SCU_IPC) += intel_scu_ipc.o obj-$(CONFIG_INTEL_SCU_PCI) += intel_scu_pcidrv.o obj-$(CONFIG_INTEL_SCU_PLATFORM) += intel_scu_pltdrv.o diff --git a/drivers/platform/x86/intel/Kconfig b/drivers/platform/x86/intel/Kconfig index c4f7518d747b..2555bed25d27 100644 --- a/drivers/platform/x86/intel/Kconfig +++ b/drivers/platform/x86/intel/Kconfig @@ -52,4 +52,10 @@ config INTEL_MRFLD_PWRBTN To compile this driver as a module, choose M here: the module will be called intel_mrfld_pwrbtn. +config INTEL_PUNIT_IPC + tristate "Intel P-Unit IPC Driver" + help + This driver provides support for Intel P-Unit Mailbox IPC mechanism, + which is used to bridge the communications between kernel and P-Unit. + endif # X86_PLATFORM_DRIVERS_INTEL diff --git a/drivers/platform/x86/intel/Makefile b/drivers/platform/x86/intel/Makefile index d194327565fe..af78691a7b34 100644 --- a/drivers/platform/x86/intel/Makefile +++ b/drivers/platform/x86/intel/Makefile @@ -15,3 +15,5 @@ intel_chtdc_ti_pwrbtn-y := chtdc_ti_pwrbtn.o obj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN) += intel_chtdc_ti_pwrbtn.o intel_mrfld_pwrbtn-y := mrfld_pwrbtn.o obj-$(CONFIG_INTEL_MRFLD_PWRBTN) += intel_mrfld_pwrbtn.o +intel_punit_ipc-y := punit_ipc.o +obj-$(CONFIG_INTEL_PUNIT_IPC) += intel_punit_ipc.o diff --git a/drivers/platform/x86/intel_punit_ipc.c b/drivers/platform/x86/intel/punit_ipc.c similarity index 100% rename from drivers/platform/x86/intel_punit_ipc.c rename to drivers/platform/x86/intel/punit_ipc.c -- 2.31.1