Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1599450rdb; Wed, 31 Jan 2024 03:47:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGahq16NaUoUbtM0+tgbSKP4dm6n9TZtRnrwUM/Oyefc8OtVpDdxBe9F3LE0BnWKhsxinnO X-Received: by 2002:a05:6870:a2cb:b0:210:c32b:c590 with SMTP id w11-20020a056870a2cb00b00210c32bc590mr1443456oak.27.1706701658933; Wed, 31 Jan 2024 03:47:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706701658; cv=pass; d=google.com; s=arc-20160816; b=pAJMwT4ZPosAtO+TTaJfjL0hF8mJz00MwbrbomFCv91LgjFd1vya3jEzogqomoBLK1 xU1ffUdSfaeC00+NqrJ0cA/gJl/D8N/+ETmUzmJ5qKFXLXuiKw5dcq9lJIndDfJQqHtM NZoITdJHEXQK54T0jVqCXuYF27EFssiNvF83UF6lu31tkzYbkGUUs5aOkwxBcKG+jMBa YcArelIBMs90BCM+1PGF3VCxQtK92KZRIIpphmgBsx5sFlY0dnRATPgQYnqeyRyDUOrn 7elqY8DzZo293ZBvkx1AOXTK/X+uhAWlso9SsPxbJcXfhCtmohl3gH1RiCfHb7+CJhRG Ae4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=nDAR7PJX+EQMyirL/3W1Y6Qsu12zaieB0DRPT6UdUiA=; fh=mFEI3dTp/5o9En5bPho9gur+sdI8xgM79dmiEJOrOGo=; b=l2d0ykXvhJuHuBH8MO509Ams/sLpQqN+LLIMOLzFLvuRT2Nim8+7OcHkQJnT4dQcoP M0CPpb18+RqaNl3bEwZgzvnQh0wASGXA5V3fuzzDD/8dM9zAV7wlrJQ9/yk+Z0wPUoe7 xrln26gGhmURDmUDVbLesmuZD02Ym6BdZAxjcTwXqNOTqNu6tTNB9eYBnE+exaaFLCCl zQfSJaMR4OL5Tvri+JRC9q/Rfue3e5eWMuuUbwPs0afWY/pWH4Hcduv0BJBjhqN93rSc P8qDeS76lYbZr3XZEG412d1l4iTRV7pbTCHwFa76zt6W6T6ujWY6LzxmDrFFpzMGCU7X 6Yow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@endlessos.org header.s=google header.b=bvhgdwvQ; arc=pass (i=1 spf=pass spfdomain=endlessos.org dkim=pass dkdomain=endlessos.org dmarc=pass fromdomain=endlessos.org); spf=pass (google.com: domain of linux-kernel+bounces-46316-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=endlessos.org X-Forwarded-Encrypted: i=1; AJvYcCWwvBnDQHpXLMoXqu0BuXox6WUhZ1ZsoHCLIS3JDjIA+Jp3a7c5QG+Vu3qu+dzJTgu8vNXqQ2B/G0xn7Z+83Rhm0fFL1+lmFh2xjIin7A== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h21-20020a631215000000b005cdd7fff951si9209644pgl.132.2024.01.31.03.47.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 03:47:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46316-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@endlessos.org header.s=google header.b=bvhgdwvQ; arc=pass (i=1 spf=pass spfdomain=endlessos.org dkim=pass dkdomain=endlessos.org dmarc=pass fromdomain=endlessos.org); spf=pass (google.com: domain of linux-kernel+bounces-46316-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=endlessos.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B271CB33F37 for ; Wed, 31 Jan 2024 11:09:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E977E762E1; Wed, 31 Jan 2024 11:08:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=endlessos.org header.i=@endlessos.org header.b="bvhgdwvQ" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8271076022 for ; Wed, 31 Jan 2024 11:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706699331; cv=none; b=jvTam9x2UOtbk7Hkpq1mZfBjQSFKRBcibeZHgNlIutlAfmNEJJfgOjIQIa5TyeTh0dMM4KmI2ZWxwx4wBT93lFlg2Qwgb/oStREImSTMt2mKwg8bdiR/dK7JbiGvzIc6+s1UtexC0/pKmBWarGHLjUAf2UX4Ip4eGeCwZwe5W8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706699331; c=relaxed/simple; bh=vFODrHMqiV3HY8+m5nSz6cb0kesdcNwMLRKYCpAKcWU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=pylMA/Z29RpWsOHXTW2zjF3tZUtZ7O5bxaFb1y16A+U3fjZUgHV27Lm7Hebp5KpFuXDWmtLzwKjjFjz8zdgIOF1adBKbS/IfHKCw3N8FF5BXUdm07D6nymhn4zyHSHUKeUIk4JeaLDTC1WibfgTvQgNLBOX5iykpMqvoZGhC8hs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=endlessos.org; spf=pass smtp.mailfrom=endlessos.org; dkim=pass (2048-bit key) header.d=endlessos.org header.i=@endlessos.org header.b=bvhgdwvQ; arc=none smtp.client-ip=209.85.219.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=endlessos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=endlessos.org Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-dc34d761e2aso794412276.1 for ; Wed, 31 Jan 2024 03:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessos.org; s=google; t=1706699328; x=1707304128; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nDAR7PJX+EQMyirL/3W1Y6Qsu12zaieB0DRPT6UdUiA=; b=bvhgdwvQy871L3F5qJLo6O1lJ0Mepz0zG4mXTBg7yPn+y5BS3gE2saBNMqXryHnKl7 hf3DybZ8d1a29s8P1LGZbXyc64BwODFEykbUmX++byV050cgeVopMNDO3/LkD5KiJfQ6 I5IZb6RILHJXQYEAubvvBfA82npKFEKoAWbIQr+LIIBksPWzPDC227XTgAPXise1pXAC ZMmiFMFlAVn104+h2pfVdPLFvc630m0zuciEh40fSp0gSTMKo06mwgnDGFcXERyQdtqr tuU8gKQ8k9XiJTb/kaR2SKfffRlVfHYlsnoevSBCYDSJFO2pl2PCFDie12KonNByygsv xkng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706699328; x=1707304128; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nDAR7PJX+EQMyirL/3W1Y6Qsu12zaieB0DRPT6UdUiA=; b=WlUfCGeEhVBFW8OctRMUMwe2+KhrVIIXv3K9slezUxiBa2Oy9iCwcewKIXD4HM+1i7 oX4Ic/GRxYEaDHx6mmU4+Wf1UAkQxBG7nbv9L0KDP8WUuYyhD33GHgHeY7rbdaF2ffeH UtK6KB7KWT9KVrTzjJ46ejV5o/gJ+z9T5VpmktSR3OWedgIC6d8OfnGjs2Y9VIIYNkHx bziFokr8Av9+LR0aE74zOrZXIY42HEQcYu/DeQ9wOgVIjAEwsweLb9ea3GtPGvK/EWLA fo0hLMlISTssmJjim6S9SQ8jfmXTovAMCiRHZDHuINV1+/v/a3et7U1/lWzJGUwcvQQ4 bRtw== X-Forwarded-Encrypted: i=0; AJvYcCVHHH432HQJsLjTnQ33CtwtNC1o98FCyTkc/75UM4O5CjlmSZnGwFcJlYgUk7QzROgmjz/Xre165LiWEhX/c3t73gXnbaEZg8848B0j X-Gm-Message-State: AOJu0Yy42Fv2HjycqrCcQNO6Vh6IvMqhbAcu/tvZngxXQ2++0NX/js1t u9nhTkfks0BZCfqqrgoRSL4NQXsC5rk4EW20e9g8a7lnvBcQuucUUAfNFrcMp7YLdnk8gcrZvkN gTaWN+atsSYDRwFxkOdtMdLPuiG+4FZ2Pk857ow== X-Received: by 2002:a25:e08a:0:b0:dc6:9dbf:8247 with SMTP id x132-20020a25e08a000000b00dc69dbf8247mr950340ybg.3.1706699328384; Wed, 31 Jan 2024 03:08:48 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240130095933.14158-1-jhp@endlessos.org> <20240130101335.GU2543524@black.fi.intel.com> In-Reply-To: From: Daniel Drake Date: Wed, 31 Jan 2024 07:08:12 -0400 Message-ID: Subject: Re: [PATCH 1/2] ata: ahci: Add force LPM policy quirk for ASUS B1400CEAE To: Niklas Cassel Cc: Jian-Hong Pan , Mika Westerberg , David Box , Damien Le Moal , Nirmal Patel , Jonathan Derrick , linux-ide@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux@endlessos.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 31, 2024 at 6:57=E2=80=AFAM Niklas Cassel w= rote: > Unfortunately, we don't have any of these laptops that has a Tiger Lake > AHCI controller (with a disappearing drive), so until someone who does > debugs this, I think we are stuck at status quo. I've asked for volunteers to help test things on those original bug reports (and may have one already) and would appreciate any suggested debugging approaches from those more experienced with SATA/AHCI. What would be your first few suggested debugging steps? Non-LPM boot: ata1: SATA max UDMA/133 abar m2048@0x50202000 port 0x50202100 irq 145 ata2: SATA max UDMA/133 abar m2048@0x50202000 port 0x50202180 irq 145 ata2: SATA link down (SStatus 0 SControl 300) ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) LPM failed boot: ata1: SATA max UDMA/133 abar m2048@0x50202000 port 0x50202100 irq 145 ata2: SATA max UDMA/133 abar m2048@0x50202000 port 0x50202180 irq 145 ata1: SATA link down (SStatus 4 SControl 300) ata2: SATA link down (SStatus 4 SControl 300) note SStatus=3D4 on both ports (means "PHY in offline mode"?) Daniel