From: Bart Van Assche <bvanassche@acm.org>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Christoph Hellwig <hch@lst.de>, Jens Axboe <axboe@kernel.dk>,
Ricky WU <ricky_wu@realtek.com>,
Matthew Schwartz <matthew.schwartz@linux.dev>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
linux-block <linux-block@vger.kernel.org>
Subject: Re: [BUG] - Short freezes in gameplay due to MMC_CAP_AGGRESSIVE_PM on RTS525A card reader
Date: Mon, 2 Feb 2026 14:47:35 -0800 [thread overview]
Message-ID: <dc1ac2e5-1db1-49b5-847d-a10a611027ae@acm.org> (raw)
In-Reply-To: <CAPDyKFqic-rFe95g657MdZHtdPXTmFmYQG4ZSBV56S3DhMEF-A@mail.gmail.com>
On 1/29/26 8:30 AM, Ulf Hansson wrote:
> Seems reasonable to me, but how do we distinguish that it's a
> battery-powered device?
RPM can be enabled or disabled from the scripts executed during boot.
At build time it should be known whether or not the device is battery-
powered.
> Are we considering UFS a technology that is used solely for
> battery-powered devices or is there something else we consider?
I think there are devices that use UFS and that are not battery-powered,
e.g. smart TVs.
> Although, a tricky part when moving it upwards into the more common
> layers, is that those latency constraint values may have a very
> different impact, as the numbers are platform specific, right?
From the UFS driver:
cpu_latency_qos_update_request(&hba->pm_qos_req, on ?
0 : PM_QOS_DEFAULT_VALUE);
In other words, if no block I/O is ongoing the CPU latency is set to
PM_QOS_DEFAULT_VALUE (-1 or no constraint) and if block I/O is ongoing
the maximum CPU latency is set to 0 (no CPU power savings allowed). I
think these parameters are independent of the platform and storage
device :-)
Bart.
next prev parent reply other threads:[~2026-02-02 22:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-24 21:01 Matthew Schwartz
2026-01-03 11:37 ` Ulf Hansson
2026-01-03 19:52 ` Matthew Schwartz
2026-01-04 0:45 ` Matthew Schwartz
2026-01-05 3:58 ` Ricky WU
2026-01-05 4:53 ` Matthew Schwartz
2026-01-05 7:02 ` Ricky WU
2026-01-05 7:50 ` Matthew Schwartz
2026-01-05 8:39 ` Ricky WU
2026-01-28 13:23 ` Ulf Hansson
2026-01-28 17:14 ` Bart Van Assche
2026-01-29 16:30 ` Ulf Hansson
2026-02-02 22:47 ` Bart Van Assche [this message]
2026-02-03 11:28 ` Ulf Hansson
2026-02-03 18:10 ` Bart Van Assche
2026-02-05 11:26 ` Ulf Hansson
2026-02-05 14:21 ` Bart Van Assche
2026-02-05 14:55 ` Ulf Hansson
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=dc1ac2e5-1db1-49b5-847d-a10a611027ae@acm.org \
--to=bvanassche@acm.org \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=matthew.schwartz@linux.dev \
--cc=ricky_wu@realtek.com \
--cc=ulf.hansson@linaro.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®