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 EBB72344044; Wed, 3 Dec 2025 15:58:34 +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=1764777515; cv=none; b=WAgU0sjccyxaBigtuJ92+kyEDaSD0zqHY9mrgVf+2umnVFerxV+2dCjujiL04cv+4k1EHmJQFNbFb4E2GUvn8vGTAPwI8w3Ykahtq4slp7ZNd2AFhe4m6mX9XtgdOlKDeRWBsy19rXJtxAD2A/QkHKJXrDdz35KEDz2d2mP4WHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764777515; c=relaxed/simple; bh=nrk4o6IAH8QtzC8a35vkXVUASWnzdBB/2tCEiN8WLNs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oSh3QNvue/inOE1pVcAx9Lp4D8mCmEL6Jqlo27S3wO+F7XpTakTNKUVVH00u4IyrlLnZMEl+ndtnKfqTLriBaX0ikYX9+h6yaBybhqHEGBLILrtG3huvRD/MgszER8PBiuIdzcrHDeykPW/BaPoVtiP8ggFBHDdLvgjSF8zoHlE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iRXW7lRB; 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="iRXW7lRB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D5E7C4CEF5; Wed, 3 Dec 2025 15:58:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1764777514; bh=nrk4o6IAH8QtzC8a35vkXVUASWnzdBB/2tCEiN8WLNs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iRXW7lRBNlG/r3noMNd0lU9H7SxrOAvx9NLgJ2mZiptDdjDt1FF0xQZAbj+rfSYzl l8GyUpGjbVIf+SjLui+aM7MybS9V6LABc8Nbx20US6D5wzONdSME+g0KLM587ppcZw m7FEHj6EJwDv8k+gVi+iT6r5GAPgYZeUZeqUl6QU= 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 5.15 029/392] drm/amd/pm/powerplay/smumgr: Fix PCIeBootLinkLevel value on Iceland Date: Wed, 3 Dec 2025 16:22:59 +0100 Message-ID: <20251203152415.172355559@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251203152414.082328008@linuxfoundation.org> References: <20251203152414.082328008@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 5.15-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 03df35dee8ba8..6ddf9ce5471e8 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