Message ID | 20231223032548.1680738-8-david.e.box@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-10262-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1468042dyi; Fri, 22 Dec 2023 19:27:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+kVeDazavSS3bJh1uCTzl4HMGUDZY+YY6j8Njr+d8F5btnnvKvMF2iiT5Xs4gGVZxjR8x X-Received: by 2002:a17:90a:784a:b0:28c:2a3:1f08 with SMTP id y10-20020a17090a784a00b0028c02a31f08mr1566855pjl.56.1703302057331; Fri, 22 Dec 2023 19:27:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703302057; cv=none; d=google.com; s=arc-20160816; b=QMqpGgw0c5QKahIONTtjgykR0n4uy43+wHDtrPnjciqoaVRcTpQ5WH481ad9zqGwqt P3CANjGb+O77kHS/x2xTxA2LP6Wf7v81Zb68pSRarfgkFjpulbHxQeTkwOzwnOd/waUO s7f1EgLJgMYtcjXDQO4frhIU5G6JOp/3nisCl1NPWjLM9awVxfw/jrNC3PqqK7ZVPJxQ dQfPuhFSJxbLNtOctwWcQp0kxNxq6bn8oHuCGckWdkZzcHQRCIbPpkAEdqqQl1jgu2lc TxY1NB1DG1JWHjPx+MMc/G6LgRoJdGQuEqLWguOpGvN/a7jkmq7n/aS7txnaWFhtdPSa UWCA== 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=wATVTQT+DuMaUbx9mU+T7jyw3nCE9Ud9p8ms8JDyEJ4=; fh=yyAGbTikx/RHwePVMTF7XiY858Fr2O1Lml8NjpI1ECE=; b=DsIQyEyWCuEeFqNyfZ2j0lBw1cevKjhUb0Eghp2kQz9BsT1cguKwoHpR4SMhUs9YN9 JmICCL71y6mREMmxvwlNKdx5sGSyV1bAc2dz/dKBoXZkyV1UPkymY4DjPzrZ4UzVJjTU WiI8CFegXupQkfcERJ6ryPx6p5L07NdimOlKnfY3ssfmZl3s57nMmdUEjnumGUzcosat s3yEnLH+I9R64ADhxXp+gq3P81fxAMTACz2mvil/2SkW3V1rYU/j96HAIDgDmbs+Czkz ypL+hbkmMYu8ylJKR91iM5skY8Pju7yrqxyqpn5cUcZgdk5E3dqq+TiA0YnZpo8kvPq7 35Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lxCyXO03; spf=pass (google.com: domain of linux-kernel+bounces-10262-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10262-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o10-20020a17090ac70a00b0028bd815859dsi5593608pjt.136.2023.12.22.19.27.37 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 19:27:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10262-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lxCyXO03; spf=pass (google.com: domain of linux-kernel+bounces-10262-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10262-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1DEAB286513 for <ouuuleilei@gmail.com>; Sat, 23 Dec 2023 03:27:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB441DDB6; Sat, 23 Dec 2023 03:25:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="lxCyXO03" 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 D1DC81866; Sat, 23 Dec 2023 03:25:54 +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=1703301954; x=1734837954; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=alzPQBYryrPFIZRzgl+PRORM4Cg1XASznG83KJNWqwg=; b=lxCyXO0355d6cuBDNBjg0W1gXlJQtPk6xvYuKayMTKH3jggiGEK4CgN5 XdfjSLKLq8Na1OlHU3e6ckZTtsWObqUwYGif28UdOUb0DudJkmET36ghk 5QBn8z7VqrWgJiQeA84nuNQYJWp75tcB9aOW+L8MDvWAbOhPEYwGvrgYF YKwTT1Q6at9r9/rT6a9R7IXoVxEv2qDXK30RfNrKP82/glIqJJJbsuTyA CQZZYW701kz6Ix2jm2qdUzLpHVkTgIA1W2ZsJgIWiI9OoXHA+pX/kj8bq QK25di0MUa6vczvvbd41gTf8GUBFFMHpvVBSmJ+OXxcdRYATXjvpbhOd+ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10932"; a="462619294" X-IronPort-AV: E=Sophos;i="6.04,298,1695711600"; d="scan'208";a="462619294" 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:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10932"; a="811534585" X-IronPort-AV: E=Sophos;i="6.04,298,1695711600"; d="scan'208";a="811534585" 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:52 -0800 Received: from debox1-desk4.intel.com (unknown [10.209.86.110]) by linux.intel.com (Postfix) with ESMTP id 8FFAF580DCE; 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 7/8] platform/x86/intel/pmc/lnl: Add GBE LTR ignore during suspend Date: Fri, 22 Dec 2023 19:25:47 -0800 Message-Id: <20231223032548.1680738-8-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: 1786041657776170978 X-GMAIL-MSGID: 1786041657776170978 |
Series |
Intel PMC Core GBE LTR regression fix
|
|
Commit Message
David E. Box
Dec. 23, 2023, 3:25 a.m. UTC
Add the GBE LTR ignore suspend time fix for Lunar Lake.
Fixes: 119652b855e6 ("platform/x86/intel/pmc: Add Lunar Lake M support to intel_pmc_core driver")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
---
drivers/platform/x86/intel/pmc/lnl.c | 3 +++
1 file changed, 3 insertions(+)
Comments
Hi, On 12/23/23 04:25, David E. Box wrote: > Add the GBE LTR ignore suspend time fix for Lunar Lake. > > Fixes: 119652b855e6 ("platform/x86/intel/pmc: Add Lunar Lake M support to intel_pmc_core driver") > 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/lnl.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/platform/x86/intel/pmc/lnl.c b/drivers/platform/x86/intel/pmc/lnl.c > index fe97ad09a1a6..eb350d64efdf 100644 > --- a/drivers/platform/x86/intel/pmc/lnl.c > +++ b/drivers/platform/x86/intel/pmc/lnl.c > @@ -509,6 +509,8 @@ void lnl_d3_fixup(void) > int lnl_resume(struct pmc_dev *pmcdev) > { > lnl_d3_fixup(); > + pmc_core_send_ltr_ignore(pmcdev, 3, 0); > + > return pmc_core_resume_common(pmcdev); > } > > @@ -521,6 +523,7 @@ int lnl_core_init(struct pmc_dev *pmcdev) > > lnl_d3_fixup(); > > + pmcdev->suspend = cnl_suspend; > pmcdev->resume = lnl_resume; > pmcdev->regmap_list = lnl_pmc_info_list; > ret = pmc_core_ssram_init(pmcdev, func);
diff --git a/drivers/platform/x86/intel/pmc/lnl.c b/drivers/platform/x86/intel/pmc/lnl.c index fe97ad09a1a6..eb350d64efdf 100644 --- a/drivers/platform/x86/intel/pmc/lnl.c +++ b/drivers/platform/x86/intel/pmc/lnl.c @@ -509,6 +509,8 @@ void lnl_d3_fixup(void) int lnl_resume(struct pmc_dev *pmcdev) { lnl_d3_fixup(); + pmc_core_send_ltr_ignore(pmcdev, 3, 0); + return pmc_core_resume_common(pmcdev); } @@ -521,6 +523,7 @@ int lnl_core_init(struct pmc_dev *pmcdev) lnl_d3_fixup(); + pmcdev->suspend = cnl_suspend; pmcdev->resume = lnl_resume; pmcdev->regmap_list = lnl_pmc_info_list; ret = pmc_core_ssram_init(pmcdev, func);