mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gagniuc, Alexandru" <alexandru.gagniuc@hp.com>
To: "Limonciello, Mario" <mario.limonciello@amd.com>,
	"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Cc: "kbusch@kernel.org" <kbusch@kernel.org>,
	"axboe@fb.com" <axboe@fb.com>, "hch@lst.de" <hch@lst.de>,
	"sagi@grimberg.me" <sagi@grimberg.me>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Zhang, Eniac" <eniac-xw.zhang@hp.com>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: [PATCH] nvme-pci: Add suspend quirk for HP mt645 thin client
Date: Mon, 10 Jul 2023 20:06:32 +0000	[thread overview]
Message-ID: <SJ0PR84MB2088ABC543710226BB8889DC8F30A@SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <47378415-b5ac-77ae-3cf9-01030a0c24f0@amd.com>



________________________________________
From: Limonciello, Mario <mario.limonciello@amd.com>
Sent: Friday, July 7, 2023 11:28 PM
To: Gagniuc, Alexandru; linux-nvme@lists.infradead.org
Cc: kbusch@kernel.org; axboe@fb.com; hch@lst.de; sagi@grimberg.me; linux-kernel@vger.kernel.org; Zhang, Eniac; stable@vger.kernel.org
Subject: Re: [PATCH] nvme-pci: Add suspend quirk for HP mt645 thin client

CAUTION: External Email

On 7/6/2023 1:06 PM, Alexandru Gagniuc wrote:
> The HP Elite mt645 thin client exhibits resume times of over one
> minute when using the normal nvme resume path.

Is this the specific product you're referring to?

https://www.amd.com/system/files/documents/hp-elite-mt645-g7-mobile-thin-client.pdf<https://www.amd.com/system/files/documents/hp-elite-mt645-g7-mobile-thin-client.pdf>

> BIOS has tried to work
> around this by setting the "StorageD3Enable" ACPI property, but only
> if it detected the "Linux-HPI-Hybrid-Graphics" _OSI() flag. This flag
> does not exist, so the BIOS workaround can't work.
>
> Instead, just set NVME_QUIRK_SIMPLE_SUSPEND when running on an mt645.
> The DMI_PRODUCT_NAME cannot be used because this string can be changed
> in the field. Match against DMI_BOARD_NAME, which should be immutable.
I'm quite confused why this is necessary.  If the product link
I sent above is correct, this is an AMD Barcelo APU.

Cezanne and Barcelo report as the exact same X86 model.

Cezanne will already always identify as simple
suspend due to bugs that were reported on some other machines.
It's been this way since kernel 6.3-rc1.

e2a56364485e ("ACPI: x86: utils: Add Cezanne to the list for forcing
StorageD3Enable")
[snip]

Hi Mario,

The product link you posted is correct. I was not aware of e2a56364485e
when I developed the fix herein before v6.3. After some quick testing, I can
confirm that e2a56364485e solves the original issue.

We do not need this patch then.

Thank you,
Alex



  reply	other threads:[~2023-07-10 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-06 18:06 Alexandru Gagniuc
2023-07-08  4:28 ` Limonciello, Mario
2023-07-10 20:06   ` Gagniuc, Alexandru [this message]
2023-07-10 22:28     ` Limonciello, Mario

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR84MB2088ABC543710226BB8889DC8F30A@SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM \
    --to=alexandru.gagniuc@hp.com \
    --cc=axboe@fb.com \
    --cc=eniac-xw.zhang@hp.com \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=mario.limonciello@amd.com \
    --cc=sagi@grimberg.me \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®