From: sashiko-bot@kernel.org
To: "Rosen Penev" <rosenp@gmail.com>, linux-usb@vger.kernel.org
Subject: Re: [PATCH] usb: xhci-plat: mvebu: restore MBus windows on resume
Date: Thu, 03 Dec 2026 05:46:17 +0000 [thread overview]
Message-ID: <sashiko-outbox-247207@kernel.org> (raw)
In-Reply-To: <20261203053651.928611-1-rosenp@gmail.com>
> The Armada 375/38x xHCI reaches DRAM through MBus decoding windows in
> its second register block. They are only programmed from ->init_quirk()
> at probe time. On boards that lose SoC power in suspend-to-RAM, the
> windows read back as zero on resume, so the controller has no path to
> memory and its DMA fails.
>
> The AHCI and mvneta drivers on the same SoCs already reprogram their
> windows on resume. Do the same here by using the existing MBus setup
> as ->resume_quirk(), which xhci_plat_resume_common() calls before
> xhci_resume(). Reprogramming is idempotent, so it is also safe when
> power was kept.
>
> Fixes: 973747928514 ("usb: host: xhci-plat: add support for the Armada 375/38x XHCI controllers")
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203053651.928611-1-rosenp@gmail.com?part=1
next prev parent reply other threads:[~2026-12-03 5:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 5:36 [PATCH] usb: xhci-plat: mvebu: restore MBus windows on resume Rosen Penev
2026-12-03 5:46 ` sashiko-bot [this message]
2026-12-03 7:50 ` Thomas Petazzoni
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=sashiko-outbox-247207@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=rosenp@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.