Message ID | 20231223032548.1680738-9-david.e.box@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-10264-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1468076dyi; Fri, 22 Dec 2023 19:27:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLwNSxRifUJ2EepFqaO46O5Bv/AUc2dWl2Dw0ofkv8KL+870IpaN1QZvSojBH5DviiI0Uh X-Received: by 2002:a17:906:d18f:b0:a23:2a67:bf73 with SMTP id c15-20020a170906d18f00b00a232a67bf73mr1221546ejz.87.1703302067054; Fri, 22 Dec 2023 19:27:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703302067; cv=none; d=google.com; s=arc-20160816; b=KjG7UX/JhrBFw/Pt6JSmxGb2kvEBaGtw9IbfiTTQX7/9b05UBGaAAg9D20Gqp7/lzq 1knnzwCThFiIpkeE81Y+W/Ic4uiaXTCnQuPhhQHWnGyOipuHqmG3t90KQi3QD4Vj+gbT EQ+w7NZ43136xbmXcLNDjySXNyqF/reqCFxbyob8iYX/eka5t4XlKZjmT2i7pi+Fey5b syjWwhzrFomuEDajA8xgLpiH6qfWxaLZWrb+qOWD7ThZbmDyrD3AumA7VytAaRMWQVlq UosoC0H73Kift+99RD1vk2QqgdVgdG+f0KsR/9vSuru4M0gZTTxNvwxtMwNxlLOiK5+R 5WEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=LUsZZlLxNNowevVY9Bhjv9elaOD+ObVt7O5s3QingdQ=; fh=yyAGbTikx/RHwePVMTF7XiY858Fr2O1Lml8NjpI1ECE=; b=q8Dr8mJFAORv4dWuoV7et9kwSlJwIHDanWRexSLwIp8r4moNkBPnCL3G87DAWhSnae CU8ktPjLZk4fZXqEzmfuZau6l/JTgujaxNQN5AJ6z81ttSkEMUCZxeQZnHibOrgFDl0K Ue6AEMKYOc7iLDsHlfVHhk2kpXlQfLgZTtKYCqiudVnS2c/oOc6bjQiLvbqNBn0Dk94f P52izVfhbAnK0Km2HhD5WRH1yg/baYmqgq9cgfKaA4mLHo0h77afULWAocYtSQ8Azn8z 4aXHK4/QqJLXLNXRywas9+ZSWU4O2K/pefc3DKYm+kUgv9wyQJdAmplfO6fzrhdc3uEQ SiqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="fxdFA/Vt"; spf=pass (google.com: domain of linux-kernel+bounces-10264-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10264-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w9-20020a17090652c900b00a232a66ec5esi2392682ejn.350.2023.12.22.19.27.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 19:27:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10264-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="fxdFA/Vt"; spf=pass (google.com: domain of linux-kernel+bounces-10264-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10264-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ABDD11F24257 for <ouuuleilei@gmail.com>; Sat, 23 Dec 2023 03:27:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F71FDF4E; Sat, 23 Dec 2023 03:25:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fxdFA/Vt" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 292CC4437; Sat, 23 Dec 2023 03:25:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703301955; x=1734837955; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=f+dh5rZALXl/p24n8Vz32jakt6X6ur63JdX+9WjZny0=; b=fxdFA/VtFi3pjv5hWWtRlVFdPPZWpIzJ+eD+ugyaax44SIE0pkUyJ4RS 4a5owJLBWuHxkaA8PvBjjEiDHfFNnX3q+S9VUnUAashhOkMAMzu1/+pBM NQpwFRA5UErRjT1IyUI+LDLvEiC333erHXX85pHDOOvtNv5IkfwRSnTaE 4SqavUxZyEd2/w8Zu0Zw91q+LHVvkdyIBF5cOgKYOnq4I/pDcye/oM5yg iIMWHvcsepLJBBXx9ppe1E8uqGM0RPb2rv4mnLmVS1sm4zf3d97JgfdJi 5JnomIi/PpYIAi1Q4W4Z4o5X6NK35N7xH6uRy/HhrrbZ5h0UmyF3alPGC Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10932"; a="462619296" X-IronPort-AV: E=Sophos;i="6.04,298,1695711600"; d="scan'208";a="462619296" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2023 19:25:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10932"; a="811534587" X-IronPort-AV: E=Sophos;i="6.04,298,1695711600"; d="scan'208";a="811534587" Received: from linux.intel.com ([10.54.29.200]) by orsmga001.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2023 19:25:53 -0800 Received: from debox1-desk4.intel.com (unknown [10.209.86.110]) by linux.intel.com (Postfix) with ESMTP id C84C3580CC6; Fri, 22 Dec 2023 19:25:52 -0800 (PST) From: "David E. Box" <david.e.box@linux.intel.com> To: david.e.box@linux.intel.com, hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com, rajvi.jingar@linux.intel.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/8] platform/x86/intel/pmc: Add missing extern Date: Fri, 22 Dec 2023 19:25:48 -0800 Message-Id: <20231223032548.1680738-9-david.e.box@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231223032548.1680738-1-david.e.box@linux.intel.com> References: <20231223032548.1680738-1-david.e.box@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786041668369762958 X-GMAIL-MSGID: 1786041668369762958 |
Series |
Intel PMC Core GBE LTR regression fix
|
|
Commit Message
David E. Box
Dec. 23, 2023, 3:25 a.m. UTC
Add missing extern for tgl_h_reg_map. Fixes sparse warning:
drivers/platform/x86/intel/pmc/tgl.c:213:26: warning: symbol 'tgl_h_reg_map' was not declared. Should it be static?
Fixes: 544f7b7f651c ("platform/x86/intel/pmc: Add regmap for Tiger Lake H PCH")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
---
drivers/platform/x86/intel/pmc/core.h | 1 +
1 file changed, 1 insertion(+)
Comments
Hi, On 12/23/23 04:25, David E. Box wrote: > Add missing extern for tgl_h_reg_map. Fixes sparse warning: > > drivers/platform/x86/intel/pmc/tgl.c:213:26: warning: symbol 'tgl_h_reg_map' was not declared. Should it be static? > > Fixes: 544f7b7f651c ("platform/x86/intel/pmc: Add regmap for Tiger Lake H PCH") > Signed-off-by: David E. Box <david.e.box@linux.intel.com> Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > drivers/platform/x86/intel/pmc/core.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/platform/x86/intel/pmc/core.h b/drivers/platform/x86/intel/pmc/core.h > index ce7b1cd2b194..2a797fccf5e6 100644 > --- a/drivers/platform/x86/intel/pmc/core.h > +++ b/drivers/platform/x86/intel/pmc/core.h > @@ -452,6 +452,7 @@ extern const struct pmc_bit_map tgl_vnn_misc_status_map[]; > extern const struct pmc_bit_map tgl_signal_status_map[]; > extern const struct pmc_bit_map *tgl_lpm_maps[]; > extern const struct pmc_reg_map tgl_reg_map; > +extern const struct pmc_reg_map tgl_h_reg_map; > extern const struct pmc_bit_map adl_pfear_map[]; > extern const struct pmc_bit_map *ext_adl_pfear_map[]; > extern const struct pmc_bit_map adl_ltr_show_map[];
diff --git a/drivers/platform/x86/intel/pmc/core.h b/drivers/platform/x86/intel/pmc/core.h index ce7b1cd2b194..2a797fccf5e6 100644 --- a/drivers/platform/x86/intel/pmc/core.h +++ b/drivers/platform/x86/intel/pmc/core.h @@ -452,6 +452,7 @@ extern const struct pmc_bit_map tgl_vnn_misc_status_map[]; extern const struct pmc_bit_map tgl_signal_status_map[]; extern const struct pmc_bit_map *tgl_lpm_maps[]; extern const struct pmc_reg_map tgl_reg_map; +extern const struct pmc_reg_map tgl_h_reg_map; extern const struct pmc_bit_map adl_pfear_map[]; extern const struct pmc_bit_map *ext_adl_pfear_map[]; extern const struct pmc_bit_map adl_ltr_show_map[];