From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C35494C97; Tue, 11 Nov 2025 00:54:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762822495; cv=none; b=b6h06wqai3W0Nzxg4Rdjto8awBchx4v0JlRluEjXKj26YPjiPGJcWXSlwOjDvVzpp5kMdY4tqtLjpY1o6iBkbEsLdmqBFSUE23tPdkUj+JmSNM0NM7PuRdOgv7YWJNxKkDhbio6pMoOKNk0T0Faix5DyZSocE0p674ZD8A13qIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762822495; c=relaxed/simple; bh=1npvLL02tXhungK3R1o+PU+nu0ptWVVf1IqyI1X8KYg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qHEbFtbKtEL+f66cTkbymhg4K104G66d0lJjHpT979hXs5uLhRyNUEF39uqfyvZiswxpp68Ijvncr/+4mLMiZmtx/b4crbTuRzXyerCA9A9/FFqM1hmUwUtXA76ov98Woc6bCDwSqGLMj/qRnewWx6RapufdkkdypYJAMwoxTBs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2oap6xpE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="2oap6xpE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 561C4C116B1; Tue, 11 Nov 2025 00:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1762822495; bh=1npvLL02tXhungK3R1o+PU+nu0ptWVVf1IqyI1X8KYg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2oap6xpEg7RL3IyoUoJPInzzSreJe4xARAP+VS5fY3jsue0lsM6YhdJ82uTCx0ocO H4/T+1wdfMbypJVoBgx2ZheqY1hzChoirITcP5fRjrxkGvHAh1yvWnxZg2SS2GDQRe 8fhoSS3xns/LGiYW29ot+EqptwgVzcY+zSLwr1K0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, John Smith , Alex Deucher , Sasha Levin Subject: [PATCH 6.17 083/849] drm/amd/pm/powerplay/smumgr: Fix PCIeBootLinkLevel value on Iceland Date: Tue, 11 Nov 2025 09:34:13 +0900 Message-ID: <20251111004538.426882377@linuxfoundation.org> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20251111004536.460310036@linuxfoundation.org> References: <20251111004536.460310036@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: John Smith [ Upstream commit 501672e3c1576aa9a8364144213c77b98a31a42c ] Previously this was initialized with zero which represented PCIe Gen 1.0 instead of using the maximum value from the speed table which is the behaviour of all other smumgr implementations. Fixes: 18aafc59b106 ("drm/amd/powerplay: implement fw related smu interface for iceland.") Signed-off-by: John Smith Signed-off-by: Alex Deucher (cherry picked from commit 92b0a6ae6672857ddeabf892223943d2f0e06c97) Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c b/drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c index 17d2f5bff4a7e..49c32183878de 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c @@ -2028,7 +2028,7 @@ static int iceland_init_smc_table(struct pp_hwmgr *hwmgr) table->VoltageResponseTime = 0; table->PhaseResponseTime = 0; table->MemoryThermThrottleEnable = 1; - table->PCIeBootLinkLevel = 0; + table->PCIeBootLinkLevel = (uint8_t) (data->dpm_table.pcie_speed_table.count); table->PCIeGenInterval = 1; result = iceland_populate_smc_svi2_config(hwmgr, table); -- 2.51.0