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 0A1BF2EE97A; Thu, 3 Jul 2025 15:01:23 +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=1751554883; cv=none; b=gTsJb+i4THeVsNg+9LkEaRkB6zhJ0lfZHWNwBIlzK3Dy0jmWOcTj2nd/JN74u4lK6fMyUO8+GzUkIFkehjcPFKtiNdH48HkenAQ2R+mSjwnzuvlfV7ZNIDdq1Tak1VLTYrYw/aJWVhZZBUwM0OUF3orgFhGKDim6ISd6QUY48eM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751554883; c=relaxed/simple; bh=9+Csdcs2bpf6nTn5qi+CORergUYLA673fYpCrpwmoFo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CpnBvlxvy5LvUbcwHYhW8bynNzsOFV3K5xph973oh5KVTMqgypNtV23cJPJKgY4aLroRZ9J/aZs925Xd77/AKiL+xyS/czqXrFU5judDkH8PsXxaA5UQvTYydtCZq8yrXE5liRoeCpv3no8IdrzViEBzTz6w2rh7fQvu8OrPUYM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=udTy/sL1; 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="udTy/sL1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E095C4CEEE; Thu, 3 Jul 2025 15:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751554882; bh=9+Csdcs2bpf6nTn5qi+CORergUYLA673fYpCrpwmoFo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=udTy/sL1nnFIdXON8yILcUtkEaoVg5lJ80AEsjiziX2+qCYezUMNuAVAtBr71nUt/ pRsSfsZ+WcTAzlutX+DExf7KW01HXyybCW5aCebfsu7D6dsJbJkB8416TDV0boenSc 0aFKvjKDoYxYafNUdWZDqf3XVLPjdd0mSlMmQzac= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andy Yang , Hans de Goede , Damien Le Moal , Niklas Cassel Subject: [PATCH 6.15 109/263] ata: ahci: Use correct DMI identifier for ASUSPRO-D840SA LPM quirk Date: Thu, 3 Jul 2025 16:40:29 +0200 Message-ID: <20250703144008.706999200@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250703144004.276210867@linuxfoundation.org> References: <20250703144004.276210867@linuxfoundation.org> User-Agent: quilt/0.68 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.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Niklas Cassel commit 3e0809b1664b9dc650d9dbca9a2d3ac690d4f661 upstream. ASUS store the board name in DMI_PRODUCT_NAME rather than DMI_PRODUCT_VERSION. (Apparently it is only Lenovo that stores the model-name in DMI_PRODUCT_VERSION.) Use the correct DMI identifier, DMI_PRODUCT_NAME, to match the ASUSPRO-D840SA board, such that the quirk actually gets applied. Cc: stable@vger.kernel.org Reported-by: Andy Yang Tested-by: Andy Yang Closes: https://lore.kernel.org/linux-ide/aFb3wXAwJSSJUB7o@ryzen/ Fixes: b5acc3628898 ("ata: ahci: Disallow LPM for ASUSPRO-D840SA motherboard") Reviewed-by: Hans de Goede Reviewed-by: Damien Le Moal Link: https://lore.kernel.org/r/20250624074029.963028-2-cassel@kernel.org Signed-off-by: Niklas Cassel Signed-off-by: Greg Kroah-Hartman --- drivers/ata/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -1456,7 +1456,7 @@ static bool ahci_broken_lpm(struct pci_d { .matches = { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), - DMI_MATCH(DMI_PRODUCT_VERSION, "ASUSPRO D840MB_M840SA"), + DMI_MATCH(DMI_PRODUCT_NAME, "ASUSPRO D840MB_M840SA"), }, /* 320 is broken, there is no known good version. */ },