From patchwork Mon Nov 20 16:03:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koba Ko X-Patchwork-Id: 1866143 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SYskT222Zz1ySC for ; Tue, 21 Nov 2023 03:03:45 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1r56kF-0006gr-Ky; Mon, 20 Nov 2023 16:03:31 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1r56k5-0006dL-N6 for kernel-team@lists.ubuntu.com; Mon, 20 Nov 2023 16:03:22 +0000 Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id A787B3F2E2 for ; Mon, 20 Nov 2023 16:03:20 +0000 (UTC) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-41cdffe4d1cso54895871cf.0 for ; Mon, 20 Nov 2023 08:03:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700496199; x=1701100999; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jTOJEohwSugRY+HDTv5w7P0yjZBj8BO3kWLKtXvFeE4=; b=d/Az+stMRev+8M7O4sX4lybzh9ES4zIPWJaxXJOcamYl34NoM9yyzZLmrheE+XxayA W/MDkLbC2sKom4zxLurorSxXjE+BHlHaGi05p0YPmV0QbT2dntuQf9N3TTBmTGVwOhPu 9xAfXZX3alS1Gr/HErCOxFA4NJaexQY9d/LP5fvX37cYtro+D1avyNd+CHXjGzFhTtgC Cl2gDDx21e+g3z4fNqgve1PuKPnHaZvMAQiz8AoOr53f5Unu1rC1vC5AOL6me0f2QbHt GhNNm0k21XsOxl0U/7z4To6saDabsUtQZAUZ8/oLXfP3Z4amk2UFWd2kZQqEOuIWHfeB 8dYg== X-Gm-Message-State: AOJu0Yy1++zw+EQJpJgFJ91qiuryo7/gfytsA6wSnevjjMYfAnVDNYom Y8wQmBedqCYtqsDXIGfYpA8lLvT4GGSyui857xnh2ExF6q4tGRqXi+eZ8nxtUd4pe0zqU8q4SQX yP8rI20gwGbAuV6qkXcjYshVgdF9DSFBEPqm/jvZfhXhkSvsL66ivUZc= X-Received: by 2002:ac8:574f:0:b0:41c:e009:6ad7 with SMTP id 15-20020ac8574f000000b0041ce0096ad7mr9960185qtx.52.1700496199142; Mon, 20 Nov 2023 08:03:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IEEK7lLHWINHwsrnk5C3KeE2F9P5aoyD6ph3A/RpwOCCkiDKIPkiNSOitcRXwsraSwgSHJXEA== X-Received: by 2002:ac8:574f:0:b0:41c:e009:6ad7 with SMTP id 15-20020ac8574f000000b0041ce0096ad7mr9960145qtx.52.1700496198649; Mon, 20 Nov 2023 08:03:18 -0800 (PST) Received: from canonical.com ([2001:67c:1560:8007::aac:c176]) by smtp.gmail.com with ESMTPSA id ks23-20020ac86217000000b00419ab6ffedasm2731390qtb.29.2023.11.20.08.03.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 08:03:18 -0800 (PST) From: Koba Ko To: kernel-team@lists.ubuntu.com Subject: [PATCH V2 2/2][SRU][L/M/U] ata: ahci: Add Intel Alder Lake-P AHCI controller to low power chipsets list Date: Mon, 20 Nov 2023 16:03:03 +0000 Message-Id: <20231120160303.81841-3-koba.ko@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231120160303.81841-1-koba.ko@canonical.com> References: <20231120160303.81841-1-koba.ko@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Mika Westerberg BugLink: https://bugs.launchpad.net/bugs/2037493 Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high. Cc: Koba Ko Signed-off-by: Mika Westerberg Signed-off-by: Damien Le Moal (cherry picked from commit b8b8b4e0c052b2c06e1c4820a8001f4e0f77900f) Signed-off-by: Koba Ko --- drivers/ata/ahci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index addba109406b..7beedd9649a1 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -421,6 +421,7 @@ static const struct pci_device_id ahci_pci_tbl[] = { { PCI_VDEVICE(INTEL, 0x34d3), board_ahci_low_power }, /* Ice Lake LP AHCI */ { PCI_VDEVICE(INTEL, 0x02d3), board_ahci_low_power }, /* Comet Lake PCH-U AHCI */ { PCI_VDEVICE(INTEL, 0x02d7), board_ahci_low_power }, /* Comet Lake PCH RAID */ + { PCI_VDEVICE(INTEL, 0x7ae2), board_ahci_low_power }, /* Alder Lake-P AHCI */ /* JMicron 360/1/3/5/6, match class to avoid IDE function */ { PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,