From patchwork Sat Dec 23 03:25:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "David E. Box" X-Patchwork-Id: 182904 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1467928dyi; Fri, 22 Dec 2023 19:27:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdwKe2LECtnU1LEnAlBjncJypm6WCXO93jbbovsz8WCbOgYnHqTLngPK55M/HU2xQNRFuO X-Received: by 2002:a05:622a:114:b0:425:8c93:9997 with SMTP id u20-20020a05622a011400b004258c939997mr2917526qtw.25.1703302030780; Fri, 22 Dec 2023 19:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703302030; cv=none; d=google.com; s=arc-20160816; b=tr5IjDCpECGbVdHt2DixqOFzytdgWcYxpB4dyNdgSrsTsY2yYEA4bI0Al/GhZEKNW6 Rw0awNgdxroju9nl28xvqeCK+MNCY99ADrbl8CbKs7LMg3EIxtpm8C/ao1NvJbP/DL5P VqSLfJirHZPhHoTeLduHmP7KGZvztVBZy2UbbPe+iBwUd5kagZax3jnlXzcETvgf8Dod i5SI9XJ/ex+pSr4M5GPo6v7C6QlLQE8qGpLHg4RBSJdZcNb21Mq1+0Yg7QyWFzR09Fqx 0yTmJN/EHLRvwSoSeFf/W0fcTJ8JEobCGOCSFa+d/FkCafkityPFvH7QGMM2byWYOkCO EJWQ== 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=XN7tuZgxLPRKrQJZ7MfCCDzQkkaMfn2v8u4ZqztSHb4=; fh=yyAGbTikx/RHwePVMTF7XiY858Fr2O1Lml8NjpI1ECE=; b=CA2FZPbQtcePgS3yqg3Eyw9qMWuhkqsLulcpsnwbSKFoEB3HQqu9pfIga8q5yGWa43 dfWlPoevsFbvlXnreG+f3Jn0b+3j1ZL+I77B0ckfFAlmCfW8gyIwh1AP9oTPzxkJs6X2 49f+ugpdjmcCEqzhXJwkKJ/fVWz1U1R8RGF/8ovUzkn28043xN3J5LvOt99HgoXckhTz 7/U3Y5NnbcVS8KYH2di7pw0sUKaRNFAQ3Y2cShsuV49IETkuG6yiI4/Dj6YKgCQ+YvN1 5vGl+qQu83hrg+A+5NVD+cyOvS5j8EojFzzhMzHPSI3qFhBK3i+YLI2War/ehpYn/w92 T8Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nBb3nfU4; spf=pass (google.com: domain of linux-kernel+bounces-10261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10261-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a9-20020ac85b89000000b004237f54a7f2si6012393qta.191.2023.12.22.19.27.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 19:27:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nBb3nfU4; spf=pass (google.com: domain of linux-kernel+bounces-10261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10261-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 905FF1C22D31 for ; Sat, 23 Dec 2023 03:27:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B27EED26C; Sat, 23 Dec 2023 03:25:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nBb3nfU4" 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 BC7DA1110; Sat, 23 Dec 2023 03:25:53 +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=1703301953; x=1734837953; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=ncqZrSwEdBCXtxvWbb1V+l2i5EjB3nBI2XKvixmXGNI=; b=nBb3nfU4uNCELjgufIi6VlJokgtguxc46sJskJty0mwJS3e4r4J17emJ 1bYXY94XeNg74NO9+WAxEpIHDJN4sZ2ui92Ms3slU+PBjvot8PjMq/yv7 S4GlZH/LL1uANKgzarxsEw1iVb0kRMgtYXLXnhPt1268XiaoV917vwWlL S/VYBXE4Yx1SdbyxkOMLMO5lbB0A8SK7GgJL/eAKfP1BnYtWmeVL75vct 3KZ3/+VAV32aas07B2jj4OPQEcAdlkgB/PYfgsEHTZfptGAd2mWdrjS5x neTp8BqmZsYxNwSnc2kDHb8OQlmWZCZ6vzdmxHliINhdqiSWExpY71TOI g==; X-IronPort-AV: E=McAfee;i="6600,9927,10932"; a="462619292" X-IronPort-AV: E=Sophos;i="6.04,298,1695711600"; d="scan'208";a="462619292" 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="811534582" X-IronPort-AV: E=Sophos;i="6.04,298,1695711600"; d="scan'208";a="811534582" 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 5726F580DDD; Fri, 22 Dec 2023 19:25:52 -0800 (PST) From: "David E. Box" 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 6/8] platform/x86/intel/pmc/arl: Add GBE LTR ignore during suspend Date: Fri, 22 Dec 2023 19:25:46 -0800 Message-Id: <20231223032548.1680738-7-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786041630113962111 X-GMAIL-MSGID: 1786041630113962111 Add the GBE LTR ignore suspend time fix for Arrow Lake. Fixes: f34dcf397286 ("platform/x86/intel/pmc: Add Arrow Lake S support to intel_pmc_core driver") Signed-off-by: David E. Box --- drivers/platform/x86/intel/pmc/arl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/platform/x86/intel/pmc/arl.c b/drivers/platform/x86/intel/pmc/arl.c index 31e1fa538e32..ae3a9a96f845 100644 --- a/drivers/platform/x86/intel/pmc/arl.c +++ b/drivers/platform/x86/intel/pmc/arl.c @@ -685,6 +685,8 @@ void arl_d3_fixup(void) int arl_resume(struct pmc_dev *pmcdev) { arl_d3_fixup(); + pmc_core_send_ltr_ignore(pmcdev, 3, 0); + return pmc_core_resume_common(pmcdev); } @@ -696,6 +698,7 @@ int arl_core_init(struct pmc_dev *pmcdev) bool ssram_init = true; arl_d3_fixup(); + pmcdev->suspend = cnl_suspend; pmcdev->resume = arl_resume; pmcdev->regmap_list = arl_pmc_info_list;